/* The whole reset. Each panel sets its own spacing, because the panels stack at different widths
   and a shared vertical rhythm would flatten the one thing this page is for. */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --linen: #f2ece4;
  --ink: #2a211c;
  --oxide: #a8492b;
  --slate: #35535e;
  --surface: #fbf7f1;

  --oxide-ink: #8e3c23;   /* oxide dark enough to set small text in */
  --quiet: #584a42;       /* secondary ink */
  --card: #efe6da;        /* card ground */
  --hair: #cdbfae;        /* hairline */
  --hair-soft: #dfd4c5;

  --night: #1f2a2e;       /* the inverted ground */
  --unit: #2f4b54;        /* a filled rack unit */
  --unit-panel: #7a3822;  /* the patch panel unit */
  --night-ink: #f2ece4;
  --night-quiet: #b9d4db;
  --night-warm: #e9c9b4;
  --night-rule: #5d838d;
  --cord: #d9825f;

  --head: 'Archivo', 'Arial Narrow', system-ui, sans-serif;
  --body: 'Source Serif 4', Georgia, 'Times New Roman', serif;

  --gut: clamp(1.15rem, 4.4vw, 2.6rem);
  --slabRow: 2.55rem;
  --hairline: 1px solid var(--hair);
  --etch: repeating-linear-gradient(
            180deg,
            rgba(42, 33, 28, .055) 0 1px,
            rgba(42, 33, 28, 0) 1px 7px);
  --etch-night: repeating-linear-gradient(
            180deg,
            rgba(242, 236, 228, .07) 0 1px,
            rgba(242, 236, 228, 0) 1px 9px);
}

html { -webkit-text-size-adjust: 100%; }

body.doc {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(1.02rem, .97rem + .28vw, 1.16rem);
  line-height: 1.62;
  font-synthesis-weight: none;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--head);
  font-weight: 700;
  letter-spacing: -.012em;
  line-height: 1.11;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 .85em; }
p:last-child { margin-bottom: 0; }
img { max-width: 100%; display: block; }
b, strong { font-weight: 600; }
i { font-style: italic; }

a { color: var(--oxide-ink); text-decoration-thickness: 1px; text-underline-offset: .17em; }
a:hover { color: var(--ink); }
a { transition: color 170ms ease, text-decoration-color 170ms ease; }

:focus-visible {
  outline: 2px solid var(--oxide);
  outline-offset: 3px;
  border-radius: 1px;
}

.jump {
  position: absolute;
  left: .5rem;
  top: -4rem;
  z-index: 40;
  background: var(--ink);
  color: var(--linen);
  font-family: var(--head);
  font-size: .82rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .6rem 1rem;
  text-decoration: none;
  transition: top 160ms ease;
}
.jump:focus { top: .5rem; color: var(--linen); }

/* ---------------------------------------------------------------- masthead */

.topline {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  padding: 1.1rem var(--gut) .9rem;
  border-bottom: 2px solid var(--ink);
  background: var(--linen);
}

.sig {
  font-family: var(--head);
  font-size: clamp(1.02rem, .95rem + .5vw, 1.3rem);
  letter-spacing: .12em;
  text-decoration: none;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
  gap: .42em;
  width: max-content;
  transition: letter-spacing 220ms ease, color 170ms ease;
}
.sig:hover { letter-spacing: .155em; color: var(--ink); }
.sig__suffix {
  font-size: .62em;
  letter-spacing: .2em;
  color: var(--oxide-ink);
  border: 1px solid var(--oxide-ink);
  padding: .14em .42em .1em;
  transition: background-color 180ms ease, color 180ms ease;
}
.sig:hover .sig__suffix { background: var(--oxide-ink); color: var(--linen); }

/* ----------------------------------------------------- breadcrumb and tree */

.crumb { font-family: var(--head); font-size: .79rem; }

.crumb__trail {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .44em;
  letter-spacing: .085em;
  text-transform: uppercase;
  color: var(--quiet);
}
.crumb__root { color: var(--quiet); }
.crumb__sep { color: var(--hair); }
.crumb__here { color: var(--ink); }

.crumb__toggle {
  font: inherit;
  letter-spacing: .085em;
  text-transform: uppercase;
  color: var(--oxide-ink);
  background: none;
  border: 0;
  border-bottom: 1px solid var(--oxide-ink);
  padding: .18em 0 .1em;
  margin-left: .4em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .4em;
  transition: color 170ms ease, border-color 170ms ease;
}
.crumb__toggle:hover { color: var(--ink); border-color: var(--ink); }
.crumb__toggle[hidden] { display: none; }

