.portfolio.wrap, .experience, .method {
  background: #fff;
  color: var(--study-ink);
}
.portfolio header { color: inherit; }
.portfolio header p, .method :is(dt, .editorial-label, small) { color: #484848; }
.method .editorial-rows > div { border-color: #ccc; }
.method a { color: var(--study-blue); }
.method :focus-visible { outline-color: var(--study-blue); box-shadow: none; }

.possibilities, .human, .pilot {
  background: #000;
  color: #fafafa;
}
.possibility-lines li:nth-child(1) strong { color: #a9ccff; }
.possibility-lines li:nth-child(2) strong { color: #bcbdff; }
.possibility-lines li:nth-child(3) strong { color: #d5b5f5; }
.possibility-lines li:nth-child(4) strong { color: #edb4d7; }
.possibility-lines li:nth-child(5) strong { color: #f5c39f; }
.human .editorial-label { color: #dedede; }
.human a, .pilot-pdf { color: var(--stage-link); }
.pilot-topics, .pilot-topics details { border-color: #666; }
:is(.human, .pilot) :focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* Keep the address, copy control and feedback together. */
.home-pilot-contact {
  margin-top: 24px;
  padding: 16px;
  background: #212121;
  border: 1px solid #454545;
  border-radius: 16px;
}
.home-pilot-contact-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.home-pilot-email { min-width: 0; color: #fafafa; font-size: 1rem; }
.home-pilot-label { display: block; margin-bottom: 3px; color: #c7c7c7; font-size: .875rem; }
.pilot .home-pilot-contact .pill {
  min-height: 44px;
  padding: 10px 17px;
  background: #fff;
  color: #141414;
  font-size: .9375rem;
  white-space: nowrap;
}
.pilot .home-pilot-contact .pill:hover { background: #e4e4e4; }
.home-pilot-contact [role="status"] { margin: 10px 0 0; color: #e0e0e0; font-size: .9375rem; }
.pilot .home-pilot-details {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 6px;
  color: #d1d1d1;
  font-size: .9375rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.pilot .home-pilot-details:hover { color: #fff; }
@media (max-width: 450px) {
  .home-pilot-contact-row { align-items: stretch; flex-direction: column; }
  .home-pilot-contact .pill { justify-content: center; text-align: center; }
}

.home-enactor h2 { max-width: 22ch; margin-bottom: clamp(22px, 3vw, 38px); }
.home-enactor-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 68px); align-items: start; }
.home-enactor-copy > p + p { margin-top: 1em; }
.home-enactor-copy .home-enactor-principle { color: #484848; font-size: 1rem; font-weight: 650; }
.home-enactor-example { margin: 0; }
.home-enactor-example img { display: block; width: 100%; height: auto; border-radius: 16px; }
.home-enactor-example figcaption { margin-top: 12px; color: #484848; }
.home-enactor-example figcaption p { font-size: 1rem; }
.home-enactor-example figcaption a { display: inline-block; margin-top: 6px; font-size: 1rem; text-underline-offset: 3px; }
@media (max-width: 760px) {
  .home-enactor-grid { grid-template-columns: minmax(0, 1fr); }
}

/* On desktop the full-bleed stage and the content share a left edge. */
@media (min-width: 761px) {
  .hero .hero-copy .wrap { width: min(1160px, 92%); }
}

/* Give the full theatre frame its own column in short, panoramic windows. */
@media (min-width: 1100px) and (min-aspect-ratio: 23/10) {
  .hero:not(.playing) {
    aspect-ratio: auto;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.5fr);
    gap: clamp(28px, 4vw, 84px);
    padding: clamp(24px, 4vh, 56px) 4% clamp(24px, 4vh, 56px) max(4%, calc((100% - 1160px) / 2));
    align-items: center;
    min-height: 0;
    max-height: none;
  }
  .hero:not(.playing)::before { display: none; }
  .hero:not(.playing) .poster {
    position: static;
    grid-area: 1 / 2;
    height: auto;
    max-height: 75svh;
    z-index: auto;
    object-fit: contain;
  }
  .hero .hero-copy { padding: 0; }
  .hero .hero-copy .wrap { width: 100%; }
  .hero .hero-copy h1 { font-size: clamp(3rem, 4vw, 5.6rem); }
}
