/* A compact, content-sized paired presentation with a readable stacked fallback. */
.oqp-story {
  --oqp-story-header-height: 93px;
  --oqp-story-ink: #152e47;
  --oqp-story-muted: #536b7f;
  --oqp-story-accent: #007f90;
  padding: clamp(48px, 6vw, 88px) var(--site-edge, 24px) 36px;
  color: var(--oqp-story-ink);
  background: #fff;
}
.oqp-story-heading, .oqp-story-layout { width: min(1480px, 100%); margin-inline: auto; }
.oqp-story-heading { margin-bottom: 28px; }
.oqp-story-kicker { margin: 0 0 12px; color: var(--oqp-story-accent); font-size: .75rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.oqp-story-heading h2 { font-size: clamp(2.3rem, 4.2vw, 4rem); font-weight: 550; letter-spacing: -.045em; }
.oqp-story-intro { margin: 18px 0 0; color: var(--oqp-story-muted); font-size: clamp(1rem, 1.3vw, 1.2rem); }
.oqp-story [hidden] { display: none !important; }
.oqp-story-step { padding: 44px 0; border-bottom: 1px solid #dce6ed; scroll-margin-top: calc(var(--oqp-story-header-height) + 24px); }
.oqp-story-step:last-child { border-bottom: 0; }
.oqp-story-visual { min-width: 0; margin: 0 0 28px; padding: clamp(20px, 2.5vw, 36px); border-radius: 16px; background: #fff; }
.oqp-story-step:first-child > .oqp-story-visual, .oqp-story-step:last-child > .oqp-story-visual { background: #f5f7fb; }
.oqp-story-visual figure { min-width: 0; margin: 0; }
.oqp-story-visual > a, .oqp-story-visual figure > a { display: block; }
.oqp-story-visual img { display: block; width: 100%; height: 320px; object-fit: contain; }
.oqp-story-visual figcaption { margin-top: 16px; color: #5b7082; font-size: .74rem; line-height: 1.6; }
.oqp-story-visual figcaption a { text-decoration: underline; text-underline-offset: 3px; }
.oqp-story-labelled { display: block; }
.oqp-story-art-label { margin: 10px 0 0; color: #234e68; font-size: 1.1rem; font-weight: 650; line-height: 1.3; }
.oqp-story-art-label br { display: none; }
.oqp-story-copy { min-width: 0; max-width: 720px; }
.oqp-story-eyebrow { margin: 0 0 18px; color: var(--oqp-story-accent); font-size: .72rem; font-weight: 750; line-height: 1.6; letter-spacing: .075em; text-transform: uppercase; }
.oqp-story-copy h2 { margin: 0 0 22px; font-size: clamp(1.9rem, 2.9vw, 3rem); font-weight: 550; line-height: 1.14; letter-spacing: -.035em; }
.oqp-story-copy > p:not(.oqp-story-eyebrow) { margin: 0 0 24px; color: var(--oqp-story-muted); font-size: 1.04rem; line-height: 1.8; }
.oqp-story-copy > p.oqp-story-note { padding: 14px 16px; border-left: 2px solid #d7a765; background: #fbf7f0; font-size: .8rem; line-height: 1.7; }
.oqp-story-note > span { color: #855a22; font-weight: 750; }
.oqp-story-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; padding: 5px 0; border-bottom: 1px solid #96bbc4; color: #126278; font-size: .94rem; font-weight: 700; }
.oqp-story-link:hover { color: #003d52; border-color: currentColor; }
.oqp-story a:focus-visible { outline: 3px solid #d89432; outline-offset: 5px; }
.oqp-story-spectroscopy { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; border: 1px solid #e4eaf0; }
.oqp-story-spectroscopy figure:last-child { grid-column: 1 / -1; width: 78%; justify-self: center; }
.oqp-story-spectroscopy h3 { margin-bottom: 10px; color: #335c74; font-size: .78rem; letter-spacing: .06em; }
.oqp-story-spectroscopy img { height: 160px; }
.oqp-story-spectroscopy figure:last-child img { height: 140px; }
.oqp-story-spectroscopy figcaption { margin-top: 8px; font-size: .68rem; }
/* Automatic playback uses a compact stage without a long scroll runway. */
@media (min-width: 1000px) and (min-height: 600px) {
  .oqp-story[data-enhanced="true"] {
    --oqp-auto-height: auto;
  }
  .oqp-story[data-enhanced="true"] .oqp-story-layout { position: relative; display: block; overflow-anchor: none; padding-bottom: clamp(60px, 12vh, 120px); }
  .oqp-story[data-enhanced="true"] .oqp-story-stage { position: sticky; z-index: 1; top: calc(var(--oqp-story-header-height) + 16px); display: flex; flex-direction: column; height: var(--oqp-auto-height); min-width: 0; border: 1px solid #dae5ed; border-radius: 18px; background: #fff; box-shadow: 0 18px 60px #16395009; }
  .oqp-story-stage-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 20px; border-bottom: 1px solid #e7edf2; color: #536b7f; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
  .oqp-story-tools { display: flex; align-items: center; gap: 16px; }
  .oqp-story-playback { min-width: 70px; min-height: 32px; padding: 4px 10px; border: 1px solid #c3d6df; border-radius: 4px; color: #126278; background: #fff; cursor: pointer; font: inherit; font-size: .72rem; letter-spacing: 0; text-transform: none; }
  .oqp-story-playback:hover { background: #edf6f8; }
  .oqp-story-playback:focus-visible { outline: 3px solid #d89432; outline-offset: 3px; }
  .oqp-story-count { white-space: nowrap; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
  .oqp-story-current { color: #007f90; }
  .oqp-story-scenes { flex: 1; min-height: 0; }
  .oqp-story-scene { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 3vw, 56px); width: 100%; height: 100%; min-height: 0; padding: clamp(16px, 2vh, 28px); background: #fff; }
  .oqp-story-scene > .oqp-story-visual { width: 100%; margin: 0; padding: clamp(16px, 2vw, 28px); border: 0; border-radius: 12px; background: #fff; }
  .oqp-story-scene:first-child > .oqp-story-visual, .oqp-story-scene:last-child > .oqp-story-visual { background: #f5f7fb; }
  .oqp-story-scene .oqp-story-visual img { height: 240px; }
  .oqp-story-scene .oqp-story-spectroscopy { gap: 16px; }
  .oqp-story-scene .oqp-story-spectroscopy img { height: 120px; }
  .oqp-story-scene .oqp-story-spectroscopy figure:last-child img { height: 110px; }
  .oqp-story-scene figcaption { font-size: .7rem; }
  .oqp-story-scene .oqp-story-spectroscopy figcaption { font-size: .65rem; }
  .oqp-story-scene > .oqp-story-copy { width: 100%; padding-left: 22px; border-left: 2px solid #078695; }
  .oqp-story-scene .oqp-story-copy h2 { font-size: clamp(1.7rem, 2.2vw, 2.5rem); }
  .oqp-story-scene .oqp-story-copy > p:not(.oqp-story-eyebrow) { font-size: .95rem; line-height: 1.7; }
  .oqp-story-scene .oqp-story-copy > p.oqp-story-note { font-size: .8rem; line-height: 1.7; }
  .oqp-story-progress { display: flex; gap: 5px; height: 4px; margin: 12px 20px; }
  .oqp-story-progress-segment { height: 100%; flex: 1; background: #dbe7ed; transition: background-color .2s; }
  .oqp-story-progress-segment.is-complete { background: #9acbd0; }
  .oqp-story-progress-segment.is-active { background: #078695; }
  .oqp-story-scene.is-active { animation: oqp-story-appear .24s ease-out; }
  .oqp-story[data-enhanced="true"] .oqp-story-steps { position: absolute; top: 0; left: 0; right: 0; height: 0; pointer-events: none; }
  .oqp-story[data-enhanced="true"] .oqp-story-step { position: absolute; top: 0; left: 0; width: 100%; height: 0; min-height: 0; padding: 0; border: 0; scroll-margin-top: calc(var(--oqp-story-header-height) + 16px); }
}
  .oqp-story[data-measuring="true"] .oqp-story-stage { height: auto; }
  .oqp-story[data-measuring="true"] .oqp-story-scenes { flex: none; }
  .oqp-story[data-measuring="true"] .oqp-story-scene { height: auto; }
@media (min-width: 1000px) and (max-height: 720px) {
  .oqp-story-scene { gap: 24px; padding: 14px; }
  .oqp-story-scene > .oqp-story-visual { padding: 14px; }
  .oqp-story-scene .oqp-story-copy h2 { font-size: 1.8rem; margin-bottom: 14px; }
  .oqp-story-scene .oqp-story-copy > p:not(.oqp-story-eyebrow) { font-size: .95rem; line-height: 1.65; margin-bottom: 14px; }
  .oqp-story-scene .oqp-story-copy > p.oqp-story-note { font-size: .76rem; padding: 10px 12px; }
  .oqp-story-scene .oqp-story-eyebrow { margin-bottom: 10px; }
  .oqp-story-scene .oqp-story-visual img { height: 210px; }
  .oqp-story-scene .oqp-story-spectroscopy img { height: 100px; }
  .oqp-story-scene .oqp-story-spectroscopy figure:last-child img { height: 90px; }
}
@media (max-width: 720px) {
  .oqp-story { --oqp-story-header-height: 0px; }
  .oqp-story-step { scroll-margin-top: 20px; }
}
@media (max-width: 560px) {
  .oqp-story { padding-top: 44px; }
  .oqp-story-step { padding-block: 36px; }
  .oqp-story-visual { padding: 20px 16px; border-radius: 10px; }
  .oqp-story-visual img { height: 230px; }
  .oqp-story-spectroscopy { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .oqp-story-spectroscopy figure:last-child { grid-column: auto; width: auto; }
  .oqp-story-spectroscopy img, .oqp-story-spectroscopy figure:last-child img { height: auto; max-height: 220px; }
  .oqp-story-copy h2 { font-size: 1.8rem; }
  .oqp-story-copy > p:not(.oqp-story-eyebrow) { font-size: .96rem; }
}
@keyframes oqp-story-appear { from { opacity: .6; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .oqp-story-progress-segment { transition: none; }
  .oqp-story-scene.is-active { animation: none; }
}
