:root {
  --paper: #f8f7f0;
  --white: #fffef8;
  --green: #234b39;
  --ink: #203d32;
  --muted: #606b5d;
  --line: #d7d8ca;
  --ochre: #906431;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC",
    "SimSun", serif;
  --sans: "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  --roman: "Baskerville", "Georgia", serif;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.42;
}
button {
  border: 0;
  background: none;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3,
.brand b,
.footbrand {
  font-family: var(--serif);
}
svg {
  display: block;
}
i[data-i] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  flex: none;
}
i[data-i] svg {
  width: 1.18em;
  height: 1.18em;
}
.wrap {
  width: min(1280px, calc(100% - clamp(40px, 9.6vw, 152px)));
  margin: 0 auto;
}
.mast {
  position: relative;
  z-index: 3;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.mast-inner {
  height: 78px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 5vw, 90px);
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  white-space: nowrap;
}
.brand b {
  display: block;
  font-size: 24px;
  letter-spacing: 0.08em;
  font-weight: 900;
  line-height: 1.2;
}
.brand small {
  display: block;
  font:
    9px/1.8 Georgia,
    serif;
  letter-spacing: 0.15em;
}
.mast nav {
  display: flex;
  align-items: stretch;
  gap: 36px;
  margin: auto;
  height: 100%;
}
.mast nav a {
  position: relative;
  display: flex;
  align-items: center;
  color: #576156;
  font-size: 15px;
  font-weight: 500;
}
.mast nav a[aria-current="page"] {
  color: var(--green);
  font-weight: 650;
}
.mast nav a[aria-current="page"]:after {
  content: "";
  position: absolute;
  bottom: 13px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  background: var(--green);
}
.collection-link {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #a6b1a0;
  border-radius: 5px;
  padding: 6px 13px;
  font-size: 14px;
}
.collection-link b {
  font:
    12px/20px Georgia,
    serif;
  min-width: 19px;
  text-align: center;
  border-radius: 50%;
  background: #e7e9da;
}
.collection-link[aria-current="page"],
.collection-link:hover {
  background: #e7ebde;
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #f0efdf;
  border-bottom: 1px solid #c7cabb;
}
.hero-art {
  position: absolute;
  inset: 0 0 0 35%;
  z-index: -1;
  background: #dadfc5;
}
.hero-art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 54%;
}
.hero-art:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #f0efdf 0,
    rgba(240, 239, 223, 0.85) 5%,
    rgba(240, 239, 223, 0.3) 17%,
    transparent 31%
  );
}
.hero .wrap {
  position: relative;
}
.hero-copy {
  padding: clamp(38px, 4vw, 66px) 0 clamp(40px, 3.8vw, 62px);
  width: 48%;
}
.overline {
  font: 600 12px/1.5 var(--sans);
  letter-spacing: 0.13em;
  color: var(--ochre);
  display: flex;
  gap: 9px;
  align-items: center;
}
.overline i {
  font-size: 17px;
}
.hero h1 {
  font-weight: 900;
  font-size: clamp(54px, 4.9vw, 82px);
  line-height: 1.12;
  letter-spacing: 0.035em;
  margin: 15px 0 17px;
  color: #234332;
}
.hero h1 span {
  display: block;
}
.hero p {
  font-size: 16px;
  line-height: 1.8;
  color: #4f604f;
  max-width: 405px;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 24px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 18px;
  border: 1px solid #afb9a9;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 550;
  background: var(--paper);
  min-height: 43px;
  transition:
    background 0.18s,
    transform 0.18s;
}
.btn:hover {
  background: #e5e8db;
}
.btn.primary {
  border-color: var(--green);
  background: var(--green);
  color: #fffdf4;
}
.btn.primary:hover {
  background: #356448;
}
.hero .btn:not(.primary) {
  background: #f3f2e6;
  border-color: #b8c0ad;
}
.caption {
  position: absolute;
  bottom: 15px;
  right: clamp(15px, 3vw, 55px);
  font-size: 12px;
  color: #fffef4;
  background: #243e30d9;
  padding: 3px 9px;
  border-radius: 2px;
}
.section {
  padding: 43px 0 50px;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 21px;
}
.kicker {
  display: flex;
  gap: 10px;
  align-items: center;
  font:
    600 11px/1.5 Georgia,
    serif;
  letter-spacing: 0.18em;
  color: var(--ochre);
  text-transform: uppercase;
}
.kicker:before {
  content: "";
  width: 22px;
  height: 1px;
  background: #a38551;
}
.section-head h2,
.shelf-title {
  font-size: clamp(32px, 3vw, 44px);
  letter-spacing: 0.04em;
  line-height: 1.35;
  margin: 2px 0 0;
  font-weight: 800;
}
.textlink {
  border-bottom: 1px solid #8f9d88;
  font-size: 14px;
  line-height: 1.7;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  white-space: nowrap;
}
.textlink:hover {
  color: var(--ochre);
  border-color: var(--ochre);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.card {
  position: relative;
  border: 1px solid #ccd0c1;
  border-radius: 7px;
  overflow: hidden;
  background: var(--white);
  transition:
    box-shadow 0.18s,
    border-color 0.18s;
}
.card:hover {
  border-color: #99a68d;
  box-shadow: 0 4px 12px #2b44220b;
}
.card-link {
  display: block;
  height: 100%;
}
.card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2.24;
  background: #d9ddc6;
  border-bottom: 1px solid #cdd1c1;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.card-link:hover img {
  transform: scale(1.025);
}
.ribbon {
  position: absolute;
  top: 13px;
  left: 13px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  background: #f8f4e2;
  color: #324736;
  border: 1px solid #535c3c38;
  padding: 3px 9px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
}
.card-content {
  padding: 14px 18px 16px;
}
.card-content .district {
  float: right;
  margin-top: 6px;
}
.card h3 {
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1.4;
  font-weight: 800;
}
.card p {
  margin-top: 6px;
  font-size: 14px;
  color: #606957;
}
.district,
.smallmeta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 13px;
}
.cardmark {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 33px;
  border-radius: 50%;
  border: 1px solid #445b3838;
  color: #294739;
  background: #fcf9ebed;
  display: grid;
  place-items: center;
}
.cardmark:hover,
.cardmark[aria-pressed="true"] {
  background: #234b39;
  color: white;
}
.index-block {
  border-top: 1px solid var(--line);
  background: #eff1e7;
}
.innerpage {
  min-height: 66vh;
  padding: 38px 0 72px;
}
.page-hero {
  padding: 16px 0 25px;
}
.page-hero h1,
.detail h1 {
  font-size: clamp(38px, 4.2vw, 64px);
  line-height: 1.2;
  margin: 8px 0 10px;
  font-weight: 850;
  letter-spacing: 0.025em;
}
.page-hero p,
.lead,
.desc {
  color: var(--muted);
  max-width: 70ch;
  line-height: 1.8;
}
.searchbar {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin: 18px 0 10px;
}
.searchbox,
.selectbox {
  background: var(--white);
  border: 1px solid #adb7a6;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  min-height: 45px;
}
.searchbox {
  flex: 1;
  min-width: 210px;
}
.searchbox input {
  width: 100%;
  border: 0;
  padding: 8px 0;
  background: none;
  outline: 0;
}
.selectbox {
  position: relative;
  padding: 0;
}
.selectbox select {
  padding: 9px 34px 9px 13px;
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.selectbox:after {
  content: "";
  position: absolute;
  right: 13px;
  top: 17px;
  width: 7px;
  height: 7px;
  border: solid #4d634e;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
  pointer-events: none;
}
.result-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #5d6957;
  font-size: 14px;
  margin: 16px 0 10px;
}
.list {
  border-top: 1px solid #b8c1ad;
}
.row {
  display: grid;
  grid-template-columns: minmax(155px, 1fr) minmax(170px, 1.35fr) 44px;
  gap: 12px;
  align-items: center;
  padding: 15px 2px;
  border-bottom: 1px solid var(--line);
}
.row-main {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}
.row-main img {
  height: 53px;
  width: 74px;
  object-fit: cover;
  border-radius: 3px;
}
.row-title {
  font: 750 20px/1.45 var(--serif);
  display: block;
}
.row a:hover .row-title {
  color: #92703c;
}
.row small {
  color: var(--muted);
  font-size: 13px;
}
.row-aside {
  color: #586354;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
}
.mark[aria-pressed="true"] {
  background: var(--green);
  color: white;
}
.pager {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}
.pager span {
  font:
    15px Georgia,
    serif;
}
.empty {
  padding: 38px 24px;
  background: #f0f1e6;
  border: 1px dashed #bbc3af;
  border-radius: 6px;
  margin: 16px 0;
}
.empty h3 {
  font-size: 24px;
}
.empty p {
  margin: 8px 0 18px;
  color: var(--muted);
}
.filters,
.months {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 14px 0 22px;
}
.chip {
  border: 1px solid #b7c1ae;
  border-radius: 4px;
  background: var(--white);
  padding: 7px 14px;
  font-size: 15px;
}
.chip.active {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.months {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
}
.month {
  border: 1px solid #c0c8b6;
  background: #fdfbf2;
  border-radius: 4px;
  text-align: center;
  min-height: 58px;
}
.month b {
  font:
    23px Georgia,
    serif;
}
.month small {
  font-size: 12px;
  margin-left: 2px;
}
.month.active {
  background: var(--green);
  color: white;
}
.subheading {
  font-size: 26px;
  margin: 22px 0 10px;
}
.back {
  font-size: 14px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.detail {
  max-width: 990px;
}
.detail-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-top: 23px;
}
.detail-top .btn {
  flex: none;
}
.detail-banner {
  display: block;
  width: 100%;
  max-height: 270px;
  object-fit: cover;
  border-radius: 6px;
  margin: 23px 0;
}
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
  margin: 13px 0;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 36px;
  margin: 22px 0;
}
.field {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.field h2,
.source-panel h2,
.notes h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 25px;
  margin-bottom: 9px;
}
.field h2 i {
  font-size: 18px;
}
.field p,
.field li {
  color: #4a5b4c;
}
.field ul,
.field ol {
  margin: 0;
  padding-left: 1.3em;
}
.tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.tag {
  background: #e8edde;
  border: 1px solid #d2dac6;
  padding: 3px 9px;
  border-radius: 3px;
  font-size: 14px;
}
.note-form {
  display: grid;
  gap: 10px;
  justify-items: start;
}
.note-form textarea {
  width: 100%;
  padding: 12px 14px;
  resize: vertical;
  border: 1px solid #b7c1ae;
  border-radius: 4px;
  background: var(--white);
  min-height: 90px;
}
.source-panel,
.notes {
  border-top: 1px solid var(--line);
  padding-top: 19px;
  margin-top: 25px;
}
.source-panel a,
.cited {
  display: inline-block;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: #416448;
  font-size: 14px;
  margin-right: 15px;
}
.source-panel p {
  color: var(--muted);
}
.source-panel li {
  margin: 5px 0;
}
.block-note {
  font-size: 14px;
  color: var(--muted);
  margin: 6px 0 12px;
}
.guide-strip {
  padding: 20px 0 14px;
  border-top: 1px solid var(--line);
  margin-top: 19px;
}
.guide-strip h2 {
  font-size: 25px;
  margin-bottom: 8px;
}
.linear-route {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  list-style: none;
  counter-reset: stops;
}
.linear-route li {
  counter-increment: stops;
  background: #e9eddf;
  border: 1px solid #ccd5bf;
  border-radius: 4px;
  padding: 8px 12px;
}
.linear-route li:before {
  content: counter(stops) ".";
  font-family: Georgia, serif;
  margin-right: 5px;
  color: var(--ochre);
}
footer {
  border-top: 1px solid var(--line);
  padding: 20px 0;
  background: #f2f1e7;
}
.footer-inner {
  display: flex;
  gap: 14px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}
