/* ==========================================================================
   250 Years of Innovation — VPR Video Profile Series
   Drop-in stylesheet for themes/sciencecoalition. Scoped to #vpr-series.

   Type scale and colors are taken from the live .page-250-landing rules:
     eyebrow      = #hero .hero-subtitle       (Montserrat 700 1.5rem uppercase, red .75)
     section h2   = #breakthrough-section h2   (Montserrat 700 3rem/3.25rem, 4px rule below)
     item heading = .innovation-card h4        (Lora 700 2.25rem uppercase)
     lead copy    = .breakthrough-group .group-text (Montserrat 500 1.375rem/2.05rem)
     body copy    = #bottom-section .bottom-right p (Lora 1.3rem/2.2rem)
     rail         = nav.breakthroughs-nav      (5px top border, #7CA4C5 1rem labels, white when active)
     buttons      = .innovation-card .btn      (Montserrat 700 1rem, .65rem 1rem, .15rem border, 4px radius)
   ========================================================================== */

.page-250-landing #vpr-series {
  --tsc-blue-bright: #086A9B;
  --tsc-blue-deep:   #013865;
  --tsc-navy:        #003A5D;
  --tsc-navy-dark:   #001C2C;
  --tsc-navy-nav:    #002E49;
  --tsc-navy-tile:   #143762;
  --tsc-blue-muted:  #7CA4C5;
  --tsc-red:         #FF3338;
  --tsc-red-a:       #A31D21;
  --tsc-red-b:       #D5292E;
  --tsc-red-grad:    linear-gradient(135deg, var(--tsc-red-a) 0%, var(--tsc-red-b) 100%);
  --tsc-hero-grad:   linear-gradient(180deg, var(--tsc-blue-deep) 15.87%, var(--tsc-blue-bright) 55.77%);
  --rule:            rgba(255,255,255,.2);

  position: relative;
  padding: 6rem 0 7rem;
  font-family: "Lora";
  background: var(--tsc-blue-deep) var(--tsc-hero-grad) no-repeat;
  overflow: hidden;
}
.page-250-landing #vpr-series > .container { position: relative; z-index: 1; }
.page-250-landing #hero { padding: 6rem 0 8rem; background-position: center top; }

/* ---------- Section header (hero-subtitle + breakthroughs h2 language) ---------- */
.page-250-landing #vpr-series .vpr-header { text-align: center; margin: 0 auto 5rem; }
.page-250-landing #vpr-series .vpr-eyebrow {
  color: rgba(255,51,56,.75);
  font-family: "Montserrat"; font-size: 1.5rem; line-height: 1.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08rem; margin-bottom: 1.5rem;
}
.page-250-landing #vpr-series h2 {
  color: #fff; font-family: "Montserrat"; font-size: 3rem; line-height: 3.25rem; font-weight: 700;
  text-align: center; padding: 0 0 3rem; margin: 0; border: 0; border-bottom: 4px solid var(--rule);
}
.page-250-landing #vpr-series .vpr-intro {
  color: #fff; font-family: "Lora"; font-size: 1.35rem; line-height: 2.3rem;
  max-width: 80rem; margin: 3rem auto 0; text-align: left;
}
.page-250-landing #vpr-series .vpr-intro + .vpr-intro { margin-top: 1.5rem; }

/* ---------- Featured panel (mirrors .innovation-card show/hide) ---------- */
.page-250-landing #vpr-series .vpr-featured { scroll-margin-top: 7rem; margin-bottom: 5rem; }
.page-250-landing #vpr-series .vpr-panel { display: none; }
.page-250-landing #vpr-series .vpr-panel.active { display: block; }
.page-250-landing #vpr-series .vpr-panel-inner {
  display: grid; grid-template-columns: 1.9fr 1fr; gap: 0 3.5rem; align-items: start;
}

/* Name row spans both columns. Keeping it out of the right-hand column is what
   lets the video grow: a 16:9 frame can never match the height of a 120-word
   bio stacked under a headshot, so the fixed-height identity block moves up
   here and the video takes the width it frees. */
