/* ─────────────────────────────────────────────
   Homepage Section 5 "We connect the systems" · product rail (2026-10-26, Morisha)
   Modeled on Apple's "Connectivity" rail: heading on top, big rounded cards in a
   side-scrolling row that peeks the next card. Each card: product copy on the left,
   a real product screenshot bleeding off the bottom-right. Copy unchanged from the
   previous HubSpot-style cards. Old styles (.pd-grid/.pd-cards) stay in landing.css.
───────────────────────────────────────────── */
.pr-sec { padding: 140px 0 120px; overflow: hidden; }
.pr-head { max-width: 1180px; margin: 0 auto; }
.pr-head .pd-h2 { max-width: 900px; }
.pr-head .pd-lede { max-width: 680px; }

.pr-rail {
  --pr-gutter: max(24px, calc((100vw - 1180px) / 2));
  display: flex; gap: 24px; margin-top: 64px;
  padding: 0 var(--pr-gutter) 8px; scroll-padding: 0 var(--pr-gutter);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.pr-rail::-webkit-scrollbar { display: none; }
.pr-rail:focus-visible { outline: 2px solid var(--cyan-d); outline-offset: 4px; }

.pr-card {
  position: relative; flex: 0 0 min(980px, 84vw); height: 560px; scroll-snap-align: start;
  display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr);
  border-radius: 32px; overflow: hidden; background: var(--ink-d); color: #fff; isolation: isolate;
}
/* product glow */
.pr-card::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .55;
  background: radial-gradient(70% 90% at 85% 100%, var(--pr-glow) 0%, transparent 70%); }
.pr-cyan  { --pr-glow: var(--cyan);  --pr-accent: var(--cyan); }
.pr-pink  { --pr-glow: var(--pink);  --pr-accent: #F57AB8; }
.pr-green { --pr-glow: var(--green); --pr-accent: var(--green); }

.pr-copy { padding: 48px 0 44px 48px; display: flex; flex-direction: column; }
.pr-logo { width: 76px; height: auto; display: block; margin-bottom: 22px; }
.pr-label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pr-accent); }
.pr-name { margin: 6px 0 0; font-size: clamp(30px, 3vw, 40px); font-weight: 800; letter-spacing: -.02em; line-height: 1.05; color: #fff; }
.pr-name sup { font-size: .45em; }
/* 2026-11: product wordmarks replace the text names (sized by height) */
.pr-name-logo { margin-top: 12px; line-height: 0; }
.pr-name-logo img { display: block; height: 34px; width: auto; }
@media (max-width: 900px) { .pr-name-logo img { height: 28px; } }
.pr-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.pr-list li { display: flex; gap: 12px; font-size: 17px; line-height: 1.5; font-weight: 300; color: rgba(255,255,255,.86); }
.pr-check { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 3px; color: var(--pr-accent); }
.pr-more { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; transition: background .2s ease; }
.pr-more:hover { background: rgba(255,255,255,.18); }
.pr-more .arrow { width: 12px; height: 12px; transition: transform .2s ease; }
.pr-more:hover .arrow { transform: translateX(3px); }
.pr-more:focus-visible { outline: 2px solid var(--pr-accent); outline-offset: 3px; }

/* screenshot bleeds off the bottom-right edge */
.pr-visual { position: relative; }
.pr-shot { position: absolute; left: 24px; top: 72px; right: -2px; bottom: -2px; margin: 0;
  border-radius: 18px 0 0 0; overflow: hidden; background: #fff;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08); }
.pr-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; }

/* prev / next */
.pr-nav { max-width: 1180px; margin: 24px auto 0; display: flex; justify-content: flex-end; gap: 12px; }
.pr-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--gray-150); color: var(--ink);
  display: grid; place-items: center; cursor: pointer; transition: background .2s ease, opacity .2s ease; }
.pr-btn:hover { background: var(--gray-200); }
.pr-btn:disabled { opacity: .35; cursor: default; }
.pr-btn svg { width: 16px; height: 16px; }
.pr-btn:focus-visible { outline: 2px solid var(--cyan-d); outline-offset: 3px; }