.crumb__caret {
  width: .5em;
  height: .5em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-.06em, -.06em);
  transition: transform 220ms cubic-bezier(.4, 0, .2, 1);
}
.crumb__toggle[aria-expanded="true"] .crumb__caret {
  transform: rotate(-135deg) translate(-.1em, -.1em);
}

.tree { padding-top: .55rem; }
.tree[hidden] { display: none; }
.tree__branch, .tree__sub { list-style: none; margin: 0; padding: 0; }
.tree__sub { margin-left: .9rem; border-left: var(--hairline); padding-left: .95rem; }
.tree__twig { position: relative; padding: .17rem 0; }
.tree__sub > .tree__twig::before {
  content: "";
  position: absolute;
  left: -.95rem;
  top: 1.02em;
  width: .62rem;
  height: 1px;
  background: var(--hair);
}
.tree__link {
  font-family: var(--head);
  font-size: .8rem;
  letter-spacing: .055em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  display: inline-block;
  padding: .12em 0;
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease, color 180ms ease, padding-left 180ms ease;
}
.tree__link:hover { color: var(--oxide-ink); border-bottom-color: var(--oxide-ink); padding-left: .2em; }
.tree__link--root { color: var(--oxide-ink); }
.tree__link[aria-current="page"] { border-bottom-color: var(--oxide); }

@media (min-width: 52rem) {
  .topline {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    padding-top: 1.5rem;
  }
  .crumb { text-align: right; max-width: 30rem; }
  .crumb__trail { justify-content: flex-end; }
  .tree__branch { display: inline-block; text-align: left; }
}

/* -------------------------------------------------------------------- main */

.report { display: block; }

/* padding-BLOCK only. As the `padding` shorthand this rule set the inline padding to nought as
   well, and beat every panel's own `padding-left` on specificity, so three panels quietly lost
   their gutter and sat against the window edge. */
.report > section { padding-block: clamp(2.6rem, 6.5vw, 4.6rem); }
.report > section + section { border-top: var(--hairline); }
.report > .front { padding-block-start: clamp(1.6rem, 4vw, 2.6rem); }
.report > .expanse { padding-block: 0; }
.report > .strip,
.report > .invert { border-top: 2px solid var(--ink); }

/* ------------------------------------------------- 1 / opener, inset plate */

.front__head { position: relative; padding: 0 var(--gut); }

.front__plate {
  margin: 0;
  position: relative;
  border: 1px solid var(--hair);
  background: var(--card);
}
.front__plate img {
  width: 100%;
  height: clamp(190px, 46vw, 300px);
  object-fit: cover;
  object-position: 68% 48%;
}
.front__plate::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(176deg,
      rgba(242, 236, 228, .80) 0%,
      rgba(242, 236, 228, .34) 38%,
      rgba(242, 236, 228, 0) 70%);
}
.front__credit {
  position: relative;
  z-index: 2;
  font-family: var(--head);
  font-size: .68rem;
  letter-spacing: .055em;
  text-transform: uppercase;
  color: var(--quiet);
  background: var(--linen);
  border-top: 1px solid var(--hair);
  padding: .5rem .85rem;
  line-height: 1.45;
}

.front__text { position: relative; z-index: 2; padding-top: 1.7rem; }

.front__kicker {
  font-family: var(--head);
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0 0 1rem;
  padding-left: 1.05rem;
  border-left: 3px solid var(--oxide);
  line-height: 1.5;
}

.front__title {
  font-size: clamp(1.86rem, 1.1rem + 3.5vw, 3.45rem);
  max-width: 17ch;
  margin-bottom: 1.05rem;
}

.front__standfirst {
  font-size: clamp(1.03rem, .98rem + .42vw, 1.2rem);
  max-width: 44ch;
  color: var(--ink);
}

@media (min-width: 62rem) {
  .front__head { display: grid; grid-template-columns: minmax(0, 1fr); }
  .front__head > * { grid-area: 1 / 1; }
  .front__plate { align-self: stretch; }
  .front__plate img { height: clamp(430px, 36vw, 540px); object-fit: cover; object-position: 50% 46%; }
  .front__plate::after {
    background: linear-gradient(97deg,
        rgba(242, 236, 228, .975) 0%,
        rgba(242, 236, 228, .955) 30%,
        rgba(242, 236, 228, .62) 46%,
        rgba(242, 236, 228, .06) 59%,
        rgba(242, 236, 228, 0) 67%);
  }
  .front__credit {
    position: absolute;
    right: 0;
    bottom: 0;
    left: auto;
    max-width: 24rem;
    border: 1px solid var(--hair);
    border-right: 0;
    border-bottom: 0;
  }
  .front__text {
    padding: clamp(2rem, 3.4vw, 3rem) 2rem clamp(2rem, 3.4vw, 3rem) clamp(1.6rem, 3vw, 2.8rem);
    width: 54%;
    max-width: 36rem;
    align-self: center;
  }
  .front__title { font-size: clamp(2.1rem, 1.2rem + 2.1vw, 3.1rem); }
}