.page-250-landing #vpr-series .vpr-panel-head {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 1.5rem;
  padding-bottom: 1.75rem; margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--rule);
}
.page-250-landing #vpr-series .vpr-namebox { min-width: 0; }
.page-250-landing #vpr-series .vpr-sep { padding: 0 .6rem; color: var(--tsc-blue-muted); }

/* ---------- Video facade ---------- */
.page-250-landing #vpr-series .video-frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  background: var(--tsc-navy-nav); border-radius: 4px; overflow: hidden; cursor: pointer;
}
.page-250-landing #vpr-series .video-frame img,
.page-250-landing #vpr-series .video-frame iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover;
}
.page-250-landing #vpr-series .video-frame:after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,28,44,.1) 0%, rgba(0,28,44,.55) 100%); transition: .3s ease;
}
.page-250-landing #vpr-series .video-frame:hover:after { background: rgba(0,28,44,.25); }
.page-250-landing #vpr-series .video-frame.playing:after,
.page-250-landing #vpr-series .video-frame.playing .video-play,
.page-250-landing #vpr-series .video-frame.playing .video-runtime,
.page-250-landing #vpr-series .video-frame.playing .video-cta { display: none; }
.page-250-landing #vpr-series .video-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
  width: 6.5rem; height: 6.5rem; border-radius: 999px; background: var(--tsc-red-grad);
  display: flex; align-items: center; justify-content: center; transition: .3s ease;
}
.page-250-landing #vpr-series .video-frame:hover .video-play { transform: translate(-50%, -50%) scale(1.08); }
.page-250-landing #vpr-series .video-play svg { width: 2.25rem; height: 2.25rem; margin-left: .3rem; }
.page-250-landing #vpr-series .video-runtime,
.page-250-landing #vpr-series .video-cta {
  position: absolute; bottom: 1.25rem; z-index: 2;
  color: #fff; font-family: "Montserrat"; font-size: 1rem; line-height: 1.33rem; font-weight: 700;
  letter-spacing: .06rem; text-transform: uppercase;
}
.page-250-landing #vpr-series .video-cta { left: 1.5rem; }
.page-250-landing #vpr-series .video-runtime { right: 1.5rem; }
/* No video URL yet: same frame, nothing to click, "Video coming soon" badge centered. */
.page-250-landing #vpr-series .video-frame.no-video { cursor: default; }
.page-250-landing #vpr-series .video-frame.no-video:hover:after { background: linear-gradient(180deg, rgba(0,28,44,.1) 0%, rgba(0,28,44,.55) 100%); }
.page-250-landing #vpr-series .video-soon {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; white-space: nowrap;
  color: #fff; font-family: "Montserrat"; font-size: 1rem; line-height: 1.33rem; font-weight: 700;
  letter-spacing: .06rem; text-transform: uppercase; padding: .75rem 1.25rem;
  border: .15rem solid rgba(255,255,255,.6); border-radius: 4px;
}

