@font-face {
  font-family: "Crimson Pro";
  src: url("/assets/crimson-pro-400-e3e3c8fec26b.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Crimson Pro";
  src: url("/assets/crimson-pro-400-italic-e2c006b23739.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Work Sans";
  src: url("/assets/work-sans-400-b767e75acebe.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Work Sans";
  src: url("/assets/work-sans-500-5d79841aefef.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ground: #f3eee4;
  --ink: #26201a;
  --amber: #b9772d;
  --oat: #e6dccb;
  --espresso: #3a2b20;
  --umber: #704625;
  --link: #784319;
  --rule: #c7b397;
  --display: "Crimson Pro", Georgia, serif;
  --text: "Work Sans", system-ui, sans-serif;
  --gutter: clamp(1.25rem, 5.7vw, 5.75rem);
  --reading: 47rem;
  --frame: 81rem;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--text);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  font-size: clamp(1.0625rem, 1.25vw, 1.125rem);
  line-height: 1.62;
}

h1, h2, h3, dt {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1;
  margin: 0;
}

h1, h2 {
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.75rem, 6.5vw, 6.25rem);
}

h2 {
  font-size: clamp(2.15rem, 4.1vw, 3.65rem);
}

h3, dt {
  font-size: clamp(1.65rem, 2.6vw, 2rem);
  line-height: 1.1;
}

p {
  margin: 1rem 0 0;
}

a {
  color: var(--link);
  text-decoration-thickness: .06em;
  text-underline-offset: .16em;
}

a:hover {
  color: var(--espresso);
  text-decoration-thickness: .11em;
}

a:focus-visible, input:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: .25em;
}

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

figure {
  margin: 0;
}

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

.wide-frame {
  width: min(var(--frame), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.text-frame {
  width: min(var(--reading), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.content-skip {
  position: absolute;
  z-index: 3;
  left: 1rem;
  top: 1rem;
  transform: translateY(calc(-100% - 1.5rem));
  padding: .6rem 1rem;
  background: var(--ground);
}

.content-skip:focus {
  transform: none;
}

.page-masthead {
  text-align: center;
  background: var(--ground);
  border-bottom: 1px solid var(--amber);
}

.safety-notice {
  display: grid;
  place-items: center;
  min-height: 2.45rem;
  padding: .3rem 1rem;
  color: var(--ground);
  background: var(--umber);
  font-size: .9375rem;
}

.safety-notice a, .safety-notice a:hover {
  color: inherit;
}

.safety-notice a:focus-visible {
  outline-color: var(--ground);
}

.masthead-lockup {
  padding: .75rem var(--gutter) .8rem;
}

.wordmark {
  display: inline-block;
  color: var(--ink);
  font: 400 clamp(2.05rem, 3.6vw, 2.8rem) / .95 var(--display);
  text-decoration: none;
}

.site-line {
  margin-top: .34rem;
  font-size: 1rem;
  line-height: 1.35;
  color: var(--espresso);
  text-wrap: balance;
}

.page-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: clamp(.65rem, 3vw, 2.4rem);
  border-top: 1px solid var(--rule);
  padding-inline: .65rem;
  font-size: .9375rem;
}

.page-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: .15rem .1rem;
  color: var(--ink);
  text-decoration: none;
}

.page-nav a:hover, .page-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--link);
  text-underline-offset: .38em;
}

.serve-hero {
  background: var(--ground);
  color: var(--ink);
}

.serve-hero > .photo-frame img {
  width: 100%;
  height: clamp(18rem, 48svh, 29rem);
  object-fit: cover;
  object-position: 63% 57%;
}

.serve-title {
  padding-block: clamp(1.75rem, 6vw, 4.75rem);
}

.serve-title h1 {
  max-width: 17ch;
}

.serve-title em {
  color: var(--link);
}

.serve-title .name-part, .serve-title em {
  white-space: nowrap;
}

@media (min-width: 58rem) {
  .serve-hero > .photo-frame img {
    height: auto;
    aspect-ratio: 1.92;
    object-position: 50% 53%;
  }

  .serve-title {
    padding-block: clamp(2rem, 3vw, 3rem) clamp(2.5rem, 5vw, 4rem);
  }

  .serve-title h1 {
    max-width: 70rem;
    font-size: clamp(3.5rem, 5.8vw, 5.5rem);
  }
}

.home-section {
  padding-block: clamp(3.5rem, 8vw, 7.5rem);
}

.home-section + .home-section > .wide-frame {
  border-top: 1px solid var(--rule);
  padding-top: clamp(2.75rem, 6vw, 5.5rem);
}

.home-section + .home-section {
  padding-top: 0;
}

.home-section .section-copy {
  max-width: var(--reading);
  margin-inline: auto;
}

.home-section h2 {
  text-align: center;
}

.route-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.9rem, 2.5vw, 1.9rem);
  margin-top: clamp(1.75rem, 4vw, 3.25rem);
}

