:root {
  --paper: #f2ecdf;
  --paper-light: #fffaf0;
  --ink: #171713;
  --signal: #f05237;
  --blue: #3155c6;
  --green: #118465;
  --pink: #e98caf;
  --yellow: #f2bd25;
  --ceramics: #3155c6;
  --painting: #ed5a3f;
  --floristry: #118465;
  --baking: #d99413;
  --border: 2px solid var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background-color: var(--paper);
  background-image: linear-gradient(rgba(23, 23, 19, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(23, 23, 19, .035) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-tap-highlight-color: rgba(240, 82, 55, .22);
}

button,
input,
select,
a {
  touch-action: manipulation;
}

button,
input,
select {
  font: inherit;
}

button,
a,
select {
  cursor: pointer;
}

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

a {
  color: inherit;
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

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

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: .75rem;
  left: .75rem;
  padding: .75rem 1rem;
  color: #fff;
  background: var(--ink);
  transform: translateY(-150%);
  transition: transform .16s ease;
}

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

.site-header {
  min-height: 88px;
  padding: 0 clamp(1rem, 4vw, 4rem);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  border-bottom: var(--border);
  background: rgba(242, 236, 223, .94);
}

.brand {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: .12em;
  color: var(--ink);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -.05em;
  text-decoration: none;
}

.brand-mark {
  width: .65em;
  height: .65em;
  border: .18em solid currentColor;
  border-radius: 50%;
  background: var(--signal);
}

.brand {
  transition: color .16s ease;
}

.brand:hover {
  color: var(--signal);
}

.service-note {
  margin: 0;
  padding: .62rem 1rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.status-dot {
  display: inline-block;
  width: .65rem;
  height: .65rem;
  margin-right: .4rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(17, 132, 101, .14);
}

.header-meta {
  margin: 0;
  justify-self: end;
  font-family: Georgia, "Times New Roman", serif;
  font-size: .77rem;
  font-style: italic;
  line-height: 1.35;
  text-align: right;
}

.hero {
  min-height: 660px;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(440px, .97fr);
  overflow: hidden;
  border-bottom: var(--border);
}

.hero-copy {
  z-index: 2;
  padding: clamp(4rem, 8vw, 8rem) clamp(1.25rem, 6vw, 7rem);
  align-self: center;
}

.eyebrow {
  margin-bottom: 1.25rem;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: .75rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 780px;
  margin-bottom: 1.75rem;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(4.9rem, 8.2vw, 8rem);
  font-weight: 900;
  line-height: .81;
  letter-spacing: -.055em;
  text-transform: uppercase;
}

.hero h1 em {
  position: relative;
  display: inline-block;
  color: var(--signal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: .75em;
  font-weight: 400;
  line-height: 1;
  text-transform: none;
  transform: rotate(-3deg);
}

.hero h1 em::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -.05em;
  left: 0;
  height: .08em;
  background: currentColor;
  transform: rotate(1deg);
}

.hero-intro {
  max-width: 530px;
  margin-bottom: 2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 1.6;
}

.route-link {
  display: inline-flex;
  gap: 1.5rem;
  align-items: center;
  padding-bottom: .3rem;
  border-bottom: 2px solid;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .11em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .16s ease, gap .16s ease;
}

.route-link:hover {
  gap: 2rem;
  color: var(--signal);
}

.hero-map {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  border-left: var(--border);
  background: var(--blue);
}

.hero-photo-wrap {
  position: absolute;
  z-index: 1;
  top: 12%;
  right: 8%;
  width: 73%;
  height: 66%;
  border: 2px solid var(--ink);
  background: var(--pink);
  box-shadow: 15px 16px 0 var(--ink);
  transform: rotate(3deg);
}

.hero-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.72) contrast(1.04);
}

.photo-label {
  position: absolute;
  right: -1.7rem;
  bottom: -2.6rem;
  padding: .65rem 1rem;
  border: 2px solid var(--ink);
  background: var(--yellow);
  font-size: .64rem;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: .08em;
  text-transform: uppercase;
  transform: rotate(-5deg);
}

.map-lines {
  position: absolute;
  z-index: 2;
  inset: 4% 2% 3%;
  width: 96%;
  height: 93%;
  overflow: visible;
  fill: var(--paper-light);
  stroke: var(--ink);
  stroke-width: 2;
}

.map-track {
  fill: none;
  stroke-linecap: round;
  stroke-width: 13;
}

.map-track-a {
  stroke: var(--signal);
}

.map-track-b {
  stroke: var(--yellow);
  stroke-dasharray: 2 22;
}

.month-stamp {
  position: absolute;
  z-index: 3;
  top: 4%;
  left: 3%;
  width: 130px;
  height: 130px;
  display: grid;
  place-content: center;
  border: 3px solid var(--ink);
  border-radius: 50%;
  color: var(--paper-light);
  background: var(--signal);
  box-shadow: 6px 7px 0 var(--ink);
  line-height: .85;
  text-align: center;
  transform: rotate(-10deg);
}

.month-stamp b {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 2.3rem;
  letter-spacing: .03em;
}

.month-stamp span {
  font-family: Georgia, serif;
  font-size: 1.4rem;
  font-style: italic;
}

.hero-scribble {
  position: absolute;
  z-index: 4;
  right: 2.5%;
  bottom: 2.5%;
  color: var(--paper-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  font-style: italic;
  transform: rotate(-8deg);
}

.departures {
  padding: clamp(4rem, 7vw, 7rem) clamp(1rem, 4vw, 4rem) 7rem;
}

.section-heading {
  max-width: 1310px;
  margin: 0 auto 3rem;
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  align-items: end;
}

.section-heading .eyebrow {
  margin-bottom: .65rem;
}

.section-heading h2,
.manifesto h2 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(3.5rem, 6.5vw, 6.5rem);
  line-height: .86;
  letter-spacing: -.04em;
  text-transform: uppercase;
}

.section-heading > p {
  max-width: 390px;
  margin: 0 0 .45rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.5;
}

.control-desk {
  position: relative;
  z-index: 4;
  max-width: 1310px;
  margin: 0 auto 1.5rem;
  padding: 1.2rem;
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(190px, .7fr) minmax(230px, .7fr);
  gap: 1rem;
  color: var(--paper-light);
  border: 2px solid var(--ink);
  border-radius: 1rem;
  background: var(--ink);
  box-shadow: 9px 10px 0 var(--signal);
}

.control-field label {
  display: block;
  margin: 0 0 .55rem .2rem;
  color: #c9c2b4;
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.search-control,
.select-control {
  position: relative;
  display: block;
}

.search-control svg,
.select-control svg {
  position: absolute;
  top: 50%;
  width: 1.2rem;
  height: 1.2rem;
  pointer-events: none;
  transform: translateY(-50%);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.search-control svg {
  left: 1rem;
}

.select-control svg {
  right: 1rem;
}

.control-desk input,
.control-desk select {
  width: 100%;
  min-height: 53px;
  border: 0;
  border-radius: .55rem;
  color: var(--ink);
  background: var(--paper-light);
  font-weight: 750;
}

.control-desk input {
  padding: 0 1rem 0 3rem;
}

.control-desk select {
  padding: 0 3rem 0 1rem;
  appearance: none;
}

.control-desk input::placeholder {
  color: #77756e;
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

.saved-toggle {
  min-height: 77px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  border: 2px solid var(--paper-light);
  border-radius: .55rem;
  color: var(--paper-light);
  background: transparent;
  text-align: left;
  transition: color .16s ease, background-color .16s ease, transform .16s ease;
}

.saved-toggle:hover,
.saved-toggle[aria-pressed="true"] {
  color: var(--ink);
  background: var(--yellow);
}

.saved-toggle:active {
  transform: translateY(2px);
}

.saved-toggle svg {
  width: 1.5rem;
  fill: none;
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.saved-toggle small,
.saved-toggle b {
  display: block;
}

.saved-toggle small {
  margin-bottom: .25rem;
  font-size: .62rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .7;
}

.saved-toggle b {
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.result-bar {
  max-width: 1310px;
  margin: 2.5rem auto 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid rgba(23, 23, 19, .35);
}

#result-count {
  margin: 0 0 .7rem;
  font-family: Georgia, serif;
  font-size: .87rem;
  font-style: italic;
}

.route-legend {
  margin-bottom: .7rem;
  display: flex;
  gap: 1rem;
  font-size: .6rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.route-legend span {
  display: flex;
  gap: .35rem;
  align-items: center;
}

.legend-dot {
  width: .6rem;
  height: .6rem;
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.legend-dot.ceramics { background: var(--ceramics); }
.legend-dot.painting { background: var(--painting); }
.legend-dot.floristry { background: var(--floristry); }
.legend-dot.baking { background: var(--baking); }

.route-list {
  position: relative;
  max-width: 1230px;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 8rem;
  list-style: none;
}

.route-list::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 12px;
  border: 2px solid var(--ink);
  border-radius: 99px;
  background: var(--signal);
  transform: translateX(-50%);
}

.route-list::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: calc(50% - 23px);
  bottom: -8px;
  width: 44px;
  height: 44px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
}

.workshop-item {
  --line: var(--signal);
  position: relative;
  z-index: 1;
  min-width: 0;
  margin-bottom: 6rem;
}

.workshop-item:nth-child(even) {
  grid-column: 2;
  transform: translateY(9rem);
}

.workshop-item:nth-child(odd) {
  grid-column: 1;
}

.workshop-item:last-child {
  margin-bottom: 10rem;
}

.workshop-item::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 4.5rem;
  width: 4.3rem;
  height: 4px;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--line);
}

.workshop-item:nth-child(odd)::before {
  right: -4.25rem;
}

.workshop-item:nth-child(even)::before {
  left: -4.25rem;
}

.station-dot {
  position: absolute;
  z-index: 3;
  top: 3.65rem;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--paper-light);
}

.station-dot::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: inherit;
  background: var(--line);
}

.workshop-item:nth-child(odd) .station-dot {
  right: -5.28rem;
}

.workshop-item:nth-child(even) .station-dot {
  left: -5.28rem;
}

.ticket-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: var(--border);
  border-radius: .4rem;
  background: var(--paper-light);
  box-shadow: 9px 10px 0 var(--ink);
  transition: transform .2s ease, box-shadow .2s ease;
}

