/* Plotline weekly digest. The same sign, paper and survey tape as
   plotlinebc.ca: an overcast field, white sheets, black lettering, and pink
   only where the record flags something (the current stage, a change this
   week). Two typefaces from the reader's own system; no web fonts, no
   scripts, no inline styles (the server's CSP allows none of them). */

:root {
  --field: #d5dee2;      /* overcast: the page */
  --paper: #ffffff;      /* sign face and paper */
  --ink: #000000;        /* lettering, rules */
  --tape: #ff3d8b;       /* survey flagging tape: anything flagged */
  --steel: #46535a;      /* posts, secondary text */
  --rule-soft: #b9c5ca;  /* the blanks on a form */

  --font-sign: "DIN Condensed", "Bahnschrift", "Roboto Condensed", "Nimbus Sans Narrow",
    "Liberation Sans Narrow", "Arial Narrow", "Helvetica Neue", sans-serif-condensed, sans-serif;
  --font-text: Charter, "Bitstream Charter", "Iowan Old Style", "Sitka Text", Cambria,
    Georgia, "Noto Serif", C059, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--field);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-sign);
  font-stretch: condensed;
  font-weight: 700;
  line-height: 1.05;
  text-wrap: balance;
}

p,
ul,
ol,
table {
  margin: 0;
}

a {
  color: inherit;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

[id] {
  scroll-margin-top: 1rem;
}

.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.shell {
  width: min(100% - 2rem, 68rem);
  margin-inline: auto;
}

.skip {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 10;
  padding: 0.6rem 1rem 0.5rem;
  background: var(--tape);
  color: var(--ink);
  border: 2px solid var(--ink);
  font-family: var(--font-sign);
  font-stretch: condensed;
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip:focus {
  transform: none;
}

/* Header: the same bar as plotlinebc.ca */

.top__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ink);
  text-decoration: none;
}

.brand__mark {
  width: 1.75rem;
  height: 1.75rem;
  flex: none;
}

.brand__lot {
  fill: var(--paper);
  stroke: var(--ink);
  stroke-width: 3;
}

.brand__pin {
  fill: var(--tape);
  stroke: var(--ink);
  stroke-width: 2;
}

.brand__name {
  font-family: var(--font-sign);
  font-stretch: condensed;
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1;
  padding-top: 0.1em;
}

.brand__sub {
  margin-left: 0.2rem;
  padding: 0.15em 0 0 0.6rem;
  border-left: 2px solid var(--ink);
  color: var(--steel);
  font-family: var(--font-sign);
  font-stretch: condensed;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav__link {
  display: none;
  font-family: var(--font-sign);
  font-stretch: condensed;
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
}

.nav__link:hover {
  text-decoration: underline;
}

.nav__cta {
  padding: 0.55rem 0.85rem 0.45rem;
  background: var(--tape);
  border: 2px solid var(--ink);
  font-family: var(--font-sign);
  font-stretch: condensed;
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
}

.nav__cta:hover {
  background: var(--ink);
  color: var(--paper);
}

.page {
  padding-bottom: 4.5rem;
}

.crumbs {
  padding-bottom: 0.75rem;
  font-family: var(--font-sign);
  font-stretch: condensed;
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.2;
}

/* The sign: masthead of every issue and of the index */

.mast,
.record {
  background: var(--paper);
}

.mast__band,
.record__band {
  padding: 0.85rem 1.25rem 0.7rem;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-sign);
  font-stretch: condensed;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.1;
}

.mast__body {
  display: grid;
  gap: 2rem;
  padding: 1.5rem 1.25rem 1.75rem;
}

.mast__title {
  font-size: clamp(2.5rem, 1.5rem + 4.2vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: 0.005em;
}

/* The count-basis line: what the page's numbers mean, in
   body face under the sign title, ruled like the meta dividers so it reads
   as part of the sign, not as commentary. No colour: this states a rule,
   it flags nothing. */
.mast__basis {
  max-width: 36em;
  margin-top: 1.1rem;
  padding-left: 0.9rem;
  border-left: 2px solid var(--ink);
  font-size: 1.125rem;
  line-height: 1.45;
}

.mast__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  margin-top: 1.1rem;
  font-family: var(--font-sign);
  font-stretch: condensed;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.2;
}

.mast__meta span + span {
  padding-left: 0.9rem;
  border-left: 2px solid var(--ink);
}