.route-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.4rem, 3.25vw, 2.5rem);
  border-radius: 1rem;
  background: var(--oat);
}

.route-card h3 a {
  color: var(--ink);
}

.route-card p {
  margin-top: .8rem;
}

.molecule-table {
  width: 100%;
  max-width: 68rem;
  margin: clamp(1.5rem, 5vw, 3.5rem) auto 0;
  border-collapse: collapse;
  table-layout: fixed;
  text-align: left;
}

.molecule-table th, .molecule-table td {
  padding: clamp(.75rem, 2.7vw, 1.8rem);
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
  overflow-wrap: anywhere;
}

.molecule-table thead th {
  border-top: 1px solid var(--rule);
  font-size: 1rem;
  font-weight: 500;
}

.molecule-table th:first-child {
  width: 36%;
  border-right: 1px solid var(--rule);
}

.molecule-table tbody th {
  font: 400 clamp(1.3rem, 2.6vw, 2rem) / 1.1 var(--display);
}

.article-title {
  text-align: center;
  padding-block: clamp(2.8rem, 7vw, 6.7rem) clamp(2.4rem, 5.4vw, 5.3rem);
}

.article-title h1 {
  font-size: clamp(2.85rem, 6.1vw, 5.6rem);
}

.article-title p {
  max-width: 42rem;
  margin-inline: auto;
  text-wrap: pretty;
}

.opening-panel, .article-title + .article-section {
  border-top: 1px solid var(--rule);
  border-radius: 2.5rem 2.5rem 0 0;
  padding-block: clamp(2.2rem, 5.5vw, 5rem);
}

.opening-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: start;
  gap: clamp(1.75rem, 6vw, 5.75rem);
}

.opening-grid:has(> [hidden]) {
  grid-template-columns: minmax(0, var(--reading));
  justify-content: center;
}

.opening-grid .photo-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.27;
  object-fit: cover;
  border-radius: 1rem;
}

.opening-grid figcaption {
  margin-top: .5rem;
  color: var(--espresso);
  font-size: .9375rem;
}

.article-section {
  padding-block: clamp(1.75rem, 4vw, 3.7rem);
}

.article-section + .article-section > .text-frame {
  border-top: 1px solid var(--rule);
  padding-top: clamp(2rem, 4vw, 3.5rem);
}

.article-section + .article-section {
  padding-top: 0;
}

.article-section ul {
  padding-left: 1.4rem;
}

.article-section li + li {
  margin-top: .75rem;
}

.article-section h2, .opening-panel h2 {
  text-wrap: pretty;
}

.questions {
  margin: .4rem 0 0;
}

.questions dt {
  padding-top: 1.35rem;
  border-top: 1px solid var(--rule);
}

.questions dt:first-child {
  border: 0;
}

.questions dd {
  margin: 0 0 1.65rem;
}

.questions dd p {
  margin-top: .7rem;
}

.source-search {
  padding: 1.3rem 1.45rem;
  margin-bottom: .95rem;
  border-radius: 1rem;
  background: var(--oat);
}

.source-search label {
  display: block;
  margin-bottom: .4rem;
  font-weight: 500;
}

.source-search input {
  width: 100%;
  min-height: 2.8rem;
  border: 1px solid var(--umber);
  border-radius: .35rem;
  padding: .5em .7em;
  font: inherit;
  color: var(--ink);
  background: var(--ground);
}

.search-status:empty {
  display: none;
}

.article-section .source-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.source-list .source-entry {
  margin: 0;
  padding: 1.25rem 0;
  border-top: 1px solid var(--rule);
}

.source-entry p {
  margin-top: .4rem;
}

.source-credit {
  color: var(--espresso);
  font-size: .9375rem;
}

.page-footer {
  margin-top: clamp(1rem, 4vw, 3rem);
  padding-block: clamp(2rem, 5vw, 4.5rem);
  border-top: 1px solid var(--amber);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem 3rem;
}

.footer-inner .wordmark {
  font-size: 2.25rem;
}

.footer-inner p {
  max-width: 32rem;
  font-size: 1rem;
}

.footer-inner nav {
  display: flex;
  align-items: start;
  flex-wrap: wrap;
  gap: .1rem 1.35rem;
}

.footer-inner nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}

@media (max-width: 47rem) {
  .serve-title h1 {
    font-size: clamp(2.25rem, 10.25vw, 2.75rem);
  }

  .route-cards, .opening-grid {
    grid-template-columns: 1fr;
  }

  .opening-grid .photo-frame img {
    aspect-ratio: 1.36;
  }

  .molecule-table th:first-child {
    width: 40%;
  }

  .molecule-table th, .molecule-table td {
    padding-inline: .65rem;
  }
}

@media print {
  .page-nav, .safety-notice, .content-skip, [data-source-search] {
    display: none;
  }
}
