/* ═══════════════════════════════
   TOKENS & RESET
   (Extracted verbatim from the original index.html <style> block —
    the look is unchanged. New component styles are appended at the end.)
═══════════════════════════════ */

/* Size-matched fallback faces (FW-61). Text first paints in Georgia/Arial while the Google
   Fonts load (display=swap); these faces scale the fallback to the web font's width and
   line metrics so the swap doesn't reflow the page (homepage mobile CLS was 0.228).
   Ratios measured in Chrome per weight: Cormorant Garamond vs Georgia, DM Sans vs Arial.
   If the local font is missing (e.g. Android has no Georgia) the face is skipped and the
   next family in the stack is used, exactly as before. */
@font-face { font-family: 'Cormorant Fallback'; src: local('Georgia'); font-weight: 100 350; font-style: normal;
  size-adjust: 87.2%; ascent-override: 105.5%; descent-override: 33.3%; line-gap-override: 0%; }
@font-face { font-family: 'Cormorant Fallback'; src: local('Georgia'); font-weight: 351 500; font-style: normal;
  size-adjust: 86%; ascent-override: 107%; descent-override: 33.7%; line-gap-override: 0%; }
@font-face { font-family: 'Cormorant Fallback'; src: local('Georgia Bold'), local('Georgia-Bold'); font-weight: 501 900; font-style: normal;
  size-adjust: 76.3%; ascent-override: 120.6%; descent-override: 38%; line-gap-override: 0%; }
@font-face { font-family: 'Cormorant Fallback'; src: local('Georgia Italic'), local('Georgia-Italic'); font-weight: 100 900; font-style: italic;
  size-adjust: 78.5%; ascent-override: 117.2%; descent-override: 36.9%; line-gap-override: 0%; }
@font-face { font-family: 'DM Sans Fallback'; src: local('Arial'), local('ArialMT'); font-weight: 100 450; font-style: normal;
  size-adjust: 102.6%; ascent-override: 96.5%; descent-override: 30.2%; line-gap-override: 0%; }
@font-face { font-family: 'DM Sans Fallback'; src: local('Arial'), local('ArialMT'); font-weight: 451 550; font-style: normal;
  size-adjust: 104.2%; ascent-override: 95%; descent-override: 29.8%; line-gap-override: 0%; }
@font-face { font-family: 'DM Sans Fallback'; src: local('Arial Bold'), local('Arial-BoldMT'); font-weight: 551 900; font-style: normal;
  size-adjust: 99.9%; ascent-override: 99.1%; descent-override: 31%; line-gap-override: 0%; }

:root {
  --ink:        #18181a;
  --ink-soft:   #3d3d42;
  --surface:    #faf9f6;
  --surface-2:  #f2efe8;
  --surface-3:  #e8e3d8;
  --line:       #ddd9ce;
  --moss:       #3d5c35;
  --moss-mid:   #567a4a;
  --moss-light: #8aac7a;
  --tarn:       #2d4f64;
  --tarn-light: #4d7fa0;
  --gold:       #b07d2e;
  --gold-light: #d4a855;
  --cream:      #fdfaf3;
  --white:      #ffffff;
  --red-accent: #8b3a3a;

  --font-display: 'Cormorant Garamond', 'Cormorant Fallback', Georgia, serif;
  --font-body:    'DM Sans', 'DM Sans Fallback', system-ui, sans-serif;

  --radius: 4px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.07);
  --shadow-md: 0 6px 24px rgba(0,0,0,0.1);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.14);

  /* Fixed header height: 56px bar on mobile; + 36px route switcher on desktop */
  --header-h: 56px;
}
@media (min-width: 801px) { :root { --header-h: 92px; } }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }

/* ═══════════════════════════════
   UTILITY
═══════════════════════════════ */
.container      { max-width: 860px;  margin: 0 auto; padding: 0 1.5rem; }
.container-wide { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--moss-mid);
  display: block;
  margin-bottom: 0.6rem;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 1.2rem;
}

h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 1.1rem;
}
p:last-child { margin-bottom: 0; }

/* ═══════════════════════════════
   NAV BAR
═══════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
}
#topbar {
  position: relative;
  background: rgba(24,24,26,0.96);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  height: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.topbar-brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: white;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.topbar-brand { display: flex; flex-direction: column; line-height: 1.15; }
.topbar-brand-name > span { color: var(--gold-light); }
.topbar-route { display: none; }

.topbar-links {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.topbar-links::-webkit-scrollbar { display: none; }
.topbar-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 0.9rem;
  white-space: nowrap;
  transition: color 0.2s;
  border-bottom: 2px solid transparent;
}
.topbar-links a:hover { color: var(--gold-light); border-bottom-color: var(--gold-light); }

.topbar-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--moss);
  color: white;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius);
  transition: background 0.2s;
  white-space: nowrap;
}
.topbar-cta:hover { background: var(--moss-mid); }

/* Desktop: the menu wrapper is layout-transparent, so brand / links / CTA
   sit as direct flex children of #topbar exactly as before. */
.topbar-menu { display: contents; }

/* Hamburger (mobile only) */
.topbar-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-right: -0.6rem;
  padding: 0 11px;
  background: none;
  border: 0;
  cursor: pointer;
}
.topbar-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: white;
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}
.topbar-toggle[aria-expanded="true"] .topbar-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.topbar-toggle[aria-expanded="true"] .topbar-toggle-bar:nth-child(2) { opacity: 0; }
.topbar-toggle[aria-expanded="true"] .topbar-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.topbar-toggle:focus-visible { outline: 2px solid var(--gold-light); outline-offset: -2px; }

@media (max-width: 800px) {
  #topbar { padding: 0 1rem; }
  .topbar-toggle { display: inline-flex; }
  .topbar-menu {
    display: none;
    position: absolute;
    top: var(--header-h); left: 0; right: 0;
    flex-direction: column;
    padding: 0.5rem 1rem 1.25rem;
    background: var(--ink);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  #topbar.menu-open .topbar-menu { display: flex; }
  .topbar-links { flex-direction: column; overflow: visible; }
  .topbar-links a {
    font-size: 0.8rem;
    padding: 0.9rem 0.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  .topbar-links a:hover { border-bottom-color: rgba(255,255,255,0.07); }
  .topbar-cta { justify-content: center; margin-top: 1rem; padding: 0.8rem 1.1rem; }
}

/* ═══════════════════════════════
   HERO
═══════════════════════════════ */
#hero {
  margin-top: var(--header-h);
  min-height: calc(100vh - var(--header-h));
  position: relative;
  display: flex;
  align-items: center;
  background:
    linear-gradient(160deg, rgba(18,24,18,0.72) 0%, rgba(18,24,18,0.35) 55%, rgba(18,24,18,0.8) 100%),
    url('/assets/img/photo-1.webp') center/cover no-repeat;
  background-color: #2a3520;
}

.hero-inner {
  padding: 5rem 1.5rem;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(176,125,46,0.18);
  border: 1px solid rgba(176,125,46,0.45);
  color: var(--gold-light);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 2rem;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(6px);
}
.hero-badge::before { content: '●'; font-size: 0.55rem; animation: blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.2} }

.hero-inner h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7.5vw, 5.8rem);
  font-weight: 300;
  line-height: 1.05;
  color: white;
  margin-bottom: 0.15em;
  letter-spacing: -0.01em;
}
.hero-inner h1 strong {
  font-weight: 700;
  display: block;
}
.hero-inner h1 em {
  font-style: italic;
  color: #d4c99a;
  font-weight: 300;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.75);
  margin: 1.2rem 0 2.5rem;
  border-left: 2px solid var(--gold);
  padding-left: 1rem;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 2.5rem;
}
.pill {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.4rem 0.9rem;
  border-radius: 2rem;
  backdrop-filter: blur(4px);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius);
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn-moss { background: var(--moss); color: white; }
.btn-moss:hover { background: var(--moss-mid); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: white; border: 1.5px solid rgba(255,255,255,0.4); }
.btn-ghost:hover { border-color: white; background: rgba(255,255,255,0.08); }
.btn-gold { background: var(--gold); color: white; }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-outline-moss { background: transparent; color: var(--moss); border: 1.5px solid var(--moss); }
.btn-outline-moss:hover { background: var(--moss); color: white; }

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.3);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine { 0%,100%{transform:scaleY(0.3);opacity:0.4} 50%{transform:scaleY(1);opacity:1} }

/* ═══════════════════════════════
   STATS STRIP
═══════════════════════════════ */
.stats-strip {
  background: var(--ink);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.stat-item {
  padding: 1.5rem 2.5rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-item:last-child { border-right: none; }
.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}
.stat-item span {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: 0.25rem;
  display: block;
}

/* ═══════════════════════════════
   SECTIONS
═══════════════════════════════ */
section { padding: 5.5rem 0; }
section + section { border-top: 1px solid var(--line); }

/* ═══════════════════════════════
   ABOUT
═══════════════════════════════ */
#about { background: var(--cream); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 4rem;
  align-items: start;
}
.sticky-card {
  background: var(--moss);
  color: white;
  padding: 2rem;
  border-radius: var(--radius);
  position: sticky;
  top: 70px;
}
.sticky-card h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 1.1rem;
}
.info-rows { list-style: none; }
.info-rows li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
}
.info-rows li:last-child { border-bottom: none; }
.info-rows .label { color: rgba(255,255,255,0.55); font-size: 0.75rem; letter-spacing: 0.08em; }
.info-rows .value { color: white; font-weight: 500; text-align: right; }

.gpx-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 500;
  margin-top: 1.25rem;
  transition: background 0.2s;
}
.gpx-link:hover { background: rgba(255,255,255,0.18); }
.gpx-icon { font-size: 1.2rem; }

/* ═══════════════════════════════
   ROUTE STAGES
═══════════════════════════════ */
#stages { background: var(--surface-2); }

.stage-list { margin-top: 2.5rem; }

.stage-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1rem;
  transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
}
.stage-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(3px);
}

.stage-num {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-3);
  border-right: 1px solid var(--line);
}
.stage-num span {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--line);
  line-height: 1;
}
.stage-item:hover .stage-num { background: var(--moss); border-right-color: var(--moss); }
.stage-item:hover .stage-num span { color: rgba(255,255,255,0.4); }

.stage-body {
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.stage-text {}
.stage-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}
.stage-subtitle {
  font-size: 0.82rem;
  color: var(--tarn);
  font-weight: 500;
  margin-top: 0.15rem;
}
.stage-desc {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-top: 0.5rem;
  line-height: 1.6;
}