.ticket-card:hover {
  box-shadow: 13px 14px 0 var(--line);
  transform: translate(-3px, -3px) rotate(-.3deg);
}

.workshop-item:nth-child(even) .ticket-card:hover {
  transform: translate(-3px, -3px) rotate(.3deg);
}

.ticket-card::before,
.ticket-card::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 55%;
  width: 1.4rem;
  height: 1.4rem;
  border: var(--border);
  border-radius: 50%;
  background: var(--paper);
}

.ticket-card::before { left: -.8rem; }
.ticket-card::after { right: -.8rem; }

.ticket-visual {
  position: relative;
  height: 225px;
  overflow: hidden;
  border-bottom: var(--border);
  background: var(--line);
}

.ticket-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.8) contrast(1.04);
  transition: transform .35s ease, filter .2s ease;
}

.ticket-card:hover .ticket-visual img {
  filter: saturate(1) contrast(1.04);
  transform: scale(1.035);
}

.date-flag,
.saved-stamp {
  position: absolute;
  z-index: 1;
  border: 2px solid var(--ink);
  color: var(--ink);
  background: var(--yellow);
}

.date-flag {
  top: 1rem;
  left: 1rem;
  padding: .55rem .7rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-2deg);
}

.date-flag b,
.date-flag span {
  display: block;
}

