/* Original research and journey motifs. Complete static artwork is the
   default; optional gentle loops are managed by the shared motion controls. */
.research-constellation {
  position: absolute;
  z-index: 2;
  width: 150px;
  left: -62px;
  top: 8px;
  pointer-events: none;
}
.research-constellation svg { display: block; width: 100%; height: auto; overflow: visible; }
.constellation-links { fill: none; stroke: #9b865f; stroke-width: 1; opacity: .55; }
.constellation-ring { fill: #fbf6eb; fill-opacity: .6; stroke: #b89b6d; stroke-width: 1; }
.constellation-point { fill: #385571; stroke: #fcfaf4; stroke-width: 1.8; }
.constellation-point--gold { fill: #a77c3e; }
.constellation-halo { fill: none; stroke: #ba9a65; stroke-width: 1; opacity: .55; }

.event-program {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(245px, .85fr);
  gap: 40px;
  align-items: center;
  margin-top: 42px;
  padding: 34px 38px;
  border: 1px solid #d6c6aa;
  border-radius: 16px;
  background: linear-gradient(115deg, #fffcf5 0%, #f3eadb 100%);
  box-shadow: 0 8px 28px #5b472812;
}
.event-program-copy { min-width: 0; }
.event-program-copy>.eyebrow { font-size: 9px; color: #80602e; margin: 0 0 12px; }
.event-program h3 { font-family: var(--serif); font-size: clamp(25px, 2.7vw, 34px); font-weight: 500; line-height: 1.22; margin: 0 0 15px; }
.event-program-copy>p:not(.eyebrow) { color: #4b5a6c; font-size: 13px; line-height: 1.8; margin: 0 0 14px; }
.event-program-copy>p.event-program-meta { color: #72552d; font-size: 11px; }
.event-program-links { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; margin-top: 21px; }
.event-program-links a { color: #253d58; font-size: 12px; line-height: 1.6; padding-block: 6px; text-decoration: underline; text-decoration-color: #bda37c; text-underline-offset: 5px; }
.event-program-links a:hover { color: #80602e; text-decoration-color: currentColor; }
.event-program-links a:focus-visible { outline: 2px solid #8c652f; outline-offset: 5px; border-radius: 2px; }
.event-program-art { min-width: 0; padding: 19px 18px 21px; background: #fffaf080; border: 1px solid #d9c7a8; border-radius: 12px; }
.journey-graphic { display: block; width: 100%; height: auto; pointer-events: none; }
.journey-globe { fill: none; stroke: #c5b79b; stroke-width: .85; opacity: .43; }
.journey-route { fill: none; stroke: #9b7947; stroke-width: 1.6; stroke-dasharray: 3 5; stroke-linecap: round; }
.journey-endpoint-halo { fill: #fcf7eb; stroke: #d8c4a1; stroke-width: 1; }
.journey-endpoint { fill: #385571; }
.journey-endpoint--arrival { fill: #a57b3d; }
.journey-plane {
  fill: #253d58;
  stroke: #fffaf0;
  stroke-width: .7;
  stroke-linejoin: round;
  transform-box: view-box;
  transform-origin: 0 0;
  transform: translate(276px, 105px) rotate(49deg);
}
.journey-labels { display: flex; justify-content: space-between; gap: 15px; margin: -5px 13px 0; color: #586879; font-size: 11px; letter-spacing: .02em; }
.journey-labels span:last-child { text-align: right; }
.journey-caption { margin: 17px 0 0; padding-top: 13px; border-top: 1px solid #d9c7a8; color: #80602e; font-size: 10px; letter-spacing: .11em; text-align: center; }

/* Flight rail spans the page below navigation; the plane stays legible at
   every viewport width instead of shrinking with the route artwork. */
.flight-band {
  background-color: #fbf8f0;
  background-image: linear-gradient(#bda57c0b 1px, transparent 1px), linear-gradient(90deg, #bda57c0b 1px, transparent 1px);
  background-size: 56px 56px;
  border-bottom: 1px solid #d8c9af;
  padding: 15px 0 7px;
}
.flight-band-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; min-height: 34px; }
.flight-story { color: #7a5c32; font-size: 11px; letter-spacing: .14em; }
.flight-story:hover { color: #243b59; }
.motion-toggle { border: 1px solid #d4c5ab; border-radius: 22px; padding: 5px 12px; background: #fffdf6; color: #4b5a6c; font-size: 12px; min-height: 34px; white-space: nowrap; }
.motion-toggle:hover { background: #f2e8d5; }
.motion-toggle .motion-play-label,
.motion-toggle[data-paused="true"] .motion-pause-label { display: none; }
.motion-toggle[data-paused="true"] .motion-play-label { display: inline; }
.motion-reduced-note { display: none; font-size: 11px; color: #586879; }
.flight-band-route { display: flex; align-items: flex-end; gap: 24px; padding-bottom: 8px; }
.flight-place { display: flex; align-items: center; gap: 8px; color: #3d5069; font-size: 13px; line-height: 24px; white-space: nowrap; padding-bottom: 9px; }
.flight-place-dot { width: 6px; height: 6px; border-radius: 50%; background: #a27b40; box-shadow: 0 0 0 4px #bda57c1a; }
.flight-place-arrival .flight-place-dot { background: #506b88; }
.flight-track { position: relative; flex: 1; height: 64px; min-width: 0; }
.flight-path { display: block; width: 100%; height: 64px; overflow: visible; }
.flight-path path { fill: none; stroke: #a18b67; stroke-width: 1.2; stroke-dasharray: 2 7; stroke-linecap: round; }
.flight-plane { position: absolute; left: 53%; top: 0; width: 28px; height: 28px; margin: -14px 0 0 -14px; transform: translateY(18px); color: #243b59; pointer-events: none; }
.flight-plane svg { display: block; width: 100%; height: 100%; fill: currentColor; stroke: #fbf8f0; stroke-width: .8; }

@media (prefers-reduced-motion: no-preference) {
  .motion-ready .flight-plane { animation: iris-pacific-flight 24s linear -2s infinite; animation-play-state: paused; }
  .motion-ready .research-constellation svg { animation: iris-constellation-drift 10s ease-in-out infinite; animation-play-state: paused; }
  .motion-ready .constellation-point { animation: iris-node-glow 7s ease-in-out infinite; animation-play-state: paused; }
  .motion-ready .constellation-point:nth-child(3n) { animation-delay: -2s; }
  .motion-ready .constellation-point:nth-child(3n + 1) { animation-delay: -4s; }
  .motion-ready .event-program-art .journey-plane { animation: iris-program-flight 18s linear -1.5s infinite; animation-play-state: paused; }
  .motion-ready .motion-visible .flight-plane,
  .motion-ready .motion-visible.research-constellation svg,
  .motion-ready .motion-visible .constellation-point,
  .motion-ready .motion-visible .journey-plane { animation-play-state: running; }
  .motion-ready.motion-paused [data-ambient-motion] *,
  .motion-ready.motion-document-hidden [data-ambient-motion] * { animation-play-state: paused!important; }
}
@keyframes iris-constellation-drift {
  0%,100% { transform: translate(0, 0) rotate(-2deg); }
  50% { transform: translate(3px, -4px) rotate(2deg); }
}
@keyframes iris-node-glow { 0%,100% { opacity: .6; } 50% { opacity: 1; } }
@keyframes iris-pacific-flight {
  0% { left: 0%; transform: translateY(42px) rotate(-6deg); opacity: 0; }
  4% { opacity: 1; }
  12.5% { left: 12.5%; transform: translateY(31.5px) rotate(-4.5deg); }
  25% { left: 25%; transform: translateY(24px) rotate(-3deg); }
  37.5% { left: 37.5%; transform: translateY(19.5px) rotate(-1.5deg); }
  50% { left: 50%; transform: translateY(18px) rotate(0deg); }
  62.5% { left: 62.5%; transform: translateY(19.5px) rotate(1.5deg); }
  75% { left: 75%; transform: translateY(24px) rotate(3deg); }
  87.5% { left: 87.5%; transform: translateY(31.5px) rotate(4.5deg); }
  96% { opacity: 1; }
  100% { left: 100%; transform: translateY(42px) rotate(6deg); opacity: 0; }
}
@keyframes iris-program-flight {
  0% { transform: translate(44px, 105px) rotate(-49deg); opacity: 0; }
  4%,96% { opacity: 1; }
  12.5% { transform: translate(73px, 75.46875px) rotate(-41deg); }
  25% { transform: translate(102px, 54.375px) rotate(-30deg); }
  37.5% { transform: translate(131px, 41.71875px) rotate(-16deg); }
  50% { transform: translate(160px, 37.5px) rotate(0deg); }
  62.5% { transform: translate(189px, 41.71875px) rotate(16deg); }
  75% { transform: translate(218px, 54.375px) rotate(30deg); }
  87.5% { transform: translate(247px, 75.46875px) rotate(41deg); }
  100% { transform: translate(276px, 105px) rotate(49deg); opacity: 0; }
}
@media (max-width: 1100px) {
  .research-constellation { width: 125px; left: -48px; top: 3px; }
  .event-program { grid-template-columns: minmax(0, 1.3fr) minmax(225px, .8fr); gap: 28px; padding: 29px; }
}
@media (max-width: 760px) {
  .event-program { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 27px; }
  .event-program-art { width: 100%; max-width: 380px; justify-self: center; padding-top: 12px; }
}
@media (min-width: 601px) and (max-width: 860px) {
  .research-constellation { width: 108px; left: -25px; }
}
@media (max-width: 600px) {
  .flight-band { padding-top: 9px; }
  .flight-band-heading { gap: 8px; }
  .flight-story { font-size: 8px; letter-spacing: .06em; max-width: 55%; }
  .motion-toggle { font-size: 10px; min-height: 34px; padding: 4px 9px; }
  .motion-reduced-note { font-size: 9px; }
  .flight-band-route { gap: 13px; }
  .flight-place { font-size: 10px; gap: 6px; }
  .flight-plane { width: 25px; height: 25px; margin-left: -12.5px; margin-top: -12.5px; }

  .research-constellation { width: 90px; left: -30px; top: 2px; }
  .event-program { margin-top: 32px; padding: 24px 22px; }
  .event-program h3 { font-size: 27px; }
  .event-program-copy>p:not(.eyebrow) { font-size: 12px; }
  .event-program-links { gap: 7px 18px; margin-top: 15px; }
  .event-program-links a { font-size: 11px; }
  .event-program-art { padding: 8px 12px 17px; }
  .journey-labels { font-size: 10px; margin-inline: 6px; }
  .journey-caption { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .motion-toggle { display: none; }
  .motion-reduced-note { display: inline; }
  .flight-band *,.research-constellation,.research-constellation *,.event-program,.event-program * { animation: none!important; transition: none!important; }
}
@media print {
  .flight-band,.research-constellation { display: none; }
  .event-program { background: white; box-shadow: none; break-inside: avoid; }
  .event-program,.event-program * { animation: none!important; }
}
