:root {
  --paper: #fff4d6;
  --paper-light: #fffdf5;
  --espresso: #281a12;
  --espresso-soft: #4d3729;
  --tomato: #e54a31;
  --tomato-dark: #b72d1c;
  --mustard: #f4b927;
  --lettuce: #4e8c46;
  --lettuce-light: #dcefc1;
  --pickle: #269b8e;
  --blue-paper: #d9eee9;
  --line: rgba(40, 26, 18, 0.3);
  --display: Impact, Haettenschweiler, "Arial Narrow Bold", "Franklin Gothic Condensed", sans-serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Courier New", Courier, monospace;
  --max: 1240px;
  --shadow: 9px 9px 0 rgba(40, 26, 18, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--espresso);
  background-color: var(--paper);
  background-image:
    radial-gradient(rgba(40, 26, 18, 0.075) 0.65px, transparent 0.75px),
    linear-gradient(90deg, transparent 49.5%, rgba(40, 26, 18, 0.035) 50%, transparent 50.5%),
    linear-gradient(transparent 49.5%, rgba(40, 26, 18, 0.025) 50%, transparent 50.5%);
  background-size: 7px 7px, 84px 84px, 84px 84px;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.32), transparent 46%, rgba(229, 74, 49, 0.045));
}

img,
picture,
video,
canvas {
  max-width: 100%;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  text-decoration-color: var(--tomato);
}

button {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 0.98;
  text-wrap: balance;
}