.mast__lede {
  max-width: 36em;
  margin-top: 1.25rem;
  font-size: 1.125rem;
}

.mast__notes {
  max-width: 40em;
  margin-top: 1rem;
  color: var(--steel);
  font-size: 1rem;
  line-height: 1.55;
}

.mast__lede p + p,
.mast__notes p + p {
  margin-top: 0.6rem;
}

/* the landing page's massing drawing, on the index sign only */

.mast__art {
  display: none;
}

.massing {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.m-ctx {
  fill: none;
  stroke: var(--steel);
  stroke-width: 0.6;
  stroke-dasharray: 2 1.6;
}

.m-lot {
  fill: var(--paper);
  stroke: var(--ink);
  stroke-width: 1.4;
}

.m-top {
  fill: var(--paper);
}

.m-side-a {
  fill: #c3ced3;
}

.m-side-b {
  fill: #e6ecee;
}

.m-floor {
  fill: none;
  stroke: var(--steel);
  stroke-width: 0.35;
}

.m-edge,
.m-stake {
  fill: none;
  stroke: var(--ink);
  stroke-width: 0.8;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.m-flag {
  fill: var(--tape);
  stroke: var(--ink);
  stroke-width: 0.5;
  stroke-linejoin: round;
}

/* In this issue: the contents, on a form's dot leaders */

.contents {
  align-self: start;
  padding-top: 0.7rem;
  border-top: 3px solid var(--ink);
}

.contents__title {
  color: var(--steel);
  font-family: var(--font-sign);
  font-stretch: condensed;
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.2;
}

.contents__list {
  margin-top: 0.3rem;
  padding: 0;
  list-style: none;
}

.contents__list a {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding-block: 0.3rem;
  font-family: var(--font-sign);
  font-stretch: condensed;
  font-weight: 700;
  font-size: 1.1875rem;
  line-height: 1.2;
  text-decoration: none;
}

.contents__list a::after {
  content: "";
  order: 1;
  flex: 1 1 1.5rem;
  min-width: 1.5rem;
  border-bottom: 2px dotted var(--rule-soft);
}

.contents__n {
  order: 2;
}

.contents__list a:hover .contents__label {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
  text-decoration-color: var(--tape);
}

/* Sheets: one per municipality, like the example issue on plotlinebc.ca */

.sheet {
  margin-top: 1.5rem;
  padding: 1.5rem 1.25rem 1.75rem;
  background: var(--paper);
  border-top: 6px solid var(--ink);
}

.sheet > h2 {
  font-size: clamp(1.875rem, 1.3rem + 2.4vw, 2.75rem);
  line-height: 1;
}

.sheet__intro {
  max-width: 40em;
  margin-top: 0.85rem;
  color: var(--steel);
  font-size: 1rem;
  line-height: 1.55;
}

.sheet__intro p + p {
  margin-top: 0.5rem;
}

/* Top of the week */

.picks,
.stats {
  margin-top: 0.85rem;
}

.picks > p,
.stats p {
  max-width: 38em;
}

.picks > p + p,
.stats p + p {
  margin-top: 0.6rem;
}

.picks > p:first-child {
  color: var(--steel);
}

.picks > h3 {
  margin-top: 1.5rem;
  padding-top: 1.1rem;
  border-top: 2px solid var(--ink);
  font-size: 1.5rem;
  line-height: 1.1;
}

.picks > h3 + p {
  margin-top: 0.6rem;
}

.picks > h3 a,
.item h3 a {
  text-decoration: none;
}

.picks > h3 a:hover,
.item h3 a:hover {
  text-decoration: underline;
  text-decoration-color: var(--tape);
}

.stats + h2 {
  margin-top: 2.5rem;
}

.picks + .stats {
  margin-top: 1.75rem;
  padding-top: 1.1rem;
  border-top: 3px solid var(--ink);
}

/* Groups and items: the register */

.group {
  margin-top: 2.5rem;
  padding-bottom: 0.55rem;
  border-bottom: 3px solid var(--ink);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 1.875rem);
  line-height: 1.05;
}

.sheet > h2 + .group {
  margin-top: 1.75rem;
}

.item {
  padding-block: 1.25rem 1.4rem;
  border-top: 2px solid var(--ink);
}

.group + .item {
  border-top: 0;
}

.item h3 {
  color: var(--steel);
  font-size: 1.125rem;
  line-height: 1.15;
}

.item h3 a {
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1.05;
}

.item__body {
  margin-top: 0.85rem;
}

.item .facts {
  max-width: 40rem;
}

.summary {
  max-width: 36em;
  margin-top: 0.75rem;
  font-size: 1rem;
  line-height: 1.6;
}

.item__links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.3rem 1.5rem;
  max-width: 40rem;
  margin-top: 0.75rem;
  font-family: var(--font-sign);
  font-stretch: condensed;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
}

