.postacie-page {
  overflow: clip;
}

.postacie-page .section {
  padding-block: 3rem;
}

.postacie-page .eyebrow .accent {
  margin-right: var(--space-2);
}

.postacie-page h2:focus {
  outline: none;
}

.postacie-hero {
  padding-block: 3rem;
}

.postacie-hero__grid,
.postacie-space__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-5);
}

.postacie-hero__copy,
.postacie-hero__figure,
.postacie-space__copy,
.postacie-space__figure {
  min-width: 0;
  width: 100%;
}

.postacie-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}

.postacie-hero__copy h1,
.postacie-hero__copy p,
.postacie-hero__copy .postacie-hero__actions {
  margin: 0;
}

.postacie-hero__eyebrow {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  color: var(--color-marker-cyan);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.postacie-hero__eyebrow strong {
  color: var(--color-tungsten-amber);
}

.postacie-hero__copy h1 {
  max-width: 11ch;
}

.postacie-hero__lead {
  max-width: 38rem;
  color: var(--color-off-white);
  font-size: var(--text-lg);
}

.postacie-hero__actions {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-3);
}

.postacie-hero__actions > * {
  width: 100%;
  min-width: 0;
}

.postacie-button--cyan {
  border-color: var(--color-marker-cyan);
}

.postacie-hero__figure {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin: 0;
}

.postacie-hero__media {
  position: relative;
}

.postacie-hero__media::after,
.postacie-profile-card .media-frame::after,
.postacie-space__figure .media-frame::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-radial-gradient(circle at 20% 30%, rgba(255,255,255,.5) 0 1px, transparent 1px 4px);
  content: "";
  mix-blend-mode: soft-light;
  opacity: .06;
}

.postacie-hero__media img {
  object-position: 78% center;
}

.postacie-hero__timecode {
  position: absolute;
  right: var(--space-3);
  bottom: var(--space-3);
  border: var(--border-default);
  background: rgba(12, 14, 18, .8);
  color: var(--color-marker-cyan);
  font-size: var(--text-xs);
  font-variant-numeric: tabular-nums;
  letter-spacing: .1em;
  padding: var(--space-1) var(--space-2);
}

.postacie-hero__figure figcaption {
  margin: 0;
}

.postacie-method__intro,
.postacie-featured__intro,
.postacie-shots__head,
.postacie-tensions__intro,
.postacie-index__intro,
.postacie-relations__intro,
.postacie-principles__intro,
.postacie-next__intro {
  max-width: 38.75rem;
}

.postacie-method__cards,
.postacie-tensions__grid,
.postacie-relations__grid,
.postacie-space__observations,
.postacie-principles__grid,
.postacie-next__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-4);
}

.postacie-method-card,
.postacie-tension,
.postacie-relation,
.postacie-space__observations article,
.postacie-principle,
.postacie-next-card {
  min-width: 0;
  width: 100%;
  border: var(--border-default);
  background: var(--color-carbon);
  padding: var(--space-4);
}

.postacie-method-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.postacie-method-card > *,
.postacie-tension > *,
.postacie-relation > *,
.postacie-space__observations article > *,
.postacie-principle > *,
.postacie-next-card > * {
  margin: 0;
}

.postacie-method-card ul,
.postacie-principle ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding-inline-start: 1.25rem;
}

.postacie-card-number {
  color: var(--color-marker-cyan);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1;
}

.postacie-card-number--amber,
.postacie-method-card--amber .postacie-card-number {
  color: var(--color-tungsten-amber);
}

.postacie-method-card--amber {
  border-top-color: var(--color-tungsten-amber);
}

.postacie-source-note,
.postacie-relations__note {
  display: flex;
  max-width: 42rem;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-5);
  border-inline-start: 2px solid var(--color-marker-cyan);
  background: color-mix(in srgb, var(--color-carbon) 78%, var(--color-obsidian));
  padding: var(--space-4);
}

.postacie-source-note p,
.postacie-relations__note p {
  margin: 0;
}

.postacie-featured__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-4);
}

.postacie-profile-card {
  display: flex;
  min-width: 0;
  width: 100%;
  flex-direction: column;
  border: var(--border-default);
  background: var(--color-carbon);
  color: var(--color-text);
  text-decoration: none;
  transition: border-color var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out);
}

.postacie-profile-card:hover {
  border-color: var(--color-marker-cyan);
  color: var(--color-text);
  transform: translateY(-2px);
}

.postacie-profile-card:focus-visible {
  outline: 2px solid var(--color-marker-cyan);
  outline-offset: 3px;
}

.postacie-profile-card .media-frame {
  position: relative;
  width: 100%;
  border: 0;
  border-bottom: var(--border-default);
}

.postacie-profile-card--lead img {
  object-position: 55% center;
}

.postacie-profile-card--wide img {
  object-position: 60% center;
}

.postacie-profile-card__body {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-4);
}

