/* Selected A treatment. Historical A/B previews retain their original styles. */
[hidden] { display: none !important; }
button:focus-visible, summary:focus-visible, video:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.hero { align-items: center; position: relative; isolation: isolate; }
.hero-story-link { display: inline-flex; align-items: center; gap: 28px; min-height: 48px; margin-top: 26px; color: var(--blue); font-size: 14px; font-weight: 600; text-decoration: none; }
.hero-story-link:hover { text-decoration: underline; }
.hero-story-link span { font-size: 23px; }
.hero-ambient { position: absolute; z-index: -1; inset: 0 0 100px; overflow: hidden; }
.hero-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; opacity: 1; pointer-events: none; }
.hero-baseline { width: 100%; margin-top: 56px; }
.motion-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; border: 0; padding: 8px 2px; background: transparent; color: var(--muted); font: 11px 'Open Sans',Arial,sans-serif; cursor: pointer; }
.motion-toggle:hover { color: var(--blue); }
.motion-toggle span { font-size: 14px; }

.connection-story { padding: 60px 0 28px; background: linear-gradient(140deg,#f6f9fb,#fff 70%); border-top: 1px solid #e4ebf0; }
.story-layout { display: grid; grid-template-columns: 1fr; gap: 32px; }
.story-copy { min-width: 0; text-align: center; }
.story-copy .eyebrow { color: var(--blue); margin-bottom: 16px; }
.story-copy h2 { font-size: clamp(34px,4vw,52px); line-height: 1.2; }
.story-copy h2 span { color: var(--blue); }
.story-copy > p:not(.eyebrow) { font-size: 16px; color: var(--muted); margin: 18px auto 0; max-width: 680px; line-height: 1.8; }
.story-visual { min-width: 0; width: 100%; width: min(100%,calc(74svh * 16 / 9)); margin-inline: auto; }
.story-player { position: relative; background: white; border: 1px solid var(--line); scroll-margin-block: 32px; }
.story-player[data-enhanced] { padding-bottom: 56px; }
.story-player[data-enhanced] .story-control { top: calc(50% - 28px); }
#story-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: white; }
.story-player[data-enhanced] #story-video { cursor: pointer; }
.story-control { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 82px; height: 82px; border: 1px solid #ffffffb3; border-radius: 50%; background: #102b46ed; color: white; box-shadow: 0 4px 22px #102b4626; cursor: pointer; font: 600 11px 'Open Sans',Arial,sans-serif; transition: opacity .2s ease, background .2s ease; }
.story-control:hover { background: var(--blue); }
.story-control svg { width: 26px; height: 26px; fill: currentColor; }
.story-control .icon-pause, .story-control .icon-replay { display: none; }
.story-control .icon-replay { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.story-player[data-state="playing"] .icon-play, .story-player[data-state="ended"] .icon-play { display: none; }
.story-player[data-state="playing"] .icon-pause, .story-player[data-state="ended"] .icon-replay { display: block; }
.story-player[data-state="playing"] .story-control { top: auto; bottom: 6px; transform: translateX(-50%); width: auto; min-width: 100px; height: 44px; padding: 0 16px; border-radius: 24px; flex-direction: row; gap: 8px; font-size: 12px; }
.story-player[data-state="playing"] .story-control svg { width: 18px; height: 18px; }
.story-visual figcaption { margin-top: 14px; color: var(--muted); font-size: 11px; text-align: center; }
.story-status { color: var(--muted); font-size: 13px; text-align: center; }
.story-status:not(:empty) { margin-top: 12px; }
.story-transcript { margin-top: 8px; color: var(--muted); font-size: 12px; }
.story-transcript summary { width: fit-content; margin-inline: auto; padding: 12px; min-height: 44px; cursor: pointer; }
.story-transcript p { max-width: 760px; margin: 12px auto; line-height: 1.8; }
.story-beats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 36px; margin: 40px 0 0; padding: 0; list-style: none; }
.story-beats li { position: relative; display: flex; gap: 16px; border-top: 1px solid var(--line); padding-top: 22px; }
.story-beats li::before { content: ''; position: absolute; left: 0; top: -1px; width: 100%; height: 2px; background: var(--blue); transform: scaleX(var(--beat-progress,1)); transform-origin: left; }
.beat-number { font-size: 10px; color: var(--blue); padding-top: 4px; }
.story-beats h3 { font-size: 14px; line-height: 1.6; font-weight: 600; }
.story-beats p { font-size: 12px; color: var(--muted); margin-top: 6px; }
.story-footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 24px; }
.story-footer > a { display: inline-flex; align-items: center; gap: 24px; min-height: 44px; color: var(--blue); font-size: 12px; text-decoration: none; }
.story-footer > a:hover { text-decoration: underline; }

@media(max-width:1050px) {
  .story-beats { gap: 22px; }
  .story-beats li { gap: 10px; }
}
@media(max-width:760px) {
  .hero-ambient { inset: 0 -24px 110px; }
  .hero-background { opacity: .8; mask-image: linear-gradient(to right,transparent 20%,#000 90%); }
  .hero-copy { position: relative; }
  .hero-story-link { margin-top: 22px; font-size: 13px; }
  .hero-baseline { margin-top: 28px; gap: 4px; }
  .hero-baseline .motion-toggle { margin-left: auto; }
  .connection-story { padding-top: 44px; }
  .story-layout { gap: 24px; }
  .story-copy h2 { font-size: clamp(34px,7.5vw,45px); }
  .story-copy .eyebrow { margin-bottom: 18px; font-size: 10px; }
  .story-copy > p:not(.eyebrow) { font-size: 15px; margin-top: 20px; }
  .story-control { width: 64px; height: 64px; gap: 3px; font-size: 10px; }
  .story-control svg { width: 22px; height: 22px; }
  .story-beats { grid-template-columns: 1fr; gap: 16px; margin-top: 26px; }
  .story-beats li { padding-top: 14px; gap: 16px; }
  .story-beats p { margin-top: 2px; }
  .story-footer { margin-top: 18px; gap: 12px; }
}
@media(prefers-reduced-motion:reduce) {
  .story-control { transition: none; }
}
@media print {
  .hero-ambient, .motion-toggle, .hero-story-link, .story-footer, .story-player { display: none !important; }
  .connection-story { padding: 32px 0; }
  .story-beats li::before { transform: none; }
}