@media (max-width: 900px) {
  .pr-card { grid-template-columns: 1fr; grid-template-rows: auto 1fr; height: 640px; }
  .pr-copy { padding: 36px 32px 24px; }
  .pr-more { margin-top: 24px; }
  .pr-shot { left: 32px; top: 0; }
}
@media (max-width: 600px) {
  .pr-sec { padding: 96px 0 88px; }
  .pr-rail { gap: 14px; margin-top: 44px; }
  .pr-card { flex-basis: 86vw; height: 600px; border-radius: 24px; }
  .pr-copy { padding: 28px 24px 20px; }
  .pr-logo { width: 60px; margin-bottom: 16px; }
  .pr-list li { font-size: 16px; }
  .pr-shot { left: 24px; }
}
@media (prefers-reduced-motion: reduce) { .pr-rail { scroll-behavior: auto; } }

/* Line-drawing visuals (2026-10-26, Morisha): school / work / school connected to work,
   drawn in the Inaugural 300 logo style. Strokes draw in when the card scrolls into view. */
.pr-visual { display: flex; align-items: flex-end; justify-content: center; padding: 40px 40px 0 0; }
.pr-art { display: block; width: 100%; max-width: 560px; height: auto; max-height: 100%; overflow: visible; }
.pr-art .d { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s cubic-bezier(.4,0,.2,1); }
.pr-art .f { opacity: 0; transition: opacity .8s ease 1.2s; }
.pr-card.is-in .pr-art .d { stroke-dashoffset: 0; }
.pr-card.is-in .pr-art .f { opacity: 1; }
.pr-art .pr-arc { transition-delay: .9s; }
@media (prefers-reduced-motion: reduce) { .pr-art .d { stroke-dashoffset: 0; transition: none; } .pr-art .f { opacity: 1; transition: none; } }
@media (max-width: 900px) { .pr-visual { padding: 0 28px; } .pr-art { max-height: 300px; } }

/* Phones and tablets (2026-10-26, Morisha): no sideways scroll. The cards stack as the
   person scrolls: PathwaysOS sticks under the header, TalentOS slides up over it, then
   LTS Connect over that, then the page moves on to the next section. */
@media (max-width: 900px) {
  .pr-sec { overflow: visible; }
  .pr-rail { display: block; overflow: visible; scroll-snap-type: none; padding: 0 20px; margin-top: 44px; }
  .pr-card { position: sticky; top: 88px; width: auto; max-width: 640px; margin: 0 auto 28px;
    height: min(600px, calc(100svh - 112px));
    box-shadow: 0 -12px 32px -8px rgba(15,17,23,.35); }
  .pr-card:nth-child(2) { top: 100px; }
  .pr-card:nth-child(3) { top: 112px; margin-bottom: 0; }
  .pr-card .pr-visual { min-height: 0; }
  .pr-art { max-height: 100%; }
  .pr-nav { display: none; }
}

/* 2026-10-26 (Morisha): hex logos removed from the cards. PathwaysOS = paths fanning out of the school;
   TalentOS = a web of connected people, three lit up (ready for what's next) with a slow pulse. */
.pr-art .pr-path { transition-delay: .7s; }
.pr-halo { transform-box: fill-box; transform-origin: center; opacity: .55; }
.pr-card.is-in .pr-halo { animation: prPulse 2.8s ease-in-out 2.2s infinite; }
@keyframes prPulse { 0%, 100% { transform: scale(1); opacity: .55; } 50% { transform: scale(1.35); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pr-card.is-in .pr-halo { animation: none; } }
.pr-label { margin-top: 4px; }

/* 2026-10-26 v6 (Morisha: graphics sat too low, cards too big). Shorter cards, drawings centered and
   cropped tight. PathwaysOS = school -> three paths -> Startup / Career / Community; TalentOS = skyline + people network. */
.pr-card { height: 460px; }
.pr-copy { padding-top: 44px; padding-bottom: 40px; }
.pr-visual { align-items: center; padding: 36px 48px 36px 8px; }
.pr-art { max-height: 380px; }
.pr-art .pr-ring { transition-delay: 1.3s; }
@media (max-width: 900px) {
  .pr-card { height: auto; min-height: 0; }
  .pr-visual { padding: 4px 28px 32px; }
  .pr-art { max-height: 240px; }
}

/* 2026-10-26 v7: PathwaysOS and LTS Connect use the TalentOS network feel. PathwaysOS nodes are the pathway icons
   (Startup / Career / Community) in a web around the school; LTS Connect = a web strung between school and enterprise. */
.pr-art .pr-icons { transition-delay: 1s; }