.postacie-profile-card__body > * {
  margin: 0;
}

.postacie-profile-card__body p:last-child {
  max-width: 52ch;
}

.postacie-featured__side {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-4);
}

.postacie-featured__index-link {
  display: flex;
  min-width: 0;
  align-items: stretch;
}

.postacie-featured__index-link .button {
  width: 100%;
}

.postacie-shots__timeline {
  position: relative;
  display: flex;
  max-width: 50rem;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-5);
  margin-top: var(--space-5);
  padding-inline-start: var(--space-4);
}

.postacie-shots__timeline::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: var(--color-graphite);
  content: "";
}

.postacie-shot {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-2);
}

.postacie-shot__label,
.postacie-shot__copy {
  min-width: 0;
  width: 100%;
}

.postacie-shot__copy {
  display: flex;
  max-width: 40rem;
  flex-direction: column;
  gap: var(--space-3);
}

.postacie-shot__copy > * {
  margin: 0;
}

.postacie-shot__copy--surface {
  border: var(--border-default);
  background: var(--color-carbon);
  padding: var(--space-4);
}

.postacie-shot__end {
  color: var(--color-tungsten-amber);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.postacie-tensions {
  background-image: linear-gradient(rgba(237,237,237,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(237,237,237,.035) 1px, transparent 1px);
  background-size: 24px 24px;
}

.postacie-tension {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.postacie-tension__line {
  display: block;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-tungsten-amber), var(--color-graphite));
}

.postacie-tension--wide {
  border-color: var(--color-tungsten-amber);
}

.postacie-index__intro {
  max-width: 39rem;
}

.postacie-search {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-5);
  border: var(--border-default);
  background: var(--color-carbon);
  padding: var(--space-4);
}

.postacie-search p,
.postacie-search label {
  margin: 0;
}

.postacie-search p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.postacie-search__controls {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-3);
}

.postacie-search__controls > * {
  min-width: 0;
  width: 100%;
}

.postacie-filters {
  margin-top: var(--space-4);
}

.postacie-filters__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-4);
}

.postacie-filter-group {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-2);
}

.postacie-filter-group .technical-label {
  margin: 0 0 var(--space-1);
}

.postacie-filter-group label {
  margin: 0;
  font-weight: 400;
}

.postacie-clear {
  margin-top: var(--space-4);
}

.postacie-index__status {
  margin-top: var(--space-4);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.postacie-results {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-3);
}

.postacie-result {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-3);
  border: var(--border-default);
  background: var(--color-carbon);
  padding: var(--space-4);
}

.postacie-result > * {
  min-width: 0;
  margin: 0;
}

.postacie-result__number {
  color: var(--color-marker-cyan);
  font-size: var(--text-sm);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: .08em;
}

.postacie-result__copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.postacie-result__copy > * {
  margin: 0;
}

.postacie-result__copy p {
  max-width: 35rem;
}

.postacie-result__meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.postacie-result__meta strong {
  color: var(--color-text);
  font-weight: 600;
}

.postacie-result > a {
  align-self: start;
  min-height: 2.75rem;
  padding-top: .625rem;
}

.postacie-empty {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  margin-top: var(--space-3);
  border: var(--border-default);
  background: var(--color-carbon);
  padding: var(--space-4);
}

.postacie-empty > * {
  margin: 0;
}

.postacie-empty p {
  max-width: 38rem;
}

.postacie-relations__grid {
  margin-top: var(--space-5);
}

.postacie-relation {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.postacie-relation--amber {
  border-top-color: var(--color-tungsten-amber);
}

.postacie-space__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}

.postacie-space__copy > * {
  margin: 0;
}

.postacie-space__copy p:last-child {
  max-width: 33rem;
  font-size: var(--text-lg);
}

.postacie-space__figure {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin: 0;
}

.postacie-space__figure .media-frame {
  position: relative;
}

.postacie-space__figure img {
  object-position: center center;
}

.postacie-space__figure figcaption {
  margin: 0;
}

.postacie-space__observations {
  margin-top: var(--space-5);
}

