:root {
  --paper: #f3eddf;
  --paper-light: #fffaf0;
  --ink: #17352f;
  --ink-soft: #4b5d57;
  --orange: #cc4525;
  --yellow: #f2c84b;
  --green: #315e52;
  --green-dark: #173f36;
  --rule: rgba(23, 53, 47, 0.3);
  --display: Rockwell, "Roboto Slab", "Courier New", serif;
  --body: "Trebuchet MS", "Segoe UI", sans-serif;
  --content: 72rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
}

body::before {
  position: fixed;
  z-index: 10;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--orange) 0 32%, var(--yellow) 32% 58%, var(--green) 58%);
  content: "";
}

a {
  color: inherit;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 0.1em;
}

a:hover {
  text-decoration-thickness: 0.16em;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--ink);
}

button,
select,
input {
  font: inherit;
}

button,
select {
  min-height: 2.75rem;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin-block: 0;
  font-family: var(--display);
  line-height: 1.02;
}

p {
  margin-block: 0 1rem;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  transform: translateY(-200%);
  background: var(--paper-light);
  color: var(--ink);
  font-weight: 700;
}

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

.masthead {
  border-bottom: 1px solid var(--rule);
  background: var(--paper-light);
}

.masthead__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  width: min(calc(100% - 3rem), var(--content));
  min-height: 7.25rem;
  margin-inline: auto;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.wordmark__mark {
  display: grid;
  width: 3.25rem;
  height: 3.25rem;
  place-items: center;
  transform: rotate(-3deg);
  border: 2px solid currentColor;
  border-radius: 50%;
  color: var(--orange);
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 900;
  box-shadow: 3px 3px 0 var(--yellow);
}

.wordmark__mark span {
  color: var(--ink);
}

.wordmark__text {
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-transform: uppercase;
}

.wordmark__text strong {
  font-size: 1.08rem;
}

.masthead__purpose {
  margin: 0;
  padding-left: 2rem;
  border-left: 1px solid var(--rule);
  color: var(--ink-soft);
  font-size: 0.8rem;
  line-height: 1.35;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  display: inline-block;
  min-height: 2.75rem;
  padding-block: 0.65rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-transform: uppercase;
}

.nav-list a:hover {
  text-decoration-color: var(--orange);
}

.hero {
  overflow: hidden;
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(23, 53, 47, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 53, 47, 0.045) 1px, transparent 1px);
  background-size: 2.5rem 2.5rem;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(19rem, 0.75fr);
  gap: clamp(3rem, 7vw, 7.5rem);
  align-items: center;
  width: min(calc(100% - 3rem), var(--content));
  min-height: 42rem;
  margin-inline: auto;
  padding-block: clamp(4rem, 9vw, 7rem);
}

