/* The Working Body — route-scoped exhibition language. */

.body-hero {
  padding-bottom: clamp(28px, 4vw, 56px);
}

.body-title-grid {
  display: grid;
  grid-template-columns: minmax(110px, 0.8fr) minmax(0, 4.2fr) minmax(220px, 1.2fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
  width: var(--page);
  margin: clamp(28px, 4vw, 56px) auto 0;
}

.body-title-grid .eyebrow {
  align-self: start;
  color: var(--lichen-bright);
}

.body-title-grid h1 {
  max-width: 24ch;
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.body-title-grid .standfirst {
  margin: 0 0 0.8em;
  color: var(--fog);
  font-family: var(--display);
  font-size: clamp(1.3rem, 2vw, 2rem);
  line-height: 1.24;
}

.body-title-grid .side-note {
  grid-column: 3;
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--hairline-dark);
  color: var(--ash);
  font: 650 0.7rem/1.65 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.body-opening {
  padding: clamp(40px, 5vw, 72px) 0;
}

.body-opening-grid {
  display: grid;
  grid-template-columns: minmax(110px, 0.75fr) minmax(0, 5.5fr) minmax(220px, 1.35fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: start;
}

.body-opening-copy h2,
.body-section h2,
.body-dark-cut h2,
.body-watch h2 {
  max-width: 25ch;
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.body-opening-copy > p:not(.eyebrow) {
  max-width: 58ch;
  margin: 34px 0 0;
  font-family: var(--display);
  font-size: clamp(1.24rem, 1.9vw, 1.65rem);
  line-height: 1.58;
}

.body-status-stamp {
  padding: 18px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--hairline-light);
}

.body-status-stamp strong,
.body-status-stamp span {
  display: block;
}

.body-status-stamp strong {
  margin: 12px 0;
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1;
}

.body-status-stamp span {
  color: var(--graphite);
  font: 650 0.7rem/1.55 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.work-envelope {
  width: min(1560px, calc(100vw - 2 * var(--gutter)));
  margin: 0 auto clamp(40px, 5vw, 72px);
  background: var(--black);
  color: var(--chalk);
}

.work-envelope-frame {
  display: grid;
  grid-template-columns: minmax(0, 4.8fr) minmax(210px, 1.2fr);
  border: 1px solid var(--hairline-dark);
}

.work-envelope img {
  width: 100%;
  height: auto;
  background: var(--black);
}

.work-envelope-register {
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(22px, 3vw, 42px);
  border-left: 1px solid var(--hairline-dark);
}

.work-envelope-register > span,
.work-envelope-register li,
.work-envelope figcaption {
  font: 650 0.68rem/1.55 var(--mono);
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.work-envelope-register > span {
  color: var(--lichen-bright);
}

.work-envelope-register ol {
  align-self: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.work-envelope-register li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid var(--hairline-dark);
  color: var(--fog);
}

.work-envelope-register li span {
  color: var(--lichen-bright);
}

.work-envelope-register p {
  margin: 0;
  color: var(--ash);
  font-size: 0.78rem;
  line-height: 1.55;
}

.work-envelope figcaption {
  padding: 14px 18px;
  border-top: 1px solid var(--hairline-dark);
  color: var(--ash);
}

.body-section {
  padding: clamp(40px, 5vw, 72px) 0;
}

.body-section-heading {
  display: grid;
  grid-template-columns: minmax(110px, 0.8fr) minmax(0, 4fr) minmax(180px, 1.2fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: start;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.body-section-heading > div {
  grid-column: 2;
}

.body-section-heading > p:last-child {
  grid-column: 3;
  margin: 0;
  color: var(--graphite);
  font-size: 0.9rem;
  line-height: 1.65;
}

.body-facets {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.body-facets > div {
  min-height: 310px;
  padding: 18px;
  border-right: 1px solid var(--ink);
}

.body-facets > div:last-child {
  border-right: 0;
}

.body-facets dt {
  color: var(--lichen-dark);
  font: 800 0.68rem/1.45 var(--mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.body-facets dd {
  display: flex;
  flex-direction: column;
  height: calc(100% - 28px);
  margin: 22px 0 0;
}

.body-facets strong {
  margin-top: auto;
  font-family: var(--sans);
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.2;
}

.body-facets span {
  margin-top: 18px;
  color: var(--graphite);
  font-size: 0.82rem;
  line-height: 1.55;
}

.body-sequence {
  padding: clamp(40px, 5vw, 72px) 0;
  background: var(--mineral-surface);
}

.body-sequence header {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr);
  gap: clamp(32px, 6vw, 100px);
  align-items: end;
}

.body-sequence header h2 {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.body-sequence header p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.7;
}

.body-sequence ol {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: clamp(28px, 4vw, 48px) 0 0;
  padding: 0;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  list-style: none;
}

.body-sequence li {
  display: flex;
  flex-direction: column;
  min-height: 270px;
  padding: 18px;
  border-right: 1px solid var(--ink);
}

.body-sequence li:last-child {
  border-right: 0;
}

.body-sequence li > span {
  color: var(--lichen-dark);
  font: 800 0.7rem/1.4 var(--mono);
}

.body-sequence li strong {
  margin: auto 0 12px;
  font-family: var(--sans);
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.2;
}

.body-sequence li p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.55;
}

.body-dark-cut {
  padding: clamp(48px, 6vw, 80px) 0;
  background: var(--black);
  color: var(--chalk);
}

.body-dark-cut-grid {
  display: grid;
  grid-template-columns: minmax(120px, 0.7fr) minmax(0, 3.2fr) minmax(260px, 1.5fr);
  gap: clamp(32px, 6vw, 100px);
}

.body-dark-cut h2 {
  max-width: 24ch;
}

.body-dark-cut-copy > p {
  max-width: 50ch;
  margin: 36px 0 0;
  color: var(--fog);
  font-family: var(--display);
  font-size: clamp(1.18rem, 1.65vw, 1.46rem);
  line-height: 1.65;
}

.body-boundary-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hairline-dark);
  list-style: none;
}

.body-boundary-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--hairline-dark);
}

.body-boundary-list strong,
.body-boundary-list span {
  display: block;
}

.body-boundary-list strong {
  color: var(--lichen-bright);
  font: 800 0.7rem/1.45 var(--mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.body-boundary-list span {
  margin-top: 8px;
  color: var(--fog);
  font-size: 0.82rem;
  line-height: 1.55;
}

.body-chronology {
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--ink);
  list-style: none;
}

.body-chronology li {
  display: grid;
  grid-template-columns: 120px minmax(220px, 1.2fr) minmax(0, 2.8fr) 90px;
  gap: clamp(20px, 4vw, 64px);
  align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid var(--hairline-light);
}

.body-chronology time,
.body-chronology .chronology-kind,
.body-chronology a {
  font: 750 0.7rem/1.5 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.body-chronology time {
  color: var(--lichen-dark);
}

.body-chronology strong {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 400;
  line-height: 1.05;
}

.body-chronology p {
  margin: 0;
  color: var(--graphite);
  font-size: 0.9rem;
  line-height: 1.6;
}

.chronology-sources {
  display: grid;
  gap: 2px;
}

.chronology-sources a {
  display: flex;
  min-height: 44px;
  align-items: center;
}

.body-watch {
  padding: clamp(40px, 5vw, 72px) 0;
}

.body-watch header {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(240px, 1fr);
  gap: clamp(32px, 6vw, 100px);
  align-items: end;
}

.body-watch header p {
  margin: 0;
  color: var(--graphite);
  font-size: 0.9rem;
  line-height: 1.65;
}

.body-watch-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(28px, 4vw, 48px);
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.body-watch-grid article {
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 18px;
  border-right: 1px solid var(--ink);
}

.body-watch-grid article:last-child {
  border-right: 0;
}

.body-watch-grid span {
  color: var(--lichen-dark);
  font: 800 0.7rem/1.4 var(--mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.body-watch-grid h3 {
  margin: auto 0 16px;
  font-family: var(--sans);
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.2;
}

.body-watch-grid p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
}

.body-source-register {
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--ink);
  list-style: none;
}

.body-source-register li {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(0, 3fr) minmax(130px, 0.8fr);
  gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid var(--hairline-light);
}

.body-source-register li > span,
.body-source-register time {
  color: var(--graphite);
  font: 700 0.68rem/1.5 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.body-source-register a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--display);
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
}

.body-source-register small {
  display: block;
  margin-top: 7px;
  color: var(--graphite);
  font-family: var(--sans);
  font-size: 0.8rem;
  line-height: 1.55;
}

.body-story-hero .page-title-grid h1 {
  max-width: 26ch;
}

.body-story-figure {
  width: min(1200px, calc(100vw - 2 * var(--gutter)));
  margin: 0 auto clamp(36px, 5vw, 64px);
  background: var(--black);
}

.body-story-figure img {
  width: 100%;
  height: auto;
}

.body-story-figure figcaption {
  padding: 14px 18px;
  border-top: 1px solid var(--hairline-dark);
  color: var(--ash);
  font: 650 0.68rem/1.55 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.body-plate-transcript {
  display: none;
}

.body-job-card {
  margin: 40px -8vw 0 0;
  padding: clamp(28px, 5vw, 56px);
  background: var(--mineral-surface);
  border-top: 2px solid var(--ink);
}

.body-job-card h3 {
  margin: 10px 0 24px;
  font-family: var(--sans);
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.body-job-card dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  border-top: 1px solid var(--ink);
}

.body-job-card div {
  padding: 15px 0;
  border-bottom: 1px solid var(--hairline-light);
}

.body-job-card div:nth-child(odd) {
  padding-right: 24px;
}

.body-job-card div:nth-child(even) {
  padding-left: 24px;
  border-left: 1px solid var(--ink);
}

.body-job-card dt {
  font: 800 0.68rem/1.4 var(--mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.body-job-card dd {
  margin: 8px 0 0;
  font-family: var(--display);
  font-size: 1.05rem;
}

.digit-profile-hero .directory-title-grid h1 {
  max-width: 24ch;
}

.digit-envelope-strip {
  padding: clamp(40px, 5vw, 72px) 0;
  background: var(--black);
  color: var(--chalk);
}

.digit-envelope-strip-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr);
  gap: clamp(34px, 6vw, 96px);
  align-items: end;
}

.digit-envelope-strip h2 {
  max-width: 24ch;
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.digit-envelope-strip p {
  margin: 0;
  color: var(--fog);
  font-size: 0.9rem;
  line-height: 1.7;
}

@media (max-width: 1040px) {
  .body-title-grid,
  .body-opening-grid,
  .body-section-heading,
  .body-dark-cut-grid {
    grid-template-columns: minmax(90px, 0.65fr) minmax(0, 3.35fr);
  }

  .body-title-grid .standfirst,
  .body-title-grid .side-note,
  .body-status-stamp,
  .body-section-heading > p:last-child,
  .body-boundary-list {
    grid-column: 2;
  }

  .body-title-grid .side-note {
    margin-top: 24px;
  }

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

  .body-facets > div:nth-child(3) {
    border-right: 0;
  }

  .body-facets > div:nth-child(n + 4) {
    border-top: 1px solid var(--ink);
  }

  .body-facets > div:last-child {
    border-right: 1px solid var(--ink);
  }

  .body-sequence ol {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .body-sequence li:nth-child(3) {
    border-right: 0;
  }

  .body-sequence li:nth-child(n + 4) {
    border-top: 1px solid var(--ink);
  }

  .body-watch-grid {
    grid-template-columns: 1fr 1fr;
  }

  .body-watch-grid article:nth-child(2) {
    border-right: 0;
  }

  .body-watch-grid article:nth-child(n + 3) {
    border-top: 1px solid var(--ink);
  }
}

@media (max-width: 760px) {
  .body-title-grid,
  .body-opening-grid,
  .body-section-heading,
  .body-dark-cut-grid,
  .body-sequence header,
  .body-watch header,
  .digit-envelope-strip-grid {
    grid-template-columns: 1fr;
  }

  .body-title-grid {
    margin-top: 28px;
  }

  .body-title-grid .eyebrow,
  .body-title-grid h1,
  .body-title-grid .standfirst,
  .body-title-grid .side-note,
  .body-opening-copy,
  .body-status-stamp,
  .body-section-heading > div,
  .body-section-heading > p:last-child,
  .body-dark-cut-copy,
  .body-boundary-list {
    grid-column: 1;
  }

  .body-title-grid h1 {
    font-size: clamp(2rem, 7vw, 2.5rem);
  }

  .work-envelope-frame {
    grid-template-columns: 1fr;
  }

  .work-envelope-register {
    border-top: 1px solid var(--hairline-dark);
    border-left: 0;
  }

  .work-envelope-register ol {
    margin: 28px 0;
  }

  .body-facets,
  .body-sequence ol,
  .body-watch-grid {
    grid-template-columns: 1fr;
  }

  .body-facets > div,
  .body-facets > div:nth-child(3),
  .body-facets > div:last-child,
  .body-sequence li,
  .body-sequence li:nth-child(3),
  .body-watch-grid article,
  .body-watch-grid article:nth-child(2) {
    min-height: auto;
    border-top: 1px solid var(--ink);
    border-right: 0;
  }

  .body-facets > div:first-child,
  .body-sequence li:first-child,
  .body-watch-grid article:first-child {
    border-top: 0;
  }

  .body-facets dd,
  .body-sequence li {
    min-height: 190px;
  }

  .body-chronology li,
  .body-source-register li {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .body-chronology a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 0;
  }

  .body-plate-transcript {
    display: block;
    padding: 22px 18px 26px;
    border-top: 1px solid var(--hairline-dark);
    color: var(--chalk);
  }

  .body-plate-transcript > strong,
  .body-plate-transcript li,
  .body-plate-transcript p {
    font: 650 0.68rem/1.55 var(--mono);
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .body-plate-transcript > strong {
    color: var(--lichen-bright);
  }

  .body-plate-transcript ol {
    margin: 18px 0;
    padding: 0;
    border-top: 1px solid var(--hairline-dark);
    list-style: none;
  }

  .body-plate-transcript li {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--hairline-dark);
  }

  .body-plate-transcript li span {
    color: var(--lichen-bright);
  }

  .body-plate-transcript p {
    margin: 0;
    color: var(--ash);
  }

  .body-job-card {
    margin-right: 0;
  }

  .body-job-card dl {
    grid-template-columns: 1fr;
  }

  .body-job-card div:nth-child(odd),
  .body-job-card div:nth-child(even) {
    padding-right: 0;
    padding-left: 0;
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .body-hero *,
  .work-envelope * {
    scroll-behavior: auto;
  }
}

@media (forced-colors: active) {
  .work-envelope,
  .body-dark-cut,
  .digit-envelope-strip {
    border: 1px solid CanvasText;
  }

  .work-envelope img {
    forced-color-adjust: none;
  }
}
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

