
:root {
  color-scheme: light;
  --ground: #F2EDE4;
  --paper: #FAF7F0;
  --ink: #20382F;
  --muted: #52645B;
  --accent: #71283E;
  --fog: #DDE3DD;
  --rule: #9CAA9F;
  --heading: Vollkorn, Georgia, serif;
  --body: "Source Sans 3", Arial, sans-serif;
  --side: clamp(20px, 4.5vw, 72px);
  --section: clamp(72px, 8vw, 120px);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ground); scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: .22em; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { margin: 0; color: var(--ink); font-family: var(--heading); font-weight: 500; }
h1 { max-width: 14ch; font-size: clamp(3.25rem, 6.2vw, 6rem); line-height: .98; letter-spacing: -.035em; }
h2 { font-size: clamp(2.25rem, 3.4vw, 3.5rem); line-height: 1.06; letter-spacing: -.02em; }
h3 { font-size: 1.5rem; line-height: 1.2; }
p { margin: 0 0 18px; }
.skip-link { position: absolute; z-index: 1000; top: -100px; left: 16px; padding: 10px 16px; background: var(--ink); color: var(--paper); }
.skip-link:focus { top: 12px; }
.eyebrow { margin-bottom: 22px; color: var(--accent); font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.lede { font-size: 1.25rem; line-height: 1.55; }
.text-link { display: inline-flex; gap: 20px; align-items: center; min-height: 44px; border-bottom: 1px solid currentColor; font-weight: 700; text-decoration: none; }
.text-link:hover { color: var(--ink); }
.small-print { color: var(--muted); font-size: .9375rem; }

.site-header { display: flex; align-items: center; gap: 20px 40px; min-height: 104px; padding: 20px var(--side); border-bottom: 1px solid var(--rule); }
.wordmark { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font: 600 1.875rem/1 var(--heading); text-decoration: none; }
.wordmark-mark { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--ink); border-radius: 50%; color: var(--accent); font-size: 1.375rem; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 4px 30px; margin-left: auto; }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; }
.site-header nav a[aria-current="page"] { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .4em; }
.sqs-block-button-element { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border: 1px solid var(--accent); border-radius: 0; background: var(--accent); color: #FFFFFF; font: 700 1rem/1 var(--body); text-decoration: none; }
.sqs-block-button-element:hover { background: var(--ink); border-color: var(--ink); }

.hero { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 48px 12px; align-items: center; padding: var(--section) var(--side); overflow: hidden; }
.hero-copy { grid-column: 2 / 12; position: relative; z-index: 1; }
.hero-copy .lede { max-width: 35rem; margin: 30px 0; }
.route-card { grid-column: 13 / 24; position: relative; margin: 0; padding: 18px 18px 0; border-left: 7px solid var(--accent); background: var(--paper); box-shadow: 18px 18px 0 var(--fog); }
.route-card img { width: 100%; border: 1px solid var(--rule); }
.route-card-caption { display: flex; justify-content: space-between; gap: 12px 20px; margin: 0; padding: 16px 0 18px; color: var(--ink); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.stages-section { padding: var(--section) var(--side); background: var(--ink); color: var(--paper); }
.section-heading { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 12px; margin-bottom: 56px; }
.section-heading .eyebrow { grid-column: 2 / 8; color: #D7B4BE; }
.section-heading h2 { grid-column: 2 / 13; color: var(--paper); }
.section-heading > p:last-child { grid-column: 15 / 24; align-self: end; margin: 0; color: #D4DED7; }
.stage-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.stage-card { display: flex; flex-direction: column; min-width: 0; padding: 24px 22px 20px; border-top: 5px solid #D7B4BE; background: var(--paper); color: var(--ink); }
.stage-card:nth-child(even) { border-top-color: #B87B50; }
.stage-card h3 { min-height: 2.4em; margin-bottom: 14px; }
.stage-card p { color: var(--muted); }
.stage-card .stage-day { margin-bottom: 14px; color: var(--accent); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.stage-card .stage-distance { margin: 4px 0 22px; font-size: .8rem; font-weight: 700; }
.stage-card .bag-drop { display: flex; gap: 9px; align-items: flex-start; margin: auto 0 0; padding-top: 16px; border-top: 1px solid var(--rule); color: var(--ink); font-size: .8rem; font-weight: 700; line-height: 1.4; }
.bag-drop span { color: var(--accent); font-size: 1.15rem; line-height: 1; }
.transfer-note { max-width: 940px; margin: 0 auto; padding: var(--section) var(--side); text-align: center; }
.transfer-note p:not(.eyebrow) { max-width: 45rem; margin: 24px auto; }

.page-intro { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 32px 12px; padding: var(--section) var(--side) 64px; }
.page-intro > div:first-child { grid-column: 2 / 14; }
.page-intro h1 { font-size: clamp(3.25rem, 5.4vw, 5.25rem); }
.intro-copy { grid-column: 16 / 24; align-self: end; }
.intro-copy p:last-child { margin-bottom: 0; color: var(--muted); }
.route-section, .table-section { padding: 0 var(--side) var(--section); }
.summary-item-list { --summary-cols: 3; --summary-gap: 32px 24px; }
.summary-item { min-width: 0; border-top: 1px solid var(--rule); background: transparent; }
.summary-thumbnail-outer-container { margin: 0 0 22px; }
.summary-thumbnail { aspect-ratio: 4 / 3; background: var(--fog); }
.summary-thumbnail-image { object-fit: cover; }
.summary-content { padding: 0 4px 30px; }
.summary-title { margin: 0 0 12px; font: 500 1.75rem/1.15 var(--heading); }
.summary-title-link { color: var(--ink); text-decoration: none; }
.summary-title-link:hover { color: var(--accent); text-decoration: underline; text-underline-offset: .2em; }
.summary-metadata-container { margin: 0 0 12px; }
.summary-metadata-item { display: inline-block; margin: 0 8px 5px 0; color: var(--muted); font-size: .75rem; }
.summary-metadata-item a { display: inline-flex; align-items: center; min-width: 24px; min-height: 24px; color: inherit; text-decoration: none; }
.summary-metadata-item--cats { color: var(--accent); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.summary-excerpt { color: var(--muted); font-size: .9375rem; line-height: 1.55; }
.custom-filter-container { --cf-border: #71283E; --cf-focus: #71283E; --cf-list-bg: #FAF7F0; --cf-list-fg: #20382F; --cf-active-bg: #71283E; --cf-active-fg: #FFFFFF; }

.table-note { display: flex; justify-content: space-between; gap: 12px 24px; padding: 16px 0; border-top: 1px solid var(--rule); color: var(--muted); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.table-section .small-print { max-width: 60rem; margin: 28px 0 0; }
.custom-table-block { --ct-focus: #71283E; --ct-border: #71283E; }

.site-footer { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 32px 12px; padding: 56px var(--side) 64px; border-top: 1px solid var(--rule); background: #E7E3D9; }
.site-footer > div:first-child { grid-column: 2 / 10; }
.site-footer > div:last-child { grid-column: 14 / 24; }
.site-footer h2 { margin-bottom: 12px; font-size: 1.375rem; }
.site-footer p { margin: 14px 0 0; color: var(--muted); }

@media (max-width: 1100px) {
  .hero-copy { grid-column: 1 / 12; }
  .route-card { grid-column: 13 / 25; }
  .stage-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage-card h3 { min-height: 0; }
  .page-intro > div:first-child { grid-column: 1 / 14; }
  .intro-copy { grid-column: 15 / 25; }
  .summary-item-list { --summary-cols: 2; }
}
@media (max-width: 900px) {
  .hero { display: flex; flex-direction: column; align-items: stretch; }
  .hero-copy .lede { max-width: 42rem; }
  .route-card { width: calc(100% - 18px); max-width: 680px; margin: 12px auto 0 0; }
}
@media (max-width: 767px) {
  body { font-size: 1rem; }
  h1 { font-size: 3.5rem; }
  .site-header { min-height: 0; padding: 16px 20px; gap: 8px 20px; flex-wrap: wrap; }
  .wordmark { font-size: 1.625rem; }
  .wordmark-mark { width: 32px; height: 32px; font-size: 1.125rem; }
  .site-header nav { order: 3; width: 100%; margin-left: 0; gap: 0 26px; }
  .site-header > .sqs-block-button-element { margin-left: auto; min-height: 44px; padding: 0 16px; }
  .hero { padding: 72px 20px; gap: 32px; }
  .hero-copy .lede { font-size: 1.125rem; }
  .route-card { width: calc(100% - 10px); padding: 10px 10px 0; border-left-width: 5px; box-shadow: 10px 10px 0 var(--fog); }
  .route-card-caption { flex-direction: column; gap: 4px; padding: 12px 0 14px; font-size: .6rem; }
  .stages-section { padding: 72px 20px; }
  .section-heading { display: block; margin-bottom: 36px; }
  .section-heading h2 { margin-bottom: 24px; }
  .stage-strip { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .transfer-note { padding: 72px 20px; }
  .page-intro { display: block; padding: 72px 20px 40px; }
  .page-intro h1 { font-size: 3.25rem; }
  .intro-copy { margin-top: 32px; }
  .intro-copy .lede { font-size: 1.125rem; }
  .route-section, .table-section { padding: 0 20px 72px; }
  .summary-item-list { --summary-cols: 1; }
  .table-note { flex-wrap: wrap; }
  .site-footer { display: block; padding: 48px 20px 56px; }
  .site-footer > div:last-child { margin-top: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