.kicker,
.eyebrow {
  margin-bottom: 1rem;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kicker span {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  transform: rotate(-1deg);
  background: var(--yellow);
}

h1 {
  max-width: 12ch;
  font-size: clamp(3.2rem, 7.4vw, 6.8rem);
  letter-spacing: -0.065em;
}

h1 em {
  position: relative;
  color: var(--orange);
  font-style: normal;
}

h1 em::after {
  position: absolute;
  right: -0.06em;
  bottom: -0.09em;
  left: 0.02em;
  height: 0.12em;
  transform: rotate(-2deg);
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.hero__lede {
  max-width: 59ch;
  margin-top: 2rem;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.text-link {
  display: inline-block;
  font-weight: 900;
}

.text-link span {
  display: inline-block;
  margin-left: 0.35rem;
  color: var(--orange);
}

.event-ticket {
  position: relative;
  transform: rotate(1.2deg);
  border: 2px solid var(--ink);
  background: var(--paper-light);
  box-shadow: 10px 10px 0 rgba(23, 53, 47, 0.18);
}

.event-ticket__topline {
  display: flex;
  justify-content: space-between;
  padding: 0.55rem 1rem;
  border-bottom: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper-light);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.event-ticket__body {
  padding: clamp(1.5rem, 4vw, 2.4rem);
}

.event-ticket__body h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
}

.event-ticket__body > p:not(.status-flag) {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.status-flag {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.25rem 0.5rem;
  transform: rotate(-1deg);
  background: var(--orange);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.event-facts {
  margin: 0 0 1.25rem;
  border-block: 1px dashed var(--rule);
}

.event-facts div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  padding-block: 0.75rem;
}

.event-facts div + div {
  border-top: 1px dashed var(--rule);
}

.event-facts dt {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.event-facts dd {
  margin: 0;
  font-weight: 800;
}

.event-ticket__edge {
  height: 0.8rem;
  border-top: 2px solid var(--ink);
  background: repeating-linear-gradient(135deg, var(--orange) 0 8px, var(--paper-light) 8px 16px);
}

.button {
  display: inline-flex;
  min-height: 2.8rem;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--orange);
  color: #fff;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
}

.button:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.button--dark {
  background: var(--ink);
  box-shadow: 4px 4px 0 var(--orange);
}

.bench-ruler {
  display: flex;
  justify-content: space-between;
  width: min(calc(100% - 3rem), var(--content));
  height: 2.1rem;
  margin-inline: auto;
  border-top: 2px solid var(--ink);
  background: repeating-linear-gradient(90deg, transparent 0 calc(2.5% - 1px), var(--ink) calc(2.5% - 1px) 2.5%);
  color: var(--ink-soft);
  font: 0.62rem/1 var(--display);
}

.bench-ruler span {
  padding-top: 0.55rem;
  background: var(--paper);
}

.section {
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.section__inner {
  width: min(calc(100% - 3rem), var(--content));
  margin-inline: auto;
}

.section--paper {
  background-color: var(--paper-light);
  background-image: radial-gradient(rgba(23, 53, 47, 0.075) 0.7px, transparent 0.7px);
  background-size: 6px 6px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(6rem, 0.32fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.section-number {
  margin: 0;
  color: var(--orange);
  font-family: var(--display);
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.74;
}

.section-heading h2,
.volunteer h2 {
  max-width: 18ch;
  font-size: clamp(2.4rem, 5.8vw, 4.8rem);
  letter-spacing: -0.045em;
}

.section-heading div > p:last-child {
  max-width: 64ch;
  margin-top: 1.3rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.parts-cabinet {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: 8px 8px 0 rgba(23, 53, 47, 0.15);
}

.drawer {
  position: relative;
  min-width: 0;
  padding: 1.5rem;
}

.drawer + .drawer {
  border-left: 1px dashed var(--ink);
}

.drawer__icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  margin-bottom: 2.2rem;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  font-family: var(--display);
  font-size: 1.4rem;
}

.drawer__label {
  margin-bottom: 0.35rem;
  color: var(--orange);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.drawer h3 {
  margin-bottom: 0.8rem;
  font-size: 1.5rem;
}

.drawer p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.fit-row {
  display: grid;
  grid-template-columns: 1.65fr 0.75fr;
  margin-top: 3rem;
  border-block: 2px solid var(--ink);
}

.fit-checker {
  display: grid;
  grid-template-columns: 1fr minmax(12rem, 0.9fr) auto;
  gap: 1.5rem;
  align-items: end;
  padding: 2rem 2rem 2rem 0;
}

.fit-checker h3,
.fit-result strong {
  font-size: 1.25rem;
}

.fit-checker .eyebrow {
  margin-bottom: 0.4rem;
}

.field-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  font-weight: 800;
}

.field-group select {
  width: 100%;
  padding: 0.6rem 2.2rem 0.6rem 0.7rem;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--paper-light);
  color: var(--ink);
}

.fit-result {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: center;
  padding: 1.5rem;
  border-left: 2px solid var(--ink);
  background: var(--yellow);
}

.fit-result p {
  margin: 0;
  font-size: 0.85rem;
}

.fit-result__stamp {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  transform: rotate(-7deg);
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 900;
}

.fit-result[data-state="caution"] {
  background: #f2b49e;
}

.bench-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding-top: 2rem;
}

.bench-notes h3 {
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
}

.bench-notes p {
  margin: 0;
  color: var(--ink-soft);
}

.noscript-note {
  grid-column: 1 / -1;
  padding: 0.7rem;
  border: 1px dashed var(--ink);
}

.section--green {
  position: relative;
  overflow: hidden;
  background: var(--green);
  color: var(--paper-light);
}

.section--green::before {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: repeating-linear-gradient(0deg, transparent 0 31px, var(--paper-light) 31px 32px);
  content: "";
  pointer-events: none;
}

.section--green .section__inner {
  position: relative;
}

.section-heading--light .section-number,
.section-heading--light .eyebrow {
  color: var(--yellow);
}

.section-heading--light div > p:last-child {
  color: rgba(255, 250, 240, 0.82);
}

.repair-route {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--paper-light);
  list-style: none;
}

.repair-route li {
  padding: 1.5rem 1.5rem 2rem 0;
}

.repair-route li + li {
  padding-left: 1.5rem;
  border-left: 1px dashed rgba(255, 250, 240, 0.5);
}

.route-number {
  display: inline-grid;
  width: 2.5rem;
  height: 2.5rem;
  margin: -2.8rem 0 2.5rem;
  place-items: center;
  border: 2px solid var(--paper-light);
  border-radius: 50%;
  background: var(--green);
  color: var(--yellow);
  font-family: var(--display);
  font-weight: 900;
}

.repair-route h3 {
  margin-bottom: 0.8rem;
  font-size: 1.45rem;
}

.repair-route p {
  margin: 0;
  color: rgba(255, 250, 240, 0.8);
  font-size: 0.9rem;
}

.packing-slip {
  display: grid;
  grid-template-columns: minmax(15rem, 0.65fr) 1fr auto;
  gap: 2rem;
  align-items: center;
  margin-top: 4.5rem;
  padding: 2rem;
  transform: rotate(-0.4deg);
  border: 2px solid var(--ink);
  background: var(--paper-light);
  color: var(--ink);
  box-shadow: 8px 8px 0 var(--green-dark);
}

.packing-slip h3 {
  margin-bottom: 0.75rem;
  font-size: 1.8rem;
}

.packing-slip p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.packing-slip fieldset {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem 1.2rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.packing-slip label {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
}

.packing-slip input {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0;
  accent-color: var(--orange);
}

.packing-slip input:checked + span {
  color: var(--ink-soft);
  text-decoration: line-through;
}

.reset-link {
  padding: 0.6rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}

.access-section {
  border-bottom: 1px solid var(--rule);
}

.access-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: clamp(3rem, 7vw, 7rem);
}

.access-ledger {
  margin: 0;
  border-top: 2px solid var(--ink);
}

.access-ledger div {
  display: grid;
  grid-template-columns: minmax(8rem, 0.35fr) 1fr;
  gap: 2rem;
  padding-block: 1.25rem;
  border-bottom: 1px dashed var(--ink);
}

.access-ledger dt {
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 900;
}

.access-ledger dd {
  margin: 0;
  color: var(--ink-soft);
}

.access-note {
  position: relative;
  align-self: start;
  margin-top: 1rem;
  padding: 2.5rem 2rem 2rem;
  transform: rotate(1deg);
  border: 1px solid var(--rule);
  background: #f6d967;
  box-shadow: 7px 8px 0 rgba(23, 53, 47, 0.16);
}

.tape {
  position: absolute;
  top: -1rem;
  left: 35%;
  width: 7rem;
  height: 2rem;
  transform: rotate(-3deg);
  background: rgba(255, 250, 240, 0.63);
}

.hand-note {
  color: var(--orange);
  font-family: var(--display);
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 900;
}

.access-note h3 {
  margin-bottom: 0.8rem;
  font-size: 1.7rem;
}

.access-note p:not(.hand-note) {
  font-size: 0.9rem;
}

.volunteer {
  position: relative;
  overflow: hidden;
  background: var(--orange);
  color: #fff;
}

.volunteer::after {
  position: absolute;
  right: -4rem;
  bottom: -8rem;
  width: 24rem;
  height: 24rem;
  border: 3rem solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.volunteer__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(3rem, 9vw, 9rem);
  width: min(calc(100% - 3rem), var(--content));
  margin-inline: auto;
  padding-block: clamp(5rem, 10vw, 8rem);
}

.volunteer .eyebrow {
  color: #fff;
}

.volunteer__copy {
  align-self: end;
}

.volunteer__copy > p:first-child {
  max-width: 55ch;
  font-size: 1.1rem;
}

.button--large {
  margin-block: 1rem;
  padding: 0.9rem 1.2rem;
  background: var(--paper-light);
  color: var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
}

.contact-note {
  max-width: 60ch;
  margin-top: 0.5rem;
  font-size: 0.74rem;
  line-height: 1.5;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  width: min(calc(100% - 3rem), var(--content));
  margin-inline: auto;
  padding-block: 2.5rem;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.site-footer p {
  margin: 0;
}

.footer-mark {
  color: var(--ink);
  font-family: var(--display);
  font-size: 1rem;
}

.footer-meta {
  text-align: right;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.js .reveal {
  animation: settle-in 500ms ease-out both;
}

.js .reveal:nth-child(2) {
  animation-delay: 90ms;
}

@keyframes settle-in {
  from { opacity: 0; transform: translateY(0.7rem); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 60rem) {
  .masthead__inner {
    grid-template-columns: auto 1fr;
    padding-block: 1rem;
  }

  .masthead__purpose {
    display: none;
  }

  .hero__inner {
    gap: 3rem;
  }

  .parts-cabinet {
    grid-template-columns: 1fr 1fr;
  }

  .drawer + .drawer {
    border-left: 1px dashed var(--ink);
  }

  .drawer:nth-child(3) {
    border-top: 1px dashed var(--ink);
    border-left: 0;
  }

  .drawer:nth-child(4) {
    border-top: 1px dashed var(--ink);
  }

  .fit-row,
  .access-layout {
    grid-template-columns: 1fr;
  }

  .fit-result {
    border-top: 2px solid var(--ink);
    border-left: 0;
  }

  .repair-route {
    grid-template-columns: 1fr 1fr;
    gap: 3rem 0;
  }

  .repair-route li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .packing-slip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 48rem) {
  .masthead__inner {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
    width: min(calc(100% - 2rem), var(--content));
  }

  .nav-list {
    justify-content: flex-start;
    gap-inline: 1rem;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    width: min(calc(100% - 2rem), var(--content));
    padding-block: 4rem;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .event-ticket {
    transform: none;
  }

  .bench-ruler,
  .section__inner,
  .volunteer__inner,
  .site-footer {
    width: min(calc(100% - 2rem), var(--content));
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .section-number {
    font-size: 4rem;
  }

  .fit-checker {
    grid-template-columns: 1fr;
    padding-right: 0;
  }

  .bench-notes,
  .volunteer__inner {
    grid-template-columns: 1fr;
  }

  .repair-route {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .repair-route li,
  .repair-route li + li,
  .repair-route li:nth-child(3) {
    padding: 1.5rem 0 0;
    border-left: 0;
    border-top: 1px dashed rgba(255, 250, 240, 0.5);
  }

  .packing-slip {
    transform: none;
  }

  .access-ledger div {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .site-footer {
    flex-direction: column;
  }

  .footer-meta {
    text-align: left;
  }
}

@media (max-width: 32rem) {
  .nav-list {
    gap: 0.1rem 0.75rem;
  }

  .parts-cabinet,
  .packing-slip fieldset {
    grid-template-columns: 1fr;
  }

  .drawer + .drawer,
  .drawer:nth-child(3) {
    border-top: 1px dashed var(--ink);
    border-left: 0;
  }

  .event-facts div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .button:hover {
    transform: none;
  }
}
