@font-face {
  font-family: abInter;
  src: url(/labs-assets/fonts/inter-latin-wght-normal.woff2);
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: abMono;
  src: url(/labs-assets/fonts/ibm-plex-mono-latin-400-normal.woff2);
  font-display: swap;
}
:root {
  --ab-paper: #f6f5ef;
  --ab-ink: #181914;
  --ab-muted: #50534c;
  --ab-rule: #babcb2;
  --ab-yellow: #ffda42;
  --ab-surface: #fffefa;
  --ab-focus: #866400;
}
:root[data-theme="dark"] {
  --ab-paper: #181914;
  --ab-ink: #f7f5ed;
  --ab-muted: #c3c5b8;
  --ab-rule: #575a50;
  --ab-surface: #24251f;
  --ab-focus: #ffda42;
}
.portal {
  margin: 0;
  color: var(--ab-ink);
  background: var(--ab-paper);
  font:
    16px/1.5 abInter,
    system-ui,
    sans-serif;
  color-scheme: light;
}
[data-theme="dark"] .portal {
  color-scheme: dark;
}
.portal *,
.ab-grid * {
  box-sizing: border-box;
}
.portal a {
  color: inherit;
  text-underline-offset: 0.22em;
}
.portal :is(button, input, select) {
  font: inherit;
  color: inherit;
  background: var(--ab-surface);
  border: 1px solid var(--ab-rule);
  border-radius: 0;
  padding: 0.44rem 0.68rem;
}
.portal button {
  cursor: pointer;
}
.portal button:disabled {
  cursor: default;
  opacity: 0.49;
}
.portal :focus-visible,
.ab-grid a:focus-visible {
  outline: 3px solid var(--ab-focus);
  outline-offset: 3px;
}
.portal [hidden],
.ab-card[hidden] {
  display: none !important;
}
.portal .skip-link {
  position: fixed;
  left: 1rem;
  top: -100px;
  z-index: 20;
  background: var(--ab-yellow);
  color: #181914;
  padding: 0.5rem;
}
.portal .skip-link:focus {
  top: 0.5rem;
}
.ab-head,
.ab-foot,
.ab-wrap,
.standalone-related {
  width: min(1320px, 91vw);
  margin-inline: auto;
}
.ab-head,
.ab-foot {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 30px);
}
.ab-head {
  min-height: 74px;
  border-bottom: 1px solid var(--ab-rule);
}
.ab-head a,
.ab-foot a {
  text-decoration: none;
}
.ab-head a:hover,
.ab-foot a:hover {
  text-decoration: underline;
}
.ab-brand {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.055em;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.ab-head nav {
  display: flex;
  gap: 1.5rem;
  margin-left: auto;
}
.ab-status,
.case-status,
.eyeline,
.ab-back,
.flow-diagram figcaption,
.filmstrip figcaption,
.ab-further h2,
.preview-controls,
.ab-foot p {
  font:
    0.8rem/1.5 abMono,
    monospace;
}
.ab-status b,
.case-status b {
  display: inline-block;
  margin-right: 0.6em;
  width: 9px;
  height: 9px;
  background: var(--ab-ink);
  box-shadow: 0 0 0 3px var(--ab-yellow);
}
.ab-foot {
  border-top: 1px solid var(--ab-rule);
  padding: 2rem 0 3rem;
}
.ab-foot > div {
  margin-right: auto;
}
.ab-back {
  display: inline-block;
  margin: 1.6rem 0;
  color: var(--ab-muted);
}
.portal h1,
.portal h2,
.portal h3 {
  line-height: 1.04;
  letter-spacing: -0.055em;
}
.portal h1,
.portal h2,
.portal p,
.portal figure {
  margin: 0;
}
.portal p + p {
  margin-top: 0.8em;
}
.portal .eyeline {
  color: var(--ab-muted);
  margin-bottom: 1rem;
}
.catalog-lead,
.case-hero {
  display: grid;
  grid-template-columns: 1fr 0.93fr;
  gap: clamp(30px, 5vw, 94px);
  align-items: center;
}
.catalog-lead {
  padding: 2vw 0 5vw;
}
.catalog-lead h1 {
  font-size: clamp(5rem, 12vw, 11rem);
}
.catalog-lead h1 span {
  color: var(--ab-muted);
}
.catalog-lead p:last-child,
.proposition {
  font-size: clamp(1.13rem, 1.85vw, 1.7rem);
  line-height: 1.37;
  letter-spacing: -0.03em;
  max-width: 40ch;
}
.dot-field {
  justify-self: end;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6%;
  aspect-ratio: 1;
  width: min(18vw, 200px);
  background: var(--ab-yellow);
  padding: 5%;
}
.dot-field i {
  background: #181914;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: scale(var(--s));
  animation: ab-dot 0.6s var(--d) alternate 4;
}
@keyframes ab-dot {
  to {
    transform: scale(0.16);
  }
}
.catalog-tools,
.wave-filters,
.case-actions,
.preview-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.catalog-tools {
  border-top: 1px solid var(--ab-ink);
  padding-top: 1rem;
}
.catalog-tools h2 {
  margin-right: auto;
  font-size: 2.25rem;
}
.catalog-tools label {
  font-size: 0.85rem;
}
.catalog-tools :is(select, input) {
  max-width: 240px;
}
.wave-filters {
  margin: 1.2rem 0 0.5rem;
  gap: 5px;
}
.wave-filters button {
  font-size: 0.82rem;
}
.wave-filters [aria-pressed="true"],
.portal .launch {
  background: var(--ab-yellow);
  color: #181914;
  border-color: #181914;
}
.portal #result-count {
  font:
    0.8rem abMono,
    monospace;
  margin: 1rem 0;
}
.ab-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.7vw, 42px);
  row-gap: 2.5rem;
}
.ab-grid .ab-card {
  color: var(--ab-ink);
  display: block;
  text-decoration: none;
  min-width: 0;
}
.ab-grid .ab-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1280/820;
  object-fit: cover;
  background: var(--ab-surface);
  border: 1px solid var(--ab-rule);
}
.ab-grid .ab-card h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font:
    650 clamp(1.15rem, 2vw, 1.65rem)/1.15 abInter,
    system-ui,
    sans-serif;
  letter-spacing: -0.045em;
  margin: 0.8rem 0 0.35rem;
}
.ab-card h3 span {
  font-size: 0.8em;
}
.ab-grid .ab-card:hover h3 {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}
.ab-grid .ab-card p {
  margin: 0;
  font:
    400 0.95rem/1.5 abInter,
    system-ui,
    sans-serif;
  color: var(--ab-muted);
  max-width: 50ch;
}
.ab-further {
  padding: clamp(2rem, 5vw, 6rem) 0;
  border-top: 1px solid var(--ab-rule);
  margin-top: clamp(2.4rem, 6vw, 7rem);
}
.ab-further h2 {
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.04em;
  margin: 0 0 1.2rem;
}
.case {
  --tone: #d5e6e0;
  --stripe: #446b62;
}
.case.instrument {
  --tone: #cde2ed;
  --stripe: #375d71;
}
.case.ledger {
  --tone: #e1e9cc;
  --stripe: #50612f;
}
.case.folio {
  --tone: #e7dace;
  --stripe: #7a5041;
}
.case.atlas {
  --tone: #e1e7c9;
  --stripe: #63744d;
}
.case.exhibition {
  --tone: #e6c3ae;
  --stripe: #854728;
}
.case.studio {
  --tone: #f4d783;
  --stripe: #695218;
}
.case-hero {
  padding: clamp(0.6rem, 2.2vw, 2rem) 0 clamp(2rem, 4vw, 5rem);
  border-bottom: 1px solid var(--ab-ink);
}
.case h1 {
  font-size: clamp(3rem, 6.35vw, 6.35rem);
  font-weight: 660;
  text-wrap: balance;
  margin: 0 0 1.1rem;
}
.case .case-status {
  margin: 1.4rem 0 0.85rem;
}
.case-actions a,
.case-actions button {
  font-weight: 650;
  font-size: 0.9rem;
}
.portal .launch {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  text-decoration: none;
  border: 1px solid #181914;
  padding: 0.65rem 1.05rem;
}
.case-preview {
  min-width: 0;
}
.case-preview h2 {
  font:
    0.85rem abMono,
    monospace;
  margin-bottom: 0.55rem;
}
.portal .preview-shot,
.portal .still {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--tone);
  line-height: 0;
}
.preview-shot img {
  width: 100%;
  height: clamp(180px, 36dvh, 400px);
  object-fit: contain;
}
.preview-controls {
  justify-content: space-between;
  margin-top: 0.55rem;
}
.preview-controls button {
  font-size: 0.75rem;
}
.narrative,
.architecture,
.notes,
.product-spread,
.study-plot {
  padding: clamp(2.7rem, 5.5vw, 6.5rem) 0;
  border-bottom: 1px solid var(--ab-rule);
}
.narrative,
.notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 6vw;
}
.narrative .eyeline {
  grid-column: 1/-1;
}
.case section:not(.case-preview) h2 {
  font-size: clamp(2rem, 4.2vw, 4rem);
  font-weight: 570;
}
.narrative h2 {
  max-width: 16ch;
}
.narrative > div {
  font-size: clamp(1rem, 1.45vw, 1.34rem);
  align-self: end;
  max-width: 47ch;
}
.audience {
  font-size: 0.88rem;
  color: var(--ab-muted);
}
.folio .narrative h2,
.exhibition .narrative h2,
.atlas .narrative h2 {
  font-family: Georgia, serif;
  letter-spacing: -0.055em;
}
.instrument .case-hero,
.ledger .case-hero {
  grid-template-columns: 0.9fr 1.1fr;
}
.atlas .case-preview,
.studio .case-preview {
  border-left: 5px solid var(--stripe);
  padding-left: 1rem;
}
.exhibition .case-hero {
  background: #20211c;
  color: #f8f3e9;
  padding: clamp(1rem, 3vw, 3rem);
}
.exhibition .case-hero .eyeline {
  color: #e6c3ae;
}
.exhibition .case-actions a {
  color: inherit;
}
.exhibition .case-preview button {
  color: var(--ab-ink);
}
.folio .proposition {
  font-family: Georgia, serif;
}
.ledger .case-hero {
  border-bottom: 5px double var(--ab-rule);
}
.filmstrip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-top: 1.7rem;
}
.filmstrip figure {
  grid-column: span 2;
}
.filmstrip figure:nth-child(-n + 2) {
  grid-column: span 3;
}
.filmstrip img {
  width: 100%;
  height: auto;
}
.filmstrip figcaption {
  padding: 0.5rem 0;
  color: var(--ab-muted);
}
.instrument .filmstrip,
.atlas .filmstrip {
  display: flex;
  overflow: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 0.75rem;
}
.instrument .filmstrip figure,
.atlas .filmstrip figure {
  flex: 0 0 min(48%, 560px);
  scroll-snap-align: start;
}
.architecture > p:not(.eyeline) {
  margin: 0.8rem 0;
}
.flow-diagram {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  background: var(--tone);
  color: #181914;
  padding: clamp(1rem, 3vw, 3rem);
  isolation: isolate;
}
.flow-line {
  z-index: -1;
  position: absolute;
  top: 42%;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--stripe);
}
.flow-line:after {
  content: "";
  position: absolute;
  width: 12px;
  height: 6px;
  background: #181914;
  top: -2px;
  animation: flow 4s linear 1 both;
}
@keyframes flow {
  from {
    left: 0;
  }
  to {
    left: 98%;
  }
}
.flow-diagram button {
  font:
    550 clamp(0.76rem, 1.25vw, 1.1rem)/1.25 abInter,
    sans-serif;
  background: #fffefa;
  color: #181914;
  border: 1px solid var(--stripe);
  min-height: 64px;
}
.flow-diagram button[aria-pressed="true"] {
  background: var(--stripe);
  color: white;
}
.flow-diagram figcaption {
  grid-column: 1/-1;
  min-height: 2.5em;
}
.boundary b {
  display: block;
}
.architecture details,
.notes details {
  border-top: 1px solid var(--ab-rule);
  padding: 0.9rem 0;
}
.portal details summary {
  cursor: pointer;
  font-weight: 600;
}
.portal details p {
  max-width: 70ch;
  padding: 0.65rem 0;
}
.notes h2 {
  grid-row: span 6;
}
.notes details {
  grid-column: 2;
}
.adjacent {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0;
}
.adjacent a {
  font-size: 1.1rem;
}
.adjacent small {
  display: block;
  color: var(--ab-muted);
  font-size: 0.76rem;
}
.portal:has(dialog[open]) {
  overflow: hidden;
}
.portal #image-viewer {
  color: var(--ab-ink);
  background: var(--ab-paper);
  border: 1px solid var(--ab-rule);
  padding: 0;
  max-width: 100vw;
  max-height: 100dvh;
}
.portal dialog::backdrop {
  background: #10120ecc;
}
.portal #image-viewer {
  width: min(1120px, 94vw);
  padding: 1rem;
}
.portal #image-viewer button {
  display: block;
  margin: 0 0 0.5rem auto;
}
.portal #image-viewer img {
  object-fit: contain;
  width: 100%;
  max-height: 76dvh;
}
@media (max-width: 800px) {
  .ab-status {
    display: none;
  }
  .ab-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .case h1 {
    font-size: clamp(2.8rem, 6.5vw, 4rem);
  }
  .ab-head nav {
    gap: 0.8rem;
  }
  .case section:not(.case-preview) h2 {
    font-size: 2.25rem;
  }
  .filmstrip figure {
    grid-column: span 3;
  }
  .filmstrip figure:last-child {
    grid-column: span 6;
  }
}
@media (max-width: 620px) {
  .ab-grid,
  .case .case-hero,
  .narrative,
  .notes {
    grid-template-columns: 1fr;
  }
  .ab-head {
    gap: 0.65rem;
    min-height: 58px;
    flex-wrap: wrap;
  }
  .ab-brand {
    font-size: 1rem;
  }
  .ab-brand svg {
    width: 24px;
  }
  .ab-head nav {
    gap: 0.6rem;
    font-size: 0.79rem;
  }
  .portal #theme {
    padding: 0.35rem;
  }
  .ab-back {
    margin: 1rem 0;
  }
  .case-hero {
    gap: 1.25rem;
  }
  .preview-shot img {
    height: min(32dvh, 240px);
  }
  .notes details,
  .notes h2 {
    grid-column: auto;
    grid-row: auto;
  }
  .catalog-lead {
    grid-template-columns: 1fr auto;
    gap: 1rem;
  }
  .catalog-lead h1 {
    font-size: 4.8rem;
  }
  .catalog-tools {
    align-items: start;
  }
  .catalog-tools h2 {
    width: 100%;
  }
  .catalog-tools label {
    display: grid;
    gap: 0.2rem;
    flex: 1;
    min-width: 100px;
  }
  .catalog-tools :is(select, input) {
    width: 100%;
  }
  .flow-diagram {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .flow-line {
    display: none;
  }
  .flow-diagram button {
    min-height: 45px;
  }
  .instrument .filmstrip figure,
  .atlas .filmstrip figure {
    flex-basis: 86%;
  }
  .filmstrip {
    gap: 0.6rem;
  }
  .filmstrip figcaption {
    font-size: 0.73rem;
  }
  .ab-foot {
    gap: 0.75rem;
    font-size: 0.8rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .portal *,
  .ab-grid * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.experience-intro {
  max-width: 62ch;
  padding-top: 3rem;
}
.experience-intro > p:last-child {
  font-size: clamp(1.3rem, 2.3vw, 2.1rem);
  letter-spacing: -0.04em;
  line-height: 1.26;
}
.experience-intro + .product-spread {
  padding-top: 2rem;
}
.case.instrument .case-hero {
  border-top: 2px solid var(--ab-ink);
  padding-top: 1.4rem;
}
.instrument .case-hero h1 {
  font-family: abMono, monospace;
  letter-spacing: -0.09em;
  font-size: clamp(3.1rem, 5vw, 5.5rem);
}
.atlas .case-hero h1 {
  font-family: Georgia, serif;
  font-weight: 500;
  font-size: clamp(3.7rem, 7vw, 7rem);
}
.atlas .narrative h2 {
  max-width: 18ch;
}
.studio .narrative,
.ledger .narrative {
  grid-template-columns: 1.15fr 0.85fr;
}
.exhibition .narrative,
.exhibition .product-spread {
  padding-inline: clamp(1rem, 4vw, 4rem);
  background: #25231e;
  color: #fff6dd;
}
.exhibition .narrative .eyeline,
.exhibition .narrative .audience,
.exhibition .product-spread :is(.eyeline, figcaption) {
  color: #e6c3ae;
}
.case .ab-further h2 {
  font-size: 1.3rem !important;
}
.case.folio .filmstrip figure:first-child {
  grid-column: span 4;
}
.case.folio .filmstrip figure:nth-child(2) {
  grid-column: span 2;
}
.case.folio .filmstrip {
  align-items: end;
}
@media (max-width: 620px) {
  .studio .narrative,
  .ledger .narrative {
    grid-template-columns: 1fr;
  }
  .case.folio .filmstrip figure:first-child {
    grid-column: span 6;
  }
  .case.folio .filmstrip figure:nth-child(2) {
    grid-column: span 3;
  }
}
/* Research publications use different reading orders while keeping keyboard order stable. */
@media (min-width: 801px) {
  .instrument .case-hero {
    background: #192926;
    color: #f3f7ef;
    padding: clamp(1.4rem, 3vw, 3rem);
    grid-template-columns: 1fr 1fr;
    border-top: 6px solid #9bc7bd;
    gap: 4vw;
  }
  .instrument .case-hero .case-preview {
    grid-row: 1;
    grid-column: 1;
  }
  .instrument .case-hero > div {
    grid-column: 2;
  }
  .instrument .case-hero .eyeline {
    color: #c5ded3;
  }
  .instrument .case-preview {
    border-right: 1px solid #76968a;
    padding-right: 2vw;
  }
  .instrument .preview-controls button {
    background: #243c34;
    color: #edf6e9;
    border-color: #77968c;
  }
  .atlas .case-hero {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 0.6rem 4vw;
    padding: 1.5rem clamp(1.5rem, 3vw, 3rem) 2rem;
    background: #e3e8d4;
    color: #20271b;
  }
  .atlas .case-hero > div {
    display: contents;
  }
  .atlas .case-hero .eyeline {
    grid-area: 1/1/2/3;
    color: #465240;
    margin: 0;
  }
  .atlas .case-hero h1 {
    grid-area: 2/1/3/3;
    max-width: none;
    font-size: clamp(4.5rem, 8.5vw, 8rem);
    margin: 0.25rem 0 0.8rem;
    border-bottom: 1px solid #819071;
    padding-bottom: 0.5rem;
  }
  .atlas .case-hero .proposition {
    grid-area: 3/1;
    align-self: start;
  }
  .atlas .case-hero .case-status {
    grid-area: 4/1;
    margin: 0;
  }
  .atlas .case-actions {
    grid-area: 5/1;
    align-self: start;
  }
  .atlas .case-preview {
    grid-area: 3/2/7/3;
    border-left: 0;
    padding: 0;
  }
  .atlas .case-preview img {
    height: clamp(210px, 30dvh, 320px);
  }
  .ledger .case-hero {
    grid-template-columns: 1fr 1fr;
    border-top: 5px double var(--ab-ink);
    padding: 2rem 0;
  }
  .ledger .case-hero > div {
    grid-area: 1/2;
  }
  .ledger .case-preview {
    grid-area: 1/1;
  }
  .ledger .case-hero h1 {
    font-family: Georgia, serif;
    font-weight: 520;
  }
  .ledger .case-status {
    border-top: 1px solid var(--ab-rule);
    padding-top: 1rem;
  }
  .studio .case-hero > div {
    background: var(--tone);
    color: #242316;
    padding: clamp(1rem, 2.8vw, 3rem);
  }
  .studio .case-hero > div .eyeline {
    color: #554a27;
  }
  .folio .case-hero {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }
  .folio .case-hero h1 {
    font-family: Georgia, serif;
    font-weight: 520;
    font-size: clamp(4rem, 6.6vw, 7rem);
    border-top: 3px solid var(--ab-ink);
    padding-top: 0.5rem;
  }
  .exhibition .case-hero h1 {
    font-family: Georgia, serif;
    font-weight: 520;
  }
}
@media (max-width: 800px) {
  .instrument .case-hero {
    border-top: 6px solid #53776e;
  }
  .atlas .case-hero {
    border-top: 6px solid #87976a;
  }
  .studio .case-hero {
    border-top: 6px solid #e8be33;
  }
  .folio .case-hero h1,
  .ledger .case-hero h1 {
    font-family: Georgia, serif;
  }
  .ledger .case-hero h1 {
    font-weight: 500;
  }
}
.still img {
  display: block;
  max-height: 420px;
  object-fit: contain;
  background: var(--ab-surface);
}

.portal .case-actions .launch {
  color: #181914;
}
.portal .case-actions .launch:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