/* ------------------------------------------------------- the index slab */

.slab {
  margin: clamp(1.8rem, 4vw, 2.9rem) var(--gut) 0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--surface);
  background-image: var(--etch);
}

.slab__caption {
  font-family: var(--head);
  font-size: .72rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--quiet);
  margin: 0;
  padding: .72rem .95rem .62rem;
  border-bottom: var(--hairline);
}

.slab__list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: none;
}
.slab__row + .slab__row { border-top: 1px solid var(--hair-soft); }

.slab__link {
  display: grid;
  grid-template-columns: 2.9rem minmax(0, 1fr);
  grid-template-areas: "folio name" "folio tag";
  align-items: baseline;
  gap: 0 .25rem;
  min-height: var(--slabRow);
  padding: .52rem .95rem .56rem;
  text-decoration: none;
  color: var(--ink);
  position: relative;
  transition: background-color 160ms ease, padding-left 190ms cubic-bezier(.4, 0, .2, 1);
}
.slab__link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--oxide);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform 210ms cubic-bezier(.4, 0, .2, 1);
}
.slab__link:hover { background: var(--card); padding-left: 1.3rem; color: var(--ink); }
.slab__link:hover::before { transform: scaleY(1); }

.slab__folio {
  grid-area: folio;
  font-family: var(--head);
  font-size: 1.02rem;
  letter-spacing: .04em;
  color: var(--oxide-ink);
  font-variant-numeric: tabular-nums;
}
.slab__name {
  grid-area: name;
  font-size: 1rem;
  line-height: 1.34;
}
.slab__tag {
  grid-area: tag;
  font-family: var(--head);
  font-size: .64rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--quiet);
}

@media (min-width: 46rem) {
  .slab__link {
    grid-template-columns: 3.4rem minmax(0, 1fr) 7.5rem;
    grid-template-areas: "folio name tag";
    align-items: center;
    gap: 0 1rem;
  }
  .slab__tag { text-align: right; }
  .slab__name { font-size: 1.06rem; }
}
@media (min-width: 62rem) {
  .slab { margin-left: var(--gut); margin-right: var(--gut); }
  .slab__caption { padding-left: 1.4rem; }
  .slab__link { padding-left: 1.4rem; padding-right: 1.4rem; }
  .slab__link:hover { padding-left: 1.75rem; }
}

/* --------------------------------------------- entries, margin numerals */

.entry { margin: 0; }

.entry__title {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .3rem;
  font-size: clamp(1.32rem, 1.05rem + 1.15vw, 2rem);
  margin-bottom: 1rem;
  max-width: 26ch;
}
.entry__title--sub { font-size: clamp(1.14rem, 1rem + .6vw, 1.42rem); max-width: 30ch; }

.entry__folio {
  font-family: var(--head);
  font-size: .95em;
  color: var(--oxide);
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.entry__prose { max-width: 60ch; }

@media (min-width: 58rem) {
  .entry__title {
    grid-template-columns: 4.4rem minmax(0, 1fr);
    gap: 0 1.1rem;
    align-items: start;
    max-width: 30ch;
  }
  .entry__folio {
    font-size: clamp(1.6rem, 1rem + 1.4vw, 2.4rem);
    text-align: right;
    padding-top: .04em;
    line-height: .95;
  }
  .entry__title--sub { grid-template-columns: 2.9rem minmax(0, 1fr); gap: 0 .8rem; }
  .entry__title--sub .entry__folio { font-size: 1.32rem; }
}

/* ------------------------------------------- 2 / full-bleed band, strips */

.strip {
  background: var(--card);
  background-image: var(--etch);
  border-bottom: 2px solid var(--ink);
  padding-inline: var(--gut);
}
.strip .entry { max-width: 54rem; margin: 0 auto; }

.strip__passes {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--hair);
  border: 1px solid var(--hair);
}
/* Plain inline flow, not flex: as a wrapping flex row the em dash became a flex item of its
   own and was left stranded at the end of the line when the sentence wrapped past it. */
.strip__pass {
  background: var(--surface);
  padding: .72rem .95rem;
  font-size: .97rem;
  transition: background-color 180ms ease, transform 200ms cubic-bezier(.4, 0, .2, 1);
}
.strip__pass:hover { background: var(--linen); transform: translateX(4px); }
.strip__dash { margin: 0 .35em; color: var(--hair); }
.strip__pass b {
  font-family: var(--head);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--oxide-ink);
}

