@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("/assets/fonts/fraunces-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/public-sans-latin.woff2") format("woff2");
}

:root {
  --paper: #f3e7ca;
  --paper-high: #fff9e9;
  --paper-low: #e8d7b4;
  --ink: #183437;
  --ink-soft: #375356;
  --teal: #397c73;
  --teal-dark: #24564f;
  --sky: #5ca8bb;
  --sky-pale: #c9e1e3;
  --rust: #c95135;
  --rust-dark: #a63f2a;
  --butter: #efc653;
  --strawberry: #dc7464;
  --sage: #9eb69a;
  --moon: #c9c4b7;
  --chocolate: #744b3d;
  --line: rgb(24 52 55 / 26%);
  --content: 1480px;
  --gutter: clamp(20px, 4vw, 64px);
  --display: "Fraunces", Georgia, serif;
  --body: "Public Sans", "Avenir Next", Arial, sans-serif;
  --label: "Arial Narrow", "Avenir Next Condensed", "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 12% 20%, rgb(24 52 55 / 4%) 0 0.7px, transparent 0.9px),
    radial-gradient(circle at 72% 40%, rgb(255 255 255 / 34%) 0 0.8px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 13%), transparent 28%, rgb(24 52 55 / 2%) 65%, transparent);
  background-size: 17px 19px, 23px 29px, 100% 100%;
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.5;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
dl,
dd,
figure {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.045em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border: 2px solid var(--ink);
  background: var(--paper-high);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.plate-label,
.route-code,
.book-id,
.dispatch-tag,
.cold-case__header,
.shelf-bay > header,
.catalog-product p span,
.catalog-product p small,
.catalog-note span,
.load-sheet,
.receiving__plate figcaption,
.site-footer dl,
.site-footer__legal {
  font-family: var(--label);
  font-stretch: condensed;
}

.plate-label {
  margin-bottom: 18px;
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

/* Masthead */

.atlas-masthead {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  min-height: 88px;
  align-items: center;
  gap: 34px;
  padding: 14px var(--gutter);
  border-bottom: 2px solid var(--ink);
  background: rgb(255 249 233 / 94%);
}

.brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.02;
  text-decoration: none;
}

.brand span,
.brand strong {
  display: block;
}

.brand strong {
  color: var(--rust);
  font-size: 1.12rem;
}

.brand__mark {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  overflow: visible;
  fill: var(--paper-high);
  stroke: var(--ink);
  stroke-width: 2.4;
}

.brand__mark path {
  fill: var(--ink);
  stroke: none;
}

.brand__mark ellipse {
  fill: none;
  stroke: var(--rust);
  stroke-width: 3;
}

.brand__mark .brand__moon {
  fill: var(--butter);
  stroke: var(--ink);
  stroke-width: 2;
}

.atlas-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 38px);
}

.atlas-nav a {
  position: relative;
  padding: 8px 0;
  font-family: var(--label);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.atlas-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--rust);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.atlas-nav a:hover::after,
.atlas-nav a:focus-visible::after {
  transform: scaleX(1);
}

.book-id {
  justify-self: end;
  margin: 0;
  text-align: right;
  text-transform: uppercase;
}

.book-id span,
.book-id strong {
  display: block;
}

.book-id span {
  margin-bottom: 3px;
  color: var(--ink-soft);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
}

.book-id strong {
  color: var(--teal-dark);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

/* Atlas cover */

.cover {
  position: relative;
  display: grid;
  width: min(100%, 1640px);
  min-height: 850px;
  grid-template-columns: minmax(400px, 0.82fr) minmax(0, 1.18fr);
  grid-template-rows: 1fr auto;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 92px) var(--gutter) 54px;
  isolation: isolate;
}

.cover::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 42.2%;
  z-index: -1;
  width: 1px;
  background: linear-gradient(transparent, rgb(24 52 55 / 17%) 8%, rgb(24 52 55 / 17%) 92%, transparent);
  box-shadow: 12px 0 24px rgb(24 52 55 / 7%);
  content: "";
}

.cover__copy {
  z-index: 2;
  align-self: center;
  padding: 18px clamp(30px, 4vw, 70px) 74px 0;
}

.cover h1 {
  max-width: 660px;
  margin-bottom: 30px;
  font-size: clamp(4.5rem, 6.5vw, 8rem);
  line-height: 0.84;
  text-wrap: balance;
}