.item__links .source {
  min-width: 0;
}

.item__record {
  white-space: nowrap;
}

/* Survey tape: a change the record flags */

.marker {
  display: inline-block;
  max-width: 100%;
  margin: 0 0 0.7rem;
  padding: 0.4rem 1rem 0.3rem;
  background: var(--tape);
  color: var(--ink);
  font-family: var(--font-sign);
  font-stretch: condensed;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.15;
  transform: rotate(-1.5deg);
  clip-path: polygon(0 0, 100% 0, calc(100% - 0.4rem) 50%, 100% 100%, 0 100%, 0.4rem 50%);
}

.marker::first-letter {
  text-transform: uppercase;
}

/* Stage track: the real four-step sequence, current stage flagged */

.track {
  --dot: 0.75rem;
  --mid: 0.6rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 22rem;
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}

.track__step {
  position: relative;
  padding-top: 1.45rem;
  color: var(--steel);
  font-family: var(--font-sign);
  font-stretch: condensed;
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.1;
}

.track__step::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: calc(var(--mid) - var(--dot) / 2);
  left: 0;
  width: var(--dot);
  height: var(--dot);
  border: 2px solid var(--steel);
  border-radius: 50%;
  background: var(--paper);
}

.track__step::after {
  content: "";
  position: absolute;
  top: calc(var(--mid) - 1px);
  left: var(--dot);
  right: 0;
  border-top: 2px dashed var(--steel);
}

.track__step:last-child::after {
  display: none;
}

.track__step.is-done,
.track__step.is-current {
  color: var(--ink);
}

.track__step.is-done::before {
  background: var(--ink);
  border-color: var(--ink);
}

.track__step.is-done::after {
  top: calc(var(--mid) - 1.5px);
  border-top: 3px solid var(--ink);
}

.track__step.is-current::before {
  --dot: 1.25rem;
  border-color: var(--ink);
  background: var(--tape);
}

/* Fill-in rows: the record's own lines, as published */

.facts {
  padding: 0;
  list-style: none;
}

.facts li {
  display: flex;
  align-items: baseline;
  align-items: last baseline;
  gap: 0.6rem;
  padding-block: 0.28rem;
  font-family: var(--font-sign);
  font-stretch: condensed;
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.25;
}

.facts li > span {
  min-width: 0;
}

.facts li::after {
  content: "";
  flex: 1 1 2rem;
  min-width: 2rem;
  border-bottom: 2px dotted var(--rule-soft);
}

/* Legend, method, how to follow: ruled rows on the field */

.note {
  padding: 1.25rem 0 1.5rem;
  border-top: 2px solid var(--ink);
}

.sheet + .note,
.mast + .note {
  margin-top: 3rem;
}

.note:last-child {
  border-bottom: 2px solid var(--ink);
}

.note > h2 {
  font-size: 1.5rem;
  line-height: 1.1;
}

.note__body {
  max-width: 40em;
  margin-top: 0.6rem;
  font-size: 1rem;
  line-height: 1.55;
}

.note__body > * + * {
  margin-top: 0.6rem;
}

.note table {
  width: 100%;
  border-collapse: collapse;
}

.note th,
.note td {
  padding: 0.5rem 0.75rem 0.5rem 0;
  text-align: left;
  vertical-align: baseline;
  border-bottom: 1px solid var(--rule-soft);
}

.note th {
  border-bottom: 2px solid var(--ink);
  font-family: var(--font-sign);
  font-stretch: condensed;
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.2;
}

.note td:first-child {
  width: 34%;
  font-family: var(--font-sign);
  font-stretch: condensed;
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.25;
}

.note tr:last-child td {
  border-bottom: 0;
}

/* Project record page: the form, filled in */