@media (min-width: 50rem) {
  .strip__passes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 74rem) {
  .strip__passes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .strip__pass { display: flex; flex-direction: column; gap: .3rem; }
  .strip__dash { display: none; }
}

/* ------------------------------------------------------ 3 / the card grid */

.assort { padding-inline: var(--gut); }
.assort .entry { max-width: 72rem; margin: 0 auto; }

.assort__set {
  margin-top: 1.8rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr);
}
.assort__item {
  background: var(--surface);
  border: 1px solid var(--hair);
  border-top: 3px solid var(--oxide);
  padding: 1.1rem 1.1rem 1.2rem;
  transition: border-top-color 200ms ease, box-shadow 220ms ease, transform 220ms cubic-bezier(.4, 0, .2, 1);
}
.assort__item:hover {
  border-top-color: var(--slate);
  box-shadow: 0 2px 0 var(--hair), 0 10px 22px -16px rgba(42, 33, 28, .5);
  transform: translateY(-3px);
}
.assort__name {
  font-size: 1.04rem;
  letter-spacing: .02em;
  margin: .6rem 0 .45rem;
}
.assort__line { font-size: .94rem; line-height: 1.55; color: var(--ink); margin: 0; }

.glyph { width: 26px; height: 26px; display: block; }
.glyph__box, .glyph__run, .glyph__ring {
  fill: none;
  stroke: var(--oxide-ink);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.glyph__dot { fill: var(--slate); }
.assort__item:hover .glyph__box,
.assort__item:hover .glyph__run,
.assort__item:hover .glyph__ring { stroke: var(--slate); }
.glyph__box, .glyph__run, .glyph__ring { transition: stroke 200ms ease; }

@media (min-width: 40rem) { .assort__set { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 70rem) { .assort__set { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .8rem; } }

/* --------------------------------------- 4 / dark inversion, rack elevation */

.invert {
  background: var(--night);
  background-image: var(--etch-night);
  color: var(--night-ink);
  border-bottom: 2px solid var(--ink);
  padding-inline: var(--gut);
  position: relative;
  overflow: hidden;
}
.invert::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto auto;
  width: 46rem;
  height: 46rem;
  border-radius: 50%;
  border: 1px solid rgba(185, 212, 219, .16);
  box-shadow:
    0 0 0 3.5rem rgba(185, 212, 219, .055),
    0 0 0 7rem rgba(185, 212, 219, .04),
    0 0 0 10.5rem rgba(185, 212, 219, .028);
  pointer-events: none;
}
.invert .entry { position: relative; max-width: 72rem; margin: 0 auto; }
.invert .entry__folio { color: var(--night-warm); }
.invert .entry__prose { color: var(--night-ink); max-width: 46ch; }

.elev { margin: 1.9rem 0 0; }
.elev__svg {
  width: 100%;
  max-width: 24rem;
  height: auto;
  display: block;
}
.elev__frame { fill: none; stroke: var(--night-rule); stroke-width: 2; }
.elev__rail { stroke: var(--night-rule); stroke-width: 1; stroke-dasharray: 2 6; }
.elev__fill { fill: var(--unit); stroke: var(--night-rule); stroke-width: 1; }
.elev__fill--panel { fill: var(--unit-panel); stroke: var(--cord); }
.elev__void { fill: none; stroke: var(--night-rule); stroke-width: 1; stroke-dasharray: 4 4; }
.elev__label {
  fill: var(--night-ink);
  font-family: var(--head);
  font-size: 13px;
  letter-spacing: .02em;
}
.elev__spare {
  fill: var(--night-quiet);
  font-family: var(--head);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.elev__mark {
  fill: var(--night-quiet);
  font-family: var(--head);
  font-size: 12px;
  text-anchor: end;
  font-variant-numeric: tabular-nums;
}
.elev__run {
  fill: none;
  stroke: var(--cord);
  stroke-width: 2.5;
  stroke-linecap: round;
}

.elev__caption {
  font-family: var(--head);
  font-size: .72rem;
  letter-spacing: .055em;
  text-transform: uppercase;
  color: var(--night-quiet);
  line-height: 1.5;
  margin-top: .9rem;
  max-width: 32rem;
  border-left: 2px solid var(--cord);
  padding-left: .8rem;
}

.elev__controls { margin: 1.3rem 0 0; }
.elev__replay {
  font-family: var(--head);
  font-size: .76rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--night-ink);
  background: transparent;
  border: 1px solid var(--night-rule);
  padding: .62rem 1.1rem;
  cursor: pointer;
  transition: background-color 190ms ease, color 190ms ease, border-color 190ms ease;
}
.elev__replay:hover { background: var(--night-ink); color: var(--night); border-color: var(--night-ink); }

@media (min-width: 62rem) {
  .invert .entry {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 25rem;
    grid-template-areas: "head rack" "prose rack" "ctrl rack";
    grid-template-rows: auto auto 1fr;
    column-gap: clamp(2rem, 4vw, 4rem);
    align-content: start;
  }
  .invert .entry__title { grid-area: head; }
  .invert .entry__prose { grid-area: prose; }
  .elev { grid-area: rack; margin-top: 0; }
  .elev__controls { grid-area: ctrl; align-self: start; margin-top: 1.6rem; }
  .elev__svg { max-width: none; }
}

/* ------------------------------------------------------ 5 / the wide figure */

.expanse__fig { margin: 0; position: relative; }
.expanse__fig img {
  width: 100%;
  height: clamp(200px, 30vw, 400px);
  object-fit: cover;
  object-position: 50% 58%;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--hair);
}
.expanse__credit {
  font-family: var(--head);
  font-size: .68rem;
  letter-spacing: .055em;
  text-transform: uppercase;
  color: var(--quiet);
  padding: .6rem var(--gut) .7rem;
  background: var(--card);
  border-bottom: var(--hairline);
  line-height: 1.5;
}
.expanse .entry {
  padding: clamp(2.2rem, 5vw, 3.4rem) var(--gut) clamp(2.6rem, 6vw, 4.2rem);
  max-width: 62rem;
}
.expanse__onward { margin-top: 1.4rem; }