.stage-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
  flex-shrink: 0;
}
.stage-distance {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--moss);
  line-height: 1;
}
.stage-distance sub {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--ink-soft);
  font-family: var(--font-body);
}
.difficulty-tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 2rem;
}
.diff-high     { background: #fce8e8; color: var(--red-accent); }
.diff-moderate { background: #e8f0e8; color: var(--moss); }
.diff-chall    { background: #e8ecf0; color: var(--tarn); }
.diff-easy     { background: #f4f0e4; color: var(--gold); }

.stage-arrow { color: var(--line); font-size: 1.2rem; margin-left: 0.5rem; }
.stage-item:hover .stage-arrow { color: var(--moss); }

/* ═══════════════════════════════
   WHY THIS ROUTE
═══════════════════════════════ */
#why { background: var(--cream); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.why-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: box-shadow 0.2s;
}
.why-card:hover { box-shadow: var(--shadow-md); }
.why-icon { font-size: 2rem; margin-bottom: 1rem; }
.why-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.why-card p { font-size: 0.88rem; }

/* ═══════════════════════════════
   LANDSCAPE HIGHLIGHTS
═══════════════════════════════ */
#landscape { background: var(--surface-2); }
.landscape-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}
.landscape-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  border-left: 3px solid var(--moss-light);
}
.landscape-card h3 {
  font-size: 1.1rem;
  color: var(--moss);
  margin-bottom: 0.4rem;
}
.landscape-card p { font-size: 0.87rem; }

/* ═══════════════════════════════
   FAQ
═══════════════════════════════ */
#faq { background: var(--cream); }

.faq-wrap { margin-top: 2.5rem; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-btn {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.4rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-q {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}
.faq-btn:hover .faq-q { color: var(--moss); }
.faq-toggle {
  width: 30px; height: 30px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--moss);
  font-size: 1.3rem;
  font-weight: 300;
  transition: all 0.25s;
  line-height: 1;
}
.faq-item.open .faq-toggle {
  background: var(--moss);
  border-color: var(--moss);
  color: white;
  transform: rotate(45deg);
}
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s ease, padding 0.25s;
}
.faq-item.open .faq-body {
  max-height: 500px;
  padding-bottom: 1.4rem;
}
.faq-body p { font-size: 0.95rem; }

/* ═══════════════════════════════
   PLANNING
═══════════════════════════════ */
#planning { background: var(--surface-2); }
.planning-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.planning-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.planning-card-icon { font-size: 1.6rem; margin-bottom: 0.9rem; }
.planning-card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.planning-card p { font-size: 0.87rem; }

/* ═══════════════════════════════
   COMPARISON
═══════════════════════════════ */
#compare { background: var(--cream); }
.table-wrap { overflow-x: auto; margin-top: 2rem; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 560px;
}
thead th {
  background: var(--ink);
  color: white;
  padding: 0.85rem 1.1rem;
  text-align: left;
  font-weight: 500;
  letter-spacing: 0.04em;
  font-size: 0.8rem;
}
tbody td {
  padding: 0.8rem 1.1rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}
tbody tr:nth-child(even) td { background: var(--surface-2); }
tbody tr:hover td { background: var(--surface-3); }
.row-highlight td { font-weight: 600; color: var(--moss) !important; background: #eef4ea !important; }

/* ═══════════════════════════════
   CTA
═══════════════════════════════ */
#cta {
  background: var(--ink);
  padding: 6.5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 120%, rgba(61,92,53,0.5) 0%, transparent 65%);
  pointer-events: none;
}
#cta .container { position: relative; z-index: 1; }
#cta h2 { color: white; font-size: clamp(2.2rem, 5vw, 3.5rem); }
#cta p { color: rgba(255,255,255,0.6); max-width: 500px; margin: 0 auto 2.5rem; font-size: 1.05rem; }
.cta-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

/* ═══════════════════════════════
   FOOTER
═══════════════════════════════ */
footer {
  background: #111;
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
}
.footer-brand strong { color: var(--gold-light); }
footer p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  max-width: 580px;
  margin: 0;
}
footer a { color: var(--gold-light); text-decoration: none; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.2rem;
  margin: 0.4rem 0;
}
.footer-links a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  letter-spacing: 0.04em;
}
.footer-links a:hover { color: var(--gold-light); }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.2rem;
  margin: 0.8rem 0 0.4rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-legal a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  letter-spacing: 0.04em;
}
.footer-legal a:hover { color: var(--gold-light); }

/* ═══════════════════════════════
   DIVIDER ORNAMENT
═══════════════════════════════ */
.ornament {
  text-align: center;
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 0.8rem;
  margin: 2.5rem 0;
  opacity: 0.5;
}

/* ═══════════════════════════════
   ANIMATIONS
═══════════════════════════════ */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible { opacity: 1; transform: none; }

/* ═══════════════════════════════
   RESPONSIVE
═══════════════════════════════ */
@media (max-width: 800px) {
  .about-grid { grid-template-columns: 1fr; }
  .sticky-card { position: static; }
  .why-grid { grid-template-columns: 1fr; }
  .stage-body { flex-wrap: wrap; }
  .stage-meta { flex-direction: row; align-items: center; }
}
@media (max-width: 520px) {
  .stat-item { padding: 1.2rem 1.4rem; }
  .hero-inner h1 { font-size: 2.8rem; }
}

/* ═══════════════════════════════════════════════════════════════
   NEW COMPONENTS (hub + stage pages)
   Built from the same tokens/components so the look is consistent.
═══════════════════════════════════════════════════════════════ */

/* Interior page top spacing (no full-height hero) */
.page-main { margin-top: var(--header-h); }

/* Interior hero band (hub + stage headers) */
.subhero {
  background:
    linear-gradient(160deg, rgba(18,24,18,0.82) 0%, rgba(18,24,18,0.55) 60%, rgba(18,24,18,0.85) 100%),
    url('/assets/img/photo-1.webp') center/cover no-repeat;
  background-color: #2a3520;
  color: white;
  padding: 3.5rem 0 3rem;
}
.subhero .eyebrow { color: var(--gold-light); }
.subhero h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.08;
  color: white;
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
}
.subhero h1 strong { font-weight: 700; }
.subhero-pills { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; }

/* Breadcrumbs */
.breadcrumbs {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.2rem;
}
.breadcrumbs a { color: rgba(255,255,255,0.75); text-decoration: none; }
.breadcrumbs a:hover { color: var(--gold-light); }
.breadcrumbs span { color: rgba(255,255,255,0.4); margin: 0 0.4rem; }

/* BLUF answer box (AEO) */
.bluf {
  background: var(--cream);
  border: 1px solid var(--line);
  border-left: 4px solid var(--moss);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  margin: 0 0 1.6rem;
  box-shadow: var(--shadow-sm);
}
.bluf p { font-size: 1.05rem; color: var(--ink); margin: 0; }
.bluf strong { color: var(--moss); }

/* Above-the-fold download row */
.download-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.6rem 0 0.5rem;
}
.download-note {
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 0.6rem;
}

/* Generic content article */
.content { padding: 4rem 0; }
.content section { padding: 2.4rem 0; }
.content section:first-child { padding-top: 0; }
.content h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 1rem; scroll-margin-top: calc(var(--header-h) + 16px); }
.content h3 { margin-top: 1.4rem; }
.content ul, .content ol { margin: 0 0 1.1rem 1.2rem; }
.content li { font-size: 1rem; line-height: 1.75; color: var(--ink-soft); margin-bottom: 0.4rem; }
.content a.inline { color: var(--moss); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }

/* Key takeaways speakable block */
.takeaways {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.takeaway {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
}
.takeaway .k {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss-mid);
  display: block;
  margin-bottom: 0.35rem;
}
.takeaway .v {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.takeaway .v small { font-family: var(--font-body); font-size: 0.8rem; font-weight: 400; color: var(--ink-soft); }

/* Verify / conditions note */
.verify-note {
  background: #fbf6ea;
  border: 1px solid var(--gold-light);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  margin: 1.2rem 0;
  font-size: 0.92rem;
}
.verify-note .verify-label {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.verify-note p { font-size: 0.92rem; margin-bottom: 0.4rem; }
.verify-note p:last-child { margin-bottom: 0; }

/* E-E-A-T verified badge */
.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 2rem;
  padding: 0.4rem 0.9rem;
  font-size: 0.74rem;
  color: var(--ink-soft);
  margin-top: 1rem;
}
.verified-badge strong { color: var(--moss); }

/* Elevation profile */
.elevation-profile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem 1rem;
  margin: 1.5rem 0;
}
.elevation-profile h3 { font-size: 1.15rem; margin-bottom: 0.2rem; }
.elevation-profile .ep-meta {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-bottom: 0.8rem;
}
.elevation-profile svg { width: 100%; height: auto; display: block; }
.ep-source { font-size: 0.68rem; color: var(--ink-soft); opacity: 0.75; margin-top: 0.5rem; }

/* Map */
.route-map {
  height: 420px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 1.5rem 0;
  background: var(--surface-2);
  position: relative;
  z-index: 0;
}
.map-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 2rem;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

/* Stage nav (prev/next) */
.stage-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}
.stage-nav a {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s;
}
.stage-nav a:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.stage-nav .dir {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss-mid);
}
.stage-nav .nav-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  margin-top: 0.25rem;
}
.stage-nav .next { text-align: right; }
.stage-nav .disabled { opacity: 0.4; pointer-events: none; }

/* Variant comparison callout */
.variant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1.4rem 0;
}
.variant-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-top: 3px solid var(--tarn-light);
  padding: 1.4rem;
}
.variant-card.high { border-top-color: var(--red-accent); }
.variant-card.low { border-top-color: var(--moss-light); }
.variant-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }

/* Hub full-route download panel */
.route-download {
  background: var(--moss);
  color: white;
  border-radius: var(--radius);
  padding: 2rem;
  margin: 1.5rem 0;
}
.route-download h3 { color: var(--gold-light); }
.route-download p { color: rgba(255,255,255,0.8); }
.route-download .btn-ghost { color: white; }

@media (max-width: 640px) {
  .stage-nav { grid-template-columns: 1fr; }
  .stage-nav .next { text-align: left; }
}

/* Leaflet route map */
.route-map { overflow: hidden; }
.route-map .leaflet-container { height: 100%; width: 100%; background: var(--surface-2); font: inherit; }