.postacie-space__observations article {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.postacie-principles__grid {
  margin-top: var(--space-5);
}

.postacie-principle {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.postacie-principle--amber {
  border-top-color: var(--color-tungsten-amber);
}

.postacie-declaration {
  max-width: 35rem;
  margin: var(--space-5) 0 0;
}

.postacie-declaration p {
  margin: 0;
  font-size: var(--text-lg);
}

.postacie-next {
  background: var(--color-carbon);
}

.postacie-next__grid {
  margin-top: var(--space-5);
}

.postacie-next-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  background: var(--color-obsidian);
}

.postacie-next-card .button {
  width: 100%;
  margin-top: auto;
}

@media (min-width: 48rem) {
  .postacie-page .section {
    padding-block: 4rem;
  }

  .postacie-hero {
    padding-block: 4rem;
  }

  .postacie-hero__actions {
    width: auto;
    flex-direction: row;
  }

  .postacie-hero__actions > * {
    width: auto;
  }

  .postacie-method__cards,
  .postacie-relations__grid,
  .postacie-space__observations,
  .postacie-principles__grid,
  .postacie-next__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .postacie-method-card,
  .postacie-relation,
  .postacie-space__observations article,
  .postacie-principle,
  .postacie-next-card {
    padding: 1.25rem;
  }

  .postacie-method-card:nth-child(3),
  .postacie-relation:nth-child(3),
  .postacie-space__observations article:nth-child(3) {
    grid-column: 1 / -1;
  }

  .postacie-tensions__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .postacie-tension--wide {
    grid-column: 1 / -1;
  }

  .postacie-search__controls {
    flex-direction: row;
  }

  .postacie-search__controls input {
    flex: 1 1 auto;
  }

  .postacie-search__controls button {
    width: 8.5rem;
    flex: 0 0 8.5rem;
  }

  .postacie-filters__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .postacie-result {
    grid-template-columns: minmax(4rem, .8fr) minmax(0, 4fr) minmax(10rem, 1.5fr) minmax(7rem, .9fr);
    align-items: start;
  }

  .postacie-result > a {
    justify-self: end;
  }
}

@media (min-width: 58.125rem) {
  .postacie-hero__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center;
    gap: 1.25rem;
  }

  .postacie-hero__figure {
    order: 0;
  }

  .postacie-hero__copy {
    order: 1;
  }

  .postacie-space__top {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center;
  }
}

@media (min-width: 64rem) {
  .postacie-page .section {
    padding-block: 5rem;
  }

  .postacie-hero {
    padding-block: 5rem;
  }

  .postacie-hero__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--space-5);
    min-height: 32.5rem;
  }

  .postacie-hero__copy {
    grid-column: 1 / span 5;
  }

  .postacie-hero__figure {
    grid-column: 7 / span 6;
  }

  .postacie-method__cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-5);
  }

  .postacie-method-card:nth-child(3) {
    grid-column: auto;
  }

  .postacie-source-note {
    max-width: none;
    width: calc((100% - 5rem) / 3 * 2 + 1.5rem);
  }

  .postacie-featured__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--space-5);
  }

  .postacie-profile-card--lead {
    grid-column: 1 / span 7;
  }

  .postacie-featured__side {
    grid-column: 8 / span 5;
    grid-template-columns: minmax(0, 1fr);
  }

  .postacie-profile-card--wide {
    grid-column: 1 / -1;
    flex-direction: row;
  }

  .postacie-profile-card--wide .media-frame,
  .postacie-profile-card--wide .postacie-profile-card__body {
    width: 50%;
    flex: 0 0 50%;
  }

  .postacie-profile-card--final {
    grid-column: 1 / span 6;
  }

  .postacie-featured__index-link {
    grid-column: 7 / span 6;
    align-items: center;
  }

  .postacie-featured__index-link .button {
    width: auto;
  }

  .postacie-shots__timeline {
    width: calc((100% - 5rem) / 12 * 8 + 2.5rem);
    max-width: none;
    margin-inline: auto;
    padding-inline-start: 0;
  }

  .postacie-shot {
    grid-template-columns: minmax(0, 2fr) minmax(0, 6fr);
    gap: var(--space-5);
  }

  .postacie-shot__copy {
    max-width: none;
  }

  .postacie-tensions__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--space-5);
  }

  .postacie-tension:nth-child(-n + 3) {
    grid-column: span 4;
  }

  .postacie-tension:nth-child(4),
  .postacie-tension:nth-child(5) {
    grid-column: span 6;
  }

  .postacie-relations__grid,
  .postacie-space__observations {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-5);
  }

  .postacie-relation:nth-child(3),
  .postacie-space__observations article:nth-child(3) {
    grid-column: auto;
  }

  .postacie-relations__note {
    width: calc((100% - 5rem) / 3 * 2 + 1.5rem);
    max-width: none;
  }

  .postacie-space__top {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--space-5);
  }

  .postacie-space__copy {
    grid-column: 1 / span 5;
  }

  .postacie-space__figure {
    grid-column: 6 / span 7;
  }

  .postacie-principles__grid,
  .postacie-next__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-5);
  }

  .postacie-declaration {
    width: calc((100% - 5rem) / 12 * 7 + 1.5rem);
    max-width: none;
  }
}

@media (min-width: 75rem) {
  .postacie-hero__grid {
    gap: var(--space-5);
  }

  .postacie-hero__copy h1 {
    font-size: clamp(3.25rem, 5vw, 4.5rem);
  }
}

@media (max-width: 47.9375rem) {
  .postacie-hero__figure {
    order: -1;
  }

  .postacie-hero__copy h1 {
    font-size: clamp(2.5rem, 12vw, 3.25rem);
  }
}
