/* Ride In site: base styles (owner G). The Clean look from Gavin's logo (RESKIN-SPEC, locked
   20 October 2026; reference design-explorations/e-logo-led with data-look="clean"): one bright
   red on a white page, condensed capitals for headings, the logo's script for a word or two, the
   logo's ribbon for prices and shop names, the mountain line as a divider, 3px ink outlines.
   Map styles live in map.css (owner M), booking styles in booking.css (owner B). Both read the
   tokens on :root below. */

/* ---------- Fonts: self-hosted WOFF2, Latin and Latin Extended (site/build.py --fetch-fonts) ---------- */
/* fonts:start (written by site/build.py --fetch-fonts) */
@font-face { font-family: "Norican"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/norican-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Norican"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/norican-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Sofia Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/sofia-sans-400-italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Sofia Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/sofia-sans-400-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Sofia Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/sofia-sans-400-700-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Sofia Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/sofia-sans-400-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Sofia Sans Condensed"; font-style: normal; font-weight: 700 900; font-display: swap; src: url("/assets/fonts/sofia-sans-condensed-700-900-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Sofia Sans Condensed"; font-style: normal; font-weight: 700 900; font-display: swap; src: url("/assets/fonts/sofia-sans-condensed-700-900-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* fonts:end */

/* ---------- Tokens (RESKIN-SPEC section 2) ---------- */
:root {
  --red: #E23433;        /* logo red: route lines, the mountain line, numerals, display type 24px and up */
  --red-field: #D63230;  /* buttons, red bands with white text (4.82:1), small red text, ribbon fill */
  --red-deep: #A92623;   /* button hover, ribbon tails, pressed states, small red text on stone */
  --ink: #1E1A17;        /* text, 3px outlines, the dark band, footer */
  --ink-2: #4A4440;      /* secondary text on white (9.6:1) */
  --stone: #F3F1ED;      /* quiet bands and panels */
  --line: #E4E0DA;       /* hairlines inside panels */
  --white: #FFFFFF;      /* page ground */
  --sky: #DCE7EC;        /* map water */
  --disp: "Sofia Sans Condensed", "Sofia Sans", system-ui, sans-serif;  /* headings, labels, buttons, prices */
  --body: "Sofia Sans", system-ui, sans-serif;                          /* reading text, forms */
  --script: "Norican", cursive;                                         /* script accents only */

  --empty: #E3DED8;      /* empty grade cells and bar tracks */
  --tint: #FBEAE9;       /* hovered rows */
  --on-ink: #E9E5E0;     /* body text on ink */
  --on-ink-2: #B8B1AA;   /* fine print on ink (7.6:1) */
  --radius: 3px;
  --gut: clamp(16px, 4vw, 48px);
  --wrap: 1280px;
  --pad: clamp(64px, 9vw, 128px);
  --gap: clamp(20px, 3vw, 40px);
  --head-h: 84px;        /* the sticky header; map.css and booking.css offset sticky parts by it */
  --m-sticky-top: var(--head-h);  /* read by map.css: the phone map stage sticks below the header */
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (max-width: 980px) { :root { --head-h: 68px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 24px); }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font: 400 18px/1.55 var(--body); font-feature-settings: "lnum" 1;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
@media (max-width: 599px) { body { font-size: 17px; } }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
svg { display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: inherit; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, dl, dd, blockquote { margin: 0; }
address { font-style: normal; }
[hidden] { display: none !important; }
table { border-collapse: collapse; }
b, strong { font-weight: 700; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; transition: color 160ms var(--ease); }
a:hover { color: var(--red-field); }
.band-stone a:hover { color: var(--red-deep); }
.band-red a:hover, .band-ink a:hover, .site-footer a:hover, .booking-bar a:hover { color: #fff; text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.band-red :focus-visible, .band-ink :focus-visible, .site-footer :focus-visible, .booking-bar :focus-visible { outline-color: #fff; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 16px; top: -80px; z-index: 80; background: var(--ink); color: #fff; padding: 12px 16px; font: 800 17px/1 var(--disp); text-transform: uppercase; letter-spacing: .04em; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }

.photo { background: var(--stone); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--pad); }
.band-stone { background: var(--stone); }
.band-ink { background: var(--ink); color: #fff; }
.band-red { background: var(--red-field); color: #fff; }
/* No double padding where two bands of the same colour meet */
.band-stone + .band-stone,
.section:not(.band-stone):not(.band-ink):not(.band-red) + .section:not(.band-stone):not(.band-ink):not(.band-red) { padding-top: 0; }
.page-head + .section:not(.band-stone):not(.band-ink):not(.band-red), .section--first { padding-top: 0; }

/* Section head: heading left, lede right on desktop, stacked under 820px */
.section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px 48px; align-items: end; margin-bottom: 44px; }
.section-head > :only-child { grid-column: 1 / -1; }
.section-head .sub { margin: 0; }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; margin-bottom: 32px; } }

/* Side head: heading in the left column, the body on the right */
.sidehead { display: grid; gap: 28px 48px; }
@media (min-width: 900px) { .sidehead { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.sidehead__head .sub { margin-top: 18px; }
.sidehead__body { min-width: 0; }

/* ---------- Type (RESKIN-SPEC section 3) ---------- */
.h1 { font: 900 clamp(44px, 6vw, 88px)/0.9 var(--disp); text-transform: uppercase; letter-spacing: -0.005em; overflow-wrap: break-word; }
.h1--home { font-size: clamp(48px, 6.5vw, 96px); line-height: 0.88; }
/* The stand-in Checkfront page (preview builds only): "Checkfront preview" stays on one line at 360 */
.h1--cfp { font-size: clamp(36px, 6vw, 88px); }
.h2 { font: 900 clamp(38px, 5vw, 68px)/0.9 var(--disp); text-transform: uppercase; }
.h3 { font: 800 clamp(24px, 2.6vw, 34px)/0.95 var(--disp); text-transform: uppercase; }
.script { display: block; font-family: var(--script); font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--red); }
.h1 .script { line-height: 1.05; }
.h1--script-start .script { font-size: clamp(34px, 3.4vw, 48px); margin-bottom: 0.04em; }
.h1--script-end .script { font-size: clamp(48px, 6.4vw, 92px); margin-top: 0.02em; }
.h1--home .script { font-size: clamp(64px, 8.6vw, 124px); }
.h2 .script { font-size: clamp(30px, 3vw, 42px); line-height: 1.1; margin-bottom: 4px; }
.band-red .script, .band-ink .script { color: #fff; }
.lede, .sub { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; max-width: 34em; }
.label { font: 700 13px/1.3 var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.band-red .label, .band-ink .label { color: #fff; }
.num { font-feature-settings: "lnum" 1, "tnum" 1; }
.muted { color: var(--ink-2); }
.small { font-size: 15px; line-height: 1.4; color: var(--ink-2); }
.nowrap, a[href^="tel:"] { white-space: nowrap; }
.after-list { margin-top: 28px; }

.prose { max-width: 40em; }
.prose > * + * { margin-top: 0.9em; }
.prose h3 { font: 800 24px/1.05 var(--disp); text-transform: uppercase; margin-top: 1.6em; }
.prose h3:first-child { margin-top: 0; }
.prose h3 + p, .prose h3 + ul { margin-top: 0.5em; }
.prose ul:not([class]) { display: grid; gap: 8px; }
.prose ul:not([class]) > li { position: relative; padding-left: 26px; }
.prose ul:not([class]) > li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 9px; height: 9px; background: var(--red); transform: rotate(45deg); }
.prose a { overflow-wrap: anywhere; }
.prose--faq h3 { padding-top: 22px; border-top: 3px solid var(--ink); margin-top: 30px; }
.prose--faq h3:first-child { margin-top: 0; }
.prose--intro p { font-size: clamp(19px, 1.6vw, 21px); line-height: 1.55; }
.prose--intro p + p { margin-top: 0.8em; }
.prose--lead { padding-bottom: 32px; }

/* Text links with an arrow, in the display face */
.more-link {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font: 800 17px/1.1 var(--disp); text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--red-field); text-decoration: none;
}
.band-stone .more-link { color: var(--red-deep); }
.more-link:hover { color: var(--red-deep); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.more-link svg { width: 18px; height: 18px; flex: none; transition: transform 200ms var(--ease); }
.more-link:hover svg { transform: translateX(3px); }
.band-red .more-link, .band-ink .more-link { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border: 3px solid var(--red-field); border-radius: var(--radius);
  background: var(--red-field); color: #fff; font: 800 18px/1.05 var(--disp); text-transform: uppercase;
  letter-spacing: 0.04em; text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease);
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.btn:hover { background: var(--red-deep); border-color: var(--red-deep); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn .icon--arrow { transition: transform 200ms var(--ease); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn--quiet { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--quiet:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--small { min-height: 44px; padding: 0 18px; font-size: 17px; }
.band-red .btn, .band-ink .btn, .booking-bar .btn { background: #fff; color: var(--red-field); border-color: #fff; }
.band-red .btn:hover, .booking-bar .btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.band-ink .btn:hover { background: var(--red-field); color: #fff; border-color: var(--red-field); }
.band-red .btn--quiet, .band-ink .btn--quiet { background: transparent; color: #fff; border-color: #fff; }
.band-red .btn--quiet:hover { background: #fff; color: var(--red-field); border-color: #fff; }
.band-ink .btn--quiet:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 479px) { .btn-row > .btn { flex: 1 1 100%; } }
.text-btn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 2px;
  background: none; border: 0; cursor: pointer; font: 700 16px/1.2 var(--body);
  color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.25em;
}
.text-btn:hover { color: var(--red-field); text-decoration-thickness: 2px; }
.icon { width: 22px; height: 22px; flex: none; }

/* ---------- The logo's ribbon ---------- */
.ribbon {
  position: relative; display: inline-flex; isolation: isolate; max-width: calc(100% - 28px); margin: 0 14px;
  color: #fff; font: 900 18px/1.05 var(--disp); text-transform: uppercase; letter-spacing: 0.04em;
  font-feature-settings: "lnum" 1, "tnum" 1;
}
.ribbon > span { position: relative; z-index: 1; display: block; padding: 8px 18px 9px; background: var(--red-field); }
.ribbon::before, .ribbon::after { content: ""; position: absolute; z-index: 0; top: 7px; bottom: -7px; width: 24px; background: var(--red-deep); }
.ribbon::before { left: -14px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 42% 50%); }
.ribbon::after { right: -14px; clip-path: polygon(0 0, 100% 0, 58% 50%, 100% 100%, 0 100%); }
.ribbon--big { font-size: clamp(20px, 2.2vw, 28px); }
.ribbon--big > span { padding: 10px 24px 11px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.brand { display: block; flex: none; }
.brand img { width: 104px; height: auto; }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 26px; align-items: center; }
.nav__link {
  display: inline-flex; align-items: center; min-height: 44px; padding-top: 3px;
  font: 800 17px/1 var(--disp); text-transform: uppercase; letter-spacing: 0.05em; text-decoration: none; color: var(--ink);
  border-bottom: 3px solid transparent;
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--ink); border-bottom-color: var(--red); }
.header-actions { display: flex; align-items: center; gap: 20px; }
.phone-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink);
  font: 700 16px/1 var(--body); text-decoration: none; white-space: nowrap; font-feature-settings: "lnum" 1, "tnum" 1;
}
.phone-link svg { width: 20px; height: 20px; color: var(--red); }
.phone-link:hover { color: var(--red-field); }
.menu-toggle {
  display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; flex: none;
  background: none; border: 2px solid var(--ink); border-radius: var(--radius); cursor: pointer; color: var(--ink);
}
.menu-toggle__bars { position: relative; width: 20px; height: 14px; background: linear-gradient(currentColor, currentColor) 0 50% / 100% 2.4px no-repeat; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; right: 0; height: 2.4px; border-radius: 2px; background: currentColor; transition: transform 200ms var(--ease), top 200ms var(--ease); }
.menu-toggle__bars::before { top: 0; }
.menu-toggle__bars::after { top: 11.6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background-size: 0 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { top: 5.8px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { top: 5.8px; transform: rotate(-45deg); }
.menu-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (min-width: 981px) and (max-width: 1200px) {
  .site-header__inner { gap: 20px; }
  .nav__list { gap: 16px; }
  .nav__link { font-size: 16px; letter-spacing: 0.04em; }
  .header-actions { gap: 14px; }
}
@media (max-width: 980px) {
  .site-header__inner { min-height: 68px; gap: 12px; flex-wrap: wrap; }
  .brand img { width: 80px; }
  .header-actions { margin-left: auto; gap: 10px; }
  .js .menu-toggle { display: inline-flex; }
  .nav { order: 3; flex: 1 1 100%; margin: 0; padding: 0 0 12px; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { display: flex; min-height: 56px; padding-top: 0; font-size: 24px; border-bottom: 1px solid var(--line); }
  .nav__link:hover { border-bottom-color: var(--line); color: var(--red-field); }
  .nav__link[aria-current="page"] { color: var(--red-field); border-bottom-color: var(--line); }
  .js .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 3px solid var(--ink); padding: 4px var(--gut) 20px; }
  .js .nav[data-open="true"] { display: block; }
}
@media (max-width: 980px) { .js .site-header__inner { flex-wrap: nowrap; } }
@media (max-width: 420px) {
  .site-header__inner { gap: 6px; }
  .header-actions { gap: 6px; }
  .phone-link { font-size: 14px; gap: 4px; letter-spacing: 0; }
  .phone-link svg { width: 16px; height: 16px; }
  .header-book { padding-inline: 10px; font-size: 15px; }
}

/* ---------- Breadcrumb ---------- */
.crumbs { font: 600 14px/1.3 var(--body); color: var(--ink-2); margin-bottom: 14px; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; }
.crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; color: var(--ink-2); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--ink-2); }

/* ---------- The mountain line from the logo ---------- */
.ridge { color: var(--red); overflow: hidden; }
.ridge__svg { display: block; overflow: visible; }
.ridge__svg path { fill: none; stroke: currentColor; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.ridge--divider { margin-bottom: clamp(28px, 4vw, 48px); }
.ridge--divider .ridge__svg { width: 100%; height: clamp(44px, 6vw, 84px); }
.ridge--wide .ridge__svg { width: 100%; height: auto; }
.band-red .ridge, .band-ink .ridge { color: #fff; }
/* Drawn once on load (site.js measures it); skipped under reduced motion */
.js .ridge--draw:not(.is-ready) path { opacity: 0; }
.ridge--draw.is-ready:not(.is-drawn) path { stroke-dasharray: var(--len, 4000); stroke-dashoffset: var(--len, 4000); animation: ridge-draw 2.2s var(--ease) 0.2s forwards; }
@keyframes ridge-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .ridge--draw.is-ready path { animation: none; stroke-dasharray: none; stroke-dashoffset: 0; } }

/* ---------- Home: hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); min-height: min(760px, calc(100svh - var(--head-h))); }
.hero__text {
  position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; gap: 26px;
  padding: clamp(40px, 6vw, 88px) max(var(--gut), 84px) 190px max(var(--gut), calc((100vw - var(--scrollbar, 0px) - var(--wrap)) / 2));
}
.hero__eyebrow { font: 700 14px/1.35 var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); max-width: 44em; text-wrap: balance; }
.hero__sub { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; max-width: 32em; }
.hero__line { font: 600 15px/1.4 var(--body); color: var(--ink-2); max-width: 36em; }
.hero__photo { position: relative; z-index: 4; }
.hero__photo .photo { height: 100%; }
.hero__photo img { object-position: 8% 50%; }
.stamp {
  position: absolute; left: -64px; top: clamp(40px, 9%, 96px); width: 150px; height: 150px; border-radius: 50%;
  display: grid; place-items: center; padding: 18px; text-align: center; background: #fff; color: var(--red-field);
  font: 900 17px/1 var(--disp); text-transform: uppercase; box-shadow: 0 10px 30px rgba(30, 26, 23, 0.18); transform: rotate(-8deg);
}
.stamp b { display: block; font-size: 44px; line-height: 0.9; font-weight: 900; }
.hero__ridge { position: absolute; left: 0; right: 0; bottom: 18px; height: 150px; z-index: 5; pointer-events: none; color: var(--red); }
.hero__ridge .ridge__svg { width: 100%; height: 100%; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__photo { order: -1; aspect-ratio: 4 / 3; }
  .hero__text { padding: 64px var(--gut) 56px; gap: 22px; }
  .stamp { left: auto; top: auto; right: max(var(--gut), 16px); bottom: -44px; width: 112px; height: 112px; font-size: 13px; padding: 12px; }
  .stamp b { font-size: 32px; }
  .hero__ridge { display: none; }
}

/* ---------- Cards: tours, bikes, routes, the two ways ---------- */
.cards { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.tour-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tour-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tour-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1180px) { .tour-cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1000px) { .tour-cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .tour-cards--4, .tour-cards--3, .tour-cards--2 { grid-template-columns: 1fr; } }
.card { position: relative; display: flex; flex-direction: column; min-width: 0; background: var(--white); border: 3px solid var(--ink); }
.card__media { position: relative; flex: none; aspect-ratio: 3 / 2; background: var(--stone); }
.card__media--none { aspect-ratio: auto; background: none; padding-top: 20px; }
.card__media--none .card__ribbon { position: static; }
.card__media > .photo, .card__media > .bike-drawing, .card__media > .card__shape { position: absolute; inset: 0; overflow: hidden; }
.card__media > .photo img { transition: transform 600ms var(--ease); }
.card:hover .card__media > .photo img { transform: scale(1.03); }
.card__ribbon { position: absolute; left: 6px; bottom: -20px; z-index: 2; }
.tour-card .card__ribbon { font-size: 16px; }
.card__body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 40px 24px 24px; }
.card__media--none + .card__body { padding-top: 20px; }
.card__title { font: 800 clamp(22px, 2vw, 28px)/1 var(--disp); text-transform: uppercase; }
.card__title a { text-decoration: none; }
.card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card:hover .card__title a { color: var(--red-field); }
.card__link:focus-visible { outline: none; }
.card:has(.card__link:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }
.card__text { font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.card__facts { display: flex; flex-wrap: wrap; gap: 4px 16px; font: 700 15px/1.35 var(--body); font-feature-settings: "lnum" 1, "tnum" 1; }
.card__price, .card__meta, .card__row { font-size: 15px; line-height: 1.45; }
.card__price .label, .card__meta .label, .card__row .label { margin-right: 6px; }
.card__row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.card__more { margin-top: auto; }
.card .chips, .card__meta a, .card__row a { position: relative; z-index: 2; }
.card__shape { display: grid; place-items: center; padding: 8% 10%; }
.card__shape .route-shape { width: 100%; height: 100%; }
.card__shape .route-shape path { stroke-width: 4; }

.ways { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
@media (max-width: 820px) { .ways { grid-template-columns: 1fr; } }
.way .card__body { padding: 44px 28px 28px; gap: 16px; }
.way .card__ribbon { left: 8px; bottom: -24px; }
.way .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Grades: the number, the band word and ten 5 x 12 px cells ---------- */
.grades { display: flex; flex-wrap: wrap; gap: 6px 22px; font: 600 14px/1.3 var(--body); }
.grade { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-feature-settings: "lnum" 1, "tnum" 1; }
.grade__label { font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 13px; }
.grade__val b { font-weight: 700; }
.grade__band { color: var(--ink-2); }
.meter { display: inline-flex; gap: 2px; align-items: center; }
.meter i { display: block; width: 5px; height: 12px; background: var(--empty); }
.meter i.on { background: var(--red); }

/* Route shapes (cards, lists) */
.route-shape { width: 132px; height: 96px; }
.route-shape path { fill: none; stroke: var(--red); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.route-shape circle { fill: var(--ink); }
.route-shape text { font: 600 11px var(--body); fill: var(--ink-2); }
.route-shape--area path { stroke-dasharray: 6 4; fill: rgba(226, 52, 51, 0.12); }

/* ---------- Lists ---------- */
.points { display: grid; gap: 10px; }
.points li { display: flex; gap: 12px; align-items: baseline; }
.points li::before { content: ""; flex: none; width: 10px; height: 10px; background: var(--red); transform: translateY(-1px) rotate(45deg); }
.points--tight { gap: 6px; }
.points--not li::before { width: 12px; height: 3px; background: var(--ink-2); transform: translateY(-4px); }
.ticks { display: grid; gap: 12px; }
.ticks li { display: flex; gap: 14px; align-items: baseline; font-size: 19px; }
.ticks li::before { content: ""; flex: none; width: 16px; height: 9px; border-left: 3.5px solid var(--red); border-bottom: 3.5px solid var(--red); transform: rotate(-45deg) translateY(-3px); }
.steps { display: grid; gap: 22px; counter-reset: none; }
.steps li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; align-items: start; }
.steps__no, .day-plan__no {
  width: 48px; height: 48px; border-radius: 50%; border: 3px solid var(--red-field); background: var(--white);
  display: grid; place-items: center; color: var(--red-field); font: 900 24px/1 var(--disp); font-feature-settings: "lnum" 1;
}
.band-stone .steps__no, .band-stone .day-plan__no { background: var(--stone); }
.steps p, .day-plan p { font-size: 19px; line-height: 1.5; padding-top: 9px; }

/* ---------- Home: which bike, rows ---------- */
.bike-table { border-top: 3px solid var(--ink); display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr) auto; column-gap: 24px; }
.bike-row {
  display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; gap: 6px 24px; align-items: baseline;
  padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink);
}
.bike-row:hover { color: var(--ink); }
.bike-row:hover .bike-row__title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
.bike-row__use { font: 800 clamp(20px, 2vw, 26px)/1.05 var(--disp); text-transform: uppercase; color: var(--red-field); }
.bike-row__title { display: block; font: 800 20px/1.1 var(--disp); text-transform: uppercase; letter-spacing: 0.01em; }
.bike-row__shop { display: block; margin-top: 4px; font: 600 15px/1.3 var(--body); color: var(--ink-2); }
.bike-row__price { text-align: right; white-space: nowrap; font: 900 clamp(24px, 2.4vw, 32px)/1 var(--disp); color: var(--red-field); }
.bike-row__price small { font: 700 15px/1 var(--body); color: var(--ink-2); }
.band-stone .bike-row__use, .band-stone .bike-row__price { color: var(--red-deep); }
@media (max-width: 700px) {
  .bike-table { grid-template-columns: minmax(0, 1fr) auto; }
  .bike-row { padding: 16px 0; }
  .bike-row__price { grid-column: 2; grid-row: 2; }
  .bike-row__use { grid-column: 1 / -1; }
}

/* ---------- Framed photo band ---------- */
.photo-band { padding-bottom: var(--pad); }
.photo-band__frame { border: 3px solid var(--ink); }
.photo-band__frame .photo img { aspect-ratio: 21 / 9; object-position: 50% 62%; }
@media (max-width: 700px) { .photo-band__frame .photo img { aspect-ratio: 4 / 3; } }
.photo-band__place { padding: 12px 16px; text-align: right; border-top: 3px solid var(--ink); color: var(--ink); }

/* ---------- Shops ---------- */
.shops { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 32px; padding-top: 22px; }
.sidehead__body .shops { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
@media (max-width: 820px) { .shops { grid-template-columns: 1fr; gap: 48px; } }
.shop { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 44px 30px 26px; background: var(--white); border: 3px solid var(--ink); }
.shop__ribbon { position: absolute; top: -24px; left: 6px; }
.shop__name a { text-decoration: none; }
.shop__name a:hover { color: var(--red-field); }
.shop__addr { line-height: 1.5; }
.shop__stocks { font-weight: 600; }
.shop__dir, .shop__hours { font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.shop__links { margin-top: auto; }
.shops-line { margin-top: 32px; font-weight: 600; max-width: 44em; }

/* ---------- Reviews (ink band) ---------- */
.reviews { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: start; }
@media (max-width: 820px) { .reviews { grid-template-columns: 1fr; gap: 28px; } }
.reviews__count { font: 900 clamp(90px, 12vw, 170px)/0.85 var(--disp); color: #fff; font-feature-settings: "lnum" 1, "tnum" 1; }
.reviews__head .h2 { margin-top: 12px; font-size: clamp(30px, 3vw, 40px); }
.reviews__link { margin-top: 12px; }
.quotes { display: grid; gap: 28px; }
.quote { padding-bottom: 26px; border-bottom: 2px solid rgba(255, 255, 255, 0.25); }
.quote blockquote p { font-size: clamp(19px, 1.8vw, 24px); line-height: 1.45; color: #fff; }
.quote figcaption { margin-top: 12px; font: 800 16px/1 var(--disp); letter-spacing: 0.06em; text-transform: uppercase; color: #FFB4B0; }

/* ---------- Good to know (home) ---------- */
.qa { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
@media (max-width: 820px) { .qa { grid-template-columns: 1fr; } }
.qa__item { padding: 24px 0 28px; border-top: 3px solid var(--ink); }
.qa__q { font: 800 24px/1.05 var(--disp); text-transform: uppercase; margin-bottom: 10px; }
.qa__a { color: var(--ink-2); }

/* ---------- Plan your ride (the one red band) ---------- */
.plan .ridge--wide { margin-bottom: clamp(20px, 3vw, 36px); }
.plan__inner { display: grid; gap: 22px; }
.plan .lede { max-width: 34em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-ink); padding: 64px 0 40px; font-size: 16px; line-height: 1.5; }
.site-footer a { color: var(--on-ink); }
.footer-cols { display: grid; grid-template-columns: 1.15fr 1fr 1fr 1.25fr; gap: 32px; }
@media (max-width: 900px) { .footer-cols { grid-template-columns: 1fr 1fr; gap: 36px 32px; } }
@media (max-width: 520px) { .footer-cols { grid-template-columns: 1fr; } }
.footer-logo { display: inline-block; }
.footer-logo img { width: 140px; height: auto; }
.footer-title { margin: 0 0 8px; font: 800 18px/1.15 var(--disp); text-transform: uppercase; letter-spacing: 0.05em; color: #fff; }
.footer-title a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.footer-title a:hover { text-decoration: underline; }
.footer-contact .footer-title { margin-top: 22px; }
.footer-shop .footer-title { margin-top: -10px; }
.site-footer address { color: var(--on-ink); }
.footer-hours { margin-top: 8px; color: var(--on-ink-2); }
.footer-shop a:not(.footer-title a), .footer-list a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-list--cols { columns: 2; column-gap: 20px; margin-top: -10px; }
.footer-list--cols li { break-inside: avoid; }
.footer-base {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid #3A3532; display: flex; flex-wrap: wrap; gap: 4px 24px; align-items: center;
  font-size: 14px; color: var(--on-ink-2);
}
.footer-base p { padding-block: 10px; }
.footer-base a { color: var(--on-ink-2); display: inline-block; padding-block: 12px; margin-block: -12px; }
.footer-consent { color: var(--on-ink); font-weight: 600; font-size: 14px; }
.footer-consent:hover { color: #fff; }

/* ---------- Consent banner ---------- */
.consent {
  position: fixed; z-index: 55; left: 12px; right: 12px; bottom: 12px;  /* under the map's phone sheet (60, 61) */
  display: grid; gap: 12px; padding: 16px 18px; background: var(--white); color: var(--ink);
  border: 3px solid var(--ink); border-radius: var(--radius); font: 400 16px/1.45 var(--body);
}
.consent__btns { display: flex; gap: 10px; }
.consent__btns .btn { flex: 1 1 0; }
@media (min-width: 640px) { .consent { left: auto; right: 20px; bottom: 20px; max-width: 420px; } }
/* On the rental builder the booking summary is sticky on the right from 1024 px: keep the banner
   clear of its "Continue to secure booking" button */
@media (min-width: 1024px) { body:has([data-booking="rent"]) .consent { left: 20px; right: auto; } }

/* ---------- Sticky booking bar (tour and bike pages) ---------- */
.booking-bar {
  position: fixed; left: 0; right: 0; bottom: var(--consent-h, 0px); z-index: 40; background: var(--ink); color: #fff;
  transform: translateY(110%); transition: transform 240ms var(--ease); padding-bottom: env(safe-area-inset-bottom); visibility: hidden;
}
.booking-bar[data-show="true"] { transform: translateY(0); visibility: visible; }
.booking-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; padding-block: 10px; }
.booking-bar__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 15px; line-height: 1.3; }
.booking-bar__text b { font: 800 19px/1.1 var(--disp); text-transform: uppercase; letter-spacing: 0.02em; color: #fff; }
.booking-bar__text span { color: var(--on-ink); font-feature-settings: "lnum" 1, "tnum" 1; }
.booking-bar .btn { flex: none; }
@media (max-width: 640px) {
  .booking-bar__text b { display: none; }
  .booking-bar__text span { color: #fff; font-weight: 700; font-size: 16px; }
}
body.has-bar .site-footer { padding-bottom: 110px; }

/* ---------- Inner page heads ---------- */
.page-head { padding-block: clamp(6px, 1.2vw, 16px) clamp(40px, 5vw, 72px); }
.text-head, .tour-head { display: grid; gap: 20px 48px; align-items: end; }
@media (min-width: 900px) {
  .text-head, .tour-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .text-head > .h1:only-child { grid-column: 1 / -1; max-width: 18em; }
  .text-head__links { grid-column: 2; }
}
.text-head .sub, .tour-head .sub { margin: 0; padding-bottom: 6px; }
.text-head__links { margin-top: -6px; }
.rent-head { display: grid; gap: 32px; align-items: end; }
@media (min-width: 960px) { .rent-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0 48px; } }
.rent-head__text .sub { margin-top: 22px; }
.rent-head__links { margin-top: 10px; }
.rent-head__photo img { aspect-ratio: 4 / 3; }

/* Included with every bike: a strip in a 3px frame */
.included {
  margin-top: clamp(36px, 4vw, 52px); display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  background: var(--white); border: 3px solid var(--ink); overflow: hidden;
}
.included li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: center; padding: 18px 20px; font: 600 17px/1.35 var(--body); box-shadow: 1px 0 0 var(--line), 0 1px 0 var(--line); }
.included svg { width: 30px; height: 30px; color: var(--ink); --icon-accent: var(--red); }
.included--stack { margin-top: 0; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .included, .included--stack { grid-template-columns: 1fr; } }

/* ---------- Rentals: finder ---------- */
/* The finder: question and buttons, then the bikes straight underneath (November 2026) */
.finder { display: grid; gap: 28px; }
.terrain { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
@media (min-width: 560px) { .terrain { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .terrain { grid-template-columns: repeat(6, 1fr); } }
.finder .bike[hidden] { display: none; }
.terrain__btn {
  display: grid; gap: 10px; align-content: start; min-height: 100px; padding: 14px 14px 12px; text-align: left; cursor: pointer;
  background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); color: var(--ink);
  font: 800 18px/1.1 var(--disp); text-transform: uppercase; letter-spacing: 0.02em;
  transition: background-color 160ms var(--ease), color 160ms var(--ease);
}
.terrain__btn svg { width: 48px; height: 24px; color: var(--red); }
.terrain__btn:hover { background: var(--tint); }
.terrain__btn[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.terrain__btn[aria-pressed="true"] svg { color: #fff; }
.finder__status { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; min-height: 44px; font-weight: 600; }
.finder__routes { margin-top: 14px; font-size: 16px; border-top: 3px solid var(--ink); }
.finder__routes li { display: flex; gap: 12px; align-items: center; border-bottom: 1px solid var(--line); }
.finder__routes li::before { content: ""; flex: none; width: 18px; height: 4px; border-radius: 2px; background: var(--red); }
.finder__routes a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.finder__routes li.is-dim { color: var(--ink-2); }
.finder__routes li.is-dim::before { background: var(--empty); }

/* ---------- Rentals: bike entries ---------- */
.bike-list { display: grid; gap: 28px; }
.bike {
  display: grid; gap: 22px 32px; padding: clamp(20px, 3vw, 32px); background: var(--white); border: 3px solid var(--ink);
}
@media (min-width: 960px) {
  .bike { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .bike__intro { grid-column: 1 / span 5; grid-row: 1; }
  .bike__detail { grid-column: 6 / span 7; grid-row: 1 / span 2; min-width: 0; }
  .bike__act { grid-column: 1 / span 5; grid-row: 2; }
}
@media (min-width: 1200px) {
  .bike__intro { grid-column: 1 / span 4; grid-row: auto; }
  .bike__detail { grid-column: 5 / span 5; grid-row: auto; }
  .bike__act { grid-column: 10 / span 3; grid-row: auto; }
}
@media (max-width: 959px) { .bike__intro { order: 1; } .bike__act { order: 2; } .bike__detail { order: 3; } }
.bike--dim { display: none; }
.bike__name { margin-top: 8px; }
.bike__name a { text-decoration: none; }
.bike__name a:hover { color: var(--red-field); }
.bike__tagline { margin-top: 10px; font-size: 17px; line-height: 1.45; color: var(--ink-2); }
.bike__media { position: relative; margin-top: 20px; margin-bottom: 18px; }
.bike__media .bike__price { position: absolute; left: 6px; bottom: -20px; z-index: 2; }
.bike__visual.photo img { aspect-ratio: 3 / 2; }
.bike__visual.is-portrait img { object-position: 50% 30%; }
.bike__shop { font-size: 16px; line-height: 1.5; }
.bike__shop .label { display: block; margin-bottom: 2px; }
.bike__shop a { font-weight: 700; display: inline-flex; min-height: 32px; align-items: center; }
.bike__act .btn { margin-top: 16px; width: 100%; }
.bike__more { margin-top: 6px; }
.facts-dl { display: grid; gap: 14px; margin-top: 20px; }
.facts-dl dt { font: 700 13px/1.3 var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.facts-dl dd { margin-top: 3px; font-size: 16px; line-height: 1.45; }
.route-links { display: flex; flex-wrap: wrap; gap: 0 16px; }
.route-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

/* Drawn bike for families without a photo: ink line on stone */
.bike-drawing { background: var(--stone); display: grid; place-items: center; aspect-ratio: 3 / 2; padding: 5% 7%; }
.bike-drawing__svg { width: 100%; height: auto; max-height: 100%; }
.bike-drawing__svg path, .bike-drawing__svg circle { fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.bike-drawing__svg .bold { stroke-width: 3.2; }
.bike-drawing__svg .fill { fill: var(--red); fill-opacity: 0.85; stroke: var(--ink); }
.card__media > .bike-drawing { aspect-ratio: auto; padding: 4% 8%; }

/* ---------- Bike page ---------- */
.bike-head { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .bike-head { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 0 48px; } }
.bike-head .h1 { margin-top: 10px; }
.bike-head .sub { margin-top: 20px; }
.bike-head__price { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; }
.poster { font: 900 clamp(48px, 6vw, 80px)/0.85 var(--disp); color: var(--red-field); font-feature-settings: "lnum" 1, "tnum" 1; }
.poster__unit { font: 700 20px/1 var(--body); }
.bike-head__shop { margin-top: 16px; font-size: 17px; line-height: 1.5; }
.bike-head__shop .label { display: block; margin-bottom: 2px; }
.bike-head .btn-row { margin-top: 24px; }
.bike-head__visual.photo img { aspect-ratio: 3 / 2; }
.bike-head__visual.is-portrait img { aspect-ratio: 4 / 3; object-position: 50% 35%; }
.models-lede { margin-bottom: 32px; }
.models { display: grid; gap: 28px; }
@media (min-width: 760px) { .models { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; } }
.model { border-top: 3px solid var(--ink); padding-top: 16px; }
.model__name { font: 800 24px/1.05 var(--disp); text-transform: uppercase; margin-bottom: 12px; }
.fits { display: grid; gap: 24px; margin-top: 36px; }
@media (min-width: 760px) { .fits { grid-template-columns: 1fr 1fr; gap: 32px; } }
.fit .label { margin-bottom: 10px; }
.tour-lines { border-top: 3px solid var(--ink); }
.tour-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 18px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.tour-line__name { font: 800 22px/1.05 var(--disp); text-transform: uppercase; text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.tour-line__name:hover { color: var(--red-field); text-decoration: underline; }
.tour-line__what { font: 900 22px/1 var(--disp); color: var(--red-field); white-space: nowrap; font-feature-settings: "lnum" 1, "tnum" 1; }
.band-stone .tour-line__what { color: var(--red-deep); }
.tour-line__price { grid-column: 1 / -1; font-size: 15px; color: var(--ink-2); }
.route-cards { margin-top: 28px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }

/* ---------- E-bike hub ---------- */
.ebikes { display: grid; gap: 28px; }
@media (min-width: 700px) { .ebikes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 1180px) { .ebikes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ebike__name a { text-decoration: none; }
.ebike__name a:hover { color: var(--red-field); }
.ebike__tagline { color: var(--ink-2); }
.ebike__shop a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 700; }
.ebike .points { margin-bottom: 8px; }
.ebike .points li { font-size: 16px; }
.ebike .points li { display: grid; grid-template-columns: 10px minmax(0, 1fr); gap: 2px 12px; align-items: baseline; }
.ebike__model { display: block; grid-column: 2; font-size: 14px; color: var(--ink-2); }
.which-table { width: 100%; border-top: 3px solid var(--ink); }
.which-table th, .which-table td { text-align: left; padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.which-table thead th { font: 700 13px/1.3 var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.which-table tbody th { font: 800 20px/1.1 var(--disp); text-transform: uppercase; }
.which-table td a { font-weight: 700; display: inline-flex; min-height: 32px; align-items: center; }
@media (max-width: 559px) {
  .which-table thead { display: none; }
  .which-table tr { display: grid; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .which-table th, .which-table td { border: 0; padding: 2px 0; }
}

/* ---------- Tour page ---------- */
.tour-photos { display: grid; gap: 10px; margin-top: clamp(28px, 4vw, 40px); }
.tour-photos .photo { min-height: 0; }
.tour-photos__main img { aspect-ratio: 16 / 9; }
.tour-photos__side { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tour-photos__side .photo img { aspect-ratio: 4 / 3; }
.tour-photos--2 .tour-photos__side { grid-template-columns: 1fr; }
.tour-photos--2 .tour-photos__side .photo img { aspect-ratio: 16 / 9; }
@media (min-width: 760px) {
  .tour-photos--2, .tour-photos--3 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); height: clamp(320px, 40vw, 560px); }
  .tour-photos--2 .photo, .tour-photos--3 .photo { height: 100%; }
  .tour-photos--2 img, .tour-photos--3 img, .tour-photos--2 .tour-photos__side .photo img { aspect-ratio: auto; height: 100%; }
  .tour-photos__side { grid-template-columns: 1fr; grid-auto-rows: minmax(0, 1fr); min-height: 0; }
  .tour-photos--1 .tour-photos__main img { aspect-ratio: 21 / 9; }
}
.tour-maphead { margin-top: clamp(24px, 3vw, 40px); }

/* Facts strip: white, 3px ink frame, cells divided by hairlines, values in red */
.facts { margin-top: clamp(24px, 3vw, 32px); background: var(--white); border: 3px solid var(--ink); overflow: hidden; }
.facts__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .facts__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .facts__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.facts__flex { display: flex; flex-wrap: wrap; }
.facts__flex .fact { flex: 1 1 9.5em; }
.facts__flex .fact--grade { flex-basis: 8.5em; }
.facts__flex .fact--wide { flex: 2 1 15em; }
.facts__flex .fact--action { flex: 1 1 13em; }
.facts__flex .fact--num { flex-basis: 10em; }
@media (max-width: 719px) {
  .facts__flex .fact { flex-basis: 40%; }
  .facts__flex .fact--wide, .facts__flex .fact--action { flex-basis: 100%; }
  .facts__flex .fact:nth-child(odd):not(.fact--grade):has(+ .fact--grade) { flex-basis: 100%; }
}
.tour-maphead + .facts, .facts + .tour-maphead { margin-top: clamp(28px, 3.4vw, 44px); }
.fact { padding: 16px 18px 18px; min-width: 0; box-shadow: 1px 0 0 var(--line), 0 1px 0 var(--line); }
.fact dt { font: 700 12px/1.25 var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.fact dd { margin-top: 8px; font: 600 16px/1.35 var(--body); font-feature-settings: "lnum" 1, "tnum" 1; }
.fact__fig { display: block; font: 900 clamp(24px, 2.1vw, 30px)/1 var(--disp); letter-spacing: 0.005em; color: var(--red-field); }
.fact__fig--long { font-size: clamp(19px, 1.5vw, 22px); font-weight: 800; line-height: 1.15; }
.fact--grade .fact__fig { display: inline; }
.fact__of { font-weight: 700; }
.fact .meter { display: flex; margin-top: 10px; }
.fact dd small { display: block; margin-top: 6px; font: 600 14px/1.35 var(--body); color: var(--ink-2); }
.fact .chips { margin-top: 2px; }
.fact--wide { grid-column: span 2; }
.fact--action { display: flex; align-items: center; grid-column: 1 / -1; padding: 14px 18px; }
.fact--action .btn { width: 100%; }
@media (min-width: 720px) { .fact--action { grid-column: auto / span 1; } .facts__grid--route .fact--wide { grid-column: span 2; } }
@media (min-width: 1180px) { .fact--price { grid-column: span 2; } }
.facts__grid--route { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 959px) {
  .facts__grid--route .fact:last-child, .facts__grid--four .fact--num:first-child { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
  .facts__grid--route { grid-template-columns: minmax(0, 0.8fr) minmax(0, 0.8fr) minmax(0, 1.7fr) minmax(0, 1.7fr) minmax(0, 1fr); }
  .facts__grid--route .fact--wide { grid-column: auto; }
  .facts__grid--four { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) minmax(0, 1.7fr) minmax(0, 1fr); }
}

.proposed-note, .byo-line, .facts-note, .preview-note {
  padding: 4px 0 4px 16px; border-left: 4px solid var(--red); font-weight: 600; max-width: 44em;
}
.proposed-note { margin-bottom: 24px; }
.byo-line { margin-top: 22px; }

.day-plan { display: grid; gap: 22px; }
.day-plan li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; align-items: start; position: relative; }
/* Tours with no mapped route show the plan as a timeline */
.day-plan--timeline { position: relative; }
.day-plan--timeline::before { content: ""; position: absolute; left: 22.5px; top: 24px; bottom: 24px; width: 3px; background: var(--red-field); }
.day-plan--timeline .day-plan__no { position: relative; z-index: 1; }

.exc-line { margin-top: 22px; font-weight: 600; }

.tour-bikes { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.tour-bike { display: flex; flex-direction: column; gap: 10px; padding: 20px; background: var(--white); border: 3px solid var(--ink); }
.tour-bike__role { align-self: flex-start; padding: 5px 8px; background: var(--ink); color: #fff; font: 800 12px/1 var(--disp); letter-spacing: 0.07em; text-transform: uppercase; }
.tour-bike--up .tour-bike__role { background: var(--red-field); }
.tour-bike__name { font: 800 22px/1.05 var(--disp); text-transform: uppercase; }
.tour-bike__name a { text-decoration: none; }
.tour-bike__name a:hover { color: var(--red-field); text-decoration: underline; }
.tour-bike__price { font: 900 24px/1 var(--disp); color: var(--red-field); font-feature-settings: "lnum" 1, "tnum" 1; }
.tour-bike__note { font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.tour-bikes__note { margin-top: 16px; }

.suits .lede { max-width: 32em; }
.suits .more-link { margin-top: 18px; }
.suits .facts-note { margin-top: 26px; border-left-color: #fff; }

.know { display: grid; gap: 28px; }
@media (min-width: 760px) { .know { grid-template-columns: 1fr 1fr; gap: 32px; } }
.know__block { border-top: 3px solid var(--ink); padding-top: 16px; }
.know__block p { margin-top: 8px; }
.know__block .label { display: block; }
.know__block--wide { grid-column: 1 / -1; }

/* Local cancellation scale (only used when booking.cancellation_scale is missing) */
.cancel-scale { margin-top: 12px; display: grid; gap: 10px; }
.cancel-scale__row { display: grid; grid-template-columns: minmax(0, 14em) minmax(0, 1fr) 4em; gap: 6px 14px; align-items: center; }
.cancel-scale__bar { height: 14px; background: var(--empty); order: 2; }
.cancel-scale__bar span { display: block; height: 100%; width: calc(var(--pct) * 1%); background: var(--red); }
.cancel-scale__refund { order: 3; text-align: right; font: 900 22px/1 var(--disp); }
@media (max-width: 600px) { .cancel-scale__row { grid-template-columns: 1fr auto; } .cancel-scale__bar { grid-column: 1 / -1; order: 4; } }

/* ---------- Tours hub ---------- */
.chip-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.chip-filter, .chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  background: var(--white); color: var(--ink); border: 2px solid var(--ink); border-radius: var(--radius);
  font: 800 16px/1 var(--disp); text-transform: uppercase; letter-spacing: 0.04em; text-decoration: none; cursor: pointer;
}
.chip-filter:hover, .chip:hover { background: var(--tint); color: var(--ink); }
.chip-filter[aria-pressed="true"] { background: var(--ink); color: #fff; }
.tour-group + .tour-group { margin-top: clamp(48px, 6vw, 72px); }
.tour-group__title { margin-bottom: 20px; }

.note-blocks { display: grid; gap: 28px; }
@media (min-width: 860px) { .note-blocks { grid-template-columns: 1fr 1fr; gap: 32px; } }
.note-block { padding: clamp(22px, 3vw, 32px); background: var(--white); border: 3px solid var(--ink); }
.note-block p { margin-top: 12px; max-width: 34em; }
.note-block .btn-row { margin-top: 22px; }

/* ---------- Routes hub and route pages ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 0 12px; font-size: 15px; }
.place-label { font: 900 clamp(40px, 5vw, 64px)/0.9 var(--disp); text-transform: uppercase; color: var(--red); overflow-wrap: anywhere; }
.bike-cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.route-entries { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }

/* ---------- Shop pages ---------- */
.shop-head { display: grid; gap: 32px; }
@media (min-width: 960px) { .shop-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0 48px; align-items: end; } }
.shop-head .sub { margin-top: 20px; }
.shop-facts { display: grid; background: var(--white); border: 3px solid var(--ink); padding: 4px 20px; }
.shop-facts div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.shop-facts div:last-child { border-bottom: 0; }
.shop-facts dt { font: 700 13px/1.3 var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.shop-facts dd { margin-top: 4px; font-size: 17px; line-height: 1.45; }
.shop-facts .muted { font-size: 15px; }
.shop-facts a { display: inline-flex; min-height: 32px; align-items: center; font-weight: 700; }
.getting { margin-top: 20px; }
.getting p + p { margin-top: 12px; }

/* ---------- Contact ---------- */
.contact-list { margin-top: 32px; display: grid; max-width: 44rem; border-top: 3px solid var(--ink); }
.contact-list div { display: grid; grid-template-columns: 8em minmax(0, 1fr); gap: 12px; align-items: center; border-bottom: 1px solid var(--line); }
.contact-list dt { font: 700 13px/1.3 var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.contact-list dd a { display: inline-flex; min-height: 56px; align-items: center; font: 700 21px/1.2 var(--body); overflow-wrap: anywhere; text-decoration: none; }
.contact-list dd a:hover { color: var(--red-field); text-decoration: underline; }

/* ---------- Thanks, 404 and the Checkfront preview head ---------- */
.page-head--thanks { padding-block: clamp(24px, 6vw, 96px); }
.thanks { max-width: 56rem; display: grid; gap: 22px; }
.thanks .ridge { margin: 12px 0 8px; }
.preview-note { margin-top: 4px; }

/* ---------- Text pages ---------- */
.section--text { padding-block: clamp(44px, 5.4vw, 80px); }
.section--text + .section--text { padding-top: 0; }
.section--text + .section--text > .wrap { border-top: 1px solid var(--line); padding-top: clamp(44px, 5.4vw, 80px); }
.section--text .h2 { font-size: clamp(30px, 3.4vw, 48px); }
.downloads { margin-top: 18px; border-top: 3px solid var(--ink); }
.downloads li { border-bottom: 1px solid var(--line); }
.download { display: flex; align-items: center; gap: 12px; min-height: 56px; font-weight: 700; text-decoration: none; }
.download svg { width: 20px; height: 20px; transform: rotate(90deg); color: var(--red-field); }
.download:hover span { text-decoration: underline; }

/* ---------- Gallery ---------- */
.gallery { columns: 1; column-gap: 24px; }
@media (min-width: 640px) { .gallery { columns: 2; } }
@media (min-width: 1100px) { .gallery { columns: 3; } }
.gallery__item { break-inside: avoid; margin-bottom: clamp(24px, 3vw, 36px); }
.gallery__item figcaption { margin-top: 10px; font-size: 15px; line-height: 1.45; color: var(--ink-2); max-width: 34em; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Tap targets: every link that stands alone is at least 44px tall ---------- */
.shop__name a, .bike__name a, .ebike__name a, .tour-bike__name a { display: inline-flex; align-items: center; min-height: 44px; }
.bike__shop a, .ebike__shop a, .shop-facts a, .which-table td a, .bike-head__shop a, .card__meta a, .card__row a, .fact a:not(.chip):not(.btn) {
  display: inline-flex; align-items: center; min-height: 44px;
}

/* Riding areas in three groups (home page, shop pages) */
.area-groups { display: grid; gap: 28px; }
@media (min-width: 860px) { .area-groups { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.area-group { background: var(--white, #fff); border: 3px solid var(--ink); border-radius: 3px; padding: 24px; }
.area-group__note { margin-top: 8px; color: var(--ink-2); }
.area-group__list { margin-top: 14px; border-top: 1px solid var(--line); }
.area-group__list li { border-bottom: 1px solid var(--line); }
.area-group__list a { display: flex; align-items: center; min-height: 44px; font-weight: 600; }