/* Trail Partner listings (FW-22) — paid, clearly labelled */
.partner-boxes { margin: 1.6rem 0; }
.partner-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  margin-bottom: 0.8rem;
  box-shadow: var(--shadow-sm);
}
.partner-label {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.partner-body { display: flex; gap: 1rem; align-items: flex-start; }
.partner-logo { width: 64px; height: 64px; object-fit: contain; flex-shrink: 0; border-radius: var(--radius); }
.partner-name { font-weight: 600; margin: 0 0 0.25rem; }
.partner-name a { color: var(--moss); text-decoration: underline; text-underline-offset: 2px; }
.partner-blurb { font-size: 0.92rem; margin: 0; color: var(--ink-soft); }
.partner-note { font-size: 0.74rem; color: var(--ink-soft); margin: 0.2rem 0 0; }
.partner-note a { color: var(--moss); }

/* Trail Partners page — rate card */
.rate-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.rate-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; }
.rate-card.is-featured { border-top: 3px solid var(--gold); }
.rate-card h3 { margin-top: 0; }
.rate-card .price { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--ink); line-height: 1.1; margin: 0.3rem 0 0.6rem; }
.rate-card .price small { font-family: var(--font-body); font-size: 0.8rem; font-weight: 400; color: var(--ink-soft); }
.rate-card ul { margin-bottom: 0; }

/* Featured Trail Partner advert (larger, photo-led) — still labelled as paid */
.fp-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-bottom: 0.8rem;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
}
.fp-media img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.fp-body { padding: 1.2rem 1.4rem 1.3rem; }
.fp-head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.fp-name { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.15; margin: 0; }
.fp-card .fp-name { margin-top: 0; }
.fp-headline { font-size: 0.95rem; font-weight: 500; color: var(--moss); margin: 0.2rem 0 0; }
.fp-logo { width: 44px; height: auto; flex-shrink: 0; border-radius: 2px; }
.fp-text { font-size: 0.95rem; color: var(--ink-soft); margin: 0.7rem 0 0.8rem; }
.fp-card ul.fp-highlights { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.fp-card .fp-highlights li {
  font-size: 0.75rem; line-height: 1.3; margin: 0;
  background: var(--surface-2); color: var(--ink); border-radius: 999px; padding: 0.3rem 0.7rem;
}
.fp-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.fp-btn {
  display: inline-block; background: var(--moss); color: var(--white);
  font-size: 0.85rem; font-weight: 600; text-decoration: none;
  padding: 0.6rem 1rem; border-radius: var(--radius); border: 1px solid var(--moss);
}
.fp-btn:hover { background: var(--moss-mid); border-color: var(--moss-mid); }
.fp-btn-ghost { background: transparent; color: var(--moss); }
.fp-btn-ghost:hover { background: var(--surface-2); color: var(--moss); }
.fp-more { font-size: 0.85rem; color: var(--moss); font-weight: 500; }

/* Full (directory) variant: gallery across the top, offerings listed */
.fp-full { grid-template-columns: 1fr; }
.fp-gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; }
.fp-gallery img:first-child { grid-row: span 2; }
.fp-gallery img { aspect-ratio: auto; min-height: 0; }
.fp-full .fp-media { height: 300px; }
.fp-full .fp-logo { width: 56px; }
.fp-offerings { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.8rem; margin: 0 0 1.1rem; }
.fp-offer { border: 1px solid var(--line); border-radius: var(--radius); padding: 0.8rem 0.9rem; }
.fp-offer-name { font-weight: 600; margin: 0 0 0.3rem; font-size: 0.95rem; }
.fp-offer-name a { color: var(--ink); }
.fp-offer-name span { display: block; margin-top: 0.15rem; font-size: 0.72rem; font-weight: 600; color: var(--gold); white-space: nowrap; }
.fp-offer-text { font-size: 0.85rem; color: var(--ink-soft); margin: 0; line-height: 1.55; }

@media (max-width: 640px) {
  .fp-card { grid-template-columns: 1fr; }
  .fp-media img { aspect-ratio: 16 / 9; }
  .fp-full .fp-media { height: 220px; }
}

/* Where to Stay directory */
.fp-strip { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: baseline; font-size: 0.9rem; margin: 1.4rem 0 0; }
.fp-strip .partner-label { margin: 0; }
.fp-strip a { color: var(--moss); font-weight: 500; }
.stay-filters {
  display: flex; flex-wrap: wrap; gap: 0.8rem 1rem; align-items: flex-end;
  background: var(--surface-2); border-radius: var(--radius); padding: 1rem 1.1rem; margin: 0 0 1.6rem;
}
.stay-filters[hidden] { display: none; }
.stay-filters label { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); flex: 1 1 200px; }
.stay-filters select {
  font: inherit; font-size: 0.95rem; letter-spacing: 0; text-transform: none; font-weight: 400;
  padding: 0.55rem 0.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); width: 100%;
}
.stay-reset { font: inherit; font-size: 0.85rem; background: none; border: 0; color: var(--moss); text-decoration: underline; cursor: pointer; padding: 0.55rem 0.2rem; }
.content .stay-count { flex-basis: 100%; font-size: 0.8rem; margin: 0; min-height: 1em; }
.town { border-top: 1px solid var(--line); padding: 1.4rem 0; scroll-margin-top: calc(var(--header-h) + 16px); }
.town[hidden] { display: none; }
.town-head { display: flex; flex-wrap: wrap; gap: 0.4rem 0.8rem; align-items: baseline; margin-bottom: 0.4rem; }
.content .town-head h3 { margin: 0; }
.town-role { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--moss); }
.town-partners { margin-top: 1rem; }
.content .town-empty { font-size: 0.85rem; color: var(--ink-soft); font-style: italic; }
.town-empty a, .stay-none a { color: var(--moss); }

/* Header nav: tighter spacing on mid-width screens so all links fit (8 links incl. Where to Stay) */
@media (min-width: 801px) and (max-width: 1180px) {
  .topbar-links a { padding: 0.5rem 0.55rem; letter-spacing: 0.08em; }
}

/* ═══════════════════════════════
   ROTATING ADVERT (partials/ad-rotator.njk)
   One shell, laid out by site.js as:
     .of-ad.is-bar  — banner across the bottom of the screen (mobile / tablet)
     .of-ad.is-rail — card in the right-hand gutter (desktop, when there's room)
   Slides are stacked in one grid cell (so the shell never changes size) and cross-fade.
   The story-style step bars along the top show time to the next slide and are clickable.
   Themes: Our Fells = charcoal #262628 / coral #ff3e63 / amber #ffb703 (ourfells.com);
           Trail partner (Howgills) = slate #2c373c / stone #c9b98f (their logo).
═══════════════════════════════ */
.of-ad {
  --of-interval: 12s;
  position: fixed;
  z-index: 150; /* under the topbar (200) and the consent banner (9999) */
  color: #fff;
  font-family: var(--font-body);
  line-height: 1.4;
  background: #262628;
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
  overflow: hidden;
  opacity: 0;
  transition: opacity .5s ease, transform .6s cubic-bezier(.2,.9,.25,1.15);
}
.of-ad[hidden] { display: none; }
.of-ad.is-shown { opacity: 1; transform: none; }
.of-ad a { text-decoration: none; color: inherit; }
.of-ad p { margin: 0; color: #fff; line-height: 1.4; font-size: inherit; }

/* ── Slides + themes ── */
.of-slides { display: grid; }
.of-slide {
  grid-area: 1 / 1;
  position: relative;
  visibility: hidden; opacity: 0;
  transition: opacity .7s ease, visibility 0s linear .7s;
  --of-accent: #ff3e63; --of-accent-2: #ffb703; --of-cta-ink: #fff; --of-cta-glow: rgba(255,62,99,0.45);
}
.of-slide.is-active { visibility: visible; opacity: 1; transition: opacity .7s ease, visibility 0s; }
.of-slide.is-active .of-media { animation: of-media-in .9s cubic-bezier(.2,.9,.25,1.1); }
.of-slide.is-active .of-body > * { animation: of-rise .6s ease both; }
.of-slide.is-active .of-body > :nth-child(2) { animation-delay: .06s; }
.of-slide.is-active .of-body > :nth-child(3) { animation-delay: .12s; }
.of-slide.is-active .of-body > :nth-child(n+4) { animation-delay: .18s; }
@keyframes of-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes of-media-in { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }

.of-slide--ourfells {
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(255,62,99,0.28), transparent 55%),
    radial-gradient(90% 80% at 0% 100%, rgba(255,183,3,0.12), transparent 60%),
    repeating-radial-gradient(circle at 85% 115%, transparent 0 13px, rgba(255,255,255,0.045) 13px 14px),
    #262628;
}
.of-slide--partner {
  --of-accent: #c9b98f; --of-accent-2: #c9b98f; --of-cta-ink: #1f282c; --of-cta-glow: rgba(201,185,143,0.35);
  background:
    radial-gradient(110% 80% at 100% 0%, rgba(201,185,143,0.22), transparent 55%),
    radial-gradient(80% 70% at 0% 100%, rgba(138,172,122,0.16), transparent 60%),
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(255,255,255,0.03) 18px 19px),
    #2c373c;
}

