/* Reviewed Harvard bowl: local still and on-click official hosted viewer. */
.harvard-bowl {
  width: 100%;
  max-width: 590px;
  justify-self: center;
  margin: 0;
  text-align: center;
}
.harvard-stage {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  overflow: hidden;
  border-radius: 0;
  background: var(--intro-paper);
}
.harvard-poster, .harvard-viewer {
  position: absolute;
  inset: 0;
}
.harvard-poster { z-index: 2; background: var(--intro-paper); pointer-events: none; }
.harvard-photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  /* The reviewed square frame trims only the black lateral background. */
  object-fit: cover;
}
.harvard-fallback { width: 55%; height: 55%; object-fit: contain; position: absolute; inset: 22.5%; }
.harvard-viewer iframe { width: 100%; height: 100%; border: 0; display: block; }
.harvard-bowl[data-state="ready"] .harvard-poster { visibility: hidden; }
/* The full viewer stays unobscured; its UI is disabled via supported options. */
.harvard-bowl[data-state="ready"] .harvard-stage { border-radius: 0; }
.harvard-bowl:not([data-state="ready"]) .harvard-viewer { pointer-events: none; }
.harvard-loading { position: absolute; bottom: 30px; left: 30%; width: 40%; height: 2px; z-index: 3; overflow: hidden; background: #ffffff30; }
.harvard-loading span { display: block; width: 35%; height: 100%; background: #d9954f; animation: harvard-loading 1.6s ease-in-out infinite alternate; }
@keyframes harvard-loading { from { transform: translateX(-100%); } to { transform: translateX(300%); } }
.harvard-actions { display: flex; align-items: center; justify-content: center; gap: 15px; min-height: 48px; margin-top: 12px; flex-wrap: wrap; }
.harvard-actions button { font: 500 .85rem/1.3 var(--sans); min-height: 46px; cursor: pointer; }
.harvard-load {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid #b98a54;
  border-radius: 30px;
  padding: 12px 22px;
  background: #d9954f13;
  color: var(--intro-ink);
}
.harvard-load:hover { background: #d9954f29; }
.harvard-load svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; }
.harvard-still { border: 0; color: var(--intro-muted); padding: 10px 8px; background: none; text-decoration: underline; text-underline-offset: 4px; }
.harvard-bowl [hidden] { display: none !important; }
.harvard-bowl .harvard-status { font-size: .75rem; line-height: 1.5; margin: 8px auto 0; max-width: 32em; }
.harvard-bowl .harvard-status:empty { margin: 0; }
.harvard-bowl figcaption { margin-top: 10px; line-height: 1.7; font-size: .68rem; }
.harvard-bowl[data-poster="matched"] .harvard-photo { object-fit: contain; }
@media (min-width: 901px) {
  .intro-hero { padding-top: 24px; padding-bottom: 40px; min-height: calc(100svh - 88px); }
  .harvard-bowl { max-width: min(590px, max(300px, calc(100svh - 370px))); }
}
@media (max-width: 760px) {
  .harvard-bowl { max-width: 450px; margin: 28px auto 25px; }
  .harvard-actions { margin-top: 12px; }
  .harvard-bowl figcaption { font-size: .65rem; }
}
@media (max-width: 700px) {
  .intro-hero { padding-top: 28px; padding-bottom: 32px; }
  .intro-hero .intro-lead { margin: 18px 0 12px; }
  .intro-hero .intro-scroll { margin-top: 0; }
  /* Let the entire square viewer use the phone width, including the copy's
     gutters. Keep still and interactive framing identical, without cropping. */
  .harvard-bowl {
    width: calc(100% + 48px);
    max-width: 540px;
    margin: 0 -24px;
  }
  .harvard-actions { margin-top: 0; }
  .harvard-bowl figcaption { padding: 0 16px; margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .harvard-stage { transition: none; }
  .harvard-loading span { animation: none; width: 100%; opacity: .7; }
}