.footbrand {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  font-size: 19px;
  color: var(--green);
}
.footer-inner > a:last-child {
  margin-left: auto;
  text-decoration: underline;
  text-underline-offset: 4px;
}
#notice {
  position: fixed;
  z-index: 8;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: white;
  border-radius: 5px;
  font-size: 15px;
  padding: 8px 18px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s;
  max-width: 90vw;
}
#notice.on {
  opacity: 1;
}
.skip {
  position: absolute;
  z-index: 15;
  left: 5px;
  top: -80px;
  background: white;
  padding: 8px;
}
.skip:focus {
  top: 3px;
}
:focus-visible {
  outline: 3px solid #a57334;
  outline-offset: 3px;
}
.searchbox:focus-within {
  outline: 2px solid #a57334;
}
@media (min-width: 1600px) {
  .hero-art {
    left: 40%;
  }
  .hero-copy {
    width: 45%;
  }
}
@media (max-width: 900px) {
  .mast nav {
    gap: 21px;
  }
  .hero-copy {
    width: 51%;
  }
  .hero h1 {
    font-size: 58px;
  }
  .hero p {
    max-width: 310px;
  }
  .card-content {
    padding: 13px;
  }
  .card-content .district {
    float: none;
    display: flex;
    margin: 0 0 4px;
  }
  .feature-grid {
    gap: 14px;
  }
  .months {
    grid-template-columns: repeat(6, 1fr);
  }
}
@media (max-width: 680px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .mast-inner {
    height: auto;
    min-height: 79px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0 10px;
    padding-top: 8px;
  }
  .brand img {
    width: 30px;
    height: 33px;
  }
  .brand {
    gap: 6px;
  }
  .brand b {
    font-size: 18px;
  }
  .brand small {
    font-size: 8px;
  }
  .collection-link {
    grid-row: 1;
    grid-column: 2;
    padding: 4px 9px;
    gap: 5px;
    font-size: 13px;
  }
  .collection-link b {
    min-width: 16px;
    line-height: 17px;
  }
  .mast nav {
    grid-row: 2;
    grid-column: 1/-1;
    height: 34px;
    gap: 28px;
    margin: 4px 0 0;
  }
  .mast nav a {
    font-size: 13px;
  }
  .mast nav a[aria-current="page"]:after {
    width: 100%;
    bottom: 0;
  }
  .hero {
    display: flex;
    flex-direction: column;
  }
  .hero-art {
    inset: auto;
    width: 100%;
    height: 208px;
    position: relative;
    order: 2;
  }
  .hero-art img {
    object-position: center 56%;
  }
  .hero-art:after {
    background: linear-gradient(180deg, #f0efdf 0, transparent 13%);
  }
  .hero-copy {
    width: 100%;
    padding: 26px 0 8px;
  }
  .hero h1 {
    font-size: clamp(35px, 8.9vw, 53px);
    margin: 9px 0 10px;
    white-space: nowrap;
  }
  .hero h1 span {
    display: inline;
  }
  .hero p {
    font-size: 14px;
    max-width: 100%;
  }
  .hero .actions {
    margin-top: 15px;
  }
  .btn {
    font-size: 14px;
    padding: 8px 13px;
    min-height: 40px;
  }
  .caption {
    bottom: 8px;
    right: 10px;
    font-size: 11px;
  }
  .section {
    padding: 29px 0 35px;
  }
  .section-head {
    margin-bottom: 15px;
  }
  .kicker {
    font-size: 10px;
  }
  .section-head h2 {
    font-size: 29px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .card-image {
    aspect-ratio: 2.7;
  }
  .card-content {
    padding: 12px 15px 14px;
  }
  .card-content .district {
    display: inline-flex;
    float: right;
    margin-top: 3px;
  }
  .card h3 {
    font-size: 23px;
  }
  .card p {
    margin-top: 3px;
  }
  .textlink {
    font-size: 13px;
  }
  .innerpage {
    padding-top: 20px;
  }
  .row {
    grid-template-columns: minmax(0, 1fr) 37px;
    gap: 4px 9px;
  }
  .row-aside {
    grid-row: 2;
    grid-column: 1;
    font-size: 13px;
  }
  .row .mark {
    grid-column: 2;
    grid-row: 1/3;
  }
  .row-title {
    font-size: 19px;
  }
  .row-main img {
    height: 42px;
    width: 56px;
  }
  .row:has(img) .row-aside {
    padding-left: 69px;
  }
  .searchbox {
    flex-basis: 100%;
  }
  .selectbox {
    min-height: 40px;
  }
  .selectbox select {
    font-size: 14px;
  }
  .detail-top {
    flex-direction: column;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .detail h1 {
    font-size: 35px;
  }
  .detail-top .btn {
    align-self: flex-start;
  }
  .detail-banner {
    max-height: 180px;
  }
  .months {
    gap: 5px;
  }
  .month {
    min-height: 48px;
  }
  .month b {
    font-size: 19px;
  }
  .footer-inner {
    flex-wrap: wrap;
    gap: 8px;
  }
  .footer-inner > span {
    display: none;
  }
  .footbrand {
    font-size: 17px;
  }
  .page-hero {
    padding-top: 8px;
  }
  .empty {
    padding: 22px 15px;
  }
  .filters {
    gap: 6px;
  }
  .chip {
    padding: 6px 10px;
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.estimate-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}
.estimate-toggle input {
  accent-color: var(--green);
  width: 16px;
  height: 16px;
}
.field a {
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 14px;
}
summary {
  cursor: pointer;
  margin-top: 10px;
}
.source-panel details ul {
  padding-left: 1.3em;
}
.card-link:focus-visible {
  outline-offset: -4px;
}
@media (max-width: 680px) {
  .desktop-break {
    display: none;
  }
  .searchbar {
    gap: 7px;
  }
  .selectbox select {
    padding: 8px 23px 8px 8px;
  }
  .selectbox:after {
    right: 8px;
    width: 6px;
    height: 6px;
  }
}
.coverage {
  width: min(100%, 630px);
  border-collapse: collapse;
  margin: 17px 0;
  text-align: left;
  font-size: 14px;
}
.coverage td,
.coverage th {
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
}
.coverage thead {
  background: #e9edde;
}
.coverage tbody th {
  font-weight: 500;
}
.coverage td {
  font-variant-numeric: tabular-nums;
}
.source-panel p + p {
  margin-top: 8px;
}