.record {
  max-width: 54rem;
  border-top: 6px solid var(--ink);
}

.record article {
  padding: 1.5rem 1.25rem 2rem;
}

.record h1 {
  font-size: clamp(2.25rem, 1.35rem + 3.8vw, 4rem);
  line-height: 0.98;
}

.record .fields {
  margin-top: 0.65rem;
  color: var(--steel);
  font-family: var(--font-sign);
  font-stretch: condensed;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.2;
  text-transform: capitalize;
}

.record .marker {
  margin: 1.25rem 0 0;
}

.record .track {
  --dot: 0.875rem;
  --mid: 0.7rem;
  max-width: 30rem;
  margin-top: 1.5rem;
}

.record .track__step {
  padding-top: 1.75rem;
  font-size: 1rem;
}

.record .track__step.is-current::before {
  --dot: 1.5rem;
}

.record .facts {
  margin-top: 1.5rem;
}

.record .facts li {
  padding-block: 0.35rem;
  font-size: 1.1875rem;
}

.record .summary {
  margin-top: 1.25rem;
  font-size: 1.0625rem;
}

.record .source {
  margin-top: 1rem;
  font-family: var(--font-sign);
  font-stretch: condensed;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.3;
}

.record h2 {
  margin-top: 2.25rem;
  font-size: 1.375rem;
  line-height: 1.1;
}

.appears {
  margin-top: 0.6rem;
  padding: 0;
  list-style: none;
  border-bottom: 2px solid var(--ink);
}

.appears li {
  padding: 0.55rem 0 0.6rem;
  border-top: 2px solid var(--ink);
  font-family: var(--font-sign);
  font-stretch: condensed;
  font-weight: 700;
  font-size: 1.1875rem;
  line-height: 1.2;
}

.docs {
  margin-top: 0.6rem;
  padding: 0;
  list-style: none;
  border-bottom: 2px solid var(--ink);
}

.docs li {
  padding: 0.5rem 0 0.55rem;
  border-top: 2px solid var(--ink);
  font-family: var(--font-sign);
  font-stretch: condensed;
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.25;
}

/* Honest-sources ledger: what was read of this municipality's record and
   what was not. It closes every municipality sheet, styled as a form footer -
   hairline rows on the field, condensed label - so it reads as a statement
   about the sources, not another project entry. */

.sources-read {
  margin-top: 2rem;
  padding-top: 0.75rem;
  border-top: 3px solid var(--ink);
}

.sources-read h3 {
  font-family: var(--font-sign);
  font-stretch: condensed;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1.0625rem;
  line-height: 1;
  margin: 0 0 0.15rem;
}

.sources-read p {
  max-width: 44em;
  margin: 0 0 0.4rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.sources-read ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sources-read li {
  padding: 0.4rem 0;
  border-top: 1px solid var(--rule-soft);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.sources-read li:first-child {
  border-top: 2px solid var(--ink);
}

/* Index: issues by week, then the latest issue's records */

.issues {
  margin-top: 3rem;
}

.records {
  margin-top: 3.5rem;
}

.issues > h2,
.records > h2 {
  padding-bottom: 0.55rem;
  border-bottom: 3px solid var(--ink);
  font-size: clamp(1.875rem, 1.3rem + 2.4vw, 2.75rem);
  line-height: 1;
}

.issues__list,
.records__list {
  padding: 0;
  list-style: none;
  border-bottom: 2px solid var(--ink);
}

.issues__row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 0.2rem 1.25rem;
  padding: 0.85rem 0 0.95rem;
  border-top: 2px solid var(--ink);
}

.issues__row:first-child,
.records__row:first-child {
  border-top: 0;
}

.issues__name {
  font-family: var(--font-sign);
  font-stretch: condensed;
  font-weight: 700;
  font-size: 1.875rem;
  line-height: 1.05;
  text-decoration: none;
}

/* the whole row is the link */
.issues__name::after {
  content: "";
  position: absolute;
  inset: 0;
}

.issues__row:hover .issues__name {
  text-decoration: underline;
  text-decoration-color: var(--tape);
}

.issues__count {
  font-family: var(--font-sign);
  font-stretch: condensed;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.2;
  white-space: nowrap;
}

.issues__row--empty .issues__count {
  color: var(--steel);
}

.issues__note {
  grid-column: 1 / -1;
  max-width: 40em;
  color: var(--steel);
  font-size: 1rem;
  line-height: 1.5;
}

.records__row {
  display: grid;
  gap: 0.15rem;
  padding: 0.7rem 0 0.75rem;
  border-top: 2px solid var(--ink);
}

.records__addr {
  font-family: var(--font-sign);
  font-stretch: condensed;
  font-weight: 700;
  font-size: 1.3125rem;
  line-height: 1.15;
  text-decoration: none;
}

.records__addr:hover {
  text-decoration: underline;
  text-decoration-color: var(--tape);
}

.records__what {
  color: var(--steel);
  font-size: 1rem;
}

.records__what::first-letter {
  text-transform: uppercase;
}

.records__row .marker {
  justify-self: start;
  margin: 0.35rem 0 0;
}

.records__empty {
  margin-top: 1rem;
  color: var(--steel);
}

/* Footer, as on plotlinebc.ca */

.foot {
  padding-block: 2.5rem 3rem;
  background: var(--ink);
  color: var(--paper);
}

.foot__row {
  display: grid;
  gap: 0.75rem;
}

.foot__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-sign);
  font-stretch: condensed;
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1;
}

