/* About: two takes, one scene. Builds on site.css tokens only. */

.about-fig img { object-position: 50% 35%; }

/* The two marks either side of the scene: pills that carry a strip of tape */
.takes {
  display: flex; justify-content: space-between; gap: .75rem;
  margin: 1.25rem 0 1rem;
}
.takes[hidden] { display: none; }
.takes .pill { font-size: 1rem; padding-inline: 1.3rem; }
.takes .tape {
  width: 1.5rem; height: .5rem;
  transition: width var(--quick) ease-out;
}
.takes .pill[aria-pressed="true"] .tape { width: 2.5rem; }

/* The scene: one pale plate, printed in oxblood */
.scene { margin-top: 1rem; }
.takes + .vh + .scene { margin-top: 0; }
.script { list-style: none; margin: 0; padding: 0; }
.script li { margin: 0 0 1.4rem; }
.script li:last-child { margin-bottom: 0; }
.who {
  margin: 0 0 .15rem;
  font-size: var(--fs-small); line-height: 1.4;
}
.who::before {
  content: "";
  display: inline-block;
  width: .5rem; height: .5rem; margin-right: .6rem;
  border-radius: 50%;
  background: currentColor;
}
.talk {
  margin: 0 0 .3rem;
  font-size: var(--fs-lead); line-height: 1.4;
}
.dirs { margin: 0; font-size: var(--fs-small); line-height: 1.5; }
.dir { display: block; }
.dir + .dir { margin-top: .25rem; }
.tk { margin-right: .25rem; }

/* With script: both directions share one grid cell, the unseen one is visibility:hidden so nothing shifts */
.scene.is-live .dirs { display: grid; }
.scene.is-live .dir { grid-area: 1 / 1; margin-top: 0; }
.scene.is-live .tk { display: none; }
.scene.is-live[data-take="1"] .dir-2,
.scene.is-live[data-take="2"] .dir-1 { visibility: hidden; }

/* Admissions voice */
.quote-by { margin-top: 1rem; font-size: var(--fs-small); }
.said { margin-block: 1.75rem; }
.said p { margin-bottom: 1em; }

/* Hand-off plate */
.hand h2 { margin-bottom: .35em; }
.hand .pill { margin-top: .25rem; }
.hand-addr { margin: .75rem 0 0; font-size: var(--fs-small); overflow-wrap: anywhere; }

@media (min-width: 48rem) {
  .takes .pill { font-size: 1.0625rem; }
  .script li { margin-bottom: 1.6rem; }
}
