.run-chapter, .price-chapter, .storyteller-chapter, .runner-chapter {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.7rem, 7vw, 8rem);
  padding-block: clamp(4.75rem, 8.5vw, 9rem);
}
.run-chapter h2, .price-chapter h2, .storyteller-chapter h2, .runner-chapter h2 {
  margin-top: 1rem;
  font-size: clamp(3.6rem, 6.6vw, 7.6rem);
  text-wrap: balance;
}
.run-chapter { background: var(--surface); color: var(--ink); }
.run-facts > div, .price-list > div {
  display: grid;
  grid-template-columns: .86fr 1.25fr;
  align-items: baseline;
  gap: .9rem;
  border-bottom: 1px solid currentColor;
  padding: 1.25rem 0;
}
.run-facts > div { border-color: var(--line); }
.run-facts > div:first-child { border-top: 1px solid var(--line); }
.run-facts dt, .price-list dt { font-size: 1rem; line-height: 1.4; }
.run-facts dd, .price-list dd { font-size: clamp(1.35rem, 2vw, 2.1rem); letter-spacing: -.045em; }
.run-facts small, .price-list small {
  display: block;
  margin-top: .3rem;
  font: .92rem/1.4 var(--sans);
  letter-spacing: normal;
}
.run-facts small, .price-list small { color: var(--muted); }
.price-chapter { background: var(--paper); color: var(--ink); }
.price-list > div { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); border-color: var(--line); overflow-wrap: anywhere; }
.price-list > div:first-child { border-top: 1px solid var(--line); }
.price-list dd { text-align: right; }
.price-chapter .body-copy { margin-top: 1rem; }
.faq-chapter { padding-block: clamp(4rem, 7vw, 7.5rem); background: var(--surface); color: var(--ink); }
.faq-chapter .faq { margin: 0; }
.faq-chapter details p { white-space: pre-line; overflow-wrap: anywhere; }
.runner-chapter {
  background: var(--white);
  color: var(--ink);
  border-top: 1px solid var(--line);
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  row-gap: clamp(1.5rem, 3.3vw, 4rem);
}
.runner-chapter > header { grid-column: 1; grid-row: 1; }
.run-report { grid-column: 2; grid-row: 1 / span 2; }
.run-report img { display: block; width: 100%; height: auto; aspect-ratio: 1; }
.run-report figcaption, .runner-photos figcaption { margin-top: .7rem; font-size: .92rem; line-height: 1.4; }
.person-name { margin-top: 1.4rem; font-size: clamp(1.18rem, 1.85vw, 1.9rem); line-height: 1.3; letter-spacing: -.025em; }
.runner-photos { grid-column: 1; grid-row: 2; display: grid; align-items: center; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(.75rem, 1.6vw, 1.8rem); }
.runner-photos video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; background: var(--ink); }
.runner-photos figure { align-self: center; }
.runner-photos figure img { width: 100%; height: auto; aspect-ratio: 3 / 4; }
.storyteller-chapter {
  background: var(--paper);
  color: var(--ink);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.68fr) minmax(0, 1fr);
  column-gap: clamp(1.1rem, 3vw, 4.5rem);
  padding-inline: max(var(--edge), calc((100% - 112rem) / 2));
}
.guide-profile { text-align: center; }
.guide-profile h2 { font-size: clamp(3rem, 5.2vw, 6.5rem); }
.storyteller-chapter .lead {
  margin: clamp(1.3rem, 2.3vw, 2.6rem) auto .9rem;
  max-width: 36ch;
  font-size: clamp(1.125rem, 1.48vw, 1.7rem);
}
.storyteller-chapter .body-copy { margin-inline: auto; max-width: 45ch; }
.guide-race, .guide-waterfront { display: block; height: auto; object-fit: cover; }
.guide-race { width: 100%; aspect-ratio: 2 / 3; align-self: start; filter: saturate(.56); }
.guide-waterfront {
  width: 87%;
  filter: saturate(.84);
  aspect-ratio: 3 / 4;
  align-self: end;
  justify-self: end;
  margin-block-start: clamp(3.5rem, 9vw, 11rem);
}
.luck-chapter {
  position: relative;
  isolation: isolate;
  padding-block: clamp(5.5rem, 11vw, 12rem);
  background: var(--ink);
  color: var(--white);
  text-align: center;
}
.luck-scene, .luck-chapter::before { position: absolute; inset: 0; pointer-events: none; }
.luck-scene { z-index: -2; object-fit: cover; object-position: 50% 54%; }
.luck-chapter::before {
  content: "";
  z-index: -1;
  background: radial-gradient(ellipse 58% 80% at center, #16161680 18%, #16161670 52%, #16161619 90%, transparent);
}
@media (max-width: 800px) {
  .luck-scene { object-position: 10% 54%; }
  .luck-chapter::before {
    background: radial-gradient(ellipse 98% 84% at center, #161616b5 20%, #16161699 57%, #16161630 97%);
  }
}
.luck-chapter p { max-width: 43ch; margin-inline: auto; font-size: clamp(1.05rem, 1.55vw, 1.65rem); line-height: 1.45; }
.luck-chapter h2 { margin-block: 1.15rem 1.55rem; font-size: clamp(4rem, 11vw, 13rem); line-height: .95; color: var(--lime); }
.footer-credit { display: grid; gap: .6rem; }
.footer-credit small { font-size: .8125rem; line-height: 1.45; color: var(--muted); }
@media(max-width: 700px) {
  .run-chapter, .price-chapter, .runner-chapter {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.85rem;
    padding-block: 4rem;
  }
  .run-chapter h2, .price-chapter h2, .runner-chapter h2 { font-size: clamp(3rem, 12vw, 5rem); }
  .run-facts > div, .price-list > div { padding: 1rem 0; }
  .runner-chapter > header, .run-report, .runner-photos { grid-column: auto; grid-row: auto; }
  .runner-photos { gap: .7rem; }
  .runner-photos figcaption { font-size: .86rem; }
  .footer-credit small { max-width: 22ch; }
}
.booking {
  background: var(--paper);
  color: var(--ink);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
}
.booking button[type=submit]:enabled { background: var(--lime); color: var(--ink); }
.booking button[type=submit]:enabled:hover { background: var(--ink); color: var(--lime); }
.cal-head { flex-wrap: wrap; gap: .4rem .85rem; }
.cal-controls { margin-inline-start: auto; }
.weekday, .calendar { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.calendar {
  --day-diameter: min(clamp(2.75rem, 3.45vw, 3rem), calc((100vw - var(--edge) - var(--edge)) / 7));
}
.calendar .date {
  -webkit-appearance: none;
  appearance: none;
  width: var(--day-diameter);
  height: var(--day-diameter);
  min-width: 0;
  min-height: 0;
  padding: 0;
  line-height: 1;
}
.calendar .date.adjacent-month { color: #757575; background: transparent; box-shadow: none; }
.calendar .date.adjacent-month:is(:hover, :focus-visible) { color: var(--ink); background: var(--available); box-shadow: inset 0 0 0 1px var(--line-strong); }
.calendar .date.closed.chosen { color: var(--muted); background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); }
.booking .key, footer.frame { flex-wrap: wrap; }
.booking .key span { min-inline-size: 0; }
.booking .key i { flex: none; }
#booking-receipts:not(:empty) { margin-block-start: 1.25rem; border-block-start: 1px solid var(--line); }
.footer-actions { display: flex; flex-wrap: wrap; max-inline-size: 100%; }
footer.frame { gap: 1rem 2rem; background: var(--paper); color: var(--ink); border-color: var(--line); }
.footer-socials { flex: 0 0 100%; border-top: 1px solid var(--line); padding-top: .5rem; }
.footer-socials ul { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .65rem; list-style: none; padding: 0; margin: 0; }
.footer-socials a { display: grid; place-items: center; min-width: 44px; min-height: 44px; border-radius: 50%; color: inherit; }
.footer-socials a[href]:is(:hover, :focus-visible) { color: var(--ink); background: var(--lime); }
.footer-socials a[aria-disabled="true"] { cursor: default; }
.footer-socials svg { display: block; width: 23px; height: 23px; fill: currentColor; }
.footer-socials .mark-xiaohongshu { width: 42px; height: 42px; }
.footer-socials .mark-youtube { width: 27px; height: 27px; }
.runner-chapter > header, .storyteller-chapter > div, .journeys-copy { min-inline-size: 0; }
.runner-photos figure img { filter: saturate(.88); }
.journeys { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 700px) {
  .storyteller-chapter {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2.35fr) minmax(0, 1fr);
    grid-template-areas: "label label label" "race title waterfront" "lead lead lead" "body body body";
    column-gap: clamp(.35rem, 1.8vw, .8rem);
    row-gap: .8rem;
    padding: 3.5rem var(--edge);
  }
  .guide-profile { display: contents; }
  .guide-profile .section-label { grid-area: label; text-align: center; }
  .guide-profile h2 {
    grid-area: title;
    margin: 0;
    font-size: clamp(1.8rem, 7.3vw, 3.3rem);
    text-align: center;
  }
  .guide-race { grid-area: race; margin-bottom: 1.25rem; }
  .guide-waterfront { grid-area: waterfront; width: 100%; margin-top: 1.25rem; }
  .storyteller-chapter .lead { grid-area: lead; margin: .6rem auto 0; }
  .storyteller-chapter .body-copy { grid-area: body; }
  .guide-profile > p { text-align: center; }
}
.runner-chapter h2, .storyteller-chapter h2, .journeys h2 {
  overflow-wrap: anywhere;
}