.brand__mark--foot .brand__lot {
  stroke: var(--paper);
  fill: var(--ink);
}

.foot__text {
  max-width: 40em;
  color: var(--field);
  font-size: 1rem;
}

.foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 0.5rem;
  font-family: var(--font-sign);
  font-stretch: condensed;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.2;
}

.foot :focus-visible {
  outline-color: var(--paper);
}

/* Wider screens */

@media (min-width: 40em) {
  .mast__band,
  .record__band {
    padding-inline: 2rem;
  }

  .mast__body {
    padding: 2rem 2rem 2.25rem;
  }

  .sheet {
    padding: 1.75rem 2rem 2rem;
  }

  .record article {
    padding: 2rem 2rem 2.5rem;
  }

  .records__row {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    column-gap: 1.5rem;
  }

  .records__row .marker {
    grid-column: 1 / -1;
  }
}

@media (min-width: 48em) {
  body {
    font-size: 1.125rem;
  }

  .shell {
    width: min(100% - 4rem, 68rem);
  }

  .nav__link {
    display: inline;
  }

  .nav__cta {
    padding: 0.6rem 1rem 0.5rem;
    font-size: 1.125rem;
  }

  .crumbs {
    display: none;
  }

  .mast__band,
  .record__band {
    padding: 1rem 2.5rem 0.85rem;
    font-size: 1.375rem;
  }

  .mast__body {
    padding: 2.25rem 2.5rem 2.5rem;
  }

  .sheet {
    padding: 2rem 2.5rem 2.25rem;
  }

  .record article {
    padding: 2.25rem 2.5rem 2.75rem;
  }

  .note {
    display: grid;
    grid-template-columns: minmax(0, 13rem) minmax(0, 1fr);
    gap: 0 2rem;
  }

  .note__body {
    margin-top: 0;
    padding-top: 0.2rem;
  }
}

@media (min-width: 60em) {
  .mast__body {
    grid-template-columns: minmax(0, 1fr) minmax(15rem, 19rem);
    gap: 3.5rem;
  }

  .mast--index .mast__body {
    grid-template-columns: minmax(0, 1fr) minmax(13rem, 16rem);
    align-items: end;
  }

  .mast__art {
    display: block;
    padding-bottom: 0.25rem;
  }

  /* the register: who and where on the left, the record on the right */
  .item {
    display: grid;
    grid-template-columns: minmax(0, 20rem) minmax(0, 1fr);
    gap: 0 2.5rem;
  }

  .item__body {
    margin-top: 0;
    padding-top: 0.2rem;
  }

  .item .track__step {
    font-size: 0.8125rem;
  }
}

@media (max-width: 25em) {
  .brand__sub {
    display: none;
  }
}

@media (max-width: 22.5em) {
  .nav__cta {
    padding-inline: 0.6rem;
    font-size: 1rem;
  }

  .brand__name {
    font-size: 1.5rem;
  }
}

@media print {
  body {
    background: var(--paper);
  }

  .skip,
  .nav,
  .crumbs,
  .foot__links,
  .item__record {
    display: none;
  }

  .item {
    break-inside: avoid;
  }

  a {
    text-decoration: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
