.content-page {
  --content-coral: #c42446;
  --content-teal: #2b746b;
}

.content-page .page-shell {
  width: min(calc(100% - 48px), 1280px);
  padding-top: 96px;
}

.content-page .page-hero {
  min-height: 52svh;
}

.content-index {
  margin: 0 0 18px;
  color: var(--content-coral) !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

/* Long-form template */
.longform-layout {
  display: grid;
  align-items: start;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 72px;
}

.longform-rail {
  position: sticky;
  top: 118px;
  display: grid;
  align-content: start;
  min-height: 420px;
  padding-top: 18px;
  border-top: 2px solid var(--ink);
}

.longform-rail > p {
  margin: 0 0 16px;
  color: var(--ink) !important;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.longform-rail nav {
  display: grid;
}

.longform-rail a {
  display: grid;
  min-height: 46px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 720;
  grid-template-columns: 34px 1fr;
  text-decoration: none;
  transition: color 160ms ease, padding-left 160ms ease;
}

.longform-rail a span {
  color: inherit;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
}

.longform-rail a:hover,
.longform-rail a[aria-current="location"] {
  padding-left: 6px;
  color: var(--wine);
}

.longform-rail__progress {
  position: relative;
  height: 2px;
  margin-top: 26px;
  overflow: hidden;
  background: var(--line);
}

.longform-rail__progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left center;
}

.longform-body {
  min-width: 0;
}

.longform-section {
  padding: 18px 0 108px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 126px;
}

.longform-section + .longform-section {
  padding-top: 106px;
}

.longform-section:last-child {
  border-bottom: 0;
}

.longform-section h2 {
  max-width: 780px;
  margin: 0 0 30px;
  font-size: 50px;
  line-height: 1.04;
}

.longform-section > p:not(.content-index) {
  max-width: 760px;
  margin: 0 0 24px;
  font-size: 18px;
  line-height: 1.75;
}

.longform-lede {
  color: var(--ink) !important;
  font-size: 22px !important;
  font-weight: 610;
  line-height: 1.55 !important;
}

.longform-columns {
  display: grid;
  margin-top: 44px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 46px;
}

.longform-columns p {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
}

.evidence-note {
  display: grid;
  margin-top: 48px;
  padding: 24px 0 24px 28px;
  border-left: 4px solid var(--content-teal);
  background: var(--paper-bright);
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 26px;
}

.evidence-note span {
  color: var(--content-teal);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.evidence-note p {
  max-width: 620px;
  margin: 0;
  color: var(--ink) !important;
  font-size: 18px;
  font-weight: 650;
}

.process-list {
  margin-top: 54px;
  border-bottom: 1px solid var(--line);
}

.process-list article {
  display: grid;
  align-items: start;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  grid-template-columns: 50px minmax(180px, 0.65fr) minmax(0, 1.35fr);
  gap: 28px;
}

.process-list article > span {
  color: var(--content-coral);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 850;
}

.process-list h3,
.process-list p {
  margin: 0;
}

.process-list h3 {
  font-size: 24px;
}

.process-list p {
  font-size: 16px;
  line-height: 1.7;
}

.content-figure {
  margin: 48px 0 58px;
}

.content-figure > a {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-bright);
}

.content-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.content-figure figcaption {
  display: grid;
  padding: 16px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 18px;
}

.content-figure figcaption span {
  color: var(--wine);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.content-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border-top: 2px solid var(--ink);
}

.content-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 14px;
}