/* ---------- Profile copy ---------- */
.page-250-landing #vpr-series .badge-date { display: block; margin-bottom: .5rem; }
.page-250-landing #vpr-series .badge-date {
  color: rgba(255,51,56,.75); font-family: "Montserrat"; font-size: 1rem; line-height: 1.33rem; font-weight: 700;
  letter-spacing: .08rem; text-transform: uppercase;
}
.page-250-landing #vpr-series .vpr-headshot {
  flex: 0 0 auto; display: block; width: 8rem; height: 8rem; border-radius: 4px; overflow: hidden; background: var(--tsc-navy-tile);
}
.page-250-landing #vpr-series .vpr-headshot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.page-250-landing #vpr-series .vpr-panel h3 {
  color: #fff; font-family: "Lora"; font-size: 2.25rem; line-height: 2.6rem; font-weight: 700; text-transform: uppercase;
  padding: 0; margin: 0 0 .5rem;
}
.page-250-landing #vpr-series .vpr-panel h3:after { display: none; }
.page-250-landing #vpr-series .vpr-role {
  color: #fff; font-family: "Montserrat"; font-size: 1.25rem; line-height: 1.9rem; font-weight: 500; margin: .35rem 0 0;
}
.page-250-landing #vpr-series .vpr-inst {
  color: var(--tsc-blue-muted); font-family: "Montserrat"; font-size: 1.15rem; font-weight: 700;
  letter-spacing: .06rem; text-transform: uppercase;
}
.page-250-landing #vpr-series .vpr-quote {
  color: #fff; font-family: "Lora"; font-style: italic; font-size: 1.5rem; line-height: 2.3rem; font-weight: 500;
  border: 0; border-left: 4px solid var(--tsc-red); padding: .25rem 0 .25rem 1.5rem; margin: 0 0 1.75rem;
  background: none; box-shadow: none; text-align: left; border-radius: 0;
}
.page-250-landing #vpr-series .vpr-quote:before,
.page-250-landing #vpr-series .vpr-quote:after { content: none; display: none; }
.page-250-landing #vpr-series .vpr-bio { color: #fff; font-family: "Lora"; font-size: 1.3rem; line-height: 1.85rem; margin: 0; }
.page-250-landing #vpr-series .vpr-bio + .vpr-bio { margin-top: 1.2rem; }

/* Long copy: on the two-column layout, when quote + bio run taller than the
   video (plus 9rem), vpr-series.js adds .is-long to the panel. The copy column
   is then capped to the video's row and quote + bio scroll together inside it.
   Panels whose copy fits are laid out exactly as before. */
@media (min-width: 1201px) {
  .page-250-landing #vpr-series .vpr-panel.is-long .vpr-video { padding-bottom: 9rem; }
  .page-250-landing #vpr-series .vpr-panel.is-long .vpr-body { align-self: stretch; height: 0; min-height: 100%; display: flex; flex-direction: column; }
  .page-250-landing #vpr-series .vpr-panel.is-long .vpr-actions { flex: 0 0 auto; }
  .page-250-landing #vpr-series .vpr-panel.is-long .vpr-copy { flex: 0 1 auto; min-height: 6rem; overflow-y: auto; padding-right: 1rem; }
  .page-250-landing #vpr-series .vpr-panel.is-long .vpr-copy::-webkit-scrollbar { width: 6px; }
  .page-250-landing #vpr-series .vpr-panel.is-long .vpr-copy::-webkit-scrollbar-track { background: rgba(255,255,255,.08); border-radius: 3px; }
  .page-250-landing #vpr-series .vpr-panel.is-long .vpr-copy::-webkit-scrollbar-thumb { background: rgba(255,255,255,.45); border-radius: 3px; }
}
@supports not selector(::-webkit-scrollbar) {
  .page-250-landing #vpr-series .vpr-copy { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.45) rgba(255,255,255,.08); }
}
.page-250-landing #vpr-series .vpr-copy:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.page-250-landing #vpr-series .vpr-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

/* ---------- Buttons (.innovation-card .btn, white-on-blue) ---------- */
.page-250-landing #vpr-series .btn {
  display: inline-flex; align-items: center; gap: .5rem; padding: .65rem 1rem;
  font-size: 1rem; line-height: 1.5rem; font-family: "Montserrat"; font-weight: 700; color: #fff; border-radius: 4px;
  outline-offset: -2px; background: transparent; border: .15rem solid rgba(255,255,255,.45); text-transform: none; cursor: pointer;
}
.page-250-landing #vpr-series .btn svg { width: 1rem; height: 1rem; }
.page-250-landing #vpr-series .btn i { font-size: 1.15rem; line-height: 1; }
.page-250-landing #vpr-series .btn:hover,
.page-250-landing #vpr-series .btn:focus {
  opacity: .85; color: #fff; background: var(--tsc-red-grad); border-color: var(--tsc-red-a); text-decoration: none;
}
.page-250-landing #vpr-series .btn.btn-solid { background: var(--tsc-red-grad); border-color: var(--tsc-red-a); }
.page-250-landing #vpr-series .btn.is-copied { background: #fff; color: var(--tsc-navy); border-color: #fff; opacity: 1; }