.cover__lede {
  max-width: 590px;
  margin-bottom: 28px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.65;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 9px 0 5px;
  border-bottom: 3px solid var(--rust);
  font-family: var(--label);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link span {
  font-family: var(--body);
  font-size: 1rem;
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translateY(3px);
}

.cover__facts {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 18px;
  max-width: 590px;
  margin: 58px 0 0;
  padding-top: 18px;
  border-top: 2px solid var(--ink);
}

.cover__facts div {
  min-width: 0;
}

.cover__facts dt,
.cover__facts dd {
  font-family: var(--label);
  text-transform: uppercase;
}

.cover__facts dt {
  margin-bottom: 5px;
  color: var(--rust-dark);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.cover__facts dd {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.cover__plate {
  position: relative;
  z-index: 1;
  align-self: center;
  margin: 0 0 70px;
  border: 3px solid var(--ink);
  background: var(--teal);
  box-shadow: 14px 14px 0 var(--teal);
  clip-path: polygon(1% 0, 100% 1.3%, 98.8% 100%, 0 98.6%);
}

.cover__plate img {
  width: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: 63% center;
}

.cover__plate figcaption {
  position: absolute;
  right: 20px;
  bottom: 20px;
  max-width: 330px;
  padding: 11px 14px;
  border: 2px solid var(--ink);
  background: rgb(255 249 233 / 94%);
  font-family: var(--label);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cover__plate figcaption span {
  margin-right: 7px;
  color: var(--rust-dark);
}

.dispatch-tag {
  position: relative;
  z-index: 4;
  grid-column: 1 / -1;
  display: grid;
  width: min(1120px, 88%);
  grid-template-columns: 210px minmax(0, 1fr);
  align-items: stretch;
  justify-self: center;
  margin-top: -108px;
  border: 3px solid var(--ink);
  background: var(--paper-high);
  box-shadow: 10px 10px 0 var(--rust);
  transform: rotate(-0.35deg);
}

.dispatch-tag::before,
.dispatch-tag::after {
  position: absolute;
  top: 50%;
  width: 17px;
  height: 17px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  content: "";
  transform: translateY(-50%);
}

.dispatch-tag::before { left: -11px; }
.dispatch-tag::after { right: -11px; }

.dispatch-tag__title {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 20px 24px;
  border-right: 2px dashed var(--line);
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.dispatch-tag dl {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 0.85fr 1.15fr;
  margin: 0;
}

.dispatch-tag dl div {
  min-width: 0;
  padding: 18px 20px;
  border-right: 1px solid var(--line);
}

.dispatch-tag dl div:last-child {
  border-right: 0;
}

.dispatch-tag dt {
  margin-bottom: 6px;
  color: var(--rust-dark);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dispatch-tag dd {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

/* Route atlas */

.route-atlas {
  width: min(calc(100% - var(--gutter) * 2), var(--content));
  margin: 0 auto;
  padding: clamp(100px, 10vw, 160px) 0 clamp(90px, 9vw, 140px);
}

.atlas-heading {
  display: grid;
  grid-template-columns: minmax(430px, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(50px, 8vw, 130px);
  align-items: end;
  margin-bottom: 72px;
}

.atlas-heading h2,
.commissary__heading h2,
.manifest-spread h2,
.receiving-card h2,
.production-note h2 {
  margin-bottom: 0;
  font-size: clamp(3.4rem, 5.2vw, 6.2rem);
  line-height: 0.91;
  text-wrap: balance;
}

.atlas-heading > p {
  margin: 0 0 4px;
  color: var(--ink-soft);
  font-size: 1.03rem;
  line-height: 1.7;
}

.route-map {
  position: relative;
  min-height: 760px;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background:
    radial-gradient(circle at 12% 18%, rgb(92 168 187 / 26%) 0 2px, transparent 2.5px),
    linear-gradient(115deg, rgb(255 249 233 / 76%), rgb(232 215 180 / 40%));
  background-size: 38px 38px, 100% 100%;
}

.route-map::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgb(24 52 55 / 9%);
  content: "";
}

.route-map__line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.route-map__shadow,
.route-map__track {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.route-map__shadow {
  stroke: var(--paper-high);
  stroke-width: 12;
}

.route-map__track {
  stroke: var(--teal-dark);
  stroke-dasharray: 8 11;
  stroke-linecap: round;
  stroke-width: 3;
}

.route-stop {
  position: absolute;
  z-index: 2;
  width: min(300px, 25%);
  padding: 20px 20px 18px;
  border-top: 3px solid var(--ink);
  background: rgb(255 249 233 / 94%);
}

.route-stop--earth { top: 38px; left: 2%; }
.route-stop--orbit { top: 100px; left: 37%; }
.route-stop--luna { top: 238px; right: 2%; }
.route-stop--mars { right: 23%; bottom: 28px; }

.route-code {
  margin: 0 0 7px 58px;
  color: var(--rust-dark);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.route-stop h3 {
  margin: 0 0 9px 58px;
  font-size: 2rem;
  line-height: 1;
}

.route-stop > p:not(.route-code) {
  min-height: 58px;
  margin: 18px 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.55;
}

.route-stop dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.route-stop dt,
.route-stop dd {
  font-family: var(--label);
  text-transform: uppercase;
}

.route-stop dt {
  margin-bottom: 3px;
  color: var(--teal-dark);
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.route-stop dd {
  margin: 0;
  font-size: 0.66rem;
  font-weight: 700;
}

.planet {
  position: absolute;
  top: 16px;
  left: 13px;
  width: 42px;
  height: 42px;
  overflow: visible;
  border: 3px solid var(--ink);
  border-radius: 50%;
  box-shadow: 4px 4px 0 var(--paper-low);
}

.planet i {
  position: absolute;
  content: "";
}

.planet--earth {
  overflow: hidden;
  background: var(--sky);
}

.planet--earth::before,
.planet--earth::after {
  position: absolute;
  border-radius: 50%;
  background: var(--sage);
  content: "";
}

.planet--earth::before { top: 7px; left: -4px; width: 25px; height: 15px; transform: rotate(18deg); }
.planet--earth::after { right: -5px; bottom: 6px; width: 28px; height: 17px; transform: rotate(-18deg); }

.planet--orbit {
  background: var(--paper-high);
}

.planet--orbit::before {
  position: absolute;
  inset: -8px -13px;
  border: 2px solid var(--rust);
  border-radius: 50%;
  content: "";
  transform: rotate(-24deg);
}

.planet--orbit i {
  inset: 10px;
  border: 3px solid var(--teal-dark);
  border-radius: 50%;
}

.planet--luna {
  background:
    radial-gradient(circle at 28% 30%, #aaa495 0 3px, transparent 4px),
    radial-gradient(circle at 68% 58%, #aaa495 0 5px, transparent 6px),
    var(--moon);
}

.planet--mars {
  background:
    linear-gradient(18deg, transparent 42%, rgb(116 75 61 / 43%) 44% 48%, transparent 50%),
    var(--rust);
}

.route-legend {
  position: absolute;
  bottom: 36px;
  left: 3%;
  display: grid;
  gap: 9px;
  max-width: 310px;
  padding: 16px 18px;
  border: 2px solid var(--ink);
  background: var(--paper-high);
  font-family: var(--label);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.route-legend span {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 11px;
  align-items: center;
}

.legend-line {
  display: block;
  border-top: 3px solid var(--teal-dark);
}

.legend-line--broken {
  border-top-style: dashed;
  border-top-color: var(--rust-dark);
}

.atlas-footnote {
  max-width: 820px;
  margin: 24px 0 0 auto;
  padding-left: 28px;
  border-left: 4px solid var(--rust);
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.55;
}

/* Illustrated field plates */

.field-plate {
  display: grid;
  width: min(calc(100% - var(--gutter) * 2), var(--content));
  grid-template-columns: minmax(0, 1.42fr) minmax(280px, 0.58fr);
  align-items: center;
  gap: clamp(34px, 6vw, 86px);
  margin: 0 auto clamp(110px, 10vw, 170px);
}

.field-plate__image {
  border: 3px solid var(--ink);
  background: var(--sky);
  box-shadow: 12px 12px 0 var(--sky);
  clip-path: polygon(0.8% 0, 100% 1.2%, 98.7% 100%, 0 98.4%);
}

.field-plate__image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.field-plate figcaption {
  position: relative;
  padding: 26px 0 22px;
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.field-plate figcaption::before {
  position: absolute;
  top: -12px;
  right: 7px;
  width: 22px;
  height: 22px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--butter);
  content: "";
}

.field-plate figcaption span {
  display: block;
  margin-bottom: 14px;
  color: var(--rust-dark);
  font-family: var(--label);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.field-plate figcaption strong {
  display: block;
  margin-bottom: 17px;
  font-family: var(--display);
  font-size: clamp(1.8rem, 2.6vw, 2.8rem);
  line-height: 1.05;
}

.field-plate figcaption p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* Settlement commissary cold case */

.commissary {
  width: min(calc(100% - var(--gutter) * 2), var(--content));
  margin: 0 auto;
  padding-bottom: clamp(110px, 10vw, 170px);
}

.commissary__heading {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 22px clamp(50px, 8vw, 130px);
  align-items: end;
  margin-bottom: 65px;
}

.commissary__heading .plate-label {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.commissary__heading > p:last-child {
  margin: 0 0 5px;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
}

.cold-case {
  overflow: hidden;
  border: 6px solid var(--teal-dark);
  border-radius: 44px 44px 5px 5px;
  background:
    linear-gradient(90deg, rgb(255 255 255 / 34%), transparent 16% 84%, rgb(24 52 55 / 8%)),
    var(--sky-pale);
  box-shadow: inset 0 0 0 3px var(--paper-high), 13px 13px 0 rgb(57 124 115 / 23%);
}

.cold-case__header {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 30px;
  border-bottom: 4px solid var(--teal-dark);
  background: var(--teal-dark);
  color: var(--paper-high);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cold-case__header span {
  color: #b9dfd3;
}

.shelf-bay {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  min-height: 275px;
  border-bottom: 5px solid var(--teal-dark);
}

.shelf-bay:last-child {
  border-bottom: 0;
}

.shelf-bay > header {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 20px 28px;
  border-right: 2px solid rgb(36 86 79 / 38%);
  background: rgb(255 249 233 / 38%);
  text-transform: uppercase;
}

.shelf-bay > header span {
  margin-bottom: 7px;
  color: var(--rust-dark);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.shelf-bay > header h3 {
  margin: 0;
  font-family: var(--label);
  font-size: 1.08rem;
  letter-spacing: 0.04em;
}

.shelf-products {
  display: grid;
  grid-template-columns: repeat(6, minmax(110px, 1fr));
  align-items: end;
  gap: 6px;
  padding: 24px 18px 0;
}

.shelf-products--short {
  grid-template-columns: repeat(3, minmax(130px, 1fr));
  max-width: 720px;
}

.catalog-product {
  --pack: var(--paper-high);
  --pack-accent: var(--teal);
  display: grid;
  min-width: 0;
  min-height: 248px;
  grid-template-rows: 145px auto;
  align-items: end;
  justify-items: center;
  transition: transform 160ms ease;
}

.catalog-product:hover {
  transform: translateY(-4px) rotate(-0.35deg);
}

.catalog-product p {
  position: relative;
  width: calc(100% + 6px);
  min-height: 93px;
  margin: 0 -3px;
  padding: 11px 10px 12px;
  border-top: 3px solid var(--ink);
  background: var(--paper-high);
}

.catalog-product p::before {
  position: absolute;
  top: -8px;
  left: 12px;
  width: 22px;
  height: 12px;
  background: rgb(255 249 233 / 76%);
  content: "";
  transform: rotate(-4deg);
}

.catalog-product p span,
.catalog-product p strong,
.catalog-product p small {
  display: block;
}

.catalog-product p span {
  margin-bottom: 4px;
  color: var(--rust-dark);
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.catalog-product p strong {
  min-height: 2.5em;
  font-size: 0.76rem;
  line-height: 1.2;
}

.catalog-product p small {
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 0.56rem;
  font-weight: 600;
  line-height: 1.25;
  text-transform: uppercase;
}

.package {
  position: relative;
  display: grid;
  width: 78px;
  height: 104px;
  place-items: center;
  align-self: end;
  margin-bottom: 17px;
  border: 3px solid var(--ink);
  background: var(--pack);
  box-shadow: 5px 5px 0 rgb(24 52 55 / 15%);
  color: var(--ink);
  font-family: var(--label);
  font-size: 0.66rem;
  text-align: center;
  text-transform: uppercase;
}

.package b {
  position: relative;
  z-index: 2;
  padding: 5px;
  line-height: 1;
}

.package--carton {
  background:
    radial-gradient(circle at 15% 30%, var(--pack-accent) 0 9px, transparent 10px),
    radial-gradient(circle at 84% 72%, var(--pack-accent) 0 13px, transparent 14px),
    var(--pack);
}

.package--carton i {
  position: absolute;
  top: -19px;
  left: -3px;
  width: 78px;
  height: 20px;
  border: 3px solid var(--ink);
  background: var(--pack-accent);
  clip-path: polygon(10% 100%, 28% 0, 76% 0, 100% 100%);
}

.package--small {
  width: 64px;
  height: 88px;
}

.package--small i {
  width: 64px;
}

.package--bottle {
  width: 61px;
  height: 106px;
  border-radius: 17px 17px 10px 10px;
  background: linear-gradient(90deg, rgb(255 255 255 / 35%), transparent 35%), var(--pack);
}

.package--bottle i {
  position: absolute;
  top: -20px;
  left: 13px;
  width: 29px;
  height: 22px;
  border: 3px solid var(--ink);
  border-radius: 4px 4px 0 0;
  background: var(--pack-accent);
}

.package--cup {
  width: 72px;
  height: 78px;
  border-radius: 5px 5px 22px 22px;
}

.package--cup i,
.package--tub i,
.package--pint i {
  position: absolute;
  top: -8px;
  left: -6px;
  width: calc(100% + 12px);
  height: 16px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--pack-accent);
}

.package--tub {
  width: 85px;
  height: 66px;
  border-radius: 7px 7px 17px 17px;
  background: linear-gradient(155deg, transparent 48%, rgb(92 168 187 / 28%) 49% 54%, transparent 55%), var(--pack);
}

.package--galley {
  width: 106px;
  height: 85px;
}

.package--block {
  width: 94px;
  height: 58px;
  background:
    repeating-linear-gradient(-25deg, transparent 0 8px, rgb(255 255 255 / 25%) 8px 10px),
    var(--pack);
}

.package--wedge {
  width: 100px;
  height: 76px;
  overflow: hidden;
  background: var(--pack);
  clip-path: polygon(4% 28%, 100% 0, 93% 100%, 0 94%);
}

.package--wedge i {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 43%, var(--pack-accent) 0 5px, transparent 6px),
    radial-gradient(circle at 68% 28%, var(--pack-accent) 0 7px, transparent 8px),
    radial-gradient(circle at 73% 77%, var(--pack-accent) 0 5px, transparent 6px);
}

.package--round {
  width: 86px;
  height: 86px;
  border-radius: 50%;
}

.package--brick {
  width: 92px;
  height: 60px;
  border-radius: 4px;
  background: linear-gradient(0deg, var(--pack-accent) 0 23%, transparent 24%), var(--pack);
}

.package--pint {
  width: 78px;
  height: 92px;
  border-radius: 7px 7px 24px 24px;
}

.product--whole { --pack: #fffdf2; --pack-accent: var(--teal); }
.product--two { --pack: #e8f0e7; --pack-accent: var(--sky); }
.product--chocolate { --pack: #ead5c3; --pack-accent: var(--chocolate); }
.product--cream { --pack: #fff7dc; --pack-accent: var(--butter); }
.product--yogurt { --pack: #f8f3df; --pack-accent: var(--teal); }
.product--berry { --pack: #f7dfda; --pack-accent: var(--strawberry); }
.product--kefir { --pack: #e2eee7; --pack-accent: var(--teal); }
.product--cc { --pack: #fffdf2; --pack-accent: var(--sky); }
.product--cc-low { --pack: #e6f0e7; --pack-accent: var(--sage); }
.product--cc-galley { --pack: #fffdf2; --pack-accent: var(--rust); }
.product--butter { --pack: var(--butter); --pack-accent: #d69f2e; }
.product--cheddar { --pack: #f0bd42; --pack-accent: #d3922b; }
.product--mozz { --pack: #fff4d7; --pack-accent: var(--teal); }
.product--gouda { --pack: var(--rust); --pack-accent: var(--butter); }
.product--spread { --pack: #f5e8cf; --pack-accent: var(--sky); }
.product--vanilla { --pack: #fff5d8; --pack-accent: var(--butter); }
.product--cocoa { --pack: #dcbba6; --pack-accent: var(--chocolate); }
.product--strawberry { --pack: #f2ccc4; --pack-accent: var(--strawberry); }

.catalog-note {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 24px;
  width: min(760px, 82%);
  margin: 34px 4% 0 auto;
  padding: 19px 24px;
  border: 2px solid var(--ink);
  background: var(--butter);
  box-shadow: 7px 7px 0 rgb(24 52 55 / 15%);
  transform: rotate(0.6deg);
}

.catalog-note span {
  color: var(--rust-dark);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.catalog-note p {
  margin: 0;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 650;
  line-height: 1.3;
}

/* Outbound manifest */

.manifest-spread {
  display: grid;
  width: min(calc(100% - var(--gutter) * 2), var(--content));
  grid-template-columns: minmax(330px, 0.65fr) minmax(600px, 1.35fr);
  align-items: center;
  gap: clamp(36px, 6vw, 86px);
  margin: 0 auto clamp(120px, 11vw, 180px);
  padding: clamp(45px, 6vw, 82px);
  border: 4px solid var(--ink);
  background:
    radial-gradient(circle at 18% 20%, rgb(255 255 255 / 10%) 0 1px, transparent 1.5px),
    var(--teal-dark);
  background-size: 21px 21px, auto;
  color: var(--paper-high);
}

.manifest-spread__intro .plate-label {
  color: #b8ded4;
}

.manifest-spread__intro,
.load-sheet {
  min-width: 0;
}

.manifest-spread__intro > p:not(.plate-label) {
  max-width: 450px;
  margin: 28px 0;
  color: rgb(255 249 233 / 74%);
  line-height: 1.7;
}

.manifest-spread__intro dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 36px 0 0;
  border-top: 1px solid rgb(255 249 233 / 38%);
  border-bottom: 1px solid rgb(255 249 233 / 38%);
}

.manifest-spread__intro dl div {
  padding: 17px 10px 17px 0;
}

.manifest-spread__intro dt,
.manifest-spread__intro dd {
  font-family: var(--label);
  text-transform: uppercase;
}

.manifest-spread__intro dt {
  margin-bottom: 5px;
  color: #b8ded4;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.manifest-spread__intro dd {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
}

.load-sheet {
  position: relative;
  color: var(--ink);
  border: 3px solid var(--ink);
  background:
    repeating-linear-gradient(0deg, transparent 0 31px, rgb(24 52 55 / 5%) 31px 32px),
    var(--paper-high);
  box-shadow: 14px 15px 0 rgb(11 35 34 / 45%);
  transform: rotate(-0.7deg);
}

.load-sheet::before {
  position: absolute;
  top: -13px;
  right: 12%;
  width: 84px;
  height: 24px;
  background: rgb(232 215 180 / 78%);
  content: "";
  transform: rotate(3deg);
}

.load-sheet > header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  border-bottom: 3px solid var(--ink);
  background: var(--butter);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.load-sheet table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.72rem;
}

.load-sheet th,
.load-sheet td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.load-sheet th {
  color: var(--teal-dark);
  font-size: 0.61rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.load-sheet th:first-child,
.load-sheet td:first-child {
  width: 20%;
  color: var(--rust-dark);
  font-weight: 700;
}

.load-sheet th:last-child,
.load-sheet td:last-child {
  width: 24%;
  text-align: right;
  white-space: nowrap;
}

.load-balance {
  display: grid;
  grid-template-columns: 1fr 1.25fr auto;
  align-items: stretch;
  margin: 20px;
  border: 2px solid var(--ink);
  background: var(--paper-high);
}

.load-balance p {
  margin: 0;
  padding: 15px;
  border-right: 1px solid var(--line);
}

.load-balance span,
.load-balance strong {
  display: block;
}

.load-balance span {
  margin-bottom: 5px;
  color: var(--teal-dark);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.load-balance strong {
  font-size: 0.72rem;
  text-transform: uppercase;
}

.load-balance em {
  display: grid;
  min-width: 90px;
  place-items: center;
  padding: 12px;
  background: var(--rust);
  color: var(--paper-high);
  font-size: 0.63rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.load-sheet__note {
  margin: 20px;
  padding: 14px 16px;
  border-left: 5px solid var(--rust);
  background: rgb(239 198 83 / 30%);
  font-family: var(--body);
  font-size: 0.76rem;
  line-height: 1.5;
}

/* Lunar receiving scene */

.receiving {
  position: relative;
  width: min(calc(100% - var(--gutter) * 2), var(--content));
  margin: 0 auto;
  padding-bottom: 220px;
}

.receiving__plate {
  position: relative;
  margin: 0;
  border: 3px solid var(--ink);
  background: var(--sky);
  box-shadow: 14px 14px 0 var(--sky);
  clip-path: polygon(0 1.2%, 99% 0, 100% 98.6%, 1% 100%);
}

.receiving__plate img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.receiving__plate figcaption {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 10px 13px;
  border: 2px solid var(--ink);
  background: rgb(255 249 233 / 93%);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.receiving__plate figcaption span {
  margin-right: 8px;
  color: var(--rust-dark);
}

.receiving-card {
  position: absolute;
  right: 4%;
  bottom: 0;
  width: min(570px, 48%);
  padding: clamp(30px, 4vw, 54px);
  border: 3px solid var(--ink);
  background: var(--paper-high);
  box-shadow: 12px 12px 0 var(--rust);
  transform: rotate(0.45deg);
}

.receiving-card h2 {
  margin-bottom: 32px;
  font-size: clamp(3rem, 4.5vw, 5.2rem);
}

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

.receiving-card li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.receiving-card li span {
  color: var(--rust-dark);
  font-family: var(--label);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.receiving-card li p {
  margin: 0;
  font-size: 0.79rem;
  line-height: 1.45;
}

.receiving-card__exception {
  margin: 22px 0 0;
  padding: 14px 16px;
  background: var(--sky-pale);
  font-size: 0.72rem;
  line-height: 1.5;
}

/* Destination production and back cover */

.production-note {
  display: grid;
  width: min(calc(100% - var(--gutter) * 2), var(--content));
  grid-template-columns: minmax(350px, 1.05fr) minmax(300px, 0.95fr);
  gap: 42px clamp(60px, 9vw, 140px);
  margin: clamp(90px, 9vw, 150px) auto clamp(100px, 10vw, 170px);
  padding-top: 52px;
  border-top: 4px solid var(--ink);
}

.production-note h2 {
  max-width: 660px;
  font-size: clamp(3rem, 4.6vw, 5.5rem);
}

.production-note > p {
  align-self: end;
  margin: 0 0 5px;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
}

.production-note ul {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 8px 0 0;
  padding: 0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  list-style: none;
}

.production-note li {
  min-width: 0;
  min-height: 110px;
  padding: 21px;
  border-right: 1px solid var(--line);
  font-size: 0.77rem;
  font-weight: 600;
  line-height: 1.35;
}

.production-note li:last-child {
  border-right: 0;
}

.production-note li span {
  display: block;
  margin-bottom: 13px;
  color: var(--rust-dark);
  font-family: var(--label);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.production-note aside {
  grid-column: 2;
  padding: 18px 22px;
  border-left: 5px solid var(--rust);
  background: var(--paper-high);
  color: var(--ink-soft);
  font-size: 0.8rem;
  line-height: 1.55;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(520px, 1.2fr);
  gap: 55px;
  padding: clamp(52px, 6vw, 84px) var(--gutter) 30px;
  border-top: 5px solid var(--rust);
  background: var(--ink);
  color: var(--paper-high);
}

.brand--footer {
  color: var(--paper-high);
}

.brand--footer .brand__mark {
  fill: var(--ink);
  stroke: var(--paper-high);
}

.brand--footer .brand__mark path {
  fill: var(--paper-high);
}

.site-footer__lead > p {
  margin: 27px 0 0;
  color: rgb(255 249 233 / 64%);
  font-size: 0.82rem;
  line-height: 1.6;
}

.site-footer dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  border-top: 1px solid rgb(255 249 233 / 24%);
  border-bottom: 1px solid rgb(255 249 233 / 24%);
}

.site-footer dl div {
  min-width: 0;
  padding: 18px;
  border-right: 1px solid rgb(255 249 233 / 24%);
}

.site-footer dl div:last-child {
  border-right: 0;
}

.site-footer dt {
  margin-bottom: 7px;
  color: #a9d9cc;
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.site-footer dd {
  margin: 0;
  font-size: 0.71rem;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}

.site-footer__legal {
  grid-column: 1 / -1;
  margin: 24px 0 0;
  color: rgb(255 249 233 / 46%);
  font-size: 0.59rem;
  letter-spacing: 0.08em;
  text-align: right;
  text-transform: uppercase;
}

@media (max-width: 1240px) {
  .atlas-masthead {
    grid-template-columns: minmax(200px, 1fr) auto auto;
    gap: 24px;
  }

  .atlas-nav {
    gap: 18px;
  }

  .book-id span {
    display: none;
  }

  .cover {
    grid-template-columns: minmax(360px, 0.78fr) minmax(0, 1.22fr);
  }

  .cover h1 {
    font-size: clamp(4rem, 6vw, 6.4rem);
  }

  .cover__plate img {
    min-height: 500px;
  }

  .dispatch-tag {
    width: 94%;
    grid-template-columns: 170px minmax(0, 1fr);
  }

  .dispatch-tag dl div {
    padding-inline: 14px;
  }

  .route-stop {
    width: 27%;
  }

  .shelf-products {
    grid-template-columns: repeat(3, minmax(120px, 1fr));
  }

  .shelf-products--short {
    max-width: none;
  }

  .shelf-bay {
    min-height: 510px;
  }

  .manifest-spread {
    grid-template-columns: minmax(280px, 0.58fr) minmax(520px, 1.42fr);
    gap: 40px;
    padding-inline: 48px;
  }
}

@media (max-width: 960px) {
  .atlas-masthead {
    grid-template-columns: 1fr auto;
    gap: 10px 20px;
    padding-bottom: 0;
  }

  .atlas-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: space-between;
    overflow-x: auto;
    padding: 4px 0 10px;
    scrollbar-width: none;
  }

  .atlas-nav::-webkit-scrollbar {
    display: none;
  }

  .book-id {
    grid-column: 2;
    grid-row: 1;
  }

  .cover {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    padding-top: 66px;
  }

  .cover::before {
    display: none;
  }

  .cover__copy {
    max-width: 760px;
    padding: 0 0 52px;
  }

  .cover h1 {
    font-size: clamp(4.4rem, 11vw, 7rem);
  }

  .cover__plate {
    grid-row: auto;
    margin-bottom: 38px;
  }

  .cover__plate img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .dispatch-tag {
    width: 92%;
    grid-template-columns: 1fr;
    margin-top: -78px;
  }

  .dispatch-tag__title {
    min-height: 48px;
    padding: 12px 18px;
    border-right: 0;
    border-bottom: 2px dashed var(--line);
  }

  .atlas-heading,
  .commissary__heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .commissary__heading .plate-label {
    grid-column: 1;
  }

  .atlas-heading > p,
  .commissary__heading > p:last-child {
    max-width: 700px;
  }

  .route-map {
    display: grid;
    min-height: 0;
    gap: 26px;
    padding: 42px 30px 42px 82px;
  }

  .route-map::before {
    top: 75px;
    bottom: 142px;
    left: 50px;
    width: 0;
    border-left: 3px dashed var(--teal-dark);
    background: none;
  }

  .route-map__line {
    display: none;
  }

  .route-stop,
  .route-stop--earth,
  .route-stop--orbit,
  .route-stop--luna,
  .route-stop--mars {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: 620px;
  }

  .route-stop:nth-of-type(even) {
    justify-self: end;
  }

  .planet {
    top: 9px;
    left: -55px;
  }

  .route-code,
  .route-stop h3 {
    margin-left: 0;
  }

  .route-legend {
    position: relative;
    inset: auto;
    margin-top: 8px;
  }

  .field-plate {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .field-plate figcaption {
    width: min(650px, 88%);
    margin-left: auto;
  }

  .manifest-spread {
    grid-template-columns: 1fr;
    padding: 55px;
  }

  .manifest-spread__intro {
    max-width: 720px;
  }

  .receiving {
    padding-bottom: 0;
  }

  .receiving-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(660px, 88%);
    margin: -70px 4% 0 auto;
  }

  .production-note {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .production-note > p {
    max-width: 720px;
  }

  .production-note ul {
    grid-column: 1;
    grid-template-columns: repeat(3, 1fr);
  }

  .production-note li:nth-child(3) {
    border-right: 0;
  }

  .production-note li:nth-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .production-note aside {
    grid-column: 1;
    max-width: 650px;
    margin-left: auto;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  :root {
    --gutter: 18px;
  }

  .atlas-masthead {
    min-height: 104px;
    padding-top: 10px;
  }

  .brand__mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .brand {
    font-size: 0.74rem;
  }

  .brand strong {
    font-size: 0.94rem;
  }

  .book-id strong {
    font-size: 0.65rem;
  }

  .atlas-nav {
    gap: 24px;
    justify-content: flex-start;
  }

  .cover {
    padding-top: 48px;
    padding-bottom: 26px;
  }

  .cover__copy {
    padding-bottom: 42px;
  }

  .cover h1 {
    max-width: 530px;
    font-size: clamp(3.5rem, 16vw, 5.6rem);
    line-height: 0.87;
  }

  .cover__lede {
    font-size: 0.97rem;
    line-height: 1.6;
  }

  .cover__facts {
    grid-template-columns: 1fr;
    margin-top: 42px;
  }

  .cover__plate {
    border-width: 2px;
    box-shadow: 8px 8px 0 var(--teal);
  }

  .cover__plate img {
    aspect-ratio: 4 / 3;
    object-position: 66% center;
  }

  .cover__plate figcaption {
    right: 10px;
    bottom: 10px;
    left: 10px;
    max-width: none;
    font-size: 0.58rem;
  }

  .dispatch-tag {
    width: calc(100% - 14px);
    margin-top: -44px;
    box-shadow: 7px 7px 0 var(--rust);
  }

  .dispatch-tag dl {
    grid-template-columns: 1fr 1fr;
  }

  .dispatch-tag dl div {
    min-height: 68px;
    border-bottom: 1px solid var(--line);
  }

  .dispatch-tag dl div:nth-child(even) {
    border-right: 0;
  }

  .dispatch-tag dl div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .route-atlas {
    padding-top: 95px;
  }

  .atlas-heading,
  .commissary__heading {
    margin-bottom: 44px;
  }

  .atlas-heading h2,
  .commissary__heading h2,
  .manifest-spread h2,
  .production-note h2 {
    font-size: clamp(3rem, 13vw, 4.8rem);
  }

  .route-map {
    padding: 32px 14px 34px 62px;
  }

  .route-map::before {
    top: 67px;
    bottom: 140px;
    left: 34px;
  }

  .planet {
    left: -46px;
    width: 38px;
    height: 38px;
  }

  .route-stop {
    padding-inline: 16px;
  }

  .route-stop > p:not(.route-code) {
    min-height: 0;
  }

  .atlas-footnote {
    margin-top: 20px;
  }

  .field-plate {
    margin-bottom: 110px;
  }

  .field-plate__image {
    border-width: 2px;
    box-shadow: 8px 8px 0 var(--sky);
  }

  .field-plate__image img {
    aspect-ratio: 4 / 3;
    object-position: 56% center;
  }

  .field-plate figcaption {
    width: 92%;
  }

  .cold-case {
    border-width: 4px;
    border-radius: 28px 28px 4px 4px;
    box-shadow: inset 0 0 0 2px var(--paper-high), 8px 8px 0 rgb(57 124 115 / 23%);
  }

  .cold-case__header {
    min-height: 58px;
    padding: 14px 18px;
  }

  .cold-case__header strong {
    display: none;
  }

  .shelf-bay {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .shelf-bay > header {
    display: grid;
    grid-template-columns: 60px 1fr;
    align-items: center;
    padding: 15px 18px;
    border-right: 0;
    border-bottom: 1px solid rgb(36 86 79 / 38%);
  }

  .shelf-bay > header span {
    margin: 0;
  }

  .shelf-products,
  .shelf-products--short {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
    padding-inline: 8px;
  }

  .catalog-product {
    min-height: 242px;
  }

  .catalog-product p {
    width: calc(100% + 2px);
    margin-inline: -1px;
    padding-inline: 8px;
  }

  .catalog-note {
    grid-template-columns: 1fr;
    gap: 8px;
    width: 94%;
    margin-right: 0;
  }

  .manifest-spread {
    width: 100%;
    margin-bottom: 110px;
    padding: 54px var(--gutter);
    border-right: 0;
    border-left: 0;
  }

  .manifest-spread__intro dl {
    grid-template-columns: 1fr;
  }

  .manifest-spread__intro dl div {
    border-bottom: 1px solid rgb(255 249 233 / 22%);
  }

  .load-sheet {
    box-shadow: 8px 9px 0 rgb(11 35 34 / 45%);
  }

  .load-sheet > header {
    display: grid;
  }

  .load-sheet table,
  .load-sheet thead,
  .load-sheet tbody {
    display: block;
    width: 100%;
  }

  .load-sheet thead {
    display: none;
  }

  .load-sheet tr {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) minmax(58px, 82px);
    align-items: center;
    border-bottom: 1px solid var(--line);
  }

  .load-sheet td,
  .load-sheet td:first-child,
  .load-sheet td:last-child {
    width: auto;
    padding: 9px 7px;
    border: 0;
    font-size: 0.61rem;
    overflow-wrap: anywhere;
    text-align: left;
    white-space: normal;
  }

  .load-sheet td:last-child {
    text-align: right;
  }

  .load-balance {
    grid-template-columns: 1fr;
    margin: 14px;
  }

  .load-balance p {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .load-sheet__note {
    margin: 14px;
  }

  .receiving {
    width: 100%;
  }

  .receiving__plate {
    border-right: 0;
    border-left: 0;
    box-shadow: none;
    clip-path: none;
  }

  .receiving__plate img {
    aspect-ratio: 4 / 3;
    object-position: 54% center;
  }

  .receiving__plate figcaption {
    top: 10px;
    left: var(--gutter);
    max-width: calc(100% - var(--gutter) * 2);
  }

  .receiving-card {
    width: calc(100% - var(--gutter) * 2);
    margin: -32px auto 0;
    padding: 34px 24px;
    box-shadow: 7px 7px 0 var(--rust);
  }

  .receiving-card h2 {
    font-size: clamp(3rem, 14vw, 4.6rem);
  }

  .production-note {
    margin-top: 110px;
  }

  .production-note ul {
    grid-template-columns: 1fr;
  }

  .production-note li,
  .production-note li:nth-child(3) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .production-note li:last-child {
    border-bottom: 0;
  }

  .site-footer dl {
    grid-template-columns: 1fr;
  }

  .site-footer dl div {
    border-right: 0;
    border-bottom: 1px solid rgb(255 249 233 / 24%);
  }

  .site-footer dl div:last-child {
    border-bottom: 0;
  }

  .site-footer__legal {
    text-align: left;
  }
}

@media (max-width: 380px) {
  .cover h1 {
    font-size: 3.35rem;
  }

  .dispatch-tag dl {
    grid-template-columns: 1fr;
  }

  .dispatch-tag dl div,
  .dispatch-tag dl div:nth-child(even),
  .dispatch-tag dl div:nth-last-child(-n + 2) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .dispatch-tag dl div:last-child {
    border-bottom: 0;
  }

  .load-sheet tr {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .load-sheet td:last-child {
    grid-column: 2;
    padding-top: 0;
    text-align: left;
  }
}

@media (max-height: 560px) and (orientation: landscape) {
  .atlas-masthead {
    min-height: 68px;
    grid-template-columns: auto 1fr auto;
    padding-bottom: 8px;
  }

  .atlas-nav {
    grid-column: 2;
    grid-row: 1;
    justify-content: center;
    padding: 0;
  }

  .book-id {
    grid-column: 3;
  }

  .cover {
    grid-template-columns: 0.8fr 1.2fr;
    padding-top: 34px;
  }

  .cover__copy {
    padding-right: 28px;
  }

  .cover h1 {
    font-size: 3.7rem;
  }

  .cover__lede {
    font-size: 0.82rem;
  }

  .cover__facts {
    display: none;
  }

  .cover__plate {
    margin-bottom: 54px;
  }

  .dispatch-tag {
    grid-template-columns: 150px 1fr;
    margin-top: -92px;
  }

  .dispatch-tag__title {
    border-right: 2px dashed var(--line);
    border-bottom: 0;
  }

  .dispatch-tag dl {
    grid-template-columns: repeat(4, 1fr);
  }

  .dispatch-tag dl div,
  .dispatch-tag dl div:nth-child(even),
  .dispatch-tag dl div:nth-last-child(-n + 2) {
    min-height: 0;
    padding: 11px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
