@font-face {
  font-family: Montserrat;
  src: url("fonts/Montserrat-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --bg: #fffaee;
  --ink: #2c2216;
  --surface: #f8efd9;
  --muted: #66513a;
  --gold: #c79c38;
  --gold-light: #efd08b;
  --accent: #704818;
  --action: #c79c38;
  --line: #dfcaa5;
  --hero-gradient: linear-gradient(150deg, #f7d790 0%, #ecc16b 44%, #fceac3 100%);
  --font-display: Montserrat, sans-serif;
  --display-weight: 690;
  --display-tracking: -.035em;
  --t-h2: clamp(1.75rem, 4vw, 3.6rem);
  --wrap: min(1280px, calc(100% - clamp(36px, 10vw, 160px)));
  --header: 84px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 500 1rem/1.65 Montserrat, sans-serif; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .22em; }
img { display: block; max-width: 100%; }
p, h1, h2, h3, ol, dl, dd { margin: 0; }
button { font: inherit; color: inherit; }
h1, h2, h3 { line-height: 1.08; text-wrap: balance; }
h2 { font-size: var(--t-h2); font-weight: 760; letter-spacing: var(--display-tracking); }
h3 { font-size: clamp(1.18rem, 2vw, 1.46rem); font-weight: 730; letter-spacing: -.025em; }
::selection { background: var(--gold-light); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
section { scroll-margin-top: 1rem; }
.wrap { width: var(--wrap); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 10; top: 10px; left: 10px; background: var(--bg); padding: .6rem 1rem; }
.site-header { background: #f7d790; border-bottom: 1px solid #b38b444f; }
.header-inner { min-height: calc(var(--header) - 1px); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; font-size: .91rem; font-weight: 750; line-height: 1.2; text-decoration: none; }
.brand-mark {
  --brand-size: 48px;
  position: relative;
  flex: 0 0 var(--brand-size);
  width: var(--brand-size);
  height: var(--brand-size);
}
.brand-mark img {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 157%;
  max-width: none;
  height: auto;
  transform: translate(-50%, -50%);
}
.brand small { display: block; margin-top: .23rem; color: var(--muted); font-size: .75rem; font-weight: 560; }
.main-nav { display: flex; gap: clamp(.9rem, 3vw, 2.5rem); }
.main-nav a, .text-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 670; text-decoration: underline; text-decoration-color: transparent; transition: text-decoration-color .2s, color .2s; }
.main-nav a:hover, .text-link:hover { color: var(--accent); text-decoration-color: currentColor; }
.text-link { color: var(--accent); text-decoration-color: color-mix(in srgb, currentColor 62%, transparent); }
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: .82rem 1.3rem;
  min-height: 52px;
  background: var(--action);
  color: #211c13;
  font-weight: 740;
  text-decoration: none;
}
.hero {
  min-height: calc(100svh - var(--header));
  display: grid;
  align-items: stretch;
  padding-top: clamp(2.75rem, 6vw, 5.5rem);
  background: var(--hero-gradient);
}
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, .93fr) minmax(0, 1.24fr);
  grid-template-rows: 1fr auto;
  align-items: center;
  column-gap: clamp(1.1rem, 3vw, 3rem);
  row-gap: clamp(2.4rem, 6vw, 5rem);
}
.hero h1 {
  font-size: clamp(4rem, 7.03vw, 7.2rem);
  font-weight: 860;
  letter-spacing: -.047em;
  line-height: .88;
  text-transform: uppercase;
  text-wrap: initial;
}
.hero h1 span {
  display: block;
  font-size: .54em;
  font-weight: 795;
  margin-top: .22em;
  line-height: 1.04;
}
.hero-date { margin-top: clamp(1.1rem, 2.5vw, 2.25rem); font-size: clamp(1.02rem, 1.65vw, 1.4rem); font-weight: 770; }
.lead { font-size: clamp(1.02rem, 1.55vw, 1.26rem); line-height: 1.62; }
.hero .lead { margin: .85rem 0 1.45rem; max-width: 36ch; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1.2rem; font-size: .94rem; }
.hero .btn--primary { --action: #2c2216; --bg: #61401d; color: #fff6e6; }
.hero .text-link { color: #503416; }
.calendar-menu { position: relative; }
.calendar-menu summary { gap: .55rem; cursor: pointer; list-style: none; }
.calendar-menu summary::-webkit-details-marker { display: none; }
.calendar-menu summary::after { content: ""; width: .42rem; height: .42rem; margin-top: -.2rem; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.calendar-menu[open] summary::after { margin-top: .2rem; transform: rotate(225deg); }
.calendar-options { position: absolute; z-index: 2; inset-inline-start: 0; width: min(16.5rem, calc(100vw - 2.25rem)); padding: .25rem .8rem; background: var(--bg); border: 1px solid var(--line); }
.calendar-options a { display: flex; }
.calendar-options a + a { border-top: 1px solid var(--line); }
.hero-visual { display: block; width: 100%; height: auto; }
.site-intro {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 5;
  place-items: center;
  pointer-events: none;
}
.site-intro-surface { position: absolute; inset: 0; background: var(--hero-gradient); }
.site-intro-art { position: relative; width: min(1200px, calc(100% - .5rem), 180svh); height: auto; }
@media (prefers-reduced-motion: no-preference) {
  .intro-pending .site-intro { display: grid; }
  .intro-pending .hero-visual { opacity: 0; }
}
.journey {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 4vw, 3rem);
  padding: clamp(1.1rem, 3vw, 2rem) clamp(.95rem, 3vw, 3rem);
  background: #fff5db85;
}
.journey > div:last-child { text-align: right; }
.journey dt { margin-bottom: .3rem; font-size: clamp(.84rem, 1.45vw, 1rem); font-weight: 770; color: #684820; }
.journey dd { font-size: clamp(1.15rem, 2.85vw, 2.6rem); font-weight: 810; letter-spacing: -.035em; line-height: 1.13; }
.journey dd span { display: block; margin-top: .32em; font-size: clamp(.8rem, 1.5vw, 1.1rem); font-weight: 640; letter-spacing: 0; }
.section { padding-block: clamp(3.4rem, 7vw, 6.5rem); }
.section-head { display: grid; grid-template-columns: 1fr .8fr; align-items: end; gap: 1rem clamp(1.25rem, 5vw, 5rem); margin-bottom: clamp(1.6rem, 4vw, 3.2rem); }
.section-head p { max-width: 46ch; color: var(--muted); }
.route-section { background: var(--surface); }
.route-layout { display: grid; grid-template-columns: minmax(260px, .63fr) minmax(0, 1fr); align-items: start; gap: clamp(24px, 5vw, 72px); }
.route-list { border-top: 1px solid #cfc2a9; }
.route-row {
  --route: #00746c;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .65rem;
  min-height: 98px;
  padding: .9rem 0;
  border-bottom: 1px solid #cfc2a9;
}
.route-row.run { --route: #534194; }
.route-row.cycle { --route: #a63e0a; }
.route-row h3 { display: flex; align-items: center; gap: .55rem; font-size: clamp(1rem, 1.7vw, 1.34rem); }
.route-row h3::before { content: ""; flex: 0 0 10px; width: 10px; height: 10px; background: var(--route); transform: rotate(45deg); }
.route-distance { margin-top: .45rem; color: var(--muted); font-size: .86rem; font-variant-numeric: tabular-nums; }
.route-distance strong { color: var(--ink); font-size: clamp(1.12rem, 2.1vw, 1.7rem); font-weight: 780; letter-spacing: -.04em; }
.route-start { font-size: .86rem; color: var(--muted); }
.route-start time { color: var(--ink); font-weight: 720; white-space: nowrap; }
.route-actions { display: grid; justify-items: end; gap: .1rem; }
.route-actions .text-link { font-size: .76rem; }
.route-row button { min-width: 58px; min-height: 44px; padding: 0 .48em; border: 1px solid #ac9c7a; background: transparent; cursor: pointer; font-size: .77rem; font-weight: 690; transition: background-color .2s, color .2s; }
.route-row button:hover { background: #ecdfc3; }
.route-row button[aria-pressed="true"] { border-color: var(--route); color: #fff; background: var(--route); }
.route-reset { margin-top: .5rem; }
.route-reset button { padding: 0; border: 0; background: transparent; cursor: pointer; font-size: .87rem; }
.map-link { position: relative; display: block; overflow: hidden; background: var(--bg); }
.map-link img { width: 100%; height: auto; scroll-margin-top: 1rem; }
.map-label { position: absolute; bottom: .75rem; right: .75rem; padding: .4rem .65rem; background: var(--ink); color: #fff; font-size: .7rem; font-weight: 650; }
.map-open { margin-top: .4rem; font-size: .9rem; }
.map-notes { padding-top: .7rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.map-notes p + p { margin-top: .45rem; }
.day-steps { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0; list-style: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.day-steps li { padding: 1.6rem clamp(.85rem, 2.2vw, 2.1rem) 1.8rem; }
.day-steps li:first-child { padding-left: 0; }
.day-steps li:last-child { padding-right: 0; }
.day-steps li + li { border-left: 1px solid var(--line); }
.day-steps h3 { margin: .6rem 0 .7rem; }
.day-place { color: var(--accent); font-weight: 710; font-size: .84rem; }
.day-message { margin-top: clamp(2.5rem, 6vw, 5rem); padding-left: clamp(1rem, 3vw, 2.5rem); border-left: 1px solid var(--gold); }
.day-message .mo-wh__text { max-width: 38ch; font-size: clamp(1.4rem, 3vw, 2.6rem); line-height: 1.35; }
html .day-message .mo-w { color: #655a47; }
html .day-message .mo-w.is-on { color: var(--ink); }
html .day-message strong .mo-w.is-on { color: var(--accent); }
.participation { background: var(--surface); }
.participation-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem clamp(2rem, 7vw, 7rem); }
.participation .lead { margin: 1rem 0; max-width: 39ch; }
.questions details { border-top: 1px solid #cfc2a9; }
.questions details:last-child { border-bottom: 1px solid #cfc2a9; }
.questions summary { position: relative; display: block; padding: 1rem 2.2rem 1rem 0; cursor: pointer; font-weight: 710; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::before, .questions summary::after { content: ""; position: absolute; width: .8rem; height: 1px; right: .55rem; top: 50%; background: currentColor; }
.questions summary::after { transform: rotate(90deg); transition: transform .2s; }
.questions details[open] summary::after { transform: none; }
.questions details p { padding: 0 1.7rem 1.1rem 0; }
.site-footer { color: #fff6e6; background: var(--ink); padding: 2.5rem 0 1.2rem; }
.site-footer a { color: #f2d895; }
.site-footer a:hover { color: #fff; }
.site-footer a:focus-visible { outline-color: var(--gold-light); }
.footer-top, .footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; }
.footer-top strong { font-size: 1.12rem; }
.footer-top p { color: #e9e1d1; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
.credits { margin: 1.2rem 0 .8rem; color: #e9e1d1; font-size: .78rem; }
.footer-bottom { border-top: 1px solid #655d51; font-size: .85rem; }
.footer-bottom > div { display: flex; gap: 1rem; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
.legal { padding-block: clamp(2.75rem, 7vw, 6rem); max-width: 770px; min-height: 65svh; }
.legal h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 1.2rem; }
.legal h2 { font-size: 1.3rem; margin: 1.7rem 0 .5rem; }
.legal p + p { margin-top: .75rem; }
.legal .notice { padding: .85rem 1rem; background: var(--surface); }

@media (max-width: 1023px) {
  .route-layout { gap: 1.55rem; }
}
@media (max-width: 900px) {
  .hero-layout { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; gap: 1.8rem; }
  .hero h1 { font-size: clamp(3.65rem, 10vw, 6.2rem); }
  .hero .lead { max-width: 49ch; }
  .hero-visual { justify-self: center; }
  .journey { align-self: end; }
}
@media (max-width: 780px) {
  .route-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  :root { --header: 110px; }
  .header-inner { align-items: flex-start; flex-direction: column; gap: .15rem; padding-top: .6rem; }
  .brand-mark { --brand-size: 43px; }
  .main-nav { align-self: stretch; gap: 0; justify-content: space-between; }
  .main-nav a { padding-inline: .23rem; font-size: .86rem; }
  .hero { padding-top: 2.6rem; }
  .section-head, .participation-layout { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(3rem, 12.4vw, 5.1rem); }
  .hero .lead { margin-block: .9rem 1.05rem; }
  .day-steps { grid-template-columns: 1fr; }
  .day-steps li, .day-steps li:first-child, .day-steps li:last-child { padding: 1.2rem 0; }
  .day-steps li + li { border-left: 0; border-top: 1px solid var(--line); }
  .day-steps h3 { margin: .42rem 0 .55rem; }
}
@media (max-width: 530px) {
  .calendar-options { position: static; }
}
@media (max-width: 360px) {
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .text-link { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
}