@media (min-width: 62rem) {
  .expanse .entry { margin-left: clamp(2rem, 9vw, 9rem); }
}

/* -------------------------------------------------------- 6 / the pull quote */

.maxim {
  padding-inline: var(--gut);
  background:
    linear-gradient(var(--linen), var(--linen)) padding-box,
    var(--etch) border-box;
}
.maxim .entry { max-width: 44rem; margin: 0 auto; }

.maxim__quote {
  margin: 1.7rem 0;
  padding: 1.5rem 0 1.5rem 1.6rem;
  border-left: 4px solid var(--oxide);
  position: relative;
}
.maxim__quote::before {
  content: "";
  position: absolute;
  left: 1.6rem;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--hair);
}
.maxim__quote::after {
  content: "";
  position: absolute;
  left: 1.6rem;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--hair);
}
.maxim__line {
  font-family: var(--body);
  font-size: clamp(1.2rem, 1rem + 1.25vw, 1.72rem);
  line-height: 1.35;
  font-style: italic;
  margin: 0;
  color: var(--ink);
  text-wrap: pretty;
}

@media (min-width: 58rem) {
  .maxim .entry { max-width: 52rem; }
  .maxim__quote { margin-left: 5.5rem; }
}

/* -------------------------------------------------------- 7 / offset split */

.offsetrow { padding-inline: var(--gut); }
.offsetrow > .entry { max-width: 46rem; }
.offsetrow .gauge { margin-top: 1.9rem; }

@media (min-width: 64rem) {
  .offsetrow {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
    column-gap: clamp(2rem, 4.5vw, 4.5rem);
    align-items: start;
  }
  .offsetrow > .entry { padding-top: 1.6rem; max-width: 34rem; }
  .offsetrow .gauge { margin-top: 0; transform: translateY(-1.3rem); }
}

/* ---------------------------------------------------------- 8 / figure pair */

.twin { padding-inline: var(--gut); }
.twin__head {
  font-size: clamp(1.1rem, .98rem + .6vw, 1.4rem);
  color: var(--quiet);
  max-width: 34ch;
  margin-bottom: 1.8rem;
  padding-bottom: .9rem;
  border-bottom: 2px solid var(--ink);
}
.twin__half + .twin__half { margin-top: 2.6rem; }