/* ---------- Grid label ---------- */
.page-250-landing #vpr-series .panel-label {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  color: #fff; font-family: "Montserrat"; font-size: 1.15rem; line-height: 1.6rem; font-weight: 700;
  letter-spacing: .06rem; text-transform: uppercase;
  padding-bottom: 1rem; margin: 0 0 1.5rem; border-bottom: 1px solid var(--rule);
}
.page-250-landing #vpr-series .panel-label .sort-note {
  color: var(--tsc-blue-muted); font-size: 1rem; font-weight: normal; letter-spacing: 0; text-transform: none;
}

/* ---------- Profile cards (breakthroughs-nav rail language) ---------- */
.page-250-landing #vpr-series .vpr-grid {
  /* 6 across on desktop: rows of 6 / 6 / 5 */
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem;
}
.page-250-landing #vpr-series .vpr-card {
  display: flex; flex-direction: column; gap: .25rem; width: 100%; text-align: left; cursor: pointer;
  background: rgba(0,28,44,.38); border: 0; border-top: 5px solid #fff; border-radius: 0 0 4px 4px;
  padding: 1rem 1rem 1.25rem; transition: .3s ease-in-out;
}
.page-250-landing #vpr-series .vpr-card:hover,
.page-250-landing #vpr-series .vpr-card.active { background: rgba(0,28,44,.62); border-top-color: var(--tsc-red); }
.page-250-landing #vpr-series .vpr-card:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.page-250-landing #vpr-series .vpr-card-photo {
  position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; border-radius: 4px; overflow: hidden;
  background: var(--tsc-navy-tile); margin-bottom: .75rem;
}
.page-250-landing #vpr-series .vpr-card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: .3s ease-in-out; }
/* Headshot crop anchor, set per profile in wp-admin (vpr_headshot_position). Names match Tailwind's object-* utilities. */
.page-250-landing #vpr-series .object-top { object-position: top; }
.page-250-landing #vpr-series .object-center { object-position: center; }
.page-250-landing #vpr-series .object-bottom { object-position: bottom; }
.page-250-landing #vpr-series .object-\[center_25\%\] { object-position: center 25%; }
.page-250-landing #vpr-series .object-\[center_75\%\] { object-position: center 75%; }
/* Zoom uses the standalone scale property (as Tailwind v4 does), so the card hover transform still stacks. */
.page-250-landing #vpr-series .scale-110 { scale: 1.1; }
.page-250-landing #vpr-series .scale-125 { scale: 1.25; }
.page-250-landing #vpr-series .scale-150 { scale: 1.5; }
.page-250-landing #vpr-series .origin-top { transform-origin: top; }
.page-250-landing #vpr-series .origin-center { transform-origin: center; }
.page-250-landing #vpr-series .origin-bottom { transform-origin: bottom; }
.page-250-landing #vpr-series .origin-\[center_25\%\] { transform-origin: center 25%; }
.page-250-landing #vpr-series .origin-\[center_75\%\] { transform-origin: center 75%; }
.page-250-landing #vpr-series .vpr-card:hover .vpr-card-photo img { transform: scale(1.04); }
.page-250-landing #vpr-series .vpr-card-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.85);
  width: 3.5rem; height: 3.5rem; border-radius: 999px; background: var(--tsc-red-grad);
  display: flex; align-items: center; justify-content: center; opacity: 0; transition: .3s ease-in-out;
}
.page-250-landing #vpr-series .vpr-card-play svg { width: 1.4rem; height: 1.4rem; margin-left: .2rem; }
.page-250-landing #vpr-series .vpr-card:hover .vpr-card-play,
.page-250-landing #vpr-series .vpr-card.active .vpr-card-play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.page-250-landing #vpr-series .vpr-card-runtime {
  position: absolute; right: .75rem; bottom: .75rem;
  color: #fff; font-family: "Montserrat"; font-size: .9rem; line-height: 1.2rem; font-weight: 700; letter-spacing: .06rem;
  background: rgba(0,28,44,.8); border-radius: 4px; padding: .25rem .5rem;
}
.page-250-landing #vpr-series .vpr-card-name { color: #fff; font-family: "Montserrat"; font-size: 1.15rem; line-height: 1.5rem; font-weight: 700; }
.page-250-landing #vpr-series .vpr-card-inst { color: var(--tsc-blue-muted); font-family: "Montserrat"; font-size: 1rem; line-height: 1.33rem; font-weight: normal; transition: .3s ease-in-out; }
.page-250-landing #vpr-series .vpr-card:hover .vpr-card-inst,
.page-250-landing #vpr-series .vpr-card.active .vpr-card-inst { color: #fff; }