h1,
h2 {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

h3 {
  font-size: 1rem;
}

::selection {
  color: var(--paper-light);
  background: var(--tomato);
}

:focus-visible {
  outline: 4px solid var(--pickle);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  color: var(--paper-light);
  background: var(--espresso);
  border: 2px solid var(--paper-light);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell,
.home-hero,
.order-loop,
.page-hero,
.breadcrumbs {
  width: min(calc(100% - 2rem), var(--max));
  margin-right: auto;
  margin-left: auto;
}

.section-shell {
  margin-top: 6.5rem;
  margin-bottom: 6.5rem;
}

.eyebrow {
  margin-bottom: 0.8rem;
  color: var(--tomato-dark);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.button {
  min-height: 48px;
  padding: 0.8rem 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 2px solid var(--espresso);
  box-shadow: 4px 4px 0 var(--espresso);
  font-family: var(--mono);
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.065em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease;
}

.button:hover {
  text-decoration: none;
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--espresso);
}

.button--tomato {
  color: var(--paper-light);
  background: var(--tomato);
}

.button--paper {
  color: var(--espresso);
  background: var(--paper-light);
}

.button--ink {
  color: var(--paper-light);
  background: var(--espresso);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.status-stamp {
  width: fit-content;
  padding: 0.28rem 0.48rem;
  display: inline-flex;
  align-items: center;
  color: var(--paper-light);
  background: var(--lettuce);
  border: 1px solid var(--espresso);
  font-family: var(--mono);
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  line-height: 1.1;
  text-transform: uppercase;
  transform: rotate(-0.7deg);
}

.status-stamp--tomato {
  background: var(--tomato);
}

.status-stamp--mustard {
  color: var(--espresso);
  background: var(--mustard);
}

.status-stamp--teal {
  background: var(--pickle);
}

.status-stamp--ink {
  background: var(--espresso);
}

.stamp-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.counter-rail {
  min-height: 28px;
  padding: 0.3rem max(1rem, calc((100% - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--paper-light);
  background: var(--espresso);
  border-bottom: 2px solid var(--tomato);
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.counter-rail > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.counter-rail .status-stamp {
  padding: 0.15rem 0.36rem;
  color: var(--espresso);
  background: var(--mustard);
  border-color: var(--mustard);
}

.site-header {
  position: relative;
  z-index: 20;
  background: rgba(255, 244, 214, 0.96);
  border-bottom: 2px solid var(--espresso);
}

.header-shell {
  width: min(calc(100% - 2rem), var(--max));
  min-height: 92px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: stretch;
  text-decoration: none;
}

.brand__ticket {
  min-width: 53px;
  padding: 0.45rem;
  display: grid;
  place-items: center;
  color: var(--paper-light);
  background: var(--tomato);
  border: 2px solid var(--espresso);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 900;
  transform: rotate(-3deg);
}

.brand__words {
  padding-left: 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand__words strong {
  font-family: var(--display);
  font-size: 1.75rem;
  letter-spacing: 0.04em;
  line-height: 0.9;
}

.brand__words small {
  margin-top: 0.32rem;
  font-family: var(--mono);
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.primary-nav a {
  position: relative;
  padding: 0.65rem 0;
  font-family: var(--mono);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.035em;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0.25rem;
  left: 0;
  height: 3px;
  background: var(--tomato);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 150ms ease;
}

.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-cta {
  white-space: nowrap;
}

.menu-toggle {
  width: 48px;
  height: 48px;
  padding: 11px;
  display: none;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 5px;
  background: var(--paper-light);
  border: 2px solid var(--espresso);
  box-shadow: 3px 3px 0 var(--espresso);
  cursor: pointer;
}

.menu-toggle > span:not(.sr-only) {
  height: 2px;
  background: var(--espresso);
  transition: transform 150ms ease, opacity 150ms ease;
}

.menu-toggle.is-open > span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open > span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open > span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.breadcrumbs {
  padding: 1.15rem 0;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.breadcrumbs span:last-child {
  color: var(--espresso-soft);
}

.home-hero {
  min-height: 690px;
  margin-top: 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  overflow: hidden;
  border: 3px solid var(--espresso);
  box-shadow: var(--shadow);
}

.home-hero__copy {
  position: relative;
  padding: clamp(2.4rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--paper-light);
  background-color: var(--tomato);
  background-image:
    radial-gradient(rgba(255, 244, 214, 0.28) 1px, transparent 1.5px),
    linear-gradient(25deg, transparent 49.5%, rgba(40, 26, 18, 0.12) 50%, transparent 50.5%);
  background-size: 17px 17px, 120px 120px;
}

.home-hero__copy::after {
  content: "ORDER 001";
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.35rem 0.55rem;
  color: var(--espresso);
  background: var(--mustard);
  border: 2px solid var(--espresso);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 900;
  transform: rotate(2deg);
}

.home-hero__copy .eyebrow {
  color: var(--mustard);
}

.home-hero__copy h1 {
  max-width: 8.2ch;
  margin-bottom: 1.4rem;
  color: var(--paper-light);
  font-size: clamp(4.2rem, 7.4vw, 7.1rem);
}

.home-hero__lede {
  max-width: 40rem;
  margin-bottom: 1.8rem;
  font-size: 1.08rem;
  font-weight: 600;
}

.home-hero__copy .button--paper {
  color: var(--espresso);
}

.hero-facts {
  margin: 2.2rem 0 0;
  padding-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px dashed rgba(255, 253, 245, 0.6);
}

.hero-facts div {
  padding: 0 0.8rem;
  border-left: 1px solid rgba(255, 253, 245, 0.35);
}

.hero-facts div:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-facts dt {
  font-family: var(--mono);
  font-size: 0.53rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 0.28rem 0 0;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.35;
}

.home-hero__visual {
  position: relative;
  min-width: 0;
  background: var(--paper-light);
}

.home-hero__visual > p {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 8;
  margin: 0;
  padding: 0.35rem 0.52rem;
  color: var(--paper-light);
  background: var(--espresso);
  border: 1px solid var(--paper-light);
  font-family: var(--mono);
  font-size: 0.53rem;
  font-weight: 800;
}

.sandwich-illustration {
  position: relative;
  width: 100%;
  min-height: 100%;
  overflow: hidden;
  background-color: var(--paper-light);
  background-image:
    linear-gradient(rgba(40, 26, 18, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(40, 26, 18, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 50% 40%, rgba(244, 185, 39, 0.2), transparent 56%);
  background-size: 44px 44px, 44px 44px, auto;
  isolation: isolate;
}

.sandwich-illustration::before,
.sandwich-illustration::after {
  content: "";
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.sandwich-illustration::before {
  inset: 1.3rem;
  border: 2px dashed rgba(40, 26, 18, 0.32);
}

.sandwich-illustration::after {
  width: 130px;
  height: 130px;
  top: 2.4rem;
  left: 2.4rem;
  border: 2px solid var(--tomato);
  border-radius: 50%;
  opacity: 0.55;
}

.order-pin {
  position: absolute;
  top: 3.3rem;
  left: 3.3rem;
  z-index: 3;
  width: 28px;
  height: 28px;
  border: 3px solid var(--espresso);
  border-radius: 50%;
}

.order-pin::before,
.order-pin::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--espresso);
  transform: translate(-50%, -50%);
}

.order-pin::before {
  width: 42px;
  height: 2px;
}

.order-pin::after {
  width: 2px;
  height: 42px;
}

.sandwich-stack {
  position: absolute;
  right: 21%;
  bottom: 12%;
  z-index: 4;
  width: 58%;
  max-width: 390px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  filter: drop-shadow(8px 9px 0 rgba(40, 26, 18, 0.12));
}

.food-layer {
  position: relative;
  display: block;
  border: 3px solid var(--espresso);
}

.food-layer--bread-top {
  height: 92px;
  z-index: 7;
  margin-bottom: -7px;
  background: var(--mustard);
  border-radius: 52% 52% 16px 16px / 72% 72% 18px 18px;
  background-image: radial-gradient(rgba(40, 26, 18, 0.38) 0 2px, transparent 2.6px);
  background-size: 31px 29px;
}

.food-layer--lettuce {
  height: 46px;
  z-index: 6;
  margin: -4px -9px -2px;
  background-color: var(--lettuce);
  background-image: radial-gradient(circle at 20px -4px, transparent 18px, var(--lettuce-light) 19px 25px, transparent 26px);
  background-size: 42px 36px;
  border-radius: 45% 55% 48% 52%;
  transform: rotate(-1deg);
}

.food-layer--tomato {
  height: 52px;
  z-index: 5;
  margin: -2px 8px;
  background-color: var(--tomato);
  background-image:
    radial-gradient(ellipse, transparent 0 8px, rgba(40, 26, 18, 0.35) 9px 11px, transparent 12px),
    radial-gradient(ellipse, rgba(255, 244, 214, 0.3) 0 4px, transparent 5px);
  background-position: 0 0, 13px 7px;
  background-size: 71px 48px, 71px 48px;
  border-radius: 50%;
}

.food-layer--cheese {
  height: 43px;
  z-index: 4;
  margin: -3px 2px;
  background: var(--mustard);
  clip-path: polygon(0 0, 100% 0, 97% 62%, 84% 100%, 70% 61%, 56% 100%, 41% 60%, 27% 100%, 12% 61%, 0 96%);
}

.food-layer--filling {
  height: 58px;
  z-index: 3;
  margin: -5px 9px 0;
  background: var(--espresso-soft);
  border-radius: 44% 56% 47% 53%;
}

.food-layer--pickle {
  height: 45px;
  z-index: 2;
  margin: -4px 15px 0;
  background-color: var(--pickle);
  background-image: radial-gradient(circle, rgba(255, 253, 245, 0.38) 0 3px, transparent 4px);
  background-size: 24px 24px;
  border-radius: 45%;
}

.food-layer--bread-bottom {
  height: 72px;
  z-index: 1;
  margin-top: -4px;
  background: var(--mustard);
  border-radius: 16px 16px 30px 30px;
  background-image: radial-gradient(rgba(40, 26, 18, 0.28) 0 2px, transparent 2.6px);
  background-size: 28px 25px;
}

.kitchen-ruler {
  position: absolute;
  right: 7%;
  bottom: 10%;
  z-index: 5;
  width: 58px;
  height: 73%;
  min-height: 390px;
  padding: 1.1rem 0.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--mustard);
  border: 3px solid var(--espresso);
  box-shadow: 6px 7px 0 rgba(40, 26, 18, 0.18);
  font-family: var(--mono);
  font-size: 0.55rem;
  font-weight: 900;
}

.kitchen-ruler i {
  display: block;
  width: 65%;
  height: 2px;
  background: var(--espresso);
}

.kitchen-ruler i:nth-of-type(3n) {
  width: 100%;
}

.illustration-caption {
  position: absolute;
  left: 2.5rem;
  bottom: 2.5rem;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--mono);
  font-size: 0.53rem;
  font-weight: 900;
  transform: rotate(-2deg);
}

.illustration-caption strong {
  padding: 0.3rem 0.45rem;
  color: var(--paper-light);
  background: var(--espresso);
}

.illustration-caption span {
  padding: 0.25rem 0.4rem;
  border: 1px solid var(--espresso);
}

.sandwich-illustration--compact {
  min-height: 430px;
}

.sandwich-illustration--compact .sandwich-stack {
  width: 54%;
}

.order-loop {
  margin-top: 0;
  display: grid;
  grid-template-columns: 1.05fr 2.95fr;
  background: var(--paper-light);
  border: 3px solid var(--espresso);
  border-top: 0;
  box-shadow: var(--shadow);
}

.order-loop__heading {
  padding: 1.7rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--mustard);
  border-right: 2px solid var(--espresso);
}

.order-loop__heading h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.order-loop ol {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  list-style: none;
}

.order-loop li {
  min-height: 145px;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  border-right: 1px dashed var(--line);
}

.order-loop li:last-child {
  border-right: 0;
}

.order-loop li > span {
  margin-bottom: auto;
  color: var(--tomato);
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 900;
}

.order-loop li strong {
  font-family: var(--display);
  font-size: 1.65rem;
  text-transform: uppercase;
}

.order-loop li small {
  margin-top: 0.35rem;
  font-size: 0.67rem;
  line-height: 1.35;
}

.boundary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.boundary-card {
  position: relative;
  min-height: 370px;
  padding: clamp(1.6rem, 3vw, 2.6rem);
  border: 3px solid var(--espresso);
  box-shadow: 7px 7px 0 rgba(40, 26, 18, 0.15);
}

.boundary-card::after,
.route-ticket::before,
.aside-ticket::before,
.lead-ticket::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 1.1rem;
  width: 54px;
  height: 18px;
  background: rgba(255, 253, 245, 0.68);
  border: 1px solid rgba(40, 26, 18, 0.15);
  transform: rotate(-2deg);
}

.boundary-card--known {
  background: var(--lettuce-light);
}

.boundary-card--unknown {
  background: #ffdcd1;
}

.boundary-card h2 {
  max-width: 12ch;
  margin: 1.1rem 0 1.2rem;
  font-size: clamp(2.5rem, 5vw, 4.3rem);
}

.check-list {
  margin: 1.2rem 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 0.65rem 0 0.65rem 1.65rem;
  border-bottom: 1px dashed var(--line);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  top: 0.66rem;
  left: 0;
  color: var(--lettuce);
  font-family: var(--mono);
  font-weight: 900;
}

.boundary-card--unknown .check-list li::before {
  content: "?";
  color: var(--tomato);
}

.text-link,
.boundary-card > a,
.content-aside a:not(.button),
.source-entry > a {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section-heading {
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
  align-items: end;
  gap: 2rem;
}

.section-heading h2 {
  max-width: 15ch;
  margin-bottom: 0;
  font-size: clamp(3rem, 6vw, 5.8rem);
}

.section-heading > p {
  margin-bottom: 0.4rem;
  color: var(--espresso-soft);
}

.bottleneck-lab {
  padding: clamp(1.5rem, 4vw, 3.4rem);
  background: var(--paper-light);
  border: 3px solid var(--espresso);
  box-shadow: var(--shadow);
}

.bottleneck-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.bottleneck-options button {
  min-height: 195px;
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  background: var(--paper);
  border: 2px solid var(--espresso);
  box-shadow: 4px 4px 0 var(--espresso);
  cursor: pointer;
  transition: transform 120ms ease, background-color 120ms ease;
}

.bottleneck-options button:nth-child(2) {
  background: var(--lettuce-light);
}

.bottleneck-options button:nth-child(3) {
  background: var(--blue-paper);
}

.bottleneck-options button:hover,
.bottleneck-options button.is-active {
  background: var(--mustard);
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 var(--espresso);
}

.bottleneck-options button > span {
  margin-bottom: auto;
  color: var(--tomato);
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 900;
}

.bottleneck-options button strong {
  font-family: var(--display);
  font-size: 1.65rem;
  line-height: 1;
  text-transform: uppercase;
}

.bottleneck-options button small {
  margin-top: 0.55rem;
  line-height: 1.35;
}

.bottleneck-result {
  min-height: 108px;
  margin-top: 1.3rem;
  padding: 1.2rem 1.4rem;
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 1.5rem;
  color: var(--paper-light);
  background: var(--espresso);
  border-left: 9px solid var(--mustard);
}

.bottleneck-result strong {
  font-family: var(--display);
  font-size: 1.9rem;
  line-height: 1;
  text-transform: uppercase;
}

.bottleneck-result p {
  margin: 0;
}

.bottleneck-result.has-answer {
  border-left-color: var(--pickle);
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.route-ticket {
  position: relative;
  min-height: 340px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  color: var(--espresso);
  background: var(--paper-light);
  border: 3px solid var(--espresso);
  box-shadow: 6px 6px 0 rgba(40, 26, 18, 0.15);
  text-decoration: none;
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.route-ticket--2 {
  background: var(--blue-paper);
}

.route-ticket--3 {
  background: #ffdcd1;
}

.route-ticket:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow: 10px 12px 0 rgba(40, 26, 18, 0.18);
  text-decoration: none;
}

.route-ticket__number,
.route-ticket__label {
  width: fit-content;
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.route-ticket__number {
  color: var(--tomato);
}

.route-ticket__label {
  margin: 3rem 0 0.8rem;
  padding: 0.25rem 0.4rem;
  color: var(--paper-light);
  background: var(--espresso);
}

.route-ticket > strong {
  font-family: var(--display);
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.route-ticket > span:not([class]) {
  margin: 1rem 0 1.5rem;
}

.route-ticket > b {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 0.64rem;
  text-transform: uppercase;
}

.source-teaser {
  padding: clamp(1.6rem, 4vw, 3.2rem);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr) auto;
  align-items: center;
  gap: 2rem;
  color: var(--paper-light);
  background: var(--espresso);
  border: 3px solid var(--espresso);
  box-shadow: var(--shadow);
}

.source-teaser h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(2.7rem, 5vw, 4.7rem);
}

.source-teaser .eyebrow {
  color: var(--mustard);
}

.source-teaser__stamps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.faq-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.faq-item {
  align-self: start;
  background: var(--paper-light);
  border: 2px solid var(--espresso);
  box-shadow: 4px 4px 0 rgba(40, 26, 18, 0.12);
}

.faq-item h3 {
  margin: 0;
}

.faq-item button {
  width: 100%;
  min-height: 58px;
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 850;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.faq-item button span:last-child {
  color: var(--tomato);
  font-family: var(--mono);
  font-size: 1.2rem;
  transition: transform 140ms ease;
}

.faq-item button[aria-expanded="true"] span:last-child {
  transform: rotate(45deg);
}

.faq-item [data-faq-panel] {
  padding: 0 1rem 1rem;
  border-top: 1px dashed var(--line);
}

.faq-item [data-faq-panel] p {
  margin: 1rem 0 0;
}

.page-hero {
  min-height: 475px;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(360px, 0.78fr);
  overflow: hidden;
  background: var(--paper-light);
  border: 3px solid var(--espresso);
  box-shadow: var(--shadow);
}

.page-hero__copy {
  position: relative;
  padding: clamp(2.1rem, 5vw, 4.6rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-hero__copy::after {
  content: "CHECKED";
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.3rem 0.5rem;
  font-family: var(--mono);
  font-size: 0.56rem;
  font-weight: 900;
  border: 2px solid var(--espresso);
  transform: rotate(2deg);
}

.page-hero h1 {
  max-width: 12ch;
  margin-bottom: 1.2rem;
  font-size: clamp(4rem, 7vw, 7rem);
}

.page-hero .lede {
  max-width: 46rem;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.page-hero--lettuce .page-hero__copy {
  background: var(--lettuce-light);
  border-left: 11px solid var(--lettuce);
}

.page-hero--tomato .page-hero__copy {
  background: #ffdcd1;
  border-left: 11px solid var(--tomato);
}

.page-hero--mustard .page-hero__copy {
  background: #ffe59d;
  border-left: 11px solid var(--mustard);
}

.page-hero--teal .page-hero__copy {
  background: var(--blue-paper);
  border-left: 11px solid var(--pickle);
}

.page-hero--compact {
  min-height: 430px;
  grid-template-columns: 1fr;
}

.page-hero--compact .page-hero__copy {
  min-height: 430px;
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  gap: 2rem;
}

.deli-intro,
.calculator-intro {
  margin-bottom: 1.5rem;
  padding: 2rem;
  background: var(--paper-light);
  border: 3px solid var(--espresso);
  border-left: 10px solid var(--tomato);
}

.deli-intro h2,
.calculator-intro h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
}

.deli-intro p:last-child,
.calculator-intro p:last-child {
  margin-bottom: 0;
}

.run-checklist {
  background: var(--paper-light);
  border: 3px solid var(--espresso);
  box-shadow: var(--shadow);
}

.run-step {
  min-height: 104px;
  padding: 1rem 1.2rem;
  display: grid;
  grid-template-columns: auto 54px 1fr;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px dashed var(--line);
  cursor: pointer;
}

.run-step:hover {
  background: rgba(244, 185, 39, 0.18);
}

.run-step input {
  width: 25px;
  height: 25px;
  margin: 0;
  accent-color: var(--lettuce);
}

.run-step__number {
  color: var(--tomato);
  font-family: var(--display);
  font-size: 2.1rem;
}

.run-step strong,
.run-step small {
  display: block;
}

.run-step strong {
  font-size: 0.98rem;
}

.run-step small {
  margin-top: 0.28rem;
  color: var(--espresso-soft);
  line-height: 1.4;
}

.run-step:has(input:checked) {
  background: var(--lettuce-light);
}

.run-step:has(input:checked) strong {
  text-decoration: line-through;
}

.run-progress {
  min-height: 64px;
  padding: 0.9rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--paper-light);
  background: var(--espresso);
  font-family: var(--mono);
  font-size: 0.67rem;
  font-weight: 900;
  text-transform: uppercase;
}

.run-progress button {
  min-height: 42px;
  padding: 0.5rem 0.8rem;
  color: var(--espresso);
  background: var(--mustard);
  border: 2px solid var(--paper-light);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.content-aside {
  position: sticky;
  top: 1.2rem;
  display: grid;
  gap: 1rem;
}

.aside-ticket {
  position: relative;
  padding: 1.4rem;
  background: var(--paper-light);
  border: 2px solid var(--espresso);
  box-shadow: 5px 5px 0 rgba(40, 26, 18, 0.13);
}

.aside-ticket h2 {
  font-size: 2.15rem;
}

.aside-ticket a:not(.button) {
  margin-top: 0.85rem;
  display: block;
}

.article-sections {
  margin-top: 4rem;
}

.article-section {
  padding: 2rem 0;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 1.5rem;
  border-top: 2px solid var(--espresso);
}

.ticket-number {
  color: var(--tomato);
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 900;
}

.article-section__body h2 {
  max-width: 15ch;
  margin-bottom: 1rem;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
}

.article-section__body p,
.article-section__body ul {
  max-width: 760px;
}

.counter-note {
  padding: 1rem;
  background: #ffe59d;
  border-left: 7px solid var(--mustard);
}

.calculator-layout {
  max-width: 1060px;
}

.counter-calculator {
  display: grid;
  gap: 1rem;
}

.counter-calculator fieldset {
  margin: 0;
  padding: 1.5rem;
  background: var(--paper-light);
  border: 3px solid var(--espresso);
  box-shadow: 6px 6px 0 rgba(40, 26, 18, 0.12);
}

.counter-calculator legend {
  padding: 0.35rem 0.65rem;
  color: var(--paper-light);
  background: var(--espresso);
  border: 2px solid var(--espresso);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.counter-calculator legend span {
  margin-right: 0.6rem;
  color: var(--mustard);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.number-field {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}

.number-field > span {
  font-weight: 850;
}

.number-field input {
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 0.8rem;
  color: var(--espresso);
  background: var(--paper);
  border: 2px solid var(--espresso);
  border-radius: 0;
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 800;
}

.number-field input:focus {
  background: #fff;
}

.number-field small {
  color: var(--espresso-soft);
  font-size: 0.66rem;
}

.calculator-actions {
  margin: 0.4rem 0 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.calculator-results {
  padding: clamp(1.5rem, 4vw, 3rem);
  color: var(--paper-light);
  background: var(--espresso);
  border: 3px solid var(--espresso);
  box-shadow: var(--shadow);
}

.calculator-results.has-results {
  border-color: var(--pickle);
  box-shadow: 9px 9px 0 rgba(38, 155, 142, 0.25);
}

.results-heading {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.5rem;
}

.results-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -0.8rem;
  color: var(--mustard);
}

.results-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2.8rem, 5vw, 4.6rem);
}

.results-heading p {
  align-self: end;
}

.calculator-results dl {
  margin: 2rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px dashed rgba(255, 253, 245, 0.5);
  border-left: 1px dashed rgba(255, 253, 245, 0.5);
}

.calculator-results dl > div {
  min-height: 130px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px dashed rgba(255, 253, 245, 0.5);
  border-bottom: 1px dashed rgba(255, 253, 245, 0.5);
}

.calculator-results dt {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
}

.calculator-results dd {
  margin: 1rem 0 0;
  color: var(--mustard);
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
}

.results-warning {
  margin: 1rem 0 0;
  padding: 0.8rem;
  color: var(--espresso);
  background: var(--mustard);
  font-size: 0.78rem;
  font-weight: 800;
}

.codes-shell {
  max-width: 1060px;
}

.code-verdict {
  padding: clamp(1.7rem, 4vw, 3.6rem);
  background: #ffdcd1;
  border: 3px solid var(--espresso);
  border-left: 13px solid var(--tomato);
  box-shadow: var(--shadow);
}

.code-verdict h2 {
  max-width: 15ch;
  margin: 1.3rem 0;
  font-size: clamp(3rem, 6vw, 5.5rem);
}

.code-verdict p {
  max-width: 820px;
  font-size: 1.02rem;
}

.evidence-grid,
.method-grid {
  margin: 1.6rem 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.evidence-grid article,
.method-grid article {
  min-height: 240px;
  padding: 1.4rem;
  background: var(--paper-light);
  border: 2px solid var(--espresso);
  box-shadow: 4px 4px 0 rgba(40, 26, 18, 0.12);
}

.evidence-grid article > span,
.method-grid article > span {
  color: var(--tomato);
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 900;
}

.evidence-grid h2,
.method-grid h2 {
  margin: 2.7rem 0 0.8rem;
  font-size: 2rem;
}

.false-positive-note {
  margin: 2rem 0;
  padding: 1.6rem;
  color: var(--paper-light);
  background: var(--espresso);
  border: 3px solid var(--espresso);
}

.false-positive-note .eyebrow {
  color: var(--mustard);
}

.false-positive-note h2 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.false-positive-note code {
  padding: 0.1rem 0.3rem;
  color: var(--espresso);
  background: var(--mustard);
}

.sources-shell {
  max-width: 1120px;
}

.source-filter {
  margin: 2rem 0 1.2rem;
  padding: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  background: var(--espresso);
  border: 3px solid var(--espresso);
}

.source-filter button {
  min-height: 44px;
  padding: 0.6rem 0.85rem;
  color: var(--paper-light);
  background: transparent;
  border: 2px solid var(--paper-light);
  font-family: var(--mono);
  font-size: 0.63rem;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.source-filter button:hover,
.source-filter button.is-active {
  color: var(--espresso);
  background: var(--mustard);
  border-color: var(--mustard);
}

.source-ledger {
  display: grid;
  gap: 0.85rem;
}

.source-entry {
  min-height: 172px;
  padding: 1.25rem;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.2rem;
  background: var(--paper-light);
  border: 2px solid var(--espresso);
  box-shadow: 4px 4px 0 rgba(40, 26, 18, 0.1);
}

.source-entry[data-source-type="research"] {
  background: #f3ead0;
}

.source-entry__number {
  color: var(--tomato);
  font-family: var(--display);
  font-size: 2.3rem;
}

.source-entry h2 {
  margin: 0.7rem 0 0.55rem;
  font-family: var(--sans);
  font-size: 1.14rem;
  line-height: 1.25;
  text-transform: none;
}

.source-entry p {
  margin-bottom: 0.5rem;
  color: var(--espresso-soft);
}

.source-entry small {
  font-family: var(--mono);
  font-size: 0.62rem;
}

.narrow-copy {
  max-width: 900px;
}

.narrow-copy > h2,
.narrow-copy .article-section h2 {
  margin-top: 3rem;
  font-size: clamp(2.7rem, 5vw, 4.5rem);
}

.narrow-copy > p,
.narrow-copy > ul {
  max-width: 760px;
}

.lead-ticket {
  position: relative;
  padding: 1.4rem;
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 800;
  background: var(--mustard);
  border: 2px solid var(--espresso);
  box-shadow: 5px 5px 0 rgba(40, 26, 18, 0.12);
}

.not-found {
  width: min(calc(100% - 2rem), 1100px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 4rem 0;
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: stretch;
  gap: 0;
}

.not-found__ticket {
  padding: clamp(2rem, 6vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--paper-light);
  background: var(--tomato);
  border: 3px solid var(--espresso);
}

.not-found__ticket .eyebrow {
  color: var(--mustard);
}

.not-found__ticket h1 {
  margin-bottom: 1.4rem;
  font-size: clamp(4rem, 9vw, 8rem);
}

.not-found > .sandwich-illustration {
  border: 3px solid var(--espresso);
  border-left: 0;
}

.site-footer {
  position: relative;
  margin-top: 7rem;
  padding: 4.5rem max(1rem, calc((100% - var(--max)) / 2)) 1.4rem;
  color: var(--paper-light);
  background: var(--espresso);
  border-top: 8px solid var(--tomato);
}

.footer-ticket-edge {
  position: absolute;
  top: -18px;
  right: 0;
  left: 0;
  height: 18px;
  background: linear-gradient(135deg, transparent 50%, var(--espresso) 51%) 0 0 / 22px 22px repeat-x;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2rem;
}

.footer-intro {
  max-width: 370px;
}

.footer-wordmark {
  margin-bottom: 1rem;
  color: var(--mustard);
  font-family: var(--display);
  font-size: 3rem;
  line-height: 0.9;
}

.footer-grid h2 {
  color: var(--mustard);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
}

.footer-grid > div > a {
  margin-top: 0.55rem;
  display: block;
  font-family: var(--mono);
  font-size: 0.67rem;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #d5cbb7;
  border-top: 1px solid rgba(255, 253, 245, 0.2);
  font-family: var(--mono);
  font-size: 0.57rem;
}

@media (max-width: 1080px) {
  .header-shell {
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
  }

  .primary-nav {
    gap: 0.8rem;
  }

  .home-hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.8fr);
  }

  .home-hero__copy {
    padding: 2.5rem;
  }

  .home-hero__copy h1 {
    font-size: clamp(4rem, 7vw, 5.8rem);
  }

  .order-loop {
    grid-template-columns: 1fr;
  }

  .order-loop__heading {
    border-right: 0;
    border-bottom: 2px solid var(--espresso);
  }

  .source-teaser {
    grid-template-columns: 1fr 1fr;
  }

  .source-teaser .button {
    width: fit-content;
  }
}

@media (max-width: 860px) {
  .counter-rail > span:last-child {
    display: none;
  }

  .header-shell {
    min-height: 76px;
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .primary-nav {
    grid-column: 1 / -1;
    max-height: 0;
    padding: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    border: 0;
    transition: max-height 180ms ease;
  }

  .primary-nav.is-open {
    max-height: 420px;
    padding-bottom: 1rem;
    border-top: 1px dashed var(--line);
  }

  .primary-nav a {
    min-height: 48px;
    padding: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px dashed var(--line);
  }

  .home-hero,
  .page-hero {
    grid-template-columns: 1fr;
  }

  .home-hero__copy {
    min-height: 600px;
  }

  .home-hero__visual,
  .page-hero > .sandwich-illustration {
    min-height: 620px;
  }

  .hero-facts {
    grid-template-columns: 1fr 1fr;
  }

  .hero-facts div:last-child {
    margin-top: 0.8rem;
    padding: 0.8rem 0 0;
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255, 253, 245, 0.3);
    border-left: 0;
  }

  .order-loop ol {
    grid-template-columns: repeat(2, 1fr);
  }

  .order-loop li {
    border-bottom: 1px dashed var(--line);
  }

  .order-loop li:nth-child(2n) {
    border-right: 0;
  }

  .order-loop li:last-child {
    grid-column: 1 / -1;
  }

  .boundary-grid,
  .guide-layout,
  .results-heading {
    grid-template-columns: 1fr;
  }

  .content-aside {
    position: static;
    grid-template-columns: 1fr 1fr;
  }

  .bottleneck-options,
  .route-grid,
  .evidence-grid,
  .method-grid {
    grid-template-columns: 1fr;
  }

  .bottleneck-options button,
  .route-ticket,
  .evidence-grid article,
  .method-grid article {
    min-height: 0;
  }

  .route-ticket__label {
    margin-top: 2rem;
  }

  .source-teaser {
    grid-template-columns: 1fr;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .calculator-results dl {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 15px;
  }

  .section-shell,
  .home-hero,
  .order-loop,
  .page-hero,
  .breadcrumbs,
  .header-shell {
    width: min(calc(100% - 1rem), var(--max));
  }

  .section-shell {
    margin-top: 4.5rem;
    margin-bottom: 4.5rem;
  }

  .counter-rail {
    min-height: 26px;
    justify-content: center;
    font-size: 0.52rem;
  }

  .brand__ticket {
    min-width: 42px;
    font-size: 0.56rem;
  }

  .brand__words {
    padding-left: 0.5rem;
  }

  .brand__words strong {
    font-size: 1.35rem;
  }

  .brand__words small {
    max-width: 150px;
    font-size: 0.42rem;
  }

  .home-hero,
  .page-hero,
  .order-loop {
    border-width: 2px;
    box-shadow: 5px 5px 0 rgba(40, 26, 18, 0.13);
  }

  .home-hero__copy {
    min-height: 580px;
    padding: 1.5rem;
  }

  .home-hero__copy::after {
    top: 0.65rem;
    right: 0.65rem;
  }

  .home-hero__copy h1 {
    max-width: 9ch;
    font-size: clamp(3.3rem, 16vw, 4.4rem);
  }

  .home-hero__lede {
    font-size: 0.94rem;
  }

  .button-row .button,
  .calculator-actions .button {
    width: 100%;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .hero-facts div,
  .hero-facts div:last-child {
    margin: 0;
    padding: 0.7rem 0;
    grid-column: auto;
    border-top: 1px solid rgba(255, 253, 245, 0.28);
    border-left: 0;
  }

  .home-hero__visual,
  .page-hero > .sandwich-illustration {
    min-height: 510px;
  }

  .sandwich-illustration::before {
    inset: 0.65rem;
  }

  .sandwich-illustration::after,
  .order-pin {
    display: none;
  }

  .sandwich-stack {
    right: 23%;
    bottom: 15%;
    width: 66%;
  }

  .food-layer--bread-top {
    height: 72px;
  }

  .kitchen-ruler {
    right: 5%;
    bottom: 12%;
    width: 43px;
    height: 70%;
    min-height: 330px;
  }

  .illustration-caption {
    left: 1.1rem;
    bottom: 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
  }

  .home-hero__visual > p {
    right: 0.55rem;
    bottom: 0.55rem;
    max-width: 180px;
    font-size: 0.44rem;
  }

  .order-loop__heading,
  .boundary-card,
  .bottleneck-lab,
  .route-ticket,
  .source-teaser,
  .deli-intro,
  .calculator-intro,
  .counter-calculator fieldset,
  .calculator-results,
  .code-verdict,
  .false-positive-note {
    padding: 1.25rem;
  }

  .order-loop ol,
  .boundary-grid,
  .faq-list,
  .content-aside,
  .calculator-results dl {
    grid-template-columns: 1fr;
  }

  .order-loop li,
  .order-loop li:nth-child(2n),
  .order-loop li:last-child {
    min-height: 128px;
    grid-column: auto;
    border-right: 0;
    border-bottom: 1px dashed var(--line);
  }

  .boundary-card h2,
  .section-heading h2,
  .code-verdict h2 {
    font-size: clamp(2.8rem, 13vw, 4rem);
  }

  .bottleneck-result {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .page-hero__copy,
  .page-hero--compact .page-hero__copy {
    min-height: 460px;
    padding: 1.5rem;
  }

  .page-hero h1 {
    font-size: clamp(3.25rem, 15vw, 4.7rem);
  }

  .page-hero__copy::after {
    top: 0.6rem;
    right: 0.6rem;
    font-size: 0.48rem;
  }

  .run-step {
    grid-template-columns: auto 42px 1fr;
    gap: 0.7rem;
  }

  .run-step__number {
    font-size: 1.7rem;
  }

  .run-progress {
    align-items: stretch;
    flex-direction: column;
  }

  .article-section {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .article-section__body h2 {
    font-size: clamp(2.6rem, 12vw, 3.8rem);
  }

  .source-entry {
    grid-template-columns: 40px 1fr;
    align-items: start;
  }

  .source-entry > a {
    grid-column: 2;
  }

  .source-entry__number {
    font-size: 1.9rem;
  }

  .not-found {
    width: min(calc(100% - 1rem), 1100px);
    padding: 1rem 0;
    grid-template-columns: 1fr;
  }

  .not-found__ticket {
    padding: 1.5rem;
  }

  .not-found > .sandwich-illustration {
    min-height: 470px;
    border-top: 0;
    border-left: 2px solid var(--espresso);
  }

  .site-footer {
    padding-top: 3.6rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-intro {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 390px) {
  .brand__words small {
    display: none;
  }

  .home-hero__copy h1 {
    font-size: 3.15rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-intro {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