.content-table th,
.content-table td {
  padding: 16px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.content-table thead th {
  color: var(--ink);
  font-size: 11px;
  text-transform: uppercase;
}

.content-table tbody th {
  color: var(--ink);
  font-weight: 780;
}

.limit-list {
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

.limit-list article {
  display: grid;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 34px;
}

.limit-list span {
  color: var(--wine);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.limit-list p {
  max-width: 650px;
  margin: 0;
}

/* Photo-forward template */
.photo-page .page-shell {
  width: min(calc(100% - 48px), 1360px);
}

.photo-intro {
  max-width: 860px;
}

.photo-intro h2,
.contact-sheet h2 {
  margin: 0;
  font-size: 54px;
  line-height: 1.04;
}

.photo-intro > p:last-child {
  max-width: 720px;
  margin: 26px 0 0;
  font-size: 19px;
  line-height: 1.7;
}

.photo-story {
  display: grid;
  margin-top: 82px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 48px;
}

.photo-stage {
  position: relative;
  height: 650px;
  min-width: 0;
  overflow: hidden;
}

.photo-slide {
  position: absolute;
  inset: 0;
  display: grid;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 420ms ease, transform 520ms ease;
  grid-template-rows: minmax(0, 1fr) auto;
}

.photo-slide.is-active {
  z-index: 2;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.photo-slide__media {
  display: grid;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  place-items: center;
}

.photo-slide__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.photo-slide__media--paper {
  background: var(--paper-bright);
}

.photo-slide__media--coral {
  background: var(--rose);
}

.photo-slide__media--ink {
  background: var(--ink);
}

.photo-slide__media--figure {
  padding: 22px;
  background: #fff;
}

.photo-slide figcaption {
  display: grid;
  align-items: start;
  padding-top: 20px;
  grid-template-columns: 120px minmax(190px, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
}

.photo-slide figcaption span {
  color: var(--content-coral);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.photo-slide figcaption strong {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
}

.photo-slide figcaption p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.photo-controls {
  display: grid;
  align-content: space-between;
  min-width: 0;
}

.photo-controls__top {
  display: flex;
  min-height: 52px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
}

.photo-controls__top > span {
  color: var(--wine);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 850;
}

.photo-controls__top > div {
  display: flex;
  gap: 4px;
}

.photo-controls__top button {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 20px;
  place-items: center;
}

.photo-controls__top button:hover {
  border-color: var(--coral);
  color: var(--wine);
}

.photo-index {
  display: grid;
  border-top: 1px solid var(--line);
}

.photo-index button {
  display: grid;
  min-height: 62px;
  align-items: center;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  grid-template-columns: 42px minmax(0, 1fr);
  text-align: left;
  transition: color 160ms ease, padding-left 160ms ease;
}

.photo-index button span {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
}

.photo-index button strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.photo-index button:hover,
.photo-index button[aria-pressed="true"] {
  padding-left: 7px;
  color: var(--wine);
}

.contact-sheet {
  padding: 116px 0 24px;
}

.contact-sheet > header {
  max-width: 760px;
  margin-bottom: 54px;
}

.contact-sheet__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.contact-frame {
  min-width: 0;
  margin: 0;
}

.contact-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  background: var(--paper-bright);
  object-fit: contain;
}

.contact-frame figcaption {
  display: flex;
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 12px;
  gap: 12px;
}

.contact-frame figcaption span {
  color: var(--content-coral);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 850;
}

.contact-frame--1,
.contact-frame--4 {
  grid-column: span 7;
}

.contact-frame--2,
.contact-frame--3,
.contact-frame--5,
.contact-frame--6 {
  grid-column: span 5;
}

.contact-frame--3,
.contact-frame--6 {
  align-self: end;
}

/* Timeline template */
.timeline-page .page-shell {
  width: min(calc(100% - 48px), 1400px);
}

.timeline-intro {
  display: grid;
  align-items: end;
  padding-bottom: 96px;
  border-bottom: 1px solid var(--line);
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 72px;
}

.timeline-intro h2 {
  max-width: 760px;
  margin: 0;
  font-size: 64px;
  line-height: 1;
}

.timeline-intro > p:last-child {
  max-width: 470px;
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.7;
}

.timeline-layout {
  display: grid;
  align-items: start;
  padding-top: 72px;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 64px;
}

.timeline-rail {
  --timeline-progress: 0;
  position: sticky;
  top: 108px;
  display: grid;
  min-height: calc(100svh - 140px);
  grid-template-columns: 52px 3px minmax(0, 1fr);
  gap: 16px;
}

.timeline-rail__summary {
  display: grid;
  align-content: start;
  color: var(--ink);
  line-height: 1;
}

.timeline-rail__summary span {
  font-size: 34px;
  font-weight: 850;
}

.timeline-rail__summary small {
  margin-top: 7px;
  color: var(--ink-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 800;
}

.timeline-track {
  position: relative;
  overflow: hidden;
  background: var(--line);
}

.timeline-track span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--coral);
  transform: scaleY(var(--timeline-progress));
  transform-origin: center top;
  transition: transform 360ms ease;
}

.timeline-rail nav {
  display: grid;
  align-content: space-between;
}

.timeline-rail a {
  display: grid;
  min-height: 44px;
  align-content: center;
  padding: 5px 0 5px 12px;
  border-left: 1px solid transparent;
  color: var(--ink-soft);
  text-decoration: none;
  transition: border-color 160ms ease, color 160ms ease, padding-left 160ms ease;
}

.timeline-rail a span {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 850;
}

.timeline-rail a small {
  margin-top: 2px;
  font-size: 11px;
}

.timeline-rail a:hover,
.timeline-rail a[aria-current="step"] {
  border-left-color: var(--coral);
  color: var(--wine);
  padding-left: 18px;
}

.timeline-entries {
  min-width: 0;
  border-top: 2px solid var(--ink);
}

.timeline-entry {
  position: relative;
  min-height: 80svh;
  padding: 76px 0 132px;
  overflow: clip;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 8px;
}

.timeline-entry:last-child {
  border-bottom: 0;
}

.timeline-entry__ghost {
  position: absolute;
  top: 18px;
  right: 0;
  color: rgba(38, 25, 31, 0.035);
  font-size: 156px;
  font-weight: 900;
  line-height: 0.78;
  pointer-events: none;
  transition: color 240ms ease;
}

.timeline-entry.is-active .timeline-entry__ghost {
  color: rgba(196, 36, 70, 0.09);
}

.timeline-entry > header {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: start;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 36px;
}

.timeline-entry__index {
  display: grid;
  width: 74px;
  padding-top: 10px;
  border-top: 2px solid var(--content-coral);
}

.timeline-entry__index span {
  font-size: 38px;
  font-weight: 850;
  line-height: 1;
}

.timeline-entry__index small,
.timeline-entry__title > p,
.timeline-label {
  color: var(--content-coral) !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 850;
  text-transform: uppercase;
}

.timeline-entry__index small {
  margin-top: 8px;
}

.timeline-entry__title > p {
  margin: 7px 0 18px;
}

.timeline-entry__title h2 {
  max-width: 780px;
  margin: 0;
  font-size: 52px;
  line-height: 1.03;
}

.timeline-entry__lede {
  max-width: 760px;
  margin: 26px 0 0;
  color: var(--ink-soft) !important;
  font-size: 18px;
  line-height: 1.7;
}

.timeline-meta {
  display: grid;
  margin: 52px 0 0 186px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timeline-meta div {
  min-width: 0;
  padding: 17px 18px;
  border-right: 1px solid var(--line);
}

.timeline-meta div:first-child {
  padding-left: 0;
}

.timeline-meta div:last-child {
  border-right: 0;
}

.timeline-meta dt {
  color: var(--content-teal);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 850;
  text-transform: uppercase;
}

.timeline-meta dd {
  margin: 5px 0 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
}

.timeline-story {
  display: grid;
  margin: 68px 0 0 186px;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.65fr);
  gap: 58px;
}

.timeline-story__body h3 {
  max-width: 640px;
  margin: 0 0 26px;
  font-size: 31px;
  line-height: 1.14;
}

.timeline-label {
  margin: 0 0 12px !important;
}

.timeline-story__body > p:not(.timeline-label) {
  max-width: 690px;
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.78;
}

.timeline-story__body > p:last-child {
  margin-bottom: 0;
}

.timeline-note {
  align-self: start;
  padding: 20px 0 0 24px;
  border-top: 2px solid var(--content-teal);
  border-left: 1px solid var(--line);
}

.timeline-note span,
.timeline-note small {
  color: var(--content-teal);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 850;
  text-transform: uppercase;
}

.timeline-note p {
  margin: 18px 0 24px;
  color: var(--ink) !important;
  font-size: 19px;
  font-weight: 680;
  line-height: 1.5;
}

.timeline-note small {
  color: var(--ink-soft);
}

.timeline-gallery {
  display: grid;
  margin: 76px 0 0 186px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: 260px 210px;
  gap: 16px;
}

.timeline-frame {
  display: grid;
  min-width: 0;
  min-height: 0;
  margin: 0;
  grid-template-rows: minmax(0, 1fr) auto;
}

.timeline-gallery--a .timeline-frame--1 {
  grid-row: 1 / 3;
  grid-column: 1 / 7;
}

.timeline-gallery--a .timeline-frame--2 {
  grid-row: 1;
  grid-column: 7 / 13;
}

.timeline-gallery--a .timeline-frame--3 {
  grid-row: 2;
  grid-column: 7 / 10;
}

.timeline-gallery--a .timeline-frame--4 {
  grid-row: 2;
  grid-column: 10 / 13;
}

.timeline-gallery--b .timeline-frame--1 {
  grid-row: 1;
  grid-column: 1 / 13;
}

.timeline-gallery--b .timeline-frame--2 {
  grid-row: 2;
  grid-column: 1 / 5;
}

.timeline-gallery--b .timeline-frame--3 {
  grid-row: 2;
  grid-column: 5 / 9;
}

.timeline-gallery--b .timeline-frame--4 {
  grid-row: 2;
  grid-column: 9 / 13;
}

.timeline-gallery--c .timeline-frame--1 {
  grid-row: 1 / 3;
  grid-column: 1 / 5;
}

.timeline-gallery--c .timeline-frame--2 {
  grid-row: 1;
  grid-column: 5 / 13;
}

.timeline-gallery--c .timeline-frame--3 {
  grid-row: 2;
  grid-column: 5 / 9;
}

.timeline-gallery--c .timeline-frame--4 {
  grid-row: 2;
  grid-column: 9 / 13;
}

.timeline-frame__placeholder {
  position: relative;
  display: grid;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(38, 25, 31, 0.18);
  background: #e9e1da;
  place-items: center;
}

.timeline-frame__media {
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 1px solid rgba(38, 25, 31, 0.18);
  background: #e9e1da;
  object-fit: cover;
}

.timeline-frame:nth-child(2) .timeline-frame__placeholder {
  background: #f8f4ef;
}

.timeline-frame:nth-child(3) .timeline-frame__placeholder {
  background: #dce9e5;
}

.timeline-frame:nth-child(4) .timeline-frame__placeholder {
  background: #f1dadd;
}

.timeline-frame__placeholder::before {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(38, 25, 31, 0.14);
  content: "";
}

.timeline-frame__placeholder::after {
  position: absolute;
  top: 50%;
  right: 12px;
  left: 12px;
  height: 1px;
  background: rgba(38, 25, 31, 0.13);
  content: "";
}

.timeline-frame__placeholder span {
  z-index: 1;
  display: grid;
  width: 62px;
  height: 62px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--paper-bright);
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 850;
  place-items: center;
}

.timeline-frame figcaption {
  display: grid;
  min-width: 0;
  padding-top: 10px;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 10px;
}

.timeline-frame figcaption span {
  color: var(--content-coral);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  font-weight: 850;
  text-transform: uppercase;
}

.timeline-frame figcaption p {
  margin: 0;
  color: var(--ink-soft) !important;
  font-size: 11px;
  line-height: 1.4;
}

.timeline-workstreams {
  margin: 72px 0 0 186px;
  border-top: 2px solid var(--ink);
}

.timeline-workstreams article {
  display: grid;
  align-items: start;
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 108px minmax(150px, 0.55fr) minmax(0, 1.45fr);
  gap: 24px;
}

.timeline-workstreams article > span {
  color: var(--content-coral) !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 850;
  text-transform: uppercase;
}

.timeline-workstreams h3,
.timeline-workstreams p {
  margin: 0;
}

.timeline-workstreams h3 {
  font-size: 20px;
  line-height: 1.3;
}

.timeline-workstream__copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.timeline-workstream__copy p {
  font-size: 15px;
  line-height: 1.7;
}

/* Wet-lab reference page */
.experiment-map {
  position: relative;
  display: grid;
  margin-top: 52px;
  border-top: 2px solid var(--ink);
}

.experiment-map__axis {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 15px;
  width: 1px;
  background: var(--line);
}

.experiment-map__axis span {
  position: absolute;
  top: 0;
  left: -2px;
  width: 5px;
  height: 25%;
  background: var(--content-coral);
}

.experiment-map article {
  position: relative;
  display: grid;
  min-height: 112px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 88px minmax(0, 1fr) 90px;
  gap: 18px;
}

.experiment-map article > span,
.experiment-map article > small {
  color: var(--content-coral);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.experiment-map article > span {
  z-index: 1;
  display: grid;
  width: 30px;
  height: 30px;
  border: 1px solid var(--content-coral);
  border-radius: 50%;
  background: var(--paper);
  place-items: center;
}

.experiment-map article > small {
  color: var(--ink-soft);
  text-align: right;
}

.experiment-map strong {
  display: block;
  color: var(--ink);
  font-size: 23px;
}

.experiment-map p {
  margin: 7px 0 0;
}

.protocol-strip {
  display: grid;
  align-items: center;
  margin-top: 56px;
  grid-template-columns: repeat(7, auto);
}

.protocol-strip div {
  display: grid;
  min-height: 92px;
  min-width: 116px;
  align-content: space-between;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--paper-bright);
}

.protocol-strip span,
.assay-lanes header span {
  color: var(--content-coral);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 850;
}

.protocol-strip i {
  position: relative;
  width: 34px;
  height: 1px;
  background: var(--ink-soft);
}

.protocol-strip i::after {
  position: absolute;
  top: -3px;
  right: -1px;
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--ink-soft);
  border-right: 1px solid var(--ink-soft);
  content: "";
  transform: rotate(45deg);
}

.assay-lanes {
  display: grid;
  margin-top: 54px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.assay-lanes article {
  padding: 24px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.assay-lanes header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.assay-lanes p {
  margin: 22px 0 0;
}

.assay-lane {
  position: relative;
  display: grid;
  height: 130px;
  align-items: end;
  margin-top: 20px;
  padding: 0 20px 18px;
  border-bottom: 1px solid var(--line);
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.assay-lane i {
  position: relative;
  z-index: 1;
  height: calc(22px + var(--lane-index, 1) * 13px);
  border: 1px solid #376f67;
  background: rgba(43, 116, 107, 0.13);
}

.assay-lane i:nth-child(1) { --lane-index: 1; }
.assay-lane i:nth-child(2) { --lane-index: 2; }
.assay-lane i:nth-child(3) { --lane-index: 4; }
.assay-lane i:nth-child(4) { --lane-index: 6; }

.assay-lane--coral i {
  border-color: var(--content-coral);
  background: rgba(196, 36, 70, 0.12);
}

.assay-lane b {
  position: absolute;
  right: 0;
  bottom: 56px;
  left: 0;
  height: 1px;
  background: rgba(38, 25, 31, 0.18);
}

/* Hardware reference page */
.hardware-story .photo-slide__media {
  border-color: rgba(38, 25, 31, 0.16);
}

.hardware-visual {
  position: relative;
  overflow: hidden;
  background: #f7f2ed;
}

.hardware-disk {
  position: relative;
  width: min(58%, 390px);
  aspect-ratio: 1;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper-bright);
  box-shadow: 18px 22px 0 rgba(38, 25, 31, 0.08);
}

.hardware-disk::before,
.hardware-disk::after,
.hardware-disk > span,
.hardware-disk > b {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.hardware-disk::before {
  inset: 19%;
  border: 1px solid var(--ink-soft);
}

.hardware-disk::after {
  inset: 43%;
  border: 2px solid var(--content-coral);
  background: var(--paper);
}

.hardware-disk > span {
  top: 43%;
  left: 43%;
  z-index: 2;
  width: 14%;
  height: 14%;
  border: 2px solid var(--content-coral);
}

.hardware-disk > b {
  top: 10%;
  left: 44%;
  width: 12%;
  height: 24%;
  border: 1px solid var(--content-coral);
  background: rgba(196, 36, 70, 0.12);
}

.hardware-disk i {
  position: absolute;
  top: 8%;
  left: calc(50% - 1px);
  width: 1px;
  height: 34%;
  background: var(--ink-soft);
  transform: rotate(calc(var(--index) * 22.5deg));
  transform-origin: center 124%;
}

.hardware-callout {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  color: var(--ink);
  font-size: 12px;
  font-weight: 760;
  gap: 9px;
}

.hardware-callout span {
  color: var(--content-coral);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
}

.hardware-callout--a {
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
}

.hardware-callout--b {
  right: 50%;
  bottom: 10%;
  transform: translateX(50%);
}

.hardware-stack {
  position: relative;
  display: grid;
  width: min(58%, 430px);
  justify-items: center;
  gap: 14px;
}

.hardware-stack span {
  z-index: 1;
  display: grid;
  min-height: 50px;
  align-items: center;
  border: 1px solid var(--ink-soft);
  background: var(--paper-bright);
  color: var(--ink);
  font-size: 12px;
  font-weight: 780;
  text-align: center;
}

.hardware-stack__cap { width: 54%; }
.hardware-stack__plate { width: 76%; }
.hardware-stack__disk { width: 86%; border-color: var(--content-coral) !important; color: var(--content-coral) !important; }
.hardware-stack__body { width: 92%; min-height: 82px !important; }
.hardware-stack__motor { width: 60%; }

.hardware-stack__axis {
  position: absolute;
  top: 13%;
  bottom: 13%;
  left: 50%;
  width: 1px;
  background: var(--content-coral);
}

.hardware-flow,
.hardware-control {
  display: grid;
  width: min(88%, 760px);
  align-items: center;
  grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr) 54px minmax(0, 1fr);
}

.hardware-flow div,
.hardware-control div {
  display: grid;
  min-height: 150px;
  align-content: space-between;
  padding: 22px;
  border: 1px solid var(--ink-soft);
  background: var(--paper-bright);
}

.hardware-flow span,
.hardware-control span {
  color: var(--content-coral);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 850;
}

.hardware-flow strong,
.hardware-control strong {
  font-size: 22px;
}

.hardware-flow small,
.hardware-control small {
  color: var(--ink-soft);
}

.hardware-flow > i,
.hardware-control > i {
  position: relative;
  height: 1px;
  background: var(--content-coral);
}

.hardware-flow > i::after,
.hardware-control > i::after {
  position: absolute;
  top: -4px;
  right: 0;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--content-coral);
  border-right: 1px solid var(--content-coral);
  content: "";
  transform: rotate(45deg);
}

.hardware-control > i small {
  position: absolute;
  right: 0;
  bottom: 9px;
  left: 0;
  color: var(--content-coral);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  font-style: normal;
  text-align: center;
}

.hardware-ledger {
  padding: 116px 0 24px;
}

.hardware-ledger > header {
  max-width: 840px;
  margin-bottom: 54px;
}

.hardware-ledger h2 {
  margin: 0;
  font-size: 54px;
  line-height: 1.04;
}

.hardware-ledger__rows {
  border-top: 2px solid var(--ink);
}

.hardware-ledger__rows article {
  display: grid;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 52px minmax(180px, 0.65fr) minmax(0, 1.35fr) 80px;
  gap: 24px;
}

.hardware-ledger__rows span,
.hardware-ledger__rows small {
  color: var(--content-coral);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 850;
  text-transform: uppercase;
}

.hardware-ledger__rows h3,
.hardware-ledger__rows p {
  margin: 0;
}

.hardware-ledger__rows h3 {
  font-size: 23px;
}

.hardware-ledger__rows small {
  color: var(--ink-soft);
  text-align: right;
}

@media (max-width: 1080px) {
  .longform-layout,
  .timeline-layout {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 46px;
  }

  .photo-story {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 30px;
  }

  .photo-stage {
    height: 600px;
  }

  .timeline-intro {
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    gap: 48px;
  }

  .timeline-entry > header {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 30px;
  }

  .timeline-meta,
  .timeline-story,
  .timeline-gallery,
  .timeline-workstreams {
    margin-left: 140px;
  }

  .timeline-story {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.55fr);
    gap: 38px;
  }

  .timeline-gallery {
    grid-template-rows: 230px 190px;
  }

  .timeline-workstreams article {
    grid-template-columns: 90px minmax(130px, 0.5fr) minmax(0, 1.5fr);
    gap: 20px;
  }

  .protocol-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }

  .protocol-strip i {
    display: none;
  }
}

@media (max-width: 900px) {
  .content-page .page-shell,
  .photo-page .page-shell,
  .timeline-page .page-shell {
    width: min(calc(100% - 36px), 1280px);
    padding-top: 70px;
  }

  .longform-layout,
  .timeline-layout {
    display: block;
  }

  .timeline-layout {
    padding-top: 56px;
  }

  .longform-rail,
  .timeline-rail {
    position: sticky;
    top: 78px;
    z-index: 20;
    min-height: 0;
    margin: 0 -18px 56px;
    padding: 10px 18px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 253, 249, 0.96);
    backdrop-filter: blur(16px);
  }

  .longform-rail > p {
    display: none;
  }

  .longform-rail nav,
  .timeline-rail nav {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .longform-rail nav::-webkit-scrollbar,
  .timeline-rail nav::-webkit-scrollbar {
    display: none;
  }

  .longform-rail a {
    min-width: 132px;
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }

  .longform-rail__progress {
    margin-top: 8px;
  }

  .longform-section {
    scroll-margin-top: 158px;
  }

  .timeline-entry {
    scroll-margin-top: 54px;
  }

  .photo-story {
    grid-template-columns: 1fr;
  }

  .photo-stage {
    height: 610px;
  }

  .photo-controls {
    gap: 24px;
  }

  .photo-index {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .photo-index button {
    min-width: 0;
    padding: 8px;
    border-right: 1px solid var(--line);
    grid-template-columns: 1fr;
  }

  .photo-index button strong {
    display: none;
  }

  .photo-index button:hover,
  .photo-index button[aria-pressed="true"] {
    padding-left: 8px;
    background: rgba(255, 83, 104, 0.08);
  }

  .timeline-rail {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 12px;
  }

  .timeline-rail__summary {
    display: flex;
    align-items: baseline;
    border-right: 1px solid var(--line);
    gap: 3px;
  }

  .timeline-rail__summary span {
    font-size: 24px;
  }

  .timeline-rail__summary small {
    margin-top: 0;
  }

  .timeline-track {
    position: absolute;
    right: 18px;
    bottom: 0;
    left: 18px;
    height: 2px;
  }

  .timeline-track span {
    transform: scaleX(var(--timeline-progress));
    transform-origin: left center;
  }

  .timeline-rail a {
    min-width: 104px;
    padding: 4px 12px;
    border-left: 0;
    border-right: 1px solid var(--line);
  }

  .timeline-rail a:hover,
  .timeline-rail a[aria-current="step"] {
    padding-left: 12px;
    color: var(--wine);
  }

  .timeline-entry > header {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 28px;
  }

  .timeline-meta,
  .timeline-story,
  .timeline-gallery,
  .timeline-workstreams {
    margin-left: 124px;
  }

  .timeline-story {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.5fr);
    gap: 32px;
  }

  .timeline-gallery {
    grid-template-rows: 240px 190px;
  }

  .timeline-workstreams article {
    grid-template-columns: 84px minmax(130px, 0.5fr) minmax(0, 1.5fr);
    gap: 18px;
  }
}

@media (max-width: 620px) {
  .content-page .page-hero {
    min-height: 54svh;
  }

  .longform-section h2,
  .photo-intro h2,
  .contact-sheet h2,
  .timeline-intro h2,
  .timeline-entry > header h2 {
    font-size: 36px;
  }

  .longform-section {
    padding-bottom: 78px;
  }

  .longform-section + .longform-section {
    padding-top: 76px;
  }

  .longform-lede {
    font-size: 19px !important;
  }

  .longform-columns,
  .evidence-note {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .evidence-note {
    padding-right: 18px;
  }

  .process-list article {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 14px;
  }

  .process-list article p {
    grid-column: 2;
  }

  .content-figure figcaption,
  .limit-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .photo-intro > p:last-child,
  .timeline-intro > p:last-child {
    font-size: 17px;
  }

  .photo-story {
    margin-top: 58px;
  }

  .photo-stage {
    height: 450px;
  }

  .photo-slide {
    grid-template-rows: 270px auto;
  }

  .hardware-page .photo-stage {
    height: 500px;
  }

  .hardware-page .photo-slide {
    grid-template-rows: 420px auto;
  }

  .photo-slide figcaption {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .photo-slide figcaption p {
    display: none;
  }

  .contact-sheet {
    padding-top: 86px;
  }

  .contact-sheet__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .contact-frame--1,
  .contact-frame--2,
  .contact-frame--3,
  .contact-frame--4,
  .contact-frame--5,
  .contact-frame--6 {
    grid-column: span 1;
  }

  .timeline-intro {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-bottom: 58px;
  }

  .timeline-intro > p:last-child {
    max-width: 520px;
    margin: 0;
  }

  .timeline-entry {
    min-height: 0;
    padding: 58px 0 86px;
  }

  .timeline-entry__ghost {
    top: 26px;
    font-size: 98px;
  }

  .timeline-entry > header {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .timeline-entry__index {
    display: flex;
    width: 100%;
    align-items: baseline;
    justify-content: space-between;
    padding-top: 9px;
  }

  .timeline-entry__index span {
    font-size: 32px;
  }

  .timeline-entry__index small {
    margin-top: 0;
  }

  .timeline-entry__title > p {
    margin-top: 0;
  }

  .timeline-entry__lede {
    margin-top: 20px;
    font-size: 17px;
  }

  .timeline-meta,
  .timeline-story,
  .timeline-gallery,
  .timeline-workstreams {
    margin-left: 0;
  }

  .timeline-meta {
    margin-top: 38px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline-meta div {
    padding: 14px;
    border-bottom: 1px solid var(--line);
  }

  .timeline-meta div:first-child,
  .timeline-meta div:nth-child(3) {
    padding-left: 0;
  }

  .timeline-meta div:nth-child(2),
  .timeline-meta div:last-child {
    border-right: 0;
  }

  .timeline-meta div:nth-child(n + 3) {
    border-bottom: 0;
  }

  .timeline-story {
    margin-top: 50px;
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .timeline-story__body h3 {
    font-size: 27px;
  }

  .timeline-note {
    padding-left: 0;
    border-left: 0;
  }

  .timeline-gallery {
    margin-top: 58px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    gap: 12px;
  }

  .timeline-gallery .timeline-frame {
    grid-row: auto;
    grid-column: auto;
  }

  .timeline-gallery .timeline-frame--1,
  .timeline-gallery .timeline-frame--4 {
    grid-column: 1 / -1;
  }

  .timeline-frame__placeholder,
  .timeline-frame__media {
    min-height: 180px;
  }

  .timeline-frame--1 .timeline-frame__placeholder,
  .timeline-frame--1 .timeline-frame__media {
    min-height: 280px;
  }

  .timeline-frame--4 .timeline-frame__placeholder,
  .timeline-frame--4 .timeline-frame__media {
    min-height: 220px;
  }

  .timeline-frame figcaption {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .timeline-workstreams {
    margin-top: 58px;
  }

  .timeline-workstreams article {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 14px 16px;
  }

  .timeline-workstream__copy {
    grid-column: 2;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .experiment-map article {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .experiment-map__axis {
    left: 15px;
  }

  .experiment-map article > small {
    display: none;
  }

  .protocol-strip,
  .assay-lanes {
    grid-template-columns: 1fr;
  }

  .protocol-strip div {
    min-height: 76px;
  }

  .hardware-callout {
    display: none;
  }

  .hardware-disk,
  .hardware-stack {
    width: 76%;
  }

  .hardware-flow,
  .hardware-control {
    width: 88%;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hardware-flow div,
  .hardware-control div {
    min-height: 70px;
    padding: 14px;
  }

  .hardware-flow > i,
  .hardware-control > i {
    width: 1px;
    height: 18px;
    margin: auto;
  }

  .hardware-flow > i::after,
  .hardware-control > i::after {
    top: auto;
    right: -3px;
    bottom: 0;
    transform: rotate(135deg);
  }

  .hardware-control > i small {
    display: none;
  }

  .hardware-ledger {
    padding-top: 86px;
  }

  .hardware-ledger h2 {
    font-size: 36px;
  }

  .hardware-ledger__rows article {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px 14px;
  }

  .hardware-ledger__rows p {
    grid-column: 2;
  }

  .hardware-ledger__rows small {
    display: none;
  }
}

@media (max-width: 350px) and (max-height: 720px) {
  .timeline-page .page-shell {
    width: calc(100% - 24px);
    padding-top: 52px;
  }

  .timeline-layout {
    padding-top: 42px;
  }

  .timeline-rail {
    top: 72px;
    margin-right: -12px;
    margin-left: -12px;
    padding-right: 12px;
    padding-left: 12px;
    grid-template-columns: 1fr;
  }

  .timeline-rail__summary {
    display: none;
  }

  .timeline-rail a {
    min-width: 86px;
  }

  .timeline-gallery {
    gap: 8px;
  }

  .timeline-frame__placeholder,
  .timeline-frame__media {
    min-height: 152px;
  }

  .timeline-frame--1 .timeline-frame__placeholder,
  .timeline-frame--1 .timeline-frame__media {
    min-height: 230px;
  }

  .timeline-frame--4 .timeline-frame__placeholder,
  .timeline-frame--4 .timeline-frame__media {
    min-height: 188px;
  }

  .hardware-page .photo-story {
    padding-block: 12px;
    row-gap: 12px;
  }

  .hardware-page .photo-stage {
    height: 330px;
  }

  .hardware-page .photo-slide {
    grid-template-rows: 260px auto;
  }

  .hardware-page .photo-controls {
    gap: 8px;
  }

  .hardware-page .photo-controls__top {
    min-height: 42px;
  }

  .hardware-page .photo-controls__top button {
    width: 38px;
    height: 38px;
  }

  .hardware-page .photo-index button {
    min-height: 42px;
  }

  .hardware-page .hardware-stack {
    gap: 7px;
  }

  .hardware-page .hardware-stack span {
    min-height: 36px;
  }

  .hardware-page .hardware-stack__body {
    min-height: 56px !important;
  }

  .hardware-page .hardware-flow,
  .hardware-page .hardware-control {
    width: 94%;
    grid-template-columns: minmax(0, 1fr) 14px minmax(0, 1fr) 14px minmax(0, 1fr);
    gap: 0;
  }

  .hardware-page .hardware-flow div,
  .hardware-page .hardware-control div {
    min-height: 108px;
    padding: 8px;
  }

  .hardware-page .hardware-flow strong,
  .hardware-page .hardware-control strong {
    font-size: 16px;
  }

  .hardware-page .hardware-flow small,
  .hardware-page .hardware-control small {
    font-size: 11px;
  }

  .hardware-page .hardware-flow > i,
  .hardware-page .hardware-control > i {
    width: 14px;
    height: 1px;
    margin: 0;
  }

  .hardware-page .hardware-flow > i::after,
  .hardware-page .hardware-control > i::after {
    top: -4px;
    right: 0;
    bottom: auto;
    transform: rotate(45deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .photo-slide,
  .timeline-track span,
  .timeline-entry__ghost {
    transition: none;
  }
}

/* GitLab Presence privacy policy */
.privacy-page .page-hero {
  min-height: 44svh;
}

.privacy-page .page-shell {
  width: min(calc(100% - 48px), 1180px);
  padding-top: 88px;
}

.privacy-layout {
  display: grid;
  min-width: 0;
  align-items: start;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 72px;
}

.privacy-rail {
  position: sticky;
  top: 118px;
  width: 100%;
  min-width: 0;
  padding-top: 18px;
  border-top: 2px solid var(--ink);
}

.privacy-rail > p {
  margin: 0 0 16px;
  color: var(--ink) !important;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.privacy-rail nav {
  display: grid;
}

.privacy-rail a {
  display: flex;
  min-height: 44px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 720;
  text-decoration: none;
  transition: color 160ms ease, padding-left 160ms ease;
}

.privacy-rail a:hover,
.privacy-rail a:focus-visible {
  padding-left: 6px;
  color: var(--wine);
}

.privacy-document {
  min-width: 0;
  max-width: 820px;
}

.privacy-summary {
  padding: 14px 0 72px;
  border-bottom: 1px solid var(--line);
}

.privacy-summary h2 {
  max-width: 720px;
  margin: 0;
  font-size: 52px;
  line-height: 1.04;
}

.privacy-opening {
  max-width: 740px;
  margin: 28px 0 0;
  color: var(--ink) !important;
  font-size: 20px;
  font-weight: 610;
  line-height: 1.65;
}

.privacy-metadata {
  display: grid;
  margin: 46px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.privacy-metadata div {
  padding: 18px 18px 18px 0;
}

.privacy-metadata div + div {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.privacy-metadata dt {
  color: var(--content-coral);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.privacy-metadata dd {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 720;
  line-height: 1.45;
}

.privacy-section {
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 118px;
}

.privacy-section:last-child {
  border-bottom: 0;
}

.privacy-section h2 {
  margin: 0 0 24px;
  font-size: 36px;
}

.privacy-section p,
.privacy-section li {
  font-size: 17px;
  line-height: 1.75;
}

.privacy-section p {
  max-width: 760px;
  margin: 0 0 20px;
}

.privacy-section ul {
  max-width: 750px;
  margin: 24px 0 0;
  padding-left: 22px;
}

.privacy-section li + li {
  margin-top: 10px;
}

.privacy-note {
  margin-top: 38px;
  padding: 24px 0 24px 28px;
  border-left: 4px solid var(--content-teal);
  background: var(--paper-bright);
}

.privacy-note strong {
  color: var(--content-teal);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.privacy-note p {
  margin: 10px 24px 0 0;
  color: var(--ink) !important;
}

.privacy-contact a {
  display: inline-block;
  color: var(--wine);
  font-size: 30px;
  font-weight: 800;
  overflow-wrap: anywhere;
  text-underline-offset: 5px;
}

@media (max-width: 900px) {
  .privacy-layout {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .privacy-rail {
    position: static;
  }

  .privacy-rail nav {
    display: flex;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    border-bottom: 1px solid var(--line);
    scrollbar-width: thin;
  }

  .privacy-rail a {
    min-width: max-content;
    padding: 0 18px;
    border-bottom: 0;
  }

  .privacy-rail a:first-child {
    padding-left: 0;
  }

  .privacy-rail a:hover,
  .privacy-rail a:focus-visible {
    padding-left: 18px;
  }

  .privacy-rail a:first-child:hover,
  .privacy-rail a:first-child:focus-visible {
    padding-left: 0;
  }
}

@media (max-width: 620px) {
  .privacy-page .page-hero {
    min-height: 54svh;
  }

  .privacy-page .page-shell {
    width: min(calc(100% - 32px), 1180px);
    padding-top: 58px;
  }

  .privacy-layout {
    gap: 42px;
  }

  .privacy-summary {
    padding-bottom: 52px;
  }

  .privacy-summary h2 {
    font-size: 38px;
  }

  .privacy-opening {
    font-size: 17px;
  }

  .privacy-metadata {
    grid-template-columns: 1fr;
  }

  .privacy-metadata div,
  .privacy-metadata div + div {
    padding: 16px 0;
    border-left: 0;
  }

  .privacy-metadata div + div {
    border-top: 1px solid var(--line);
  }

  .privacy-section {
    padding: 48px 0;
  }

  .privacy-section h2 {
    font-size: 31px;
  }

  .privacy-section p,
  .privacy-section li {
    font-size: 16px;
  }

  .privacy-note {
    padding-left: 20px;
  }

  .privacy-contact a {
    font-size: 20px;
  }
}

/* Dedicated details-page archetypes */
.reading-template .longform-layout {
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 84px;
}

.reading-template .longform-rail {
  min-height: 0;
  padding-top: 6px;
  border-top: 0;
}

.reading-template .longform-rail > p {
  margin-bottom: 22px;
}

.reading-template .longform-rail nav {
  gap: 2px;
}

.reading-template .longform-rail a {
  min-height: 42px;
  border: 0;
  grid-template-columns: 32px minmax(0, 1fr);
}

.reading-template .longform-rail a:hover,
.reading-template .longform-rail a[aria-current="location"] {
  padding-left: 0;
  color: var(--wine);
}

.reading-template .longform-rail a[aria-current="location"] {
  font-weight: 850;
}

.reading-template .longform-rail__progress {
  height: 1px;
  margin-top: 24px;
}

.longform-masthead {
  max-width: 900px;
  padding: 4px 0 116px;
}

.longform-masthead h2 {
  max-width: 820px;
  margin: 0;
  font-size: 62px;
  line-height: 1.02;
}

.longform-masthead .longform-lede {
  max-width: 760px;
  margin: 30px 0 0;
}

.longform-metadata {
  display: grid;
  margin: 54px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.longform-metadata div {
  min-width: 0;
}

.longform-metadata dt,
.longform-metadata dd {
  margin: 0;
}

.longform-metadata dt {
  color: var(--content-teal);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 850;
  text-transform: uppercase;
}

.longform-metadata dd {
  margin-top: 6px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 760;
}

.reading-template .longform-section {
  padding: 108px 0 122px;
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.reading-template .longform-section + .longform-section {
  padding-top: 108px;
}

.longform-section__heading {
  display: grid;
  align-items: start;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 30px;
}

.longform-section__heading > span {
  color: var(--content-coral);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  font-weight: 850;
}

.longform-section__heading .content-index {
  margin-bottom: 14px;
}

.reading-template .longform-section__heading h2 {
  max-width: 760px;
  margin: 0;
  font-size: 46px;
  line-height: 1.06;
}

.longform-prose {
  max-width: 760px;
  margin: 52px 0 0 118px;
}

.longform-prose--wide {
  max-width: 900px;
}

.longform-prose > p {
  margin: 0 0 28px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.82;
}

.longform-prose > p:last-child {
  margin-bottom: 0;
}

.longform-prose .longform-opening {
  color: var(--ink);
  font-size: 21px;
  font-weight: 620;
  line-height: 1.68;
}

.longform-pullquote {
  max-width: 720px;
  margin: 62px 0;
}

.longform-pullquote p {
  margin: 0;
  color: var(--ink) !important;
  font-size: 30px;
  font-weight: 720;
  line-height: 1.35;
}

.longform-pullquote span {
  display: block;
  margin-top: 18px;
  color: var(--content-coral);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 850;
  text-transform: uppercase;
}

.reading-template .longform-columns {
  margin-top: 58px;
  gap: 44px;
}

.reading-template .longform-columns article {
  min-width: 0;
}

.reading-template .longform-columns .content-index {
  margin-bottom: 12px;
}

.reading-template .longform-columns h3 {
  margin: 0 0 18px;
  font-size: 23px;
}

.reading-template .longform-columns p:last-child {
  color: var(--ink-soft);
  line-height: 1.75;
}

.reading-template .process-list {
  margin-top: 54px;
}

.reading-template .content-figure {
  margin-top: 52px;
}

.reading-template .limit-list {
  margin: 52px 0;
}

.photo-essay {
  margin-top: 88px;
}

.photo-feature {
  min-width: 0;
  margin: 0;
}

.photo-feature__media {
  display: grid;
  min-width: 0;
  overflow: hidden;
  place-items: center;
}

.photo-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.photo-feature__media--paper {
  background: var(--paper-bright);
}

.photo-feature__media--coral {
  background: var(--rose);
}

.photo-feature__media--ink {
  background: var(--ink);
}

.photo-feature__media--teal {
  background: #dce9e5;
}

.photo-feature__media--rose {
  background: #f1dadd;
}

.photo-feature figcaption {
  display: grid;
  align-items: start;
  padding-top: 17px;
  grid-template-columns: 92px minmax(160px, 0.75fr) minmax(0, 1.25fr);
  gap: 22px;
}

.photo-feature figcaption span {
  color: var(--content-coral);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 850;
  text-transform: uppercase;
}

.photo-feature figcaption strong {
  color: var(--ink);
  font-size: 19px;
  line-height: 1.3;
}

.photo-feature figcaption p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.65;
}

.photo-feature--lead .photo-feature__media {
  aspect-ratio: 16 / 8.5;
}

.photo-feature--lead .photo-feature__media img {
  width: 76%;
  height: 76%;
}

.photo-essay__grid {
  display: grid;
  margin-top: 126px;
  align-items: start;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 28px;
  row-gap: 112px;
}

.photo-feature--portrait {
  grid-column: 1 / 6;
}

.photo-feature--portrait .photo-feature__media {
  aspect-ratio: 4 / 5;
}

.photo-feature--landscape {
  margin-top: 138px;
  grid-column: 7 / 13;
}

.photo-feature--landscape .photo-feature__media {
  aspect-ratio: 4 / 3;
}

.photo-feature--wide {
  grid-column: 1 / 9;
}

.photo-feature--wide .photo-feature__media {
  aspect-ratio: 16 / 10;
}

.photo-feature--small {
  align-self: end;
  grid-column: 10 / 13;
}

.photo-feature--small .photo-feature__media {
  aspect-ratio: 3 / 4;
}

.photo-feature--third {
  grid-column: span 4;
}

.photo-feature--third .photo-feature__media {
  aspect-ratio: 4 / 3;
}

.photo-feature--closing {
  grid-column: 3 / 11;
}

.photo-feature--closing .photo-feature__media {
  aspect-ratio: 16 / 9;
}

.photo-feature--small figcaption,
.photo-feature--third figcaption {
  grid-template-columns: 1fr;
  gap: 7px;
}

.timeline-page .timeline-intro {
  align-items: start;
  padding-bottom: 82px;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 76px;
}

.timeline-page .timeline-intro h2 {
  font-size: 58px;
  line-height: 1.03;
}

.timeline-page .timeline-layout {
  padding-top: 78px;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 84px;
}

.timeline-page .timeline-rail {
  top: 116px;
  display: block;
  min-height: 0;
}

.timeline-page .timeline-rail__summary {
  display: flex;
  align-items: baseline;
  color: var(--ink);
  gap: 5px;
  white-space: nowrap;
}

.timeline-page .timeline-rail__summary span {
  font-size: 38px;
}

.timeline-page .timeline-rail__summary small {
  margin: 0;
}

.timeline-page .timeline-track {
  width: 100%;
  height: 2px;
  margin-top: 20px;
}

.timeline-page .timeline-track span {
  transform: scaleX(var(--timeline-progress));
  transform-origin: left center;
}

.timeline-page .timeline-rail nav {
  display: grid;
  margin-top: 22px;
  align-content: start;
  gap: 2px;
}

.timeline-page .timeline-rail a {
  min-height: 46px;
  padding: 4px 0;
  border: 0;
  grid-template-columns: 34px minmax(0, 1fr);
}

.timeline-page .timeline-rail a:hover,
.timeline-page .timeline-rail a[aria-current="step"] {
  padding-left: 0;
  border: 0;
  color: var(--wine);
}

.timeline-page .timeline-rail a[aria-current="step"] {
  font-weight: 850;
}

.timeline-page .timeline-entries {
  border-top: 0;
}

.timeline-page .timeline-entry {
  min-height: 0;
  padding: 0 0 132px;
  overflow: visible;
  border-bottom: 0;
  scroll-margin-top: 112px;
}

.timeline-page .timeline-entry + .timeline-entry {
  padding-top: 118px;
  border-top: 1px solid var(--line);
}

.timeline-page .timeline-entry__header {
  display: grid;
  align-items: start;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 34px;
}

.timeline-page .timeline-entry__index {
  display: grid;
  width: auto;
  padding: 0;
  border: 0;
}

.timeline-page .timeline-entry__index span {
  color: var(--ink-soft);
  font-size: 34px;
  line-height: 1;
  transition: color 180ms ease;
}

.timeline-page .timeline-entry.is-active .timeline-entry__index span {
  color: var(--content-coral);
}

.timeline-page .timeline-entry__index small {
  margin-top: 8px;
}

.timeline-page .timeline-entry__title > p {
  margin: 1px 0 15px;
}

.timeline-page .timeline-entry__title h2 {
  max-width: 720px;
  font-size: 46px;
  line-height: 1.05;
}

.timeline-page .timeline-entry__lede {
  max-width: 720px;
  margin-top: 24px;
  color: var(--ink-soft) !important;
  font-family: inherit;
  font-size: 18px;
  font-weight: 400;
  text-transform: none;
}

.timeline-entry__body {
  display: grid;
  margin: 52px 0 0 142px;
  grid-template-columns: minmax(0, 1.3fr) minmax(210px, 0.7fr);
  gap: 58px;
}

.timeline-entry__copy p {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.8;
}

.timeline-entry__copy p:last-child {
  margin-bottom: 0;
}

.timeline-entry__facts {
  margin: 0;
}

.timeline-entry__facts div {
  display: grid;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 14px;
}

.timeline-entry__facts dt,
.timeline-entry__facts dd {
  margin: 0;
}

.timeline-entry__facts dt,
.timeline-entry__outcome span {
  color: var(--content-teal);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 850;
  text-transform: uppercase;
}

.timeline-entry__facts dd {
  color: var(--ink);
  font-size: 13px;
  font-weight: 760;
}

.timeline-page .timeline-records {
  margin: 64px 0 0 142px;
}

.timeline-page .timeline-records > .timeline-label {
  margin-bottom: 18px !important;
}

.timeline-page .timeline-records article {
  display: grid;
  align-items: start;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  grid-template-columns: 110px minmax(150px, 0.65fr) minmax(0, 1.35fr);
  gap: 24px;
}

.timeline-page .timeline-records article > span {
  color: var(--content-coral);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 850;
  text-transform: uppercase;
}

.timeline-page .timeline-records h3,
.timeline-page .timeline-records p {
  margin: 0;
}

.timeline-page .timeline-records h3 {
  font-size: 19px;
  line-height: 1.35;
}

.timeline-page .timeline-records p {
  font-size: 15px;
  line-height: 1.7;
}

.timeline-entry__outcome {
  display: grid;
  margin: 36px 0 0 142px;
  padding-top: 26px;
  border-top: 2px solid var(--ink);
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 24px;
}

.timeline-entry__outcome p {
  max-width: 680px;
  margin: 0;
  color: var(--ink) !important;
  font-size: 19px;
  font-weight: 680;
  line-height: 1.55;
}

@media (max-width: 1080px) {
  .reading-template .longform-layout,
  .timeline-page .timeline-layout {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 54px;
  }

  .timeline-entry__body,
  .timeline-page .timeline-records,
  .timeline-entry__outcome {
    margin-left: 118px;
  }

  .photo-essay__grid {
    column-gap: 22px;
    row-gap: 88px;
  }
}

@media (max-width: 900px) {
  .reading-template .longform-layout,
  .timeline-page .timeline-layout {
    display: block;
  }

  .reading-template .longform-rail,
  .timeline-page .timeline-rail {
    position: sticky;
    top: 78px;
    z-index: 20;
    min-height: 0;
    margin: 0 -18px 56px;
    padding: 10px 18px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 253, 249, 0.96);
    backdrop-filter: blur(16px);
  }

  .reading-template .longform-rail > p {
    display: none;
  }

  .reading-template .longform-rail nav,
  .timeline-page .timeline-rail nav {
    display: flex;
    margin: 0;
    overflow-x: auto;
    gap: 0;
    scrollbar-width: none;
  }

  .reading-template .longform-rail nav::-webkit-scrollbar,
  .timeline-page .timeline-rail nav::-webkit-scrollbar {
    display: none;
  }

  .reading-template .longform-rail a {
    min-width: 118px;
    border-right: 1px solid var(--line);
  }

  .reading-template .longform-rail__progress {
    margin-top: 8px;
  }

  .timeline-page .timeline-layout {
    padding-top: 56px;
  }

  .timeline-page .timeline-rail {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 12px;
  }

  .timeline-page .timeline-track {
    position: absolute;
    right: 18px;
    bottom: 0;
    left: 18px;
    width: auto;
    margin: 0;
  }

  .timeline-page .timeline-rail a {
    min-width: 98px;
    padding-inline: 10px;
    border-right: 1px solid var(--line);
  }

  .timeline-page .timeline-rail a:hover,
  .timeline-page .timeline-rail a[aria-current="step"] {
    padding-inline: 10px;
  }

  .timeline-page .timeline-entry {
    scroll-margin-top: 54px;
  }

  .photo-essay__grid {
    margin-top: 96px;
  }
}

@media (max-width: 620px) {
  .longform-masthead {
    padding-bottom: 86px;
  }

  .longform-masthead h2 {
    font-size: 42px;
  }

  .longform-masthead .longform-lede {
    font-size: 19px !important;
  }

  .longform-metadata {
    margin-top: 40px;
    gap: 12px;
  }

  .reading-template .longform-section,
  .reading-template .longform-section + .longform-section {
    padding: 78px 0 88px;
  }

  .longform-section__heading {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
  }

  .reading-template .longform-section__heading h2 {
    font-size: 36px;
  }

  .longform-prose,
  .longform-prose--wide {
    max-width: none;
    margin: 40px 0 0;
  }

  .longform-prose > p {
    font-size: 17px;
    line-height: 1.78;
  }

  .longform-prose .longform-opening {
    font-size: 19px;
  }

  .longform-pullquote {
    margin: 48px 0;
  }

  .longform-pullquote p {
    font-size: 25px;
  }

  .reading-template .longform-columns {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .photo-feature figcaption {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .photo-feature--lead .photo-feature__media {
    aspect-ratio: 4 / 3;
  }

  .photo-feature--lead .photo-feature__media img {
    width: 90%;
    height: 90%;
  }

  .photo-essay__grid {
    margin-top: 76px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 14px;
    row-gap: 62px;
  }

  .photo-feature--portrait,
  .photo-feature--small,
  .photo-feature--third {
    grid-column: span 1;
  }

  .photo-feature--landscape {
    margin-top: 72px;
    grid-column: span 1;
  }

  .photo-feature--wide,
  .photo-feature--closing {
    grid-column: 1 / -1;
  }

  .photo-feature--small .photo-feature__media,
  .photo-feature--third .photo-feature__media {
    aspect-ratio: 4 / 3;
  }

  .photo-feature figcaption strong {
    font-size: 17px;
  }

  .photo-feature figcaption p {
    font-size: 13px;
  }

  .timeline-page .timeline-intro {
    padding-bottom: 58px;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .timeline-page .timeline-intro h2 {
    font-size: 38px;
  }

  .timeline-page .timeline-rail {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .timeline-page .timeline-rail__summary span {
    font-size: 25px;
  }

  .timeline-page .timeline-entry,
  .timeline-page .timeline-entry + .timeline-entry {
    padding: 0 0 88px;
  }

  .timeline-page .timeline-entry + .timeline-entry {
    padding-top: 78px;
  }

  .timeline-page .timeline-entry__header {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .timeline-page .timeline-entry__index {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
  }

  .timeline-page .timeline-entry__index small {
    margin: 0;
  }

  .timeline-page .timeline-entry__title h2 {
    font-size: 36px;
  }

  .timeline-entry__body {
    margin: 44px 0 0;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .timeline-page .timeline-records,
  .timeline-entry__outcome {
    margin-left: 0;
  }

  .timeline-page .timeline-records {
    margin-top: 52px;
  }

  .timeline-page .timeline-records article {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 10px 16px;
  }

  .timeline-page .timeline-records article p {
    grid-column: 2;
  }

  .timeline-entry__outcome {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 16px;
  }
}

@media (max-width: 350px) and (max-height: 720px) {
  .timeline-page .timeline-rail {
    margin-right: -12px;
    margin-left: -12px;
    padding-right: 12px;
    padding-left: 12px;
    grid-template-columns: 1fr;
  }

  .timeline-page .timeline-track {
    right: 12px;
    left: 12px;
  }

  .timeline-page .timeline-rail__summary {
    display: none;
  }

  .timeline-page .timeline-rail a {
    min-width: 84px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .timeline-page .timeline-entry__index span {
    transition: none;
  }
}

/* Purposeful interaction states */
.longform-jump {
  display: flex;
  max-width: 900px;
  margin-top: 42px;
  padding-top: 14px;
  overflow-x: auto;
  border-top: 1px solid var(--line);
  scrollbar-width: none;
}

.longform-jump::-webkit-scrollbar {
  display: none;
}

.longform-jump a {
  display: grid;
  min-width: 112px;
  min-height: 46px;
  flex: 1 0 auto;
  align-items: center;
  border-bottom: 2px solid transparent;
  color: var(--ink-soft);
  grid-template-columns: 30px minmax(0, 1fr);
  text-decoration: none;
  transition: border-color 180ms ease, color 180ms ease;
}

.longform-jump a span {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 850;
}

.longform-jump a strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.longform-jump a:hover,
.longform-jump a[aria-current="location"] {
  border-bottom-color: var(--content-coral);
  color: var(--wine);
}

.longform-layout.js-ready .longform-section {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 460ms ease, transform 560ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.longform-layout.js-ready .longform-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-layout.js-ready .timeline-entry {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 420ms ease, transform 560ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.timeline-layout.js-ready .timeline-entry.is-seen {
  opacity: 1;
  transform: translateY(0);
}

.timeline-page .timeline-entry__title h2,
.timeline-page .timeline-records article {
  transition: color 180ms ease, transform 180ms ease;
}

.timeline-page .timeline-entry.is-active .timeline-entry__title h2 {
  color: var(--wine);
}

.timeline-page .timeline-records article:hover {
  transform: translateX(6px);
}

.photo-feature__media {
  position: relative;
}

.photo-feature__media img {
  transition: transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.photo-feature:hover .photo-feature__media > img,
.photo-feature:focus-within .photo-feature__media > img {
  transform: scale(1.025);
}

.photo-feature__open {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(38, 25, 31, 0.14);
  border-radius: 50%;
  background: rgba(255, 253, 249, 0.94);
  box-shadow: 0 10px 28px rgba(38, 25, 31, 0.13);
  color: var(--ink);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  opacity: 0.92;
  place-items: center;
  transition: background-color 180ms ease, color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.photo-feature__open:hover,
.photo-feature__open:focus-visible {
  background: var(--ink);
  color: var(--paper-bright);
  opacity: 1;
  transform: scale(1.05);
}

.photo-essay.js-ready .photo-feature {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 460ms ease, transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.photo-essay.js-ready .photo-feature.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body.photo-viewer-open {
  overflow: hidden;
}

.photo-viewer {
  width: min(92vw, 1180px);
  height: min(90svh, 840px);
  max-width: none;
  max-height: none;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: var(--paper-bright);
  color: var(--ink);
}

.photo-viewer::backdrop {
  background: rgba(24, 15, 19, 0.82);
  backdrop-filter: blur(8px);
}

.photo-viewer__inner {
  display: grid;
  height: 100%;
  min-height: 0;
  padding: 18px;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.photo-viewer__topline {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
}

.photo-viewer__topline > span {
  color: var(--wine);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 850;
}

.photo-viewer__topline button,
.photo-viewer__controls button {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 20px;
  place-items: center;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.photo-viewer__topline button:hover,
.photo-viewer__controls button:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper-bright);
}

.photo-viewer figure {
  display: grid;
  min-width: 0;
  min-height: 0;
  margin: 0;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
}

.photo-viewer__media {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: var(--paper);
  place-items: center;
}

.photo-viewer__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.photo-viewer figcaption {
  display: grid;
  min-width: 0;
  align-content: end;
  padding-bottom: 12px;
}

.photo-viewer figcaption span {
  color: var(--content-coral);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 850;
  text-transform: uppercase;
}

.photo-viewer figcaption strong {
  margin-top: 14px;
  color: var(--ink);
  font-size: 27px;
  line-height: 1.2;
}

.photo-viewer figcaption p {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
}

.photo-viewer__controls {
  display: flex;
  justify-content: flex-end;
  padding-top: 12px;
  gap: 8px;
}

@media (max-width: 620px) {
  .longform-jump {
    margin-right: -18px;
    margin-left: -18px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .longform-jump a {
    min-width: 104px;
  }

  .photo-feature__open {
    right: 10px;
    bottom: 10px;
    width: 42px;
    height: 42px;
  }

  .photo-viewer {
    width: calc(100vw - 16px);
    height: calc(100svh - 16px);
  }

  .photo-viewer__inner {
    padding: 12px;
  }

  .photo-viewer figure {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 14px;
  }

  .photo-viewer figcaption {
    padding-bottom: 0;
  }

  .photo-viewer figcaption strong {
    margin-top: 8px;
    font-size: 21px;
  }

  .photo-viewer figcaption p {
    margin-top: 8px;
    font-size: 13px;
  }

  .photo-viewer__controls {
    padding-top: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .longform-layout.js-ready .longform-section,
  .timeline-layout.js-ready .timeline-entry,
  .photo-essay.js-ready .photo-feature {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .photo-feature__media img,
  .photo-feature__open,
  .timeline-page .timeline-entry__title h2,
  .timeline-page .timeline-records article {
    transition: none;
  }
}