/* ---------- CTA strip ---------- */
.page-250-landing #vpr-series .vpr-cta {
  margin-top: 5rem; padding-top: 3rem; border-top: 1px solid var(--rule);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center;
}
.page-250-landing #vpr-series .vpr-cta h4 {
  color: #fff; font-family: "Montserrat"; font-size: 2.25rem; line-height: 2.8rem; font-weight: 700; text-transform: none;
  margin: 0 0 .75rem; padding: 0;
}
.page-250-landing #vpr-series .vpr-cta p { color: #fff; font-family: "Lora"; font-size: 1.3rem; line-height: 2.2rem; margin: 0; }
.page-250-landing #vpr-series .vpr-cta .cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: flex-end; }

/* ---------- Theme resets ----------
   The theme sets `button,input { border-radius:0 !important }` and gives every
   button a `:before` dot, so both need unwinding inside this section. */
.page-250-landing #vpr-series p { padding: 0; }
.page-250-landing #vpr-series button { -webkit-appearance: none; appearance: none; font: inherit; }
.page-250-landing #vpr-series button:before { content: none !important; display: none !important; }
.page-250-landing #vpr-series .btn,
.page-250-landing #vpr-series .vpr-card { border-radius: 4px !important; }
.page-250-landing #vpr-series .vpr-card { border-radius: 0 0 4px 4px !important; }

/* ---------- Responsive (theme drops root to 14px at 1024, 12px at 1023) ---------- */
@media (max-width: 1200px) {
  .page-250-landing #vpr-series .vpr-panel-inner { grid-template-columns: 1fr; gap: 0; }
  .page-250-landing #vpr-series .vpr-body { margin-top: 2.5rem; }
  .page-250-landing #vpr-series .vpr-cta { grid-template-columns: 1fr; }
  .page-250-landing #vpr-series .vpr-cta .cta-actions { justify-content: flex-start; }
}
@media (max-width: 1024px) {
  .page-250-landing #vpr-series { padding: 4rem 0 5rem; }
  .page-250-landing #vpr-series h2 { font-size: 2.5rem; line-height: 3rem; }
  .page-250-landing #vpr-series .vpr-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .page-250-landing #vpr-series .vpr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .page-250-landing #vpr-series .vpr-panel-head { align-items: flex-start; gap: 1rem; }
  .page-250-landing #vpr-series .vpr-headshot { width: 5.5rem; height: 5.5rem; }
  .page-250-landing #vpr-series .vpr-sep { display: none; }
  .page-250-landing #vpr-series .vpr-inst { display: block; }
  .page-250-landing #vpr-series .vpr-panel h3 { font-size: 1.85rem; line-height: 2.2rem; }
  .page-250-landing #vpr-series .video-play { width: 4.5rem; height: 4.5rem; }
  .page-250-landing #vpr-series .video-play svg { width: 1.5rem; height: 1.5rem; }
  .page-250-landing #vpr-series .video-cta { display: none; }
  .page-250-landing #vpr-series .panel-label { flex-direction: column; gap: .25rem; }
  .page-250-landing #vpr-series .vpr-featured { scroll-margin-top: 5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .page-250-landing #vpr-series * { transition: none !important; }
}