.twin__fig {
  margin: 1.1rem 0;
  background: var(--surface);
  border: 1px solid var(--hair);
  padding: .9rem .9rem .2rem;
}
.twin__svg { width: 100%; height: auto; display: block; }
.twin__plate { fill: var(--card); stroke: var(--ink); stroke-width: 1.2; }
.twin__num {
  fill: var(--ink);
  font-family: var(--head);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.twin__cap {
  fill: var(--quiet);
  font-family: var(--head);
  font-size: 11px;
  letter-spacing: .07em;
  text-transform: uppercase;
}
/* Anchored to the plate's right edge: set from the left it ran past the viewBox and was
   clipped by the SVG's own overflow, which no gate here can see. */
.twin__cap--end { text-anchor: end; }
.twin__cord { fill: none; stroke: var(--oxide); stroke-width: 2.4; stroke-linecap: round; }
.twin__tick { fill: none; stroke: var(--slate); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.twin__rule { stroke: var(--hair); stroke-width: 1; }
.twin__owned { fill: var(--slate); }
.twin__open { fill: none; stroke: var(--oxide); stroke-width: 2; stroke-dasharray: 3 3; }
.twin__bar { fill: var(--card); stroke: var(--hair); stroke-width: 1; }
.twin__bar--open { fill: none; stroke: var(--oxide); stroke-dasharray: 4 3; }

.twin__caption {
  font-family: var(--head);
  font-size: .7rem;
  letter-spacing: .055em;
  text-transform: uppercase;
  color: var(--quiet);
  border-top: 1px solid var(--hair);
  margin-top: .7rem;
  padding: .55rem 0 .6rem;
  line-height: 1.5;
}

@media (min-width: 60rem) {
  .twin {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(2rem, 4vw, 3.6rem);
  }
  .twin__head { grid-column: 1 / -1; }
  .twin__half + .twin__half { margin-top: 0; }
}

/* ---------------------------------------------------------- 9 / step chain */

.ladder { padding-inline: var(--gut); }
.ladder > .entry { max-width: 50rem; }

.ladder__steps {
  list-style: none;
  counter-reset: rung;
  margin: 1.6rem 0 0;
  padding: 0 0 0 1.5rem;
  border-left: 2px solid var(--hair);
}
.ladder__step {
  counter-increment: rung;
  position: relative;
  padding: .55rem 0 .9rem;
  font-size: .99rem;
  max-width: 52ch;
}
.ladder__step::before {
  content: counter(rung, decimal-leading-zero);
  font-family: var(--head);
  font-size: .72rem;
  letter-spacing: .12em;
  color: var(--oxide-ink);
  display: block;
  margin-bottom: .18rem;
}
.ladder__rung {
  position: absolute;
  left: -1.5rem;
  top: 1.05rem;
  width: 1rem;
  height: 2px;
  background: var(--oxide);
  transform-origin: 0 50%;
  transition: width 200ms cubic-bezier(.4, 0, .2, 1), background-color 200ms ease;
}
.ladder__step:hover .ladder__rung { width: 1.4rem; background: var(--slate); }
.ladder__onward { margin-top: 1.5rem; }
.ladder .gauge { margin-top: 2.2rem; }

@media (min-width: 66rem) {
  .ladder {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 26rem;
    column-gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
  }
  .ladder .gauge { margin-top: 0; position: sticky; top: 1.4rem; }
}

/* ----------------------------------------------------------- the two gauges */

.gauge {
  border: 1px solid var(--ink);
  background: var(--surface);
}
.gauge__head {
  font-size: .82rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--linen);
  background: var(--ink);
  margin: 0;
  padding: .66rem .95rem .6rem;
}
.gauge__form {
  padding: 1rem .95rem .3rem;
  display: grid;
  gap: .75rem;
}
.gauge__field { margin: 0; display: grid; gap: .3rem; }
.gauge__name {
  font-family: var(--head);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--quiet);
}
.gauge__input {
  font: inherit;
  font-family: var(--head);
  font-size: 1.04rem;
  color: var(--ink);
  background: var(--linen);
  border: 1px solid var(--hair);
  border-bottom: 2px solid var(--slate);
  padding: .48rem .6rem;
  width: 100%;
  min-height: 2.6rem;
  transition: border-color 170ms ease, background-color 170ms ease;
}
.gauge__input:hover { border-color: var(--quiet); }
.gauge__input:focus { background: var(--surface); border-bottom-color: var(--oxide); }

.gauge__read { width: 100%; border-collapse: collapse; margin-top: .9rem; font-size: .95rem; }
.gauge__caption {
  font-family: var(--head);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--quiet);
  text-align: left;
  padding: 0 .95rem .45rem;
}
.gauge__read th,
.gauge__read td {
  text-align: left;
  padding: .55rem .95rem;
  border-top: 1px solid var(--hair-soft);
  vertical-align: baseline;
}
.gauge__read th {
  font-family: var(--head);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .085em;
  text-transform: uppercase;
  color: var(--quiet);
  width: 11rem;
}
.gauge__read b { font-family: var(--head); font-weight: 700; color: var(--oxide-ink); font-size: .98em; }