.of-slide--sister { /* CalculatorDashboard: navy #0f1923 / teal #14b8a6 / blue #3b8bff, Outfit */
  --of-accent: #14b8a6; --of-accent-2: #5eead4; --of-cta-ink: #04211e; --of-cta-glow: rgba(20,184,166,0.4);
  background:
    radial-gradient(110% 80% at 100% 0%, rgba(20,184,166,0.22), transparent 55%),
    radial-gradient(80% 70% at 0% 100%, rgba(59,139,255,0.18), transparent 60%),
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px) 0 0 / 100% 16px,
    #0f1923;
}
.of-slide--sister .of-brand span { font-family: Outfit, var(--font-body); font-weight: 600; }
.of-slide--sister .of-brand b { font-weight: 600; color: #3b8bff; }
.of-cdlogo { width: 22px; height: 22px; flex: none; }
.of-pump { width: 1em; height: 1em; flex: none; }

/* Big, unmistakable "what is this" line */
.of-ad .of-fuel-title { display: flex; align-items: center; gap: 0.45rem; font-family: Outfit, var(--font-body); font-weight: 700; letter-spacing: -0.01em; line-height: 1.1; color: #fff; }
.of-fuel-title .of-pump { color: #04211e; background: #14b8a6; border-radius: 8px; padding: 0.22em; width: 1.5em; height: 1.5em; box-shadow: 0 6px 16px rgba(20,184,166,0.45); }
.of-chips { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.of-chips span {
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: #5eead4; border: 1px solid rgba(20,184,166,0.55); background: rgba(20,184,166,0.12);
  border-radius: 999px; padding: 0.18rem 0.5rem; white-space: nowrap;
}
.of-chips span:first-child { color: #04211e; background: #14b8a6; border-color: #14b8a6; }

/* Forecourt price board (rail) */
.of-board {
  display: none; border-radius: 12px; padding: 0.7rem 0.75rem 0.6rem;
  background: linear-gradient(180deg, #16222e, #0b131b); border: 1px solid #24364a;
  box-shadow: 0 12px 24px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.06);
}
.of-board-top { display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.45rem; font: 700 0.72rem/1 Outfit, var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; color: #fff; }
.of-board-top .of-pump { color: #14b8a6; font-size: 1.05rem; }
.of-board-live { margin-left: auto; display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.6rem; color: #5eead4; }
.of-board-live i { width: 7px; height: 7px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 0 0 rgba(239,68,68,0.6); animation: of-rec 1.6s ease-out infinite; }
@keyframes of-rec { 0% { box-shadow: 0 0 0 0 rgba(239,68,68,0.6); } 100% { box-shadow: 0 0 0 7px rgba(239,68,68,0); } }
.of-board-row { display: flex; justify-content: space-between; align-items: center; padding: 0.32rem 0.1rem; border-top: 1px solid rgba(255,255,255,0.07); }
.of-board-row span { font-size: 0.72rem; font-weight: 600; color: rgba(255,255,255,0.8); }
.of-board-row b {
  font: 700 1rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #ffb020;
  text-shadow: 0 0 8px rgba(255,176,32,0.55); letter-spacing: 0.08em;
  background: #05090d; border-radius: 4px; padding: 0.22rem 0.4rem; min-width: 5.2em; text-align: right;
}
.of-board-row b em { font-style: normal; }
.of-board-row b small { font-size: 0.62em; margin-left: 0.1em; }
.of-slide.is-active .of-board-row b { animation: of-flicker 2.4s steps(1) infinite; }
.of-slide.is-active .of-board-row:nth-child(3) b { animation-delay: .6s; }
.of-slide.is-active .of-board-row:nth-child(4) b { animation-delay: 1.2s; }
.of-slide.is-active .of-board-row:nth-child(5) b { animation-delay: 1.8s; }
@keyframes of-flicker { 0%, 88% { opacity: 1; } 90% { opacity: .35; } 94% { opacity: 1; } 96% { opacity: .5; } }
.of-board-foot { margin-top: 0.4rem; text-align: center; font-size: 0.64rem; font-weight: 600; color: #5eead4; }

/* ── Step bars (progress + manual switch) ── */
.of-steps { position: absolute; z-index: 3; display: flex; gap: 4px; }
.of-steps[hidden] { display: none; }
.of-step {
  flex: 1; height: 3px; padding: 0; border: 0; border-radius: 2px; cursor: pointer;
  background: rgba(255,255,255,0.25); overflow: hidden; position: relative;
}
.of-step::before { /* bigger tap target */ content: ""; position: absolute; inset: -8px 0; }
.of-step-fill { display: block; height: 100%; width: 0; background: #fff; border-radius: inherit; }
.of-step.is-done .of-step-fill { width: 100%; }
.of-step.is-current .of-step-fill { animation: of-fill var(--of-interval) linear forwards; }
.of-ad.is-paused .of-step.is-current .of-step-fill,
.of-ad.is-tucked .of-step.is-current .of-step-fill,
.of-ad:not(.is-shown) .of-step.is-current .of-step-fill { animation-play-state: paused; }
.of-ad.is-tucked { opacity: 0 !important; pointer-events: none; }
@keyframes of-fill { from { width: 0; } to { width: 100%; } }
.of-step:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* ── Shared pieces ── */
.of-close {
  position: absolute; top: 12px; right: 8px; z-index: 4;
  width: 26px; height: 26px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.85);
  font-size: 1.05rem; line-height: 1; cursor: pointer;
}
.of-close:hover { background: rgba(255,255,255,0.22); color: #fff; }
.of-close:focus-visible, .of-ad a:focus-visible, .of-code-v:focus-visible { outline: 2px solid #ffb703; outline-offset: 2px; }

.of-label {
  display: inline-block; font-size: 0.58rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.of-brand { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 700; letter-spacing: -0.01em; }
.of-logo { width: 26px; height: 18px; color: var(--of-accent); flex: none; }
.of-plogo { width: auto; height: 30px; border-radius: 2px; flex: none; box-shadow: 0 0 0 1px rgba(201,185,143,0.4); }
.of-slide--partner .of-brand span { font-family: var(--font-display); font-size: 1.12em; font-weight: 600; letter-spacing: 0.01em; }
.of-head { font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.of-head em { font-style: normal; color: var(--of-accent); }
.of-ad .of-sub { color: rgba(255,255,255,0.72); }
.of-points { list-style: none; margin: 0; padding: 0; }
.of-points li { position: relative; padding-left: 1.1rem; margin: 0; }
.of-points li::before { content: "✓"; position: absolute; left: 0; color: var(--of-accent-2); font-weight: 700; }
.of-price s { color: rgba(255,255,255,0.45); }
.of-price strong { color: #fff; }
.of-price span { color: rgba(255,255,255,0.6); }

.of-code { display: flex; align-items: center; gap: 0.4rem; }
.of-code-k { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.of-code-v {
  font: 700 0.78rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: 0.06em;
  color: #ffb703; background: rgba(255,183,3,0.1); cursor: pointer;
  border: 1px dashed rgba(255,183,3,0.7); border-radius: 6px; padding: 0.4rem 0.5rem;
  position: relative;
}
.of-code-v:hover { background: rgba(255,183,3,0.18); }
.of-code-off { font-size: 0.68rem; font-weight: 700; color: #262628; background: #ffb703; border-radius: 999px; padding: 0.15rem 0.45rem; white-space: nowrap; }
[data-of-copy].is-copied::after {
  content: "Copied!"; position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%);
  font: 600 0.68rem/1 var(--font-body); letter-spacing: 0; color: #fff; background: #111; padding: 0.35rem 0.5rem; border-radius: 4px; white-space: nowrap;
}

.of-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem;
  background: var(--of-accent); color: var(--of-cta-ink) !important; font-weight: 700; border-radius: 999px;
  box-shadow: 0 8px 22px var(--of-cta-glow); white-space: nowrap;
  transition: transform .2s, box-shadow .2s, filter .2s;
  position: relative; overflow: hidden;
}
.of-cta::after { /* sheen sweep */
  content: ""; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  animation: of-sheen 4.5s ease-in-out 2s infinite;
}
.of-cta:hover { transform: translateY(-1px); filter: brightness(1.08); }
.of-ad .of-fine { font-size: 0.62rem; color: rgba(255,255,255,0.5); }
.of-fine a { text-decoration: underline !important; text-underline-offset: 2px; }
@keyframes of-sheen { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

.of-phone { display: none; position: relative; }
.of-phone img { width: 100%; height: auto; display: block; }
.of-phone-tag {
  position: absolute; left: -14px; bottom: 26%;
  font-size: 0.6rem; font-weight: 700; white-space: nowrap;
  color: #fff; background: #ff3e63; border-radius: 999px; padding: 0.25rem 0.55rem;
  box-shadow: 0 6px 14px rgba(255,62,99,0.45);
}
.of-phone-tag::first-letter { color: #b6ffcf; }
.of-photo { display: none; position: relative; border-radius: 10px; overflow: hidden; }
.of-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 6s ease; }
.of-slide.is-active .of-photo img { transform: scale(1.06); } /* slow Ken Burns while shown */
.of-photo-tag {
  position: absolute; left: 8px; bottom: 8px;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.04em;
  color: #1f282c; background: #c9b98f; border-radius: 999px; padding: 0.22rem 0.55rem;
}
@keyframes of-float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-5px) rotate(0deg); } }

/* ── Bottom banner (mobile / tablet) ── */
.of-ad.is-bar { left: 0; right: 0; bottom: 0; transform: translateY(110%); }
.of-ad.is-bar.is-shown { transform: none; }
.of-ad.is-bar .of-steps { top: 0; left: 0; right: 0; gap: 2px; }
.of-ad.is-bar .of-step { height: 3px; border-radius: 0; }
.of-ad.is-bar .of-close { top: 50%; transform: translateY(-50%); right: 8px; }
.of-ad.is-bar .of-slide { padding: 0.8rem 2.8rem calc(0.7rem + env(safe-area-inset-bottom, 0px)) 0.9rem; }
.of-ad.is-bar .of-media,
.of-ad.is-bar .of-sub,
.of-ad.is-bar .of-points,
.of-ad.is-bar .of-price,
.of-ad.is-bar .of-fine,
.of-ad.is-bar .of-code-k,
.of-ad.is-bar .of-cta-long { display: none; }
.of-ad.is-bar .of-body {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "brand cta" "head cta" "code cta";
  align-items: center; column-gap: 0.8rem; row-gap: 0.15rem; max-width: 760px; margin: 0 auto;
}
.of-ad.is-bar .of-label { position: absolute; top: 8px; right: 42px; font-size: 0.5rem; }
.of-ad.is-bar .of-brand { grid-area: brand; font-size: 0.95rem; }
.of-ad.is-bar .of-plogo { height: 22px; }
.of-ad.is-bar .of-slide--partner .of-brand span { font-size: 1rem; white-space: nowrap; }
.of-ad.is-bar .of-head { grid-area: head; font-size: 0.86rem; }
.of-ad.is-bar .of-code { grid-area: code; margin-top: 0.25rem; }
.of-ad.is-bar .of-code-v { padding: 0.28rem 0.45rem; font-size: 0.72rem; }
.of-ad.is-bar .of-cta { grid-area: cta; padding: 0.7rem 1.05rem; font-size: 0.9rem; }
@media (min-width: 560px) {
  .of-ad.is-bar .of-cta-long { display: inline; }
  .of-ad.is-bar .of-cta-short { display: none; }
  .of-ad.is-bar .of-head { font-size: 0.95rem; }
}
/* Fuel slide in the banner: title / strapline / chips — the brand stays in the label */
.of-ad.is-bar .of-slide--sister .of-body { grid-template-areas: "title cta" "sub cta" "chips cta"; }
.of-ad.is-bar .of-slide--sister .of-brand { display: none; }
.of-ad.is-bar .of-slide--sister .of-fuel-title { grid-area: title; font-size: 1.02rem; white-space: nowrap; }
.of-ad.is-bar .of-slide--sister .of-sub { grid-area: sub; display: block; font-size: 0.76rem; line-height: 1.3; color: rgba(255,255,255,0.8); }
.of-ad.is-bar .of-slide--sister .of-chips { grid-area: chips; margin-top: 0.2rem; flex-wrap: nowrap; }
.of-ad.is-bar .of-slide--sister .of-chips span { font-size: 0.58rem; padding: 0.12rem 0.4rem; }
.of-ad.is-bar .of-slide--sister .of-chip-extra { display: none; }
.of-ad.is-bar .of-slide--sister .of-cta { padding: 0.65rem 0.85rem; }
.of-sub-short { display: none; }
.of-ad.is-bar .of-slide--sister .of-sub-long { display: none; }
.of-ad.is-bar .of-slide--sister .of-sub-short { display: inline; }
.of-ad.is-bar .of-slide--sister .of-label::after { content: " · CalculatorDashboard"; }
body.of-bar-on { padding-bottom: var(--of-bar-h, 0px); }

/* ── Right-hand rail (desktop) ── */
.of-ad.is-rail {
  top: calc(50% + var(--header-h) / 2); right: 20px; width: 240px; border-radius: 16px;
  transform: translate(calc(100% + 40px), -50%);
}
.of-ad.is-rail.is-shown { transform: translate(0, -50%); }
.of-ad.is-rail .of-steps { top: 8px; left: 14px; right: 14px; }
.of-ad.is-rail .of-slide { display: flex; flex-direction: column; padding: 2.4rem 1.1rem 1rem; }
.of-ad.is-rail .of-label { position: absolute; top: 18px; left: 14px; }
.of-ad.is-rail .of-cta-short { display: none; }
.of-ad.is-rail .of-phone {
  display: block; width: 118px; margin: 0 auto 0.9rem;
  filter: drop-shadow(0 16px 24px rgba(0,0,0,0.5));
}
.of-ad.is-rail .of-slide.is-active .of-phone img { animation: of-float 6s ease-in-out infinite; }
.of-ad.is-rail .of-board { display: block; margin: 0 0 0.9rem; }
.of-ad.is-rail .of-photo { display: block; height: 250px; margin: 0 0 0.9rem; box-shadow: 0 12px 24px rgba(0,0,0,0.35); }
.of-ad.is-rail .of-body { display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.of-ad.is-rail .of-brand { font-size: 1.1rem; }
.of-ad.is-rail .of-head { font-size: 1.1rem; }
.of-ad.is-rail .of-sub { font-size: 0.76rem; line-height: 1.45; }
.of-ad.is-rail .of-points { font-size: 0.74rem; line-height: 1.65; }
.of-ad.is-rail .of-price { font-size: 0.85rem; }
.of-ad.is-rail .of-price strong { font-size: 1.25rem; }
.of-ad.is-rail .of-cta { padding: 0.75rem 1rem; font-size: 0.88rem; margin-top: auto; }
.of-ad.is-rail .of-fine { text-align: center; }
@media (max-height: 880px) { .of-ad.is-rail .of-sub { display: none; } }
@media (max-height: 780px) { .of-ad.is-rail .of-phone { display: none; } .of-ad.is-rail .of-photo { height: 120px; } }
@media (max-height: 660px) { .of-ad.is-rail .of-photo, .of-ad.is-rail .of-board { display: none; } }
.of-ad.is-rail .of-slide--sister .of-fuel-title { font-size: 1.4rem; }
.of-ad.is-rail .of-slide--sister .of-sub { display: block; font-size: 0.82rem; color: rgba(255,255,255,0.85); } /* the key message: never hidden */
.of-ad.is-rail .of-slide--sister .of-brand { justify-content: center; font-size: 0.85rem; opacity: 0.9; }

/* ── Subtle GPX nudge (stage pages / route download) ── */
.of-gpx {
  display: flex; gap: 0.75rem; align-items: flex-start;
  margin: 0.9rem 0 1.4rem; padding: 0.8rem 1rem;
  background: var(--white); border: 1px solid var(--line); border-left: 3px solid #ff3e63;
  border-radius: var(--radius); font-size: 0.86rem; line-height: 1.55; color: var(--ink-soft);
}
.of-gpx p, .content .of-gpx p { margin: 0; font-size: inherit; line-height: inherit; color: inherit; }
.of-gpx strong { color: var(--ink); font-weight: 600; }
.of-gpx a { color: #d42a4f; font-weight: 600; }
.of-gpx-icon { width: 22px; height: 16px; color: #ff3e63; flex: none; margin-top: 0.2rem; }
.of-gpx-code {
  font: 700 0.8rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: 0.04em;
  color: var(--ink); background: var(--surface-2); border: 1px dashed var(--ink-soft);
  border-radius: 4px; padding: 0.2rem 0.4rem; cursor: pointer; position: relative;
}
.of-gpx-code:hover { background: var(--surface-3); }
.of-gpx-label { display: inline-block; margin-left: 0.3rem; font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: #8a8a90; }
.of-gpx--dark { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); border-left-color: #ff3e63; color: rgba(255,255,255,0.75); margin: 1.2rem 0 0; text-align: left; }
.of-gpx--dark strong { color: #fff; }
.of-gpx--dark a { color: #ff7a93; }
.of-gpx--dark .of-gpx-code { color: #ffb703; background: rgba(255,183,3,0.08); border-color: rgba(255,183,3,0.6); }
.of-gpx--dark .of-gpx-label { color: rgba(255,255,255,0.45); }

@media (prefers-reduced-motion: reduce) {
  .of-ad, .of-slide, .of-slide.is-active { transition: none; }
  .of-slide.is-active .of-media, .of-slide.is-active .of-body > *,
  .of-ad.is-rail .of-slide.is-active .of-phone img, .of-cta::after { animation: none; }
  .of-slide.is-active .of-photo img { transform: none; }
  .of-slide.is-active .of-board-row b, .of-board-live i { animation: none; }
  /* the step-bar fill keeps running: it is the rotation timer */
}
@media print { .of-ad, .of-gpx { display: none !important; } }

/* ═══════════════════════════════════════════════════════════════
   CHOOSE YOUR WAY — route chooser (routes.json), which-furness-way,
   original-furness-way and the homepage guides grid
═══════════════════════════════════════════════════════════════ */
.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;
}

.way-band-head {
  display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 3rem;
  align-items: end; margin-bottom: 1.75rem;
}
.way-band-head h2 { margin-bottom: 0; }
.way-band-head p { max-width: 560px; justify-self: end; font-size: 0.95rem; margin: 0; }
.way-band-head a.inline, #guides a.inline { color: var(--moss); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }

.way-grid { display: grid; gap: 1.25rem; margin: 1.5rem 0 0.5rem; }
.way-grid--2 { grid-template-columns: repeat(2, 1fr); }
.way-grid--3 { grid-template-columns: repeat(3, 1fr); }

.way-card {
  --way-accent: var(--moss);
  position: relative; display: flex; flex-direction: column; gap: 0.9rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.7rem 1.4rem; text-decoration: none; color: inherit; overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.way-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--way-accent); }
.way-card:hover, .way-card:focus-visible { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--way-accent); }
.way-card:focus-visible { outline: 2px solid var(--way-accent); outline-offset: 3px; }
.way-card--tarn { --way-accent: var(--tarn); }
.way-card--gold { --way-accent: var(--gold); }

.way-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.5rem; }
.way-kicker { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--way-accent); }
.way-badge, .way-here {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.04em; border-radius: 2rem; padding: 0.2rem 0.65rem;
  background: var(--surface-2); color: var(--ink-soft); border: 1px solid var(--line);
}
.way-here { background: var(--way-accent); color: var(--white); border-color: var(--way-accent); }
.way-name { font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2rem); font-weight: 600; line-height: 1.1; color: var(--ink); }

/* Start o- - - -o Finish schematic */
.way-line { display: flex; align-items: center; gap: 0.7rem; font-size: 0.82rem; font-weight: 600; color: var(--ink); }
.way-end { white-space: nowrap; }
.way-track {
  position: relative; flex: 1; height: 2px; min-width: 2.5rem;
  background: repeating-linear-gradient(90deg, var(--way-accent) 0 6px, transparent 6px 11px);
}
.way-track::before, .way-track::after {
  content: ""; position: absolute; top: 50%; width: 9px; height: 9px; border-radius: 50%;
  transform: translateY(-50%); background: var(--white); border: 2px solid var(--way-accent);
}
.way-track::before { left: -2px; }
.way-track::after { right: -2px; background: var(--way-accent); }

.way-facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 0.75rem 0;
}
.way-facts > span { font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); line-height: 1.35; }
.way-facts b {
  display: block; font-family: var(--font-display); font-size: 1.15rem; font-weight: 700;
  letter-spacing: 0; text-transform: none; color: var(--ink); margin-bottom: 0.1rem;
}
.way-summary { font-size: 0.92rem; line-height: 1.7; color: var(--ink-soft); }
.way-cta { margin-top: auto; font-size: 0.9rem; font-weight: 600; color: var(--way-accent); }
.way-cta span { transition: margin 0.2s; }
.way-card:hover .way-cta span { margin-left: 0.25rem; }

/* Interior hero variant for the original Furness Way (tarn blue, coast feel) */
/* No map photo here: the hero map shows the Westmorland & Furness Way, not this route. */
.subhero--tarn {
  background:
    radial-gradient(ellipse at 85% 120%, rgba(77,127,160,0.45) 0%, transparent 60%),
    linear-gradient(160deg, #1b2e3c 0%, #2d4f64 55%, #16242f 100%);
}
.content #choose { padding-bottom: 0.5rem; }

/* "Not the walk you meant?" switcher */
.way-switch {
  display: flex; flex-wrap: wrap; gap: 0.3rem 0.9rem; align-items: baseline;
  background: var(--surface-2); border: 1px dashed var(--moss-light); border-radius: var(--radius);
  padding: 0.85rem 1.1rem; margin: 0 0 1.4rem;
}
.way-switch-k { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--moss); }
.way-switch p { font-size: 0.92rem; margin: 0; flex: 1 1 320px; }

/* Side-by-side comparison table */
.way-compare { min-width: 520px; }
.way-compare tbody th {
  text-align: left; font-weight: 600; font-size: 0.78rem; letter-spacing: 0.04em; color: var(--ink);
  padding: 0.8rem 1.1rem; border-bottom: 1px solid var(--line); background: var(--surface-2); white-space: nowrap;
}
.way-compare td { vertical-align: top; }

/* Overnight stops list */
.way-stops { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0.75rem; margin: 1.2rem 0 1.4rem; }
.way-stop { background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--tarn-light); border-radius: var(--radius); padding: 0.9rem 1rem; }
.way-stop strong { display: block; font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); }
.way-stop span { font-size: 0.86rem; color: var(--ink-soft); line-height: 1.55; }

/* Local-business call to action */
.way-biz {
  background: var(--cream); border: 1px solid var(--line); border-top: 3px solid var(--gold);
  border-radius: var(--radius); padding: 1.6rem 1.7rem; margin-top: 1.4rem;
}
.way-biz .eyebrow { color: var(--gold); }
.way-biz h3 { margin-top: 0; }
.way-biz p { font-size: 0.95rem; margin-bottom: 1.1rem; }

/* Homepage guides grid */
#guides { background: var(--surface); }
.guides-intro { max-width: 620px; }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.guide-card {
  display: flex; flex-direction: column; gap: 0.55rem; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem 1.6rem 1.4rem; text-decoration: none; color: inherit;
  transition: box-shadow 0.2s, transform 0.2s;
}
.guide-card:hover, .guide-card:focus-visible { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.guide-card--feature { background: var(--ink); border-color: var(--ink); }
.guide-card--feature .guide-title { color: var(--white); }
.guide-card--feature .guide-text { color: rgba(255,255,255,0.7); }
.guide-card--feature .guide-more, .guide-card--feature .guide-tag { color: var(--gold-light); }
.guide-tag { font-size: 0.64rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--moss-mid); }
.guide-tag--tarn { color: var(--tarn-light); }
.guide-title { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; line-height: 1.2; color: var(--ink); }
.guide-text { font-size: 0.88rem; line-height: 1.65; color: var(--ink-soft); }
.guide-more { margin-top: auto; padding-top: 0.4rem; font-size: 0.85rem; font-weight: 600; color: var(--moss); }

@media (max-width: 960px) {
  .way-grid--3, .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .way-band-head { grid-template-columns: 1fr; }
  .way-band-head p { justify-self: start; }
}
@media (max-width: 680px) {
  .way-grid--2, .way-grid--3, .guide-grid { grid-template-columns: 1fr; }
  .way-card { padding: 1.4rem 1.3rem 1.25rem; }
  .way-facts b { font-size: 1.02rem; }
}
@media (prefers-reduced-motion: reduce) {
  .way-card, .guide-card, .way-cta span { transition: none; }
  .way-card:hover, .guide-card:hover { transform: none; }
}

/* ── Original Furness Way: stage list, tall full-route map, tarn stage nav ── */
.route-map--tall { height: 520px; }
.stage-list--tarn { margin-top: 0.5rem; }
.stage-list--tarn .stage-item:hover .stage-num { background: var(--tarn); border-right-color: var(--tarn); }
.stage-list--tarn .stage-item:hover .stage-arrow { color: var(--tarn); }
.stage-nav--tarn .dir { color: var(--tarn-light); }
@media (max-width: 680px) { .route-map--tall { height: 420px; } }

/* ═══════════════════════════════════════════════════════════════
   ROUTE-AWARE HEADER — "Choose your Way" switcher (routes.json)
   Desktop: 36px route bar above the 56px main bar (--header-h: 92px).
   Mobile: route bar hidden; current route shown under the brand and the
   switcher sits at the top of the hamburger menu (--header-h: 56px).
═══════════════════════════════════════════════════════════════ */
.site-header { --tab-moss: var(--moss-light); --tab-tarn: #7fb0cf; --tab-gold: var(--gold-light); }

/* ── Desktop route bar ── */
.routebar { background: #0e0e0f; border-bottom: 1px solid rgba(255,255,255,0.06); }
.routebar-inner { display: flex; align-items: stretch; gap: 1.25rem; height: 36px; padding: 0 1.5rem; }
.routebar-label {
  align-self: center; font-size: 0.6rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,0.35); white-space: nowrap;
}
.routebar-tabs { display: flex; list-style: none; margin: 0; padding: 0; gap: 0.25rem; }
.routebar-tabs li { display: flex; }
.routebar-tab {
  --tab: var(--tab-moss);
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0 0.9rem;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.06em; white-space: nowrap;
  color: rgba(255,255,255,0.55); text-decoration: none;
  border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.routebar-tab::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--tab); opacity: 0.55; transition: opacity 0.2s; }
.routebar-tab--tarn { --tab: var(--tab-tarn); }
.routebar-tab--gold { --tab: var(--tab-gold); }
.routebar-tab:hover { color: #fff; }
.routebar-tab:hover::before { opacity: 1; }
.routebar-tab.is-current { color: #fff; border-bottom-color: var(--tab); background: rgba(255,255,255,0.04); }
.routebar-tab.is-current::before { opacity: 1; }
.routebar-tab:focus-visible, .routebar-compare:focus-visible { outline: 2px solid var(--gold-light); outline-offset: -2px; }
.routebar-compare {
  margin-left: auto; align-self: center; font-size: 0.68rem; font-weight: 500; letter-spacing: 0.06em;
  color: var(--gold-light); text-decoration: none; white-space: nowrap; opacity: 0.85;
}
.routebar-compare:hover, .routebar-compare.is-current { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }

/* ── Main bar: current page + per-route accent ── */
.topbar-links a[aria-current="page"] { color: #fff; border-bottom-color: var(--gold-light); }
.topbar--tarn .topbar-cta { background: var(--tarn); }
.topbar--tarn .topbar-cta:hover { background: var(--tarn-light); }
.topbar--gold .topbar-cta { background: var(--gold); }

/* Mobile-only switcher lives inside the menu */
.menu-routes { display: none; }

@media (max-width: 800px) {
  .routebar { display: none; }
  .topbar-route {
    display: block; font-family: var(--font-body); font-size: 0.58rem; font-weight: 600;
    letter-spacing: 0.16em; text-transform: uppercase; color: var(--moss-light); margin-top: 0.15rem;
  }
  .topbar--tarn .topbar-route { color: var(--tab-tarn); }
  .topbar--site .topbar-route { color: rgba(255,255,255,0.45); }

  .menu-routes { display: block; padding: 0.6rem 0 0.9rem; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 0.25rem; }
  .menu-routes-label {
    display: block; font-size: 0.6rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
    color: rgba(255,255,255,0.4); margin-bottom: 0.6rem;
  }
  .menu-routes-list { display: grid; gap: 0.5rem; }
  .menu-route {
    --tab: var(--tab-moss);
    display: block; padding: 0.7rem 0.9rem; border-radius: var(--radius); text-decoration: none;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-left: 3px solid var(--tab);
  }
  .menu-route--tarn { --tab: var(--tab-tarn); }
  .menu-route--gold { --tab: var(--tab-gold); }
  .menu-route--compare { --tab: rgba(255,255,255,0.25); background: transparent; }
  .menu-route strong { display: block; font-size: 0.88rem; font-weight: 600; color: #fff; }
  .menu-route span { display: block; font-size: 0.72rem; color: rgba(255,255,255,0.55); margin-top: 0.1rem; }
  .menu-route--compare strong { color: var(--gold-light); }
  .menu-route.is-current { background: rgba(255,255,255,0.1); border-color: var(--tab); }
  .menu-route.is-current strong::after {
    content: "You're here"; margin-left: 0.5rem; font-size: 0.6rem; font-weight: 600; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--tab); vertical-align: 0.1em;
  }
  .topbar-links a[aria-current="page"] { border-bottom-color: rgba(255,255,255,0.07); color: var(--gold-light); }
}

/* Anchor jumps land below the fixed header */
section[id], [id].stage-list { scroll-margin-top: calc(var(--header-h) + 12px); }

/* ── Stage jump strip (stage pages, both routes) ── */
.stage-strip { background: var(--surface-2); border-bottom: 1px solid var(--line); }
.stage-strip-inner { display: flex; align-items: center; gap: 0.75rem; padding: 0.7rem 1.5rem; overflow-x: auto; scrollbar-width: none; }
.stage-strip-inner::-webkit-scrollbar { display: none; }
.stage-strip-label { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; }
.stage-strip-list { display: flex; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 681px) { .stage-strip-inner { flex-wrap: wrap; row-gap: 0.5rem; } .stage-strip-list { flex-wrap: wrap; } }
.stage-strip a {
  display: inline-flex; align-items: baseline; gap: 0.35rem; padding: 0.35rem 0.75rem; border-radius: 2rem;
  font-size: 0.78rem; color: var(--ink-soft); text-decoration: none; white-space: nowrap;
  background: var(--white); border: 1px solid var(--line); transition: border-color 0.2s, color 0.2s;
}
.stage-strip a b { font-family: var(--font-display); font-size: 0.95rem; color: var(--ink); }
.stage-strip a:hover { border-color: var(--moss-light); color: var(--ink); }
.stage-strip a[aria-current="page"] { background: var(--moss); border-color: var(--moss); color: rgba(255,255,255,0.85); }
.stage-strip a[aria-current="page"] b { color: #fff; }
.stage-strip--tarn a:hover { border-color: var(--tarn-light); }
.stage-strip--tarn a[aria-current="page"] { background: var(--tarn); border-color: var(--tarn); }
.stage-strip-all { margin-left: auto; font-size: 0.78rem; font-weight: 500; color: var(--moss); white-space: nowrap; }
.stage-strip--tarn .stage-strip-all { color: var(--tarn); }
@media (max-width: 680px) {
  .stage-strip-inner { padding: 0.6rem 1rem; }
  .stage-strip a span { display: none; } /* numbers only on phones; full names on hover/desktop */
  .stage-strip-all { display: none; } /* breadcrumb + menu already link the overview */
}

/* ── Self-promo slide: "Advertise free" (partneroffer.json) — site moss / gold ── */
.of-slide--self {
  --of-accent: #d4a855; --of-accent-2: #d4a855; --of-cta-ink: #1c2616; --of-cta-glow: rgba(212,168,85,0.4);
  background:
    radial-gradient(110% 80% at 100% 0%, rgba(212,168,85,0.22), transparent 55%),
    radial-gradient(80% 70% at 0% 100%, rgba(138,172,122,0.22), transparent 60%),
    repeating-radial-gradient(circle at 10% 120%, transparent 0 15px, rgba(255,255,255,0.035) 15px 16px),
    #1f2e1b;
}
.of-fw { font-family: var(--font-display); font-size: 1.15em; font-weight: 600; letter-spacing: 0.01em; }
.of-fw b { font-weight: 600; color: #d4a855; }
.of-slide--self .of-chips span { color: #e9cf96; border-color: rgba(212,168,85,0.55); background: rgba(212,168,85,0.12); }
.of-slide--self .of-chips span:first-child { color: #1c2616; background: #d4a855; border-color: #d4a855; }

/* Route-corridor graphic (rail only) */
.of-corridor {
  display: none; position: relative; border-radius: 12px; overflow: hidden;
  background: linear-gradient(180deg, #2a3d24, #172313); border: 1px solid rgba(212,168,85,0.25);
  box-shadow: 0 12px 24px rgba(0,0,0,0.35);
}
.of-corridor svg { display: block; width: 100%; height: auto; }
.of-cor-band { fill: none; stroke: rgba(138,172,122,0.28); stroke-width: 34; stroke-linecap: round; }
.of-cor-line { fill: none; stroke: #d4a855; stroke-width: 2.5; stroke-dasharray: 6 5; stroke-linecap: round; }
.of-cor-pin > path:first-child { fill: #8aac7a; stroke: #1f2e1b; stroke-width: 1.5; }
.of-cor-ico { fill: none; stroke: #1f2e1b; stroke-width: 1.6; stroke-linejoin: round; }
.of-cor-pin--you > path { fill: #d4a855; }
.of-cor-pin--you text { font: 700 11px/1 var(--font-body); fill: #1f2e1b; }
.of-cor-scale path { fill: none; stroke: rgba(255,255,255,0.55); stroke-width: 1.2; }
.of-cor-scale text { font: 600 8.5px/1 var(--font-body); fill: rgba(255,255,255,0.7); letter-spacing: 0.04em; }
.of-slide.is-active .of-cor-line { animation: of-march 1.6s linear infinite; }
.of-slide.is-active .of-cor-pin--you { animation: of-bob 2.4s ease-in-out infinite; transform-box: fill-box; }
@keyframes of-march { to { stroke-dashoffset: -22; } }
@keyframes of-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -3px; } }
.of-cor-tag {
  position: absolute; right: 8px; bottom: 8px; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.04em;
  color: #1c2616; background: #d4a855; border-radius: 999px; padding: 0.22rem 0.55rem;
}

/* Banner: brand / headline / chips beside the CTA */
.of-ad.is-bar .of-slide--self .of-body { grid-template-areas: "brand cta" "head cta" "chips cta"; }
.of-ad.is-bar .of-slide--self .of-brand { font-size: 0.9rem; }
.of-ad.is-bar .of-slide--self .of-head { font-size: 0.86rem; }
.of-ad.is-bar .of-slide--self .of-chips { grid-area: chips; margin-top: 0.25rem; flex-wrap: nowrap; }
.of-ad.is-bar .of-slide--self .of-chips span { font-size: 0.58rem; padding: 0.12rem 0.4rem; }
.of-ad.is-bar .of-slide--self .of-chip-extra { display: none; }
.of-ad.is-bar .of-slide--self .of-cta { padding: 0.65rem 0.9rem; }

/* Rail */
.of-ad.is-rail .of-corridor { display: block; margin: 0 0 0.9rem; }
.of-ad.is-rail .of-slide--self .of-head { font-size: 1.12rem; }
.of-ad.is-rail .of-slide--self .of-head em { display: block; font-size: 1.3rem; margin-top: 0.1rem; }
.of-ad.is-rail .of-slide--self .of-fine { text-align: center; }
@media (max-height: 780px) { .of-ad.is-rail .of-corridor { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .of-slide.is-active .of-cor-line, .of-slide.is-active .of-cor-pin--you { animation: none; }
}

/* ── Trail Partners: free-trial steps + enquiry form ── */
.tp-steps { list-style: none; counter-reset: tp; margin: 1.4rem 0 1.6rem !important; display: grid; gap: 0.75rem; }
.tp-steps li {
  counter-increment: tp; position: relative; margin: 0; padding: 1rem 1.2rem 1rem 3.6rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
}
.tp-steps li::before {
  content: counter(tp); position: absolute; left: 1.1rem; top: 1rem; width: 1.8rem; height: 1.8rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--moss); color: #fff; font: 700 0.9rem/1 var(--font-body);
}
.tp-steps strong { display: block; color: var(--ink); font-size: 1rem; }
.tp-steps span { display: block; font-size: 0.92rem; color: var(--ink-soft); line-height: 1.6; }

.tp-form {
  background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--moss);
  border-radius: var(--radius); padding: 1.6rem; margin-top: 1.2rem; box-shadow: var(--shadow-sm);
}
.tp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
.tp-span { grid-column: 1 / -1; }
.tp-field label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--ink); margin-bottom: 0.35rem; }
.tp-field label span[aria-hidden] { color: var(--red-accent); }
.tp-opt { font-weight: 400; color: var(--ink-soft); }
.tp-field input, .tp-field select, .tp-field textarea, .tp-copy {
  width: 100%; font: inherit; font-size: 0.95rem; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 0.65rem 0.75rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.tp-field textarea, .tp-copy { resize: vertical; min-height: 6rem; }
.tp-field input:focus, .tp-field select:focus, .tp-field textarea:focus, .tp-copy:focus {
  outline: none; border-color: var(--moss); box-shadow: 0 0 0 3px rgba(61,92,53,0.15); background: var(--white);
}
.tp-form.was-validated :invalid { border-color: var(--red-accent); }
.tp-check { display: flex; gap: 0.6rem; align-items: flex-start; margin: 1.2rem 0 0; font-size: 0.88rem; color: var(--ink-soft); line-height: 1.55; cursor: pointer; }
.tp-check input { margin-top: 0.25rem; width: 1.05rem; height: 1.05rem; accent-color: var(--moss); flex: none; }
.tp-form.was-validated .tp-check input:invalid + span { color: var(--red-accent); }
.tp-error { margin: 0.9rem 0 0 !important; font-size: 0.88rem; font-weight: 600; color: var(--red-accent) !important; }
.tp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.2rem; margin-top: 1.2rem; }
.tp-actions .btn { border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.tp-note { font-size: 0.82rem; color: var(--ink-soft); }
.tp-done { margin-top: 1.2rem; padding: 1rem 1.1rem; background: #eef4ea; border: 1px solid var(--moss-light); border-radius: var(--radius); }
.tp-done:focus { outline: none; }
.tp-done p { font-size: 0.92rem; margin-bottom: 0.8rem; }
.tp-copy { font-size: 0.82rem; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; margin-bottom: 0.7rem; }
.tp-done .btn { cursor: pointer; font: inherit; font-weight: 600; background: transparent; }
.tp-privacy { margin: 1rem 0 0 !important; font-size: 0.78rem; color: var(--ink-soft); }
@media (max-width: 640px) {
  .tp-grid { grid-template-columns: 1fr; }
  .tp-form { padding: 1.2rem; }
}

/* ═══════════════════════════════════════════════════════════════
   HOMEPAGE HUB — "Choose your Way" hero (index.njk)
═══════════════════════════════════════════════════════════════ */
.hero-hub {
  min-height: auto !important; align-items: flex-start !important;
  background:
    linear-gradient(170deg, rgba(14,20,14,0.9) 0%, rgba(16,22,16,0.8) 45%, rgba(14,20,14,0.94) 100%),
    url('/assets/img/photo-1.webp') center/cover no-repeat !important;
}
/* Smaller hero photo on phones/tablets (FW-61: it's the mobile LCP, and sits under a ~90%
   overlay so the lighter file isn't visible). Matches the preload media queries in index.njk. */
@media (max-width: 700px) {
  .hero-hub {
    background:
      linear-gradient(170deg, rgba(14,20,14,0.9) 0%, rgba(16,22,16,0.8) 45%, rgba(14,20,14,0.94) 100%),
      url('/assets/img/photo-1-640.webp') center/cover no-repeat !important;
  }
}
@media (min-width: 701px) and (max-width: 1100px) {
  .hero-hub {
    background:
      linear-gradient(170deg, rgba(14,20,14,0.9) 0%, rgba(16,22,16,0.8) 45%, rgba(14,20,14,0.94) 100%),
      url('/assets/img/photo-1-1024.webp') center/cover no-repeat !important;
  }
}
.hero-hub-inner { width: 100%; padding-top: 4.25rem; padding-bottom: 4rem; }
.hero-hub h1 { margin: 0 0 1rem; color: #fff; font-family: var(--font-display); }
.hero-hub .h1-motto { display: block; font-size: clamp(3rem, 7vw, 5.4rem); font-weight: 300; line-height: 1.02; letter-spacing: -0.01em; }
.hero-hub .h1-motto strong { font-weight: 700; color: var(--gold-light); }
.hero-hub .h1-sub {
  display: block; max-width: 14.9em; /* = 34ch of Cormorant italic; em so the font swap can't change the wrap (FW-61) */ margin-top: 0.7rem; font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 400; font-style: italic; line-height: 1.3; color: #d4c99a;
}
.hero-hub-lead { max-width: 60ch; color: rgba(255,255,255,0.78); font-size: 1.02rem; margin-bottom: 0.5rem; }
.hero-hub .way-grid { margin-top: 1.75rem; }
.hero-hub .way-card { box-shadow: 0 18px 40px rgba(0,0,0,0.35); }
.hero-hub .way-card--teaser {
  background: rgba(255,255,255,0.07); border: 1px dashed rgba(255,255,255,0.28); box-shadow: none;
  backdrop-filter: blur(6px); color: #fff;
}
.hero-hub .way-card--teaser::before { opacity: 0.6; }
.hero-hub .way-card--teaser:hover { transform: none; box-shadow: none; }
.hero-hub .way-card--teaser .way-name, .hero-hub .way-card--teaser .way-end { color: #fff; }
.hero-hub .way-card--teaser .way-summary { color: rgba(255,255,255,0.72); }
.hero-hub .way-card--teaser .way-badge { background: rgba(212,168,85,0.18); border-color: rgba(212,168,85,0.5); color: var(--gold-light); }
.hero-hub .way-card--teaser .way-kicker { color: var(--gold-light); }
.hero-hub .way-card--teaser .way-track { --way-accent: var(--gold-light); }
.way-cta--muted { color: rgba(255,255,255,0.5) !important; font-weight: 500 !important; }
.hero-hub-compare { margin-top: 1.4rem; color: rgba(255,255,255,0.7); font-size: 0.95rem; }
.hero-hub-compare a { color: var(--gold-light); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
#hero.hero-hub { scroll-margin-top: var(--header-h); }

/* Tarn buttons + eyebrow for the original Furness Way */
.btn-tarn { background: var(--tarn); color: #fff; }
.btn-tarn:hover { background: var(--tarn-light); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline-tarn { background: transparent; color: var(--tarn); border: 1.5px solid var(--tarn); }
.btn-outline-tarn:hover { background: var(--tarn); color: #fff; }
.eyebrow--tarn { color: var(--tarn-light); }
.cta-buttons--left { justify-content: flex-start; margin-top: 1.6rem; }

/* Homepage original-Furness-Way section: compact six-stage row */
#original-furness-way { background: #eef2f4; }
.ofw-mini { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.6rem; }
.ofw-mini a {
  display: flex; flex-direction: column; gap: 0.2rem; height: 100%; padding: 0.9rem 1rem; text-decoration: none;
  background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--tarn-light); border-radius: var(--radius);
  transition: box-shadow 0.2s, transform 0.2s;
}
.ofw-mini a:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.ofw-mini b { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; color: var(--tarn); }
.ofw-mini-name { font-size: 0.85rem; font-weight: 600; color: var(--ink); line-height: 1.35; }
.ofw-mini-dist { font-size: 0.75rem; color: var(--ink-soft); }

@media (max-width: 960px) { .ofw-mini { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) {
  .hero-hub-inner { padding-top: 2.75rem; padding-bottom: 3rem; }
  .ofw-mini { grid-template-columns: repeat(2, 1fr); }
  .hero-hub .way-card--teaser .way-summary { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   CUMBRIA WAY — gold accent (routes.json accent "gold")
═══════════════════════════════════════════════════════════════ */
.subhero--gold {
  background:
    radial-gradient(ellipse at 85% 120%, rgba(212,168,85,0.35) 0%, transparent 60%),
    linear-gradient(160deg, #2a2417 0%, #4a3a1c 55%, #1f1a10 100%);
}
.topbar--gold .topbar-cta:hover { background: var(--gold-light); }
@media (max-width: 800px) { .topbar--gold .topbar-route { color: var(--gold-light); } }
.stage-strip--gold a:hover { border-color: var(--gold-light); }
.stage-strip--gold a[aria-current="page"] { background: var(--gold); border-color: var(--gold); }
.stage-strip--gold .stage-strip-all { color: var(--gold); }
.stage-list--gold .stage-item:hover .stage-num { background: var(--gold); border-right-color: var(--gold); }
.stage-list--gold .stage-item:hover .stage-arrow { color: var(--gold); }
.stage-nav--gold .dir { color: var(--gold); }
.way-stops--gold .way-stop { border-left-color: var(--gold-light); }
.eyebrow--gold { color: var(--gold); }
.guide-tag--gold { color: var(--gold); }
.btn-outline-gold { background: transparent; color: var(--gold); border: 1.5px solid var(--gold); }
.btn-outline-gold:hover { background: var(--gold); color: #fff; }
#cumbria-way { background: #f6f1e6; }
.ofw-mini--gold a { border-top-color: var(--gold-light); }
.ofw-mini--gold b { color: var(--gold); }
.ofw-mini--5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 960px) { .ofw-mini--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .ofw-mini--5 { grid-template-columns: repeat(2, 1fr); } }

/* Cumbria Way hub: long-form guide article */
.cw-article { padding: 2.4rem 0; border-top: 1px solid var(--line); margin-top: 1rem; scroll-margin-top: calc(var(--header-h) + 16px); }
.cw-article-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 0.3rem 0 0.5rem; scroll-margin-top: calc(var(--header-h) + 16px); }
.cw-article-meta { font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 1.4rem; }
.cw-article-meta a { color: inherit; }
.cw-article-lede { font-size: 1.1rem; color: var(--ink); border-left: 3px solid var(--gold-light); padding-left: 1rem; }
.cw-article h3 { scroll-margin-top: calc(var(--header-h) + 16px); }

/* "GPX coming soon" panel (routes without GPX yet) */
.gpx-soon {
  background: var(--cream); border: 1px dashed var(--gold-light); border-radius: var(--radius);
  padding: 1.2rem 1.4rem; margin: 1.2rem 0 1.6rem;
}
.gpx-soon-k { display: inline-block; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.35rem; }
.gpx-soon p { font-size: 0.95rem; margin: 0; }
.gpx-soon-towns { list-style: none; display: flex; flex-wrap: wrap; gap: 0.3rem 0; margin: 0.9rem 0 0 !important; padding: 0; }
.gpx-soon-towns li { margin: 0; font-size: 0.82rem; font-weight: 600; color: var(--ink); }
.gpx-soon-towns li + li::before { content: "→"; margin: 0 0.5rem; color: var(--gold); font-weight: 400; }

/* ── Cumbria Way topic pages: GPX table, itineraries, accommodation ── */
.pill--link { text-decoration: none; color: #fff; }
.pill--link:hover { background: rgba(255,255,255,0.22); }
.gpx-table th[scope="row"] { font-weight: 600; color: var(--ink); white-space: nowrap; padding: 0.8rem 1.1rem; border-bottom: 1px solid var(--line); text-align: left; }
.gpx-note { display: block; font-size: 0.72rem; font-weight: 400; color: var(--gold); }
.gpx-table td small, .itin-table td small { color: var(--ink-soft); }
.gpx-dl { white-space: nowrap; }
.gpx-btn {
  display: inline-flex; align-items: baseline; gap: 0.3rem; margin: 0.15rem 0.3rem 0.15rem 0; padding: 0.35rem 0.7rem;
  font-size: 0.78rem; font-weight: 600; color: #fff; background: var(--gold); border-radius: var(--radius); text-decoration: none;
}
.gpx-btn small { font-weight: 400; opacity: 0.85; }
.gpx-btn:hover { background: var(--gold-light); }
.gpx-btn--ghost { background: transparent; color: var(--gold); border: 1px solid var(--gold); }
.gpx-btn--ghost:hover { background: var(--gold); color: #fff; }
.itin + .itin { border-top: 1px solid var(--line); }
.itin-rest td { background: #f6f1e6 !important; color: var(--ink-soft); font-style: italic; }
.variant-card--gold { border-top-color: var(--gold-light); }
.town-jump { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 1.2rem; }
.town-jump a {
  font-size: 0.78rem; padding: 0.3rem 0.7rem; border-radius: 2rem; text-decoration: none; color: var(--ink-soft);
  background: var(--white); border: 1px solid var(--line);
}
.town-jump a:hover { border-color: var(--gold); color: var(--ink); }
.town-head h3 { margin: 0; font-size: 1.35rem; }
.town-types { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0.4rem 0 0.6rem !important; }
.town-types span { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.04em; color: var(--gold); background: #f6f1e6; border: 1px solid rgba(176,125,46,0.3); border-radius: 2rem; padding: 0.15rem 0.6rem; }
.town-empty { font-size: 0.86rem; }
.route-cross {
  margin: 1.6rem 0; padding: 1rem 1.2rem; background: #f6f1e6; border: 1px solid rgba(176,125,46,0.35);
  border-left: 4px solid var(--gold); border-radius: var(--radius);
}
.route-cross-k { display: block; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.3rem; }
.route-cross p { margin: 0; font-size: 0.94rem; }
@media (max-width: 640px) { .gpx-dl { white-space: normal; } }

/* Phones: GPX and itinerary tables become stacked cards so the download links stay visible */
@media (max-width: 640px) {
  .gpx-table, .itin-table { min-width: 0; }
  .gpx-table thead, .itin-table thead { display: none; }
  .gpx-table, .gpx-table tbody, .gpx-table tr, .itin-table, .itin-table tbody, .itin-table tr { display: block; width: 100%; }
  .gpx-table tr, .itin-table tr { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.7rem 0.9rem; margin-bottom: 0.6rem; }
  .gpx-table tr.row-highlight, .itin-table tr.row-highlight { border-color: var(--moss-light); background: #eef4ea; }
  .gpx-table th, .gpx-table td, .itin-table td { display: inline-block; border: 0 !important; padding: 0.1rem 0.9rem 0.1rem 0 !important; background: none !important; }
  .gpx-table th[scope=row], .gpx-table td:nth-child(2) { display: block; }
  .gpx-table td.gpx-dl { display: block; margin-top: 0.35rem; }
  .itin-table td:first-child::before { content: 'Day '; }
  .itin-table td:nth-child(2) { font-weight: 600; color: var(--ink); }
  .itin-table td:last-child { display: block; }
  .itin-table .itin-rest td { display: block; }
  .itin-table .itin-rest td:first-child { display: inline-block; }
}

/* ═══════════════════════════════════════════════════════════════
   ROUTE MAP + PRINTABLE ROUTE CARD (FW-63, /route-map/)
═══════════════════════════════════════════════════════════════ */
.route-map-figure { margin: 1.5rem auto 0; max-width: 460px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.75rem; }
.route-map-figure figcaption { font-size: 0.8rem; color: var(--ink-soft); text-align: center; margin-top: 0.4rem; }
.route-svg { display: block; width: 100%; height: auto; }
.route-svg .rm-track { fill: none; stroke-width: 3.2; stroke-linejoin: round; stroke-linecap: round; }
.route-svg .rm-track--odd { stroke: var(--moss); }
.route-svg .rm-track--even { stroke: var(--tarn); }
.route-svg .rm-track--alt { stroke: var(--gold); stroke-width: 2.2; stroke-dasharray: 5 4; }
.route-svg .rm-num circle { fill: var(--ink); }
.route-svg .rm-num text { fill: #fff; font: 700 10px var(--font-body); text-anchor: middle; }
.route-svg .rm-town circle { fill: #fff; stroke: var(--ink); stroke-width: 1.6; }
.route-svg .rm-town text { fill: var(--ink); font: 600 10.5px var(--font-body); paint-order: stroke; stroke: var(--surface-2); stroke-width: 3px; }
.route-svg .rm-north path { fill: var(--ink-soft); }
.route-svg .rm-north text { fill: var(--ink-soft); font: 700 9px var(--font-body); }
.route-card-table td small { color: var(--ink-soft); }
.print-only { display: none; }

@media print {
  @page { size: A4; margin: 14mm 12mm; }
  .route-map-page ~ *, .site-header, footer, .fw-consent, .of-ad, .print-hide, .breadcrumbs, .subhero-pills { display: none !important; }
  .route-map-page .subhero { background: none !important; color: var(--ink) !important; padding: 0 !important; margin: 0 !important; min-height: 0 !important; }
  .route-map-page .subhero h1, .route-map-page .subhero .eyebrow { color: var(--ink) !important; }
  .route-map-page .subhero h1 { font-size: 22pt; margin: 0 0 6pt; }
  .route-map-page .content { padding: 0 !important; }
  .route-map-page .bluf { border: 0; padding: 0; background: none; font-size: 10pt; }
  .route-map-page h2 { font-size: 15pt; margin: 10pt 0 4pt; }
  .route-map-page #overview-map { break-after: page; }
  .route-map-figure { max-width: 100mm; background: none; padding: 0; border: 0; break-inside: avoid; }
  .route-map-page .bluf { margin-bottom: 4pt; }
  .route-map-page section { padding-top: 0 !important; padding-bottom: 0 !important; margin: 0 !important; border: 0 !important; }
  .route-card-table { font-size: 9.5pt; }
  .route-card-table th, .route-card-table td { padding: 4pt 6pt !important; line-height: 1.3 !important; }
  .route-map-page .content p { font-size: 9.5pt !important; line-height: 1.45 !important; margin-bottom: 5pt !important; }
  .route-card-table a { color: inherit; text-decoration: none; }
  .route-map-page section, .route-map-page p { font-size: 10pt; }
  .print-only { display: block; font-size: 8.5pt; color: var(--ink-soft); margin-top: 12pt; }
  .table-wrap { overflow: visible; margin-top: 6pt; }
}