.date-flag b {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 1.55rem;
}

.date-flag span {
  margin-bottom: .15rem;
  font-size: .6rem;
  letter-spacing: .1em;
}

.saved-stamp {
  right: 1rem;
  bottom: 1rem;
  padding: .55rem .7rem;
  border-radius: 999px;
  color: var(--paper-light);
  background: var(--signal);
  font-size: .63rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  transform: rotate(4deg);
}

.ticket-copy {
  padding: 1.45rem 1.5rem 1.25rem;
}

.ticket-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.category-label {
  display: inline-flex;
  gap: .4rem;
  align-items: center;
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.category-label::before {
  content: "";
  width: .7rem;
  height: .7rem;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--line);
}

.stop-number {
  font-family: Georgia, serif;
  font-size: .72rem;
  font-style: italic;
}

.ticket-copy h3 {
  margin: .65rem 0 .7rem;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2.1rem, 3vw, 3rem);
  line-height: .93;
  letter-spacing: -.03em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.ticket-description {
  min-height: 3.8em;
  margin-bottom: 1.25rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: .9rem;
  line-height: 1.45;
}

.ticket-facts {
  margin: 0;
  padding: .9rem 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px dashed var(--ink);
  border-bottom: 1px dashed var(--ink);
}

.ticket-facts div + div {
  border-left: 1px solid rgba(23, 23, 19, .25);
}