.gauge__read--list { display: block; margin: .9rem 0 0; }
.gauge__step {
  display: grid;
  gap: .12rem;
  padding: .6rem .95rem;
  border-top: 1px solid var(--hair-soft);
  transition: background-color 170ms ease;
}
.gauge__step:hover { background: var(--card); }
.gauge__step dt {
  font-family: var(--head);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--quiet);
}
.gauge__step dd { margin: 0; font-size: .96rem; }

.gauge__note {
  font-family: var(--head);
  font-size: .68rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--quiet);
  margin: 0;
  padding: .7rem .95rem .75rem;
  border-top: 1px solid var(--hair);
  background: var(--card);
  line-height: 1.5;
}
.gauge__flag { color: var(--oxide-ink); font-style: italic; text-transform: none; letter-spacing: 0; font-family: var(--body); }

@media (min-width: 40rem) {
  .gauge--ports .gauge__form { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gauge--coverage .gauge__form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* -------------------------------------------------------------- onward link */

.nextpage {
  font-family: var(--head);
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--oxide-ink);
  border-bottom: 2px solid var(--oxide);
  padding-bottom: .22em;
  display: inline-block;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms cubic-bezier(.4, 0, .2, 1);
}
.nextpage:hover { color: var(--ink); border-color: var(--ink); transform: translateX(4px); }

/* -------------------------------------------------------------- colophon */

.colophon {
  border-top: 2px solid var(--ink);
  background: var(--card);
  background-image: var(--etch);
  padding: clamp(1.9rem, 5vw, 3rem) var(--gut) clamp(2.2rem, 5vw, 3.2rem);
  display: grid;
  gap: 1.7rem;
}
.colophon__name {
  font-family: var(--head);
  font-size: 1.04rem;
  letter-spacing: .13em;
  margin: 0 0 .7rem;
}
.colophon__line { font-size: .92rem; line-height: 1.6; margin: 0 0 .35rem; max-width: 56ch; color: var(--ink); }
.colophon__line--mail { margin-top: .7rem; }
.colophon__mail {
  font-family: var(--head);
  font-size: .95rem;
  letter-spacing: .03em;
  border-bottom: 1px solid var(--oxide);
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}
.colophon__mail:hover { background: var(--oxide); color: var(--surface); }

/* "D-U-N-S" broke after the first hyphen, leaving a lone "D-" at the line end. */
.nb { white-space: nowrap; }

.colophon__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.colophon__list a {
  font-family: var(--head);
  font-size: .76rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: border-color 170ms ease, color 170ms ease;
}
.colophon__list a:hover { color: var(--oxide-ink); border-bottom-color: var(--oxide-ink); }

@media (min-width: 54rem) {
  .colophon { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 2.6rem; }
  .colophon__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem 1.2rem; }
}

/* ------------------------------------------------------------- inner pages */

.leaf { padding: clamp(2rem, 5vw, 3.4rem) var(--gut) clamp(2.6rem, 6vw, 4rem); max-width: 56rem; }
.leaf__kicker {
  font-family: var(--head);
  font-size: .72rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0 0 .85rem;
}
.leaf__title {
  font-size: clamp(1.68rem, 1.15rem + 2.1vw, 2.65rem);
  max-width: 20ch;
  margin-bottom: 1rem;
}
.leaf__standfirst {
  font-size: clamp(1.02rem, .97rem + .4vw, 1.17rem);
  max-width: 50ch;
  padding-bottom: 1.3rem;
  border-bottom: 2px solid var(--ink);
}
.leaf__sect { margin-top: 2.1rem; max-width: 62ch; }
.leaf__h {
  font-size: clamp(1.14rem, 1rem + .7vw, 1.45rem);
  margin-bottom: .75rem;
  padding-left: .9rem;
  border-left: 3px solid var(--oxide);
}
.leaf__rows { list-style: none; margin: 1.1rem 0 0; padding: 0; border-top: 1px solid var(--hair); }
.leaf__row {
  border-bottom: 1px solid var(--hair);
  padding: .68rem 0 .72rem;
  display: grid;
  gap: .2rem;
  transition: padding-left 180ms cubic-bezier(.4, 0, .2, 1), background-color 180ms ease;
}
.leaf__row:hover { padding-left: .55rem; background: var(--surface); }
.leaf__key {
  font-family: var(--head);
  font-size: .71rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--oxide-ink);
}
.leaf__val { font-size: .98rem; margin: 0; }
.leaf__facts {
  margin-top: 2.2rem;
  border: 1px solid var(--ink);
  background: var(--surface);
  padding: 1.1rem 1.1rem 1.2rem;
}
.leaf__facts dl { margin: 0; display: grid; gap: .55rem; }
.leaf__facts dt {
  font-family: var(--head);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--quiet);
}
.leaf__facts dd { margin: 0 0 .25rem; font-size: .96rem; }
.leaf__onward { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; }

