@media (max-width: 900px) {
  .portia-hero-copy {
    grid-column: 1 / span 8;
  }
  .manuscript-instrument {
    grid-template-columns: 1fr;
  }
  .instrument-controls {
    grid-template-columns: repeat(3, 1fr);
  }
  .instrument-controls button {
    border-right: 1px solid var(--rule);
  }
  .instrument-record {
    grid-column: 1;
  }
  .portia-ledger-intro {
    grid-column: 1 / span 5;
  }
  .portia-ledger-grid .ledger {
    grid-column: 6 / -1;
  }
}
@media (max-width: 719px) {
  .portia-hero::before {
    background: linear-gradient(
      180deg,
      rgb(9 9 11 / 72%),
      rgb(9 9 11 / 98%) 68%
    );
  }
  .portia-hero-world {
    height: 52%;
  }
  .portia-hero-world img {
    object-position: 68% center;
  }
  .portia-hero-grid {
    align-items: end;
    padding-top: 18rem;
  }
  .portia-hero-copy {
    grid-column: 1 / -1;
  }
  .portia-hero h1 {
    font-size: clamp(3.2rem, 15vw, 5rem);
  }
  .portia-release-note {
    gap: 1rem;
    align-items: flex-start;
  }
  .portia-identity img {
    width: 3.5rem;
    height: 3.5rem;
  }
  .instrument-controls {
    overflow-x: auto;
  }
  .instrument-controls button {
    grid-template-columns: 1fr;
    min-width: 7rem;
  }
  .instrument-sheet {
    width: calc(100% - 2rem);
    margin: 5.5rem 1rem 2rem;
    padding: 2rem 1.5rem;
  }
  .instrument-spider {
    top: 0.75rem;
    right: 1rem;
  }
  .instrument-record,
  .platform-record {
    grid-template-columns: 1fr;
  }
  .instrument-record article,
  .platform-record article {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }
  .instrument-record article:last-child,
  .platform-record article:last-child {
    border-bottom: 0;
  }
  .portia-ledger-intro,
  .portia-ledger-grid .ledger,
  .privacy-field-grid > div:first-child,
  .privacy-proposition,
  .terminal-grid > div:first-child,
  .terminal-grid > div:last-child {
    grid-column: 1 / -1;
  }
  .portia-folio-relic {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .portia-sprite {
    animation: none !important;
  }
}
@media (forced-colors: active) {
  .instrument-sheet {
    border: 2px solid CanvasText;
    box-shadow: none;
  }
  .instrument-controls button[aria-pressed="true"] {
    outline: 2px solid Highlight;
    outline-offset: -4px;
  }
}