.ticket-facts dt,
.ticket-facts dd {
  margin: 0;
  text-align: center;
}

.ticket-facts dt {
  margin-bottom: .25rem;
  color: #656158;
  font-size: .57rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ticket-facts dd {
  font-size: .75rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.open-item {
  width: 100%;
  margin-top: 1rem;
  padding: .85rem 1rem;
  display: flex;
  justify-content: space-between;
  border: 0;
  border-radius: .25rem;
  color: var(--paper-light);
  background: var(--ink);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .16s ease, background-color .16s ease;
}

.open-item:hover {
  color: var(--ink);
  background: var(--line);
}

.empty-state {
  max-width: 720px;
  margin: 5rem auto 1rem;
  padding: 4rem 2rem;
  border: 2px dashed var(--ink);
  background: var(--paper-light);
  text-align: center;
}

.empty-state[hidden] {
  display: none;
}

.empty-icon {
  display: block;
  margin-bottom: 1rem;
  color: var(--signal);
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 1;
}

.empty-state .eyebrow {
  margin-bottom: .6rem;
}

.empty-state h3 {
  margin-bottom: .7rem;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 3rem;
  letter-spacing: -.03em;
  text-transform: uppercase;
}

.empty-state > p:not(.eyebrow) {
  margin-bottom: 1.5rem;
  font-family: Georgia, serif;
}

.empty-state button {
  padding: .85rem 1.2rem;
  border: var(--border);
  color: var(--paper-light);
  background: var(--ink);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.empty-state button:hover {
  color: var(--ink);
  background: var(--yellow);
}

.manifesto {
  position: relative;
  min-height: 500px;
  padding: 7rem clamp(1.5rem, 9vw, 9rem);
  display: grid;
  align-content: center;
  overflow: hidden;
  border-top: var(--border);
  border-bottom: var(--border);
  color: var(--paper-light);
  background: var(--blue);
}

.manifesto h2 {
  max-width: 970px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 400;
  line-height: .97;
  text-transform: none;
}

.manifesto .eyebrow {
  color: var(--yellow);
}

.manifesto-seal {
  position: absolute;
  right: 6%;
  bottom: -3rem;
  width: 210px;
  height: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border: 3px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 8px 8px 0 var(--ink);
  font-size: .63rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  transform: rotate(10deg);
}

.manifesto-seal b {
  font-size: 3rem;
}

.site-footer {
  min-height: 230px;
  padding: 3rem clamp(1rem, 4vw, 4rem);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 2rem;
  background: var(--paper-light);
}

.site-footer p {
  margin: 0;
  font-family: Georgia, serif;
  font-size: .8rem;
  font-style: italic;
  line-height: 1.5;
  text-align: center;
}

.site-footer > a:last-child {
  justify-self: end;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.site-footer > a:last-child:hover {
  color: var(--signal);
}

.detail-dialog {
  width: min(1120px, calc(100vw - 3rem));
  max-width: none;
  max-height: min(850px, calc(100dvh - 3rem));
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: .5rem;
  color: var(--ink);
  background: var(--paper-light);
  box-shadow: 16px 18px 0 rgba(0, 0, 0, .45);
}

.detail-dialog::backdrop {
  background: rgba(23, 23, 19, .72);
  backdrop-filter: blur(5px);
}

.detail-dialog[open] {
  animation: detail-in .24s ease-out;
}

.detail-shell {
  --line: var(--signal);
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  min-height: min(760px, calc(100dvh - 3rem));
}

.detail-visual {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-right: var(--border);
  background: var(--line);
}

.detail-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.8) contrast(1.03);
}

.detail-date-card {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 140px;
  padding: 1rem;
  border: 2px solid var(--ink);
  background: var(--yellow);
  box-shadow: 6px 7px 0 var(--ink);
  text-align: center;
  transform: rotate(3deg);
}

.detail-date-card span,
.detail-date-card b {
  display: block;
}

.detail-date-card span {
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.detail-date-card b {
  margin: .15rem 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 3.2rem;
  line-height: 1;
}

.detail-copy {
  position: relative;
  min-width: 0;
  padding: clamp(2rem, 5vw, 4.5rem);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.close-detail {
  position: absolute;
  z-index: 2;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  transition: color .16s ease, background-color .16s ease, transform .16s ease;
}

.close-detail:hover {
  color: var(--paper-light);
  background: var(--ink);
  transform: rotate(8deg);
}

.detail-route-label {
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .65rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.detail-route-label::before {
  content: "";
  width: .65rem;
  height: .65rem;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--line);
}

.detail-copy h2 {
  max-width: 550px;
  margin-bottom: 1rem;
  padding-right: 2.5rem;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(3.3rem, 5.2vw, 5.2rem);
  line-height: .87;
  letter-spacing: -.04em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.detail-lede {
  max-width: 570px;
  margin-bottom: 2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.14rem;
  line-height: 1.6;
}

.detail-facts {
  margin: 0 0 2rem;
  padding: 1.15rem 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.detail-facts > div {
  padding: .75rem 1rem;
}

.detail-facts > div:nth-child(even) {
  border-left: 1px solid rgba(23, 23, 19, .25);
}

.detail-facts dt,
.detail-facts dd {
  margin: 0;
}

.detail-facts dt {
  margin-bottom: .3rem;
  color: #6c675e;
  font-size: .59rem;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.detail-facts dd {
  font-size: .86rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.save-item {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  border: 2px solid var(--ink);
  border-radius: .25rem;
  color: var(--paper-light);
  background: var(--ink);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
  transition: color .16s ease, background-color .16s ease, transform .16s ease;
}

.save-item svg {
  width: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-width: 2;
}

.save-item:hover,
.save-item[aria-pressed="true"] {
  color: var(--ink);
  background: var(--yellow);
}

.save-item:active {
  transform: translateY(2px);
}

.detail-footnote {
  margin: 1rem 0 0;
  color: #6c675e;
  font-family: Georgia, serif;
  font-size: .72rem;
  font-style: italic;
  text-align: center;
}

.toast {
  position: fixed;
  z-index: 50;
  right: 1.25rem;
  bottom: calc(1.25rem + env(safe-area-inset-bottom));
  max-width: min(340px, calc(100vw - 2.5rem));
  padding: .9rem 1.15rem;
  border: 2px solid var(--ink);
  border-radius: .35rem;
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 5px 6px 0 var(--ink);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transform: translateY(1rem);
  transition: opacity .18s ease, transform .18s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes detail-in {
  from { opacity: 0; transform: translateY(18px) rotate(.4deg); }
  to { opacity: 1; transform: translateY(0) rotate(0); }
}

@media (max-width: 900px) {
  .site-header {
    min-height: 72px;
    grid-template-columns: 1fr auto;
  }

  .header-meta {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-map {
    min-height: 470px;
    border-top: var(--border);
    border-left: 0;
  }

  .hero-copy {
    padding-block: 5rem;
  }

  .control-desk {
    grid-template-columns: 1fr 1fr;
  }

  .saved-toggle {
    grid-column: 1 / -1;
  }

  .route-list {
    column-gap: 5rem;
  }

  .workshop-item:nth-child(odd)::before { right: -2.75rem; }
  .workshop-item:nth-child(even)::before { left: -2.75rem; }
  .workshop-item:nth-child(odd) .station-dot { right: -3.78rem; }
  .workshop-item:nth-child(even) .station-dot { left: -3.78rem; }

  .detail-shell {
    grid-template-columns: .8fr 1.2fr;
  }
}

@media (max-width: 650px) {
  .site-header {
    padding-inline: 1rem;
  }

  .brand {
    font-size: 1.65rem;
  }

  .service-note {
    padding: .5rem .7rem;
    font-size: .58rem;
    letter-spacing: .08em;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    padding: 4.5rem 1.25rem 3.5rem;
  }

  .hero h1 {
    font-size: clamp(4rem, 20vw, 5.4rem);
  }

  .hero-intro {
    font-size: 1rem;
  }

  .hero-map {
    min-height: 415px;
  }

  .hero-photo-wrap {
    top: 15%;
    right: 7%;
    width: 78%;
    height: 62%;
    box-shadow: 9px 10px 0 var(--ink);
  }

  .month-stamp {
    width: 98px;
    height: 98px;
  }

  .month-stamp b { font-size: 1.8rem; }
  .month-stamp span { font-size: 1rem; }

  .photo-label {
    right: -.4rem;
    bottom: -3rem;
  }

  .departures {
    padding: 4rem 1rem 3rem;
  }

  .section-heading {
    margin-bottom: 2rem;
    display: block;
  }

  .section-heading h2 {
    font-size: 3.7rem;
  }

  .section-heading > p {
    margin-top: 1rem;
    font-size: .95rem;
  }

  .control-desk {
    padding: .85rem;
    display: block;
    box-shadow: 6px 7px 0 var(--signal);
  }

  .control-field + .control-field,
  .saved-toggle {
    margin-top: .85rem;
  }

  .saved-toggle {
    width: 100%;
    min-height: 61px;
  }

  .result-bar {
    margin: 2.5rem 0 3rem;
    display: block;
  }

  .route-legend {
    padding-bottom: .75rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: .5rem;
  }

  .route-list {
    display: block;
    margin-left: 1.65rem;
    padding-left: 2.7rem;
  }

  .route-list::before {
    left: .2rem;
    transform: none;
  }

  .route-list::after {
    right: auto;
    left: -1rem;
  }

  .workshop-item,
  .workshop-item:nth-child(even),
  .workshop-item:nth-child(odd) {
    margin-bottom: 3rem;
    transform: none;
  }

  .workshop-item:last-child {
    margin-bottom: 6rem;
  }

  .workshop-item:nth-child(odd)::before,
  .workshop-item:nth-child(even)::before {
    top: 3.7rem;
    right: auto;
    left: -2.55rem;
    width: 2.6rem;
  }

  .workshop-item:nth-child(odd) .station-dot,
  .workshop-item:nth-child(even) .station-dot {
    top: 2.9rem;
    right: auto;
    left: -3.42rem;
  }

  .ticket-card,
  .ticket-card:hover,
  .workshop-item:nth-child(even) .ticket-card:hover {
    box-shadow: 6px 7px 0 var(--ink);
    transform: none;
  }

  .ticket-visual {
    height: 190px;
  }

  .ticket-copy {
    padding: 1.25rem 1rem 1rem;
  }

  .ticket-copy h3 {
    font-size: 2.35rem;
  }

  .ticket-description {
    min-height: 0;
  }

  .manifesto {
    min-height: 530px;
    padding: 5rem 1.25rem 10rem;
    align-content: start;
  }

  .manifesto h2 {
    font-size: 3.3rem;
  }

  .manifesto-seal {
    right: -1.2rem;
    bottom: -2rem;
    width: 175px;
    height: 175px;
  }

  .site-footer {
    padding: 3rem 1.25rem;
    grid-template-columns: 1fr;
    text-align: left;
  }

  .site-footer p {
    text-align: left;
  }

  .site-footer > a:last-child {
    justify-self: start;
  }

  .detail-dialog {
    width: calc(100vw - 1rem);
    max-height: calc(100dvh - 1rem);
    box-shadow: none;
  }

  .detail-shell {
    display: block;
    max-height: calc(100dvh - 1rem);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .detail-visual {
    min-height: 260px;
    height: 34vh;
    border-right: 0;
    border-bottom: var(--border);
  }

  .detail-date-card {
    right: 1rem;
    bottom: 1rem;
    width: 104px;
    padding: .7rem;
  }

  .detail-date-card b {
    font-size: 2.35rem;
  }

  .detail-copy {
    padding: 2rem 1.25rem max(2rem, env(safe-area-inset-bottom));
    overflow: visible;
  }

  .close-detail {
    position: fixed;
    top: 1.1rem;
    right: 1.1rem;
    color: var(--paper-light);
    background: var(--ink);
  }

  .detail-route-label {
    margin-bottom: 1rem;
  }

  .detail-copy h2 {
    padding-right: 0;
    font-size: 3.4rem;
  }

  .detail-lede {
    font-size: 1rem;
  }

  .toast {
    right: 1rem;
    bottom: calc(1rem + env(safe-area-inset-bottom));
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