@media (min-width: 50rem) {
  .leaf__facts dl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem 1.6rem; }
}
@media (min-width: 64rem) {
  .leaf { margin-left: clamp(0rem, 4vw, 4rem); }
  .leaf__sect { padding-left: 2.2rem; }
  .leaf__h { margin-left: -2.2rem; }
}

/* ------------------------------------------------------------- motion */

@keyframes panelEnter {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

@keyframes slabRowIn {
  from { opacity: 0; transform: translateX(-10px); }
  to   { opacity: 1; transform: none; }
}

@keyframes unitRise {
  from { opacity: 0; transform: translateY(16px) scaleY(.4); }
  to   { opacity: 1; transform: none; }
}

@keyframes runDraw {
  from { stroke-dashoffset: 260; }
  to   { stroke-dashoffset: 0; }
}

@keyframes markFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.enter { animation: panelEnter 620ms cubic-bezier(.22, .61, .36, 1) both; }
.enter--1 { animation-delay: 40ms; }
.enter--2 { animation-delay: 110ms; }
.enter--3 { animation-delay: 165ms; }
.enter--4 { animation-delay: 215ms; }
.enter--5 { animation-delay: 260ms; }
.enter--6 { animation-delay: 300ms; }
.enter--7 { animation-delay: 335ms; }
.enter--8 { animation-delay: 365ms; }
.enter--9 { animation-delay: 390ms; }

.slab__row { animation: slabRowIn 460ms cubic-bezier(.22, .61, .36, 1) both; }
.slab__row:nth-child(1) { animation-delay: 240ms; }
.slab__row:nth-child(2) { animation-delay: 290ms; }
.slab__row:nth-child(3) { animation-delay: 340ms; }
.slab__row:nth-child(4) { animation-delay: 390ms; }
.slab__row:nth-child(5) { animation-delay: 440ms; }
.slab__row:nth-child(6) { animation-delay: 490ms; }
.slab__row:nth-child(7) { animation-delay: 540ms; }
.slab__row:nth-child(8) { animation-delay: 590ms; }
.slab__row:nth-child(9) { animation-delay: 640ms; }

/* The rack fills from the bottom unit upwards, and the patch runs are traced last. */
.elev__u { animation: unitRise 520ms cubic-bezier(.22, .61, .36, 1) both; transform-origin: 50% 100%; }
.elev__u--1  { animation-delay: 300ms; }
.elev__u--2  { animation-delay: 362ms; }
.elev__u--3  { animation-delay: 424ms; }
.elev__u--4  { animation-delay: 486ms; }
.elev__u--5  { animation-delay: 548ms; }
.elev__u--6  { animation-delay: 610ms; }
.elev__u--7  { animation-delay: 672ms; }
.elev__u--8  { animation-delay: 734ms; }
.elev__u--9  { animation-delay: 796ms; }
.elev__u--10 { animation-delay: 858ms; }
.elev__u--11 { animation-delay: 920ms; }
.elev__u--12 { animation-delay: 982ms; }

.elev__run { stroke-dasharray: 260; animation: runDraw 760ms cubic-bezier(.4, 0, .2, 1) both; }
.elev__run--a { animation-delay: 1500ms; }
.elev__run--b { animation-delay: 1640ms; }

.elev__frame, .elev__rail { animation: markFade 420ms ease both; animation-delay: 180ms; }

/* Replay: the class is removed and re-added after a reflow, which restarts every delay above. */
.elev--redraw .elev__u,
.elev--redraw .elev__run,
.elev--redraw .elev__frame,
.elev--redraw .elev__rail { animation: none; }

@media (prefers-reduced-motion: reduce) {
  /* The elevation LANDS: units, runs and frame are drawn complete, never shortened. */
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }
  .enter,
  .slab__row,
  .elev__u { opacity: 1; transform: none; animation: none; }
  .elev__frame, .elev__rail { opacity: 1; animation: none; }
  .elev__run { stroke-dasharray: none; stroke-dashoffset: 0; animation: none; }
  .elev--redraw .elev__run { stroke-dashoffset: 0; }
  .slab__link:hover, .strip__pass:hover, .assort__item:hover,
  .nextpage:hover, .leaf__row:hover { transform: none; }
}

@media print {
  .jump, .crumb__toggle, .elev__controls, .gauge__input { display: none; }
  body.doc { background: #ffffff; color: #000000; font-size: 11pt; }
  .invert { background: #ffffff; color: #000000; }
  .enter, .slab__row, .elev__u { animation: none; opacity: 1; transform: none; }
  .report > section { break-inside: avoid; }
}
