@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500;1,600&display=swap');

:root {
  color-scheme: dark;
  --ink: #111514;
  --ink-soft: #19201e;
  --cream: #f3efe5;
  --cream-white: #fffdf6;
  --sand: #d9d0bd;
  --gold: #dda744;
  --gold-bright: #ffc14e;
  --teal: #55c9b6;
  --coral: #ff765e;
  --lilac: #ab9be7;
  --line-dark: rgba(255, 255, 255, .14);
  --line-light: rgba(24, 29, 27, .15);
  --sans: 'DM Sans', Arial, sans-serif;
  --serif: 'Playfair Display', Georgia, serif;
  --mono: 'DM Mono', 'Courier New', monospace;
  font-family: var(--sans);
  background: var(--ink);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--cream); background: var(--ink); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: var(--gold); color: var(--ink); }

.site-header {
  height: 82px; padding: 0 clamp(20px, 5.4vw, 84px); display: flex; align-items: center; justify-content: space-between; gap: 28px;
  background: rgba(17, 21, 20, .97); border-bottom: 1px solid var(--line-dark); position: relative; z-index: 20;
}
.brand { width: 152px; flex: 0 0 auto; }
.brand img { width: 100%; height: auto; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 3.3vw, 52px); margin-left: auto; margin-right: 30px; }
.main-nav a, .hub-link { font-size: 11px; text-transform: uppercase; letter-spacing: .13em; color: #d4d0c6; transition: color .2s ease; }
.main-nav a:hover, .hub-link:hover { color: var(--gold-bright); }
.hub-link { padding: 11px 14px; border: 1px solid var(--line-dark); border-radius: 3px; white-space: nowrap; }
.hub-link span { color: var(--gold); margin-left: 5px; }

.hero { min-height: 690px; position: relative; overflow: hidden; background: radial-gradient(ellipse at 75% 45%, #293d39 0%, #1b2421 30%, #111514 66%); }
.hero::before { content: ''; position: absolute; inset: 0; opacity: .21; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 66px 66px; mask-image: linear-gradient(90deg, transparent 10%, #000 100%); }
.hero::after { content: ''; position: absolute; width: 660px; height: 660px; border: 1px solid rgba(221,167,68,.18); border-radius: 50%; right: -125px; top: 16px; box-shadow: 0 0 0 42px rgba(221,167,68,.035), 0 0 0 98px rgba(221,167,68,.025); pointer-events: none; }
.hero-inner { max-width: 1500px; min-height: 640px; margin: 0 auto; padding: 76px clamp(24px, 7vw, 116px) 64px; display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: clamp(42px, 7vw, 110px); position: relative; z-index: 1; }
.hero-copy { max-width: 580px; position: relative; z-index: 2; }
.eyebrow { margin: 0 0 21px; color: var(--gold-bright); font: 500 10px/1.4 var(--mono); letter-spacing: .2em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.eyebrow-dark { color: #87662e; }
.eyebrow-mark { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(221,167,68,.14); display: inline-block; }
.hero h1 { margin: 0; max-width: 650px; font: 500 clamp(52px, 6.6vw, 96px)/.99 var(--serif); letter-spacing: -.045em; }
.hero h1 em, .about-copy h2 em { color: var(--gold-bright); font-weight: 500; }
.hero-intro { max-width: 440px; margin: 27px 0 0; color: #c4c7bf; font-size: 15px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 32px; }
.button { min-height: 48px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; border-radius: 2px; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-gold { color: #171713; background: var(--gold-bright); font-weight: 700; }
.button-gold:hover { background: #ffd078; }
.text-link { color: #e1ddd2; font-size: 12px; letter-spacing: .04em; }
.text-link span { color: var(--gold); margin-left: 6px; }
.hero-meta { display: flex; align-items: center; gap: 22px; margin-top: 48px; padding-top: 21px; border-top: 1px solid var(--line-dark); max-width: 480px; }
.hero-meta div { display: grid; gap: 6px; }
.hero-meta strong { font: 500 12px/1.2 var(--mono); color: #eee6d6; letter-spacing: .02em; }
.hero-meta span { color: #929c95; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.hero-meta i { height: 28px; width: 1px; background: var(--line-dark); }
.hero-photo { width: 100%; max-width: 510px; margin: 0; position: relative; justify-self: end; transform: rotate(1deg); }
.hero-photo::before { content: ''; position: absolute; inset: 20px -18px -18px 18px; border: 1px solid rgba(221,167,68,.52); z-index: -1; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; filter: saturate(.91) contrast(1.06); border: 7px solid rgba(238,226,200,.12); box-shadow: 0 28px 70px rgba(0,0,0,.4); }
.hero-photo figcaption { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 13px 3px 0; color: #d1c9b7; font: 400 9px/1.3 var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.hero-photo figcaption span:first-child { color: var(--gold-bright); }
.photo-index { position: absolute; top: -17px; right: 5px; color: #b7a780; font: 10px var(--mono); letter-spacing: .15em; }
.hero-coordinate { position: absolute; right: 8%; bottom: 32px; color: rgba(238,231,215,.38); font: 9px var(--mono); letter-spacing: .2em; transform: rotate(-90deg); transform-origin: right center; }
.hero-bottomline { position: absolute; z-index: 2; inset: auto clamp(24px, 7vw, 116px) 20px; display: flex; justify-content: space-between; color: #838e87; font: 9px var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.hero-bottomline b { color: var(--gold-bright); font-size: 13px; margin-left: 8px; }

.section-pad { padding: 98px clamp(22px, 6.6vw, 104px); }
.atlas-section { background: var(--cream); color: #1d2421; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 42px; max-width: 1300px; margin: 0 auto 36px; }
.section-heading h2, .about-copy h2 { margin: 0; font: 500 clamp(35px, 4.3vw, 59px)/1.06 var(--serif); letter-spacing: -.04em; }
.section-intro { max-width: 370px; margin: 0 0 3px; color: #66706b; font-size: 13px; line-height: 1.75; }
.route-filters { display: flex; gap: 8px; flex-wrap: wrap; max-width: 1300px; margin: 0 auto 14px; }
.filter-button { min-height: 36px; padding: 0 13px; border: 1px solid rgba(31,39,36,.22); border-radius: 2px; background: transparent; color: #4b5650; cursor: pointer; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; transition: .2s ease; }
.filter-button:hover { border-color: #9b712d; color: #231f17; }
.filter-button[aria-pressed="true"] { background: #202724; color: #fff6e5; border-color: #202724; box-shadow: 0 4px 12px rgba(22,30,26,.12); }
.filter-button .filter-dot { width: 7px; height: 7px; display: inline-block; margin-right: 8px; border-radius: 50%; background: var(--dot-color, #dca94c); vertical-align: 1px; }
.map-layout { display: grid; grid-template-columns: minmax(0, 1fr) 322px; gap: 12px; max-width: 1300px; margin: 0 auto; background: #e4dfd3; padding: 8px; box-shadow: 0 18px 55px rgba(28,35,31,.13); }
.map-frame { min-width: 0; min-height: 590px; position: relative; background: #d9ddda; overflow: hidden; }
.ride-map { width: 100%; height: 590px; min-height: 590px; background: #e6e5d9; z-index: 1; }
.map-topline { position: absolute; z-index: 500; top: 15px; left: 15px; display: flex; align-items: center; gap: 9px; padding: 9px 11px; background: rgba(23,29,26,.91); color: #fff5df; font: 9px var(--mono); letter-spacing: .16em; box-shadow: 0 4px 18px rgba(0,0,0,.18); }
.map-live-dot { width: 7px; height: 7px; display: block; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(85,201,182,.2); }
.map-key { position: absolute; z-index: 500; left: 15px; bottom: 16px; display: flex; gap: 14px; padding: 9px 11px; color: #f9f4e8; background: rgba(23,29,26,.91); font: 9px var(--mono); letter-spacing: .04em; }
.map-key span { display: flex; align-items: center; gap: 7px; }
.key-pin { width: 8px; height: 8px; display: inline-block; border: 2px solid #f4bb55; border-radius: 50%; box-shadow: 0 0 0 2px rgba(244,187,85,.22); }
.key-photo { width: 12px; height: 12px; display: inline-block; border: 2px solid #61d5c1; border-radius: 50%; box-shadow: 0 0 0 2px rgba(97,213,193,.22); }
.map-loading { position: absolute; inset: 0; z-index: 490; display: grid; place-items: center; background: #e2e4db; color: #44504a; font: 11px var(--mono); letter-spacing: .08em; transition: opacity .3s; pointer-events: none; }
.map-loading.is-ready { opacity: 0; }
.route-panel { background: #f9f6ee; color: #202622; padding: 25px 22px 18px; min-height: 590px; display: flex; flex-direction: column; }
.panel-kicker { margin: 0 0 12px; color: #8c6c32; font: 500 9px var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.route-panel h3 { margin: 0; font: 500 28px/1.07 var(--serif); letter-spacing: -.035em; }
.panel-year { color: #bc8b3b; font: 10px var(--mono); letter-spacing: .15em; text-transform: uppercase; margin-bottom: 10px; }
.panel-copy { margin: 12px 0 17px; color: #606b64; font-size: 12px; line-height: 1.65; }
.panel-stop-label { padding-top: 14px; border-top: 1px solid rgba(27,34,30,.14); margin: 0 0 10px; color: #8c6c32; font: 500 9px var(--mono); letter-spacing: .15em; text-transform: uppercase; }
.stop-list { display: flex; flex-wrap: wrap; gap: 6px; align-content: start; overflow-y: auto; max-height: 215px; padding-right: 3px; }
.stop-chip { appearance: none; border: 1px solid rgba(30,38,34,.17); background: transparent; color: #435048; padding: 6px 8px; border-radius: 2px; font-size: 9px; line-height: 1.2; cursor: pointer; transition: .15s; }
.stop-chip:hover, .stop-chip[aria-current="true"] { background: #25312b; color: #fff4dc; border-color: #25312b; }
.panel-bottom { margin-top: auto; padding-top: 17px; display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid rgba(27,34,30,.14); color: #77817b; font: 9px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.panel-bottom button { border: 0; background: none; color: #8d6726; padding: 5px 0; cursor: pointer; font: inherit; text-transform: inherit; letter-spacing: inherit; }
.panel-bottom button:hover { color: #312716; }
.all-routes-list { display: grid; gap: 8px; margin-top: 7px; }
.all-route-button { padding: 10px 11px; display: grid; grid-template-columns: 11px 1fr auto; gap: 9px; align-items: center; border: 1px solid rgba(30,38,34,.13); background: transparent; color: #27312b; text-align: left; cursor: pointer; transition: .15s; }
.all-route-button:hover { background: #f0eadc; border-color: #c7aa70; }
.all-route-button i { width: 8px; height: 8px; border-radius: 50%; background: var(--route-color); }
.all-route-button strong { font-size: 10px; font-weight: 600; }
.all-route-button span { color: #8a8c82; font: 9px var(--mono); }
.map-note { max-width: 1300px; margin: 15px auto 0; color: #7d8178; font-size: 10px; line-height: 1.6; }
.map-note span { color: #ac7e34; margin-right: 7px; }

.journeys-section { background: #151a18; color: #f5f0e5; position: relative; overflow: hidden; }
.journeys-section::after { content: ''; position: absolute; width: 600px; height: 600px; right: -210px; bottom: -260px; border: 1px solid rgba(221,167,68,.14); border-radius: 50%; box-shadow: 0 0 0 55px rgba(221,167,68,.035),0 0 0 110px rgba(221,167,68,.02); }
.journeys-heading { position: relative; z-index: 1; }
.journeys-heading .section-intro { color: #a8b0a8; }
.journey-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; max-width: 1300px; margin: 0 auto; position: relative; z-index: 1; }
.journey-card { min-height: 235px; padding: 18px 17px 15px; position: relative; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; border: 1px solid rgba(255,255,255,.14); background: linear-gradient(150deg,rgba(255,255,255,.055),rgba(255,255,255,.012)); color: #f4eedf; transition: transform .25s,border-color .25s; }
.journey-card:hover { transform: translateY(-5px); border-color: rgba(255,193,78,.58); }
.journey-card::before { content: ''; position: absolute; width: 150px; height: 150px; border: 1px solid color-mix(in srgb, var(--route-color) 62%, transparent); border-radius: 50%; right: -57px; top: 37px; box-shadow: 0 0 0 17px color-mix(in srgb, var(--route-color) 8%, transparent),0 0 0 37px color-mix(in srgb, var(--route-color) 5%, transparent); }
.journey-card::after { content: ''; position: absolute; height: 1px; width: 180px; right: -28px; top: 112px; background: color-mix(in srgb, var(--route-color) 65%, transparent); transform: rotate(-33deg); }
.journey-card-top, .journey-card-bottom { position: relative; z-index: 1; }
.journey-year { color: var(--route-color); font: 500 10px var(--mono); letter-spacing: .16em; }
.journey-region { display: block; margin-top: 7px; color: #939e95; font: 9px var(--mono); text-transform: uppercase; letter-spacing: .12em; }
.journey-card h3 { max-width: 170px; margin: 0 0 8px; font: 500 22px/1.05 var(--serif); letter-spacing: -.025em; }
.journey-card p { max-width: 190px; margin: 0; color: #aeb4aa; font-size: 10px; line-height: 1.55; }
.journey-open { display: inline-flex; align-items: center; gap: 8px; margin-top: 17px; color: var(--route-color); font: 500 9px var(--mono); text-transform: uppercase; letter-spacing: .12em; }
.journey-card button { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: transparent; cursor: pointer; z-index: 2; }

.archive-section { background: var(--cream); color: #202622; }
.archive-heading .section-intro { color: #66706b; }
.photo-grid { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: 1.15fr .85fr .85fr; grid-template-rows: 370px; gap: 12px; }
.photo-card { position: relative; border: 0; padding: 0; overflow: hidden; min-width: 0; background: #303a34; color: #fff; cursor: pointer; text-align: left; isolation: isolate; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.2,1),filter .4s; filter: saturate(.82); }
.photo-card:hover img { transform: scale(1.045); filter: saturate(1); }
.photo-card:first-child img { object-position: center; }
.photo-card:nth-child(2) img { object-position: center; }
.photo-card:nth-child(3) img { object-position: center; }
.photo-card-shade { position: absolute; inset: 0; background: linear-gradient(0deg,rgba(7,12,10,.82),transparent 64%); z-index: 1; }
.photo-card-copy { position: absolute; z-index: 2; left: 19px; right: 19px; bottom: 19px; display: grid; gap: 7px; }
.photo-card-copy small { color: #f2c36d; font: 500 9px var(--mono); letter-spacing: .15em; text-transform: uppercase; }
.photo-card-copy strong { font: 500 27px/1 var(--serif); }
.photo-card-copy span { color: rgba(255,255,255,.77); font: 9px var(--mono); letter-spacing: .06em; }
.archive-footnote { max-width: 1300px; margin: 17px auto 0; padding: 15px 17px; border: 1px solid rgba(27,34,30,.15); display: flex; align-items: center; gap: 13px; color: #66706b; font-size: 11px; }
.archive-footnote strong { color: #313a35; font-weight: 700; }
.archive-footnote-mark { color: #a7792b; font: 24px var(--serif); }

.about-section { min-height: 460px; display: grid; grid-template-columns: 145px 1fr 180px; align-items: center; gap: clamp(24px, 5vw, 75px); background: #111514; color: #f4efe4; }
.about-stamp { width: 132px; height: 132px; position: relative; display: flex; align-items: center; justify-content: center; flex-direction: column; border: 1px solid rgba(221,167,68,.72); border-radius: 50%; color: var(--gold-bright); font: 500 17px/.95 var(--serif); letter-spacing: .12em; box-shadow: 0 0 0 8px rgba(221,167,68,.05), inset 0 0 30px rgba(221,167,68,.07); transform: rotate(-10deg); }
.about-stamp::before,.about-stamp::after { content: ''; position: absolute; width: 7px; height: 7px; border: 1px solid var(--gold); border-radius: 50%; top: 50%; transform: translateY(-50%); }
.about-stamp::before { left: 16px; }.about-stamp::after { right: 16px; }
.about-stamp i { position: absolute; bottom: 19px; font: normal 13px var(--serif); }
.about-copy { max-width: 700px; }
.about-copy h2 { font-size: clamp(35px,4.1vw,58px); }
.about-copy h2 em { color: var(--gold-bright); }
.about-copy > p:not(.eyebrow) { max-width: 530px; margin: 20px 0 22px; color: #b3bbb2; font-size: 13px; line-height: 1.8; }
.social-links { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.social-links a { padding: 10px 12px; border: 1px solid var(--line-dark); color: #eee6d6; font: 9px var(--mono); letter-spacing: .11em; text-transform: uppercase; transition: .2s; }
.social-links a:hover { border-color: var(--gold); color: var(--gold-bright); }
.social-links span { color: var(--gold); margin-left: 12px; }
.about-aside { align-self: center; padding-left: 20px; border-left: 1px solid var(--line-dark); }
.aside-number { color: var(--gold); font: 10px var(--mono); letter-spacing: .15em; }
.about-aside p { color: #dcd5c7; font: 500 17px/1.45 var(--serif); }
.aside-rule { width: 28px; height: 1px; display: block; margin: 21px 0; background: var(--gold); }
.about-aside a { color: #aab2aa; font: 9px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.about-aside a:hover { color: var(--gold-bright); }
.site-footer { min-height: 66px; padding: 14px clamp(22px, 6.6vw, 104px); display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line-dark); color: #89928a; font: 9px var(--mono); letter-spacing: .09em; }
.footer-brand { color: #e3ddcf; font-weight: 500; letter-spacing: .13em; }
.footer-brand span { color: var(--gold); margin-left: 4px; }
.site-footer a:last-child:hover { color: var(--gold-bright); }

/* Leaflet additions */
.leaflet-container { font-family: var(--sans); }
.leaflet-control-layers { border: 0 !important; border-radius: 2px !important; box-shadow: 0 4px 18px rgba(0,0,0,.16) !important; color: #303b35 !important; }
.leaflet-control-layers-toggle { width: 34px !important; height: 34px !important; background-size: 17px 17px !important; }
.leaflet-control-zoom a { color: #27312b !important; }
.leaflet-popup-content-wrapper,.leaflet-popup-tip { background: #fcf8ef; color: #27312b; box-shadow: 0 10px 30px rgba(0,0,0,.22); }
.leaflet-popup-content-wrapper { border-radius: 3px; }
.leaflet-popup-content { width: 225px !important; margin: 11px 12px; }
.map-popup { overflow: hidden; }
.map-popup img { width: 100%; height: 115px; object-fit: cover; margin-bottom: 10px; }
.panel-photo { display: block; width: 100%; max-height: 150px; margin: 15px 0 16px; object-fit: cover; border: 1px solid rgba(33,43,37,.13); }
.map-popup-kicker { margin: 0 0 4px; color: #97722f; font: 500 8px var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.map-popup h4 { margin: 0; color: #1c2520; font: 500 19px/1.1 var(--serif); }
.map-popup p { margin: 6px 0 0; color: #69726a; font-size: 10px; line-height: 1.5; }
.aom-map-marker { display: block; width: 22px; height: 22px; position: relative; border: 0; background: transparent; }
.aom-map-marker::before { content: ''; position: absolute; inset: 0; border: 1px solid var(--marker-color); border-radius: 50%; opacity: .6; animation: markerPulse 2.8s ease-out infinite; }
.aom-map-marker::after { content: ''; position: absolute; inset: 6px; border: 2px solid #fff8e8; border-radius: 50%; background: var(--marker-color); box-shadow: 0 1px 8px rgba(0,0,0,.5); }
.aom-map-marker.has-photo::after { inset: 4px; border-width: 2px; }
.aom-map-marker.selected::before { animation-duration: 1.35s; inset: -3px; opacity: 1; }
.aom-map-marker.overview { width: 14px; height: 14px; }
.aom-map-marker.overview::before { inset: 0; opacity: .9; animation: none; background: rgba(17, 21, 19, .72); }
.aom-map-marker.overview::after { inset: 4px; border: 1px solid #fff8e8; box-shadow: 0 1px 7px rgba(0,0,0,.6); }
.leaflet-tooltip { padding: 5px 7px !important; border: 0 !important; border-radius: 2px !important; background: rgba(20,27,24,.92) !important; color: #f8f0df !important; font: 9px var(--mono) !important; box-shadow: none !important; }
.leaflet-tooltip::before { display: none !important; }
@keyframes markerPulse { 0% { transform: scale(.7); opacity: .9; } 75%,100% { transform: scale(1.65); opacity: 0; } }

@media (max-width: 1050px) {
  .hero-inner { grid-template-columns: 1fr .8fr; gap: 32px; padding-left: 5vw; padding-right: 5vw; }
  .hero h1 { font-size: clamp(48px, 7vw, 76px); }
  .map-layout { grid-template-columns: minmax(0,1fr) 290px; }
  .journey-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .journey-card { min-height: 210px; }
  .photo-grid { grid-template-rows: 310px; }
  .about-section { grid-template-columns: 120px 1fr 150px; }
  .about-stamp { width: 112px; height: 112px; }
}
@media (max-width: 760px) {
  .site-header { height: 72px; padding: 0 19px; gap: 12px; }
  .brand { width: 126px; }
  .main-nav { gap: 15px; margin: 0 0 0 auto; }
  .main-nav a { font-size: 8px; letter-spacing: .1em; }
  .main-nav a:nth-child(3) { display: none; }
  .hub-link { display: none; }
  .hero { min-height: 780px; }
  .hero-inner { min-height: 760px; padding: 54px 24px 86px; display: flex; flex-direction: column; align-items: stretch; gap: 38px; }
  .hero h1 { max-width: 570px; font-size: clamp(50px, 12.4vw, 75px); }
  .hero-intro { max-width: 430px; margin-top: 20px; font-size: 13px; }
  .hero-actions { margin-top: 24px; gap: 17px; }
  .hero-meta { margin-top: 31px; max-width: 420px; gap: 14px; }
  .hero-meta strong { font-size: 10px; }
  .hero-meta span { font-size: 8px; }
  .hero-photo { width: min(100%, 430px); max-width: none; align-self: center; margin-right: 12px; }
  .hero-photo img { aspect-ratio: 4 / 2.7; }
  .hero-coordinate { display: none; }
  .hero-bottomline { inset: auto 24px 17px; font-size: 8px; }
  .section-pad { padding: 70px 20px; }
  .section-heading { align-items: start; flex-direction: column; gap: 17px; margin-bottom: 26px; }
  .section-heading h2 { font-size: clamp(36px, 9vw, 52px); }
  .section-intro { max-width: 520px; font-size: 12px; }
  .map-layout { display: flex; flex-direction: column; gap: 8px; padding: 6px; }
  .map-frame { min-height: 460px; }
  .ride-map { height: 460px; min-height: 460px; }
  .route-panel { min-height: 350px; padding: 21px 18px 16px; }
  .stop-list { max-height: 135px; }
  .journey-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .journey-card { min-height: 205px; padding: 15px 14px; }
  .journey-card h3 { font-size: 20px; }
  .photo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: 270px 235px; }
  .photo-card-large { grid-column: 1 / -1; }
  .photo-card-copy { left: 14px; bottom: 14px; }
  .about-section { display: grid; grid-template-columns: 1fr; gap: 25px; }
  .about-stamp { width: 92px; height: 92px; font-size: 13px; }
  .about-stamp i { bottom: 12px; }
  .about-stamp::before { left: 10px; }.about-stamp::after { right: 10px; }
  .about-copy h2 { font-size: clamp(37px,9vw,54px); }
  .about-aside { padding: 0; border: 0; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
  .about-aside p { margin: 0; font-size: 14px; }
  .aside-rule { width: 22px; margin: 0; }
  .site-footer { flex-wrap: wrap; justify-content: space-between; padding: 18px 20px; font-size: 8px; }
  .site-footer > span { display: none; }
}
@media (max-width: 430px) {
  .brand { width: 110px; }
  .main-nav { gap: 12px; }
  .main-nav a { font-size: 7px; }
  .hero { min-height: 740px; }
  .hero-inner { min-height: 720px; padding-left: 20px; padding-right: 20px; gap: 31px; }
  .hero h1 { font-size: 49px; }
  .hero-photo { margin-right: 9px; }
  .hero-photo figcaption { font-size: 8px; }
  .hero-meta { gap: 11px; }
  .hero-meta strong { font-size: 9px; }
  .hero-meta div:last-child strong { font-size: 8px; }
  .hero-bottomline { font-size: 7px; letter-spacing: .1em; }
  .journey-grid { gap: 7px; }
  .journey-card { min-height: 190px; }
  .journey-card h3 { font-size: 18px; }
  .journey-card p { font-size: 9px; }
  .photo-grid { grid-template-rows: 230px 195px; gap: 7px; }
  .photo-card-copy strong { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* AoM graphite, brass, and road-light palette */
:root {
  --ink: #0d1012; --ink-soft: #151a1d; --cream: #e9e4da; --cream-white: #f4f0e7;
  --sand: #9c9587; --gold: #c59a4a; --gold-bright: #efc16b;
  --line-dark: rgba(240,232,213,.14); --line-light: rgba(240,232,213,.13);
}
body { color: #e9e4da; background: #0d1012; }
.site-header { background: rgba(13,16,18,.97); }
.hero { background: radial-gradient(ellipse at 76% 44%,#292b28 0%,#191b1d 32%,#0d1012 72%); }
.hero::after { border-color: rgba(239,193,107,.22); }
.hero-photo { transform: none; }
.hero-photo::before { inset: 18px -16px -16px 16px; border-color: rgba(239,193,107,.62); }
.bike-collage { height: clamp(330px,34vw,470px); display: grid; grid-template-columns: 1.08fr .92fr; grid-template-rows: 1fr 1fr; gap: 8px; padding: 8px; border: 1px solid rgba(239,193,107,.32); background: #181a1b; box-shadow: 0 28px 70px rgba(0,0,0,.42); }
.bike-collage-tile { position: relative; min-width: 0; min-height: 0; overflow: hidden; background: #232525; }
.bike-collage-tile img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; border: 0; box-shadow: none; filter: saturate(.9) contrast(1.05); transition: transform .55s ease,filter .4s ease; }
.bike-collage-tile:hover img { transform: scale(1.04); filter: saturate(1.08) contrast(1.07); }
.bike-first { grid-row: 1 / 3; }
.bike-first img { object-position: center; }
.bike-shadow img { object-position: center 17%; transform: scale(1.35); }
.bike-shadow img { height: 200%; object-position: center top; transform: none; }
.bike-shadow:hover img { transform: scale(1.03); transform-origin: center top; }
.bike-label { position: absolute; z-index: 1; left: 10px; right: 8px; bottom: 9px; width: fit-content; max-width: calc(100% - 16px); padding: 6px 8px; background: rgba(11,13,14,.82); color: #f2ebdd; font: 500 9px/1.2 var(--mono); letter-spacing: .09em; text-transform: uppercase; }
.bike-label small { color: var(--gold-bright); margin-right: 5px; }
.hero-photo figcaption { color: #bbb4a7; }
.photo-index { display: none; }
.eyebrow-dark { color: var(--gold-bright); }
.atlas-section,.archive-section,.films-section { color: #e9e4da; background: #131719; }
.atlas-section { background: linear-gradient(135deg,#15191b,#101315 70%); }
.archive-section { background: #171b1d; }
.films-section { background: linear-gradient(115deg,#111517,#1b1d1c 56%,#121618); }
.section-heading h2,.about-copy h2 { color: #f0ebdf; }
.section-intro,.archive-heading .section-intro { color: #a6aaa5; }
.filter-button { border-color: rgba(231,224,211,.2); color: #c2c4be; }
.filter-button:hover { border-color: var(--gold-bright); color: #fff4dc; }
.filter-button[aria-pressed="true"] { background: #c59a4a; color: #151515; border-color: #c59a4a; box-shadow: 0 4px 18px rgba(197,154,74,.18); }
.atlas-tools { max-width: 1300px; margin: 0 auto 12px; display: flex; align-items: center; justify-content: space-between; gap: 18px; color: #9da49f; font-size: 11px; }
.kml-button { min-height: 38px; display: inline-flex; align-items: center; gap: 13px; padding: 0 13px; border: 1px solid rgba(239,193,107,.52); border-radius: 2px; background: rgba(239,193,107,.06); color: #f0d08f; cursor: pointer; font: 500 9px var(--mono); letter-spacing: .08em; text-transform: uppercase; transition: .2s ease; }
.kml-button:hover { background: var(--gold-bright); color: #141516; }
.map-layout { background: #1d2223; padding: 7px; box-shadow: 0 18px 55px rgba(0,0,0,.28); }
.map-frame,.ride-map { background: #252a2b; }
.map-loading { background: #202526; color: #d2c6aa; }
.route-panel { background: #1a1f20; color: #e9e4da; border: 1px solid rgba(239,193,107,.16); }
.panel-kicker,.panel-stop-label { color: #d3ad63; }
.panel-copy { color: #afb4ae; }
.panel-stop-label,.panel-bottom { border-color: rgba(231,224,211,.14); }
.panel-bottom { color: #959d98; }
.panel-bottom button { color: #efc16b; }
.panel-bottom button:hover { color: #ffe5ac; }
.stop-chip { border-color: rgba(231,224,211,.2); color: #c9ccc5; }
.stop-chip:hover,.stop-chip[aria-current="true"] { background: #c59a4a; color: #171817; border-color: #c59a4a; }
.all-route-button { border-color: rgba(231,224,211,.15); color: #e9e4da; }
.all-route-button:hover { background: rgba(239,193,107,.1); border-color: rgba(239,193,107,.56); }
.all-route-button span { color: #a5aaa4; }
.map-note { color: #9da39e; }
.map-note span { color: var(--gold-bright); }
.journeys-section { background: #101416; }
.journeys-section::after { border-color: rgba(239,193,107,.16); }
.journey-card { background: linear-gradient(145deg,rgba(255,255,255,.06),rgba(255,255,255,.015)); }
.journey-card p { color: #b8bcb5; }
.photo-grid { grid-template-rows: repeat(2,minmax(235px,285px)); gap: 10px; }
.photo-card { border: 1px solid rgba(239,193,107,.16); background: #25292a; }
.photo-card:focus-visible,.lightbox-arrow:focus-visible,.lightbox-close:focus-visible,.kml-button:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }
.photo-card img { filter: saturate(.86) contrast(1.03); }
.photo-card-copy small { color: #f0c66d; }
.archive-footnote { border-color: rgba(231,224,211,.15); color: #a6aaa5; }
.archive-footnote strong { color: #e9e4da; }
.archive-footnote-mark { color: var(--gold-bright); }
.films-heading .section-intro { color: #a6aaa5; }
.films-layout { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: minmax(0,1.45fr) minmax(270px,.7fr); gap: clamp(24px,5vw,68px); align-items: center; }
.film-player { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid rgba(239,193,107,.28); background: #080a0b; box-shadow: 0 16px 42px rgba(0,0,0,.25); }
.film-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.films-copy { padding: 18px 0; }
.films-kicker { color: var(--gold-bright); font: 500 9px var(--mono); letter-spacing: .15em; }
.films-copy h3 { margin: 17px 0 11px; color: #f0ebdf; font: 500 clamp(30px,3.4vw,46px)/1.05 var(--serif); }
.films-copy h3 em { color: var(--gold-bright); font-weight: 500; }
.films-copy p { max-width: 330px; margin: 0 0 22px; color: #adb2ac; font-size: 12px; line-height: 1.7; }
.button-outline { border: 1px solid rgba(239,193,107,.58); color: #f0d08f; }
.button-outline:hover { background: rgba(239,193,107,.1); }
.about-section { background: #0d1012; }
.about-logo { width: 148px; padding: 9px; border: 1px solid rgba(239,193,107,.38); background: rgba(255,255,255,.035); }
.about-logo img { width: 100%; height: auto; }
.about-copy > p:not(.eyebrow) { color: #b4b9b2; }
.social-links a { color: #eee6d6; }
.about-aside p { color: #e4ddce; }
.site-footer { background: #0a0c0e; }
.leaflet-popup-content-wrapper,.leaflet-popup-tip { background: #1d2223; color: #e9e4da; }
.map-popup h4 { color: #f0ebdf; }
.map-popup p { color: #b0b5af; }
.map-popup-kicker { color: #e7bd6b; }
.map-popup-photos { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; margin: 8px 0 10px; }
.panel-photo-strip { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin: 13px 0 16px; }
.map-popup-photo,.panel-photo-trigger { width: 100%; display: block; position: relative; margin: 0 0 10px; padding: 0; overflow: hidden; border: 1px solid rgba(239,193,107,.24); background: #111; cursor: zoom-in; text-align: left; }
.map-popup-photos .map-popup-photo { margin: 0; }
.map-popup-photo img { width: 100%; height: 115px; object-fit: cover; margin: 0; }
.map-popup-photos .map-popup-photo img { height: 58px; }
.map-popup-photo span,.panel-photo-trigger span { position: absolute; right: 6px; bottom: 6px; padding: 5px 6px; background: rgba(10,12,13,.85); color: #f0d08f; font: 8px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.panel-photo-trigger { margin: 0; aspect-ratio: 1.2; }
.panel-photo { width: 100%; height: 100%; max-height: none; margin: 0; border: 0; object-fit: cover; }
.aom-popup .leaflet-popup-content { margin: 10px 11px; }
.photo-lightbox { width: min(calc(100vw - 32px),1160px); max-width: 1160px; max-height: calc(100vh - 32px); padding: 22px; overflow: visible; border: 1px solid rgba(239,193,107,.42); background: #111517; color: #eee9df; box-shadow: 0 26px 90px rgba(0,0,0,.65); }
.photo-lightbox::backdrop { background: rgba(3,5,6,.84); backdrop-filter: blur(5px); }
.lightbox-figure { display: grid; grid-template-columns: minmax(0,1fr) 230px; gap: 24px; align-items: center; margin: 0; }
.lightbox-figure img { width: 100%; max-height: calc(100vh - 100px); object-fit: contain; background: #080a0b; }
.lightbox-figure figcaption { display: grid; gap: 10px; align-content: center; }
.lightbox-figure small { color: var(--gold-bright); font: 9px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.lightbox-figure strong { font: 500 27px/1.05 var(--serif); }
.lightbox-figure p { margin: 0; color: #adb3ac; font-size: 12px; line-height: 1.7; }
.lightbox-close,.lightbox-arrow { position: absolute; z-index: 2; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(239,193,107,.45); border-radius: 50%; background: rgba(13,16,18,.88); color: #f0d08f; cursor: pointer; }
.lightbox-close { top: -15px; right: -15px; font-size: 25px; }
.lightbox-arrow { top: 50%; font: 30px/1 var(--serif); transform: translateY(-50%); }
.lightbox-prev { left: -21px; }
.lightbox-next { right: -21px; }
.lightbox-map-link { justify-self: start; margin-top: 8px; padding: 8px 0; border: 0; background: none; color: #efc16b; cursor: pointer; font: 9px var(--mono); letter-spacing: .08em; text-align: left; text-transform: uppercase; }
.lightbox-map-link:hover { color: #ffe4a4; }
.lightbox-map-link[hidden] { display: none; }
@media (max-width: 1050px) {
  .films-layout { grid-template-columns: minmax(0,1.2fr) minmax(240px,.8fr); gap: 30px; }
  .photo-grid { grid-template-rows: repeat(2,minmax(210px,250px)); }
}
@media (max-width: 760px) {
  .hero-photo { width: min(100%,470px); margin-right: 0; }
  .bike-collage { height: clamp(300px,72vw,390px); gap: 6px; padding: 6px; }
  .bike-label { left: 6px; bottom: 6px; padding: 5px 6px; font-size: 8px; letter-spacing: .04em; }
  .atlas-tools { align-items: flex-start; flex-direction: column; gap: 10px; margin-bottom: 12px; }
  .kml-button { min-height: 36px; }
  .photo-grid { grid-template-rows: repeat(3,minmax(190px,235px)); gap: 8px; }
  .films-layout { grid-template-columns: 1fr; gap: 16px; }
  .films-copy { padding: 3px 0; }
  .about-section { grid-template-columns: 1fr; }
  .about-logo { width: 112px; }
  .lightbox-figure { grid-template-columns: 1fr; gap: 15px; }
  .lightbox-figure img { max-height: 62vh; }
  .lightbox-figure figcaption { gap: 6px; }
  .lightbox-figure strong { font-size: 22px; }
  .lightbox-arrow { top: 35%; }
  .lightbox-prev { left: -13px; }
  .lightbox-next { right: -13px; }
  .photo-lightbox { padding: 15px; }
}
@media (max-width: 430px) {
  .bike-collage { height: 286px; }
  .bike-label { font-size: 7px; }
  .map-key { gap: 8px; font-size: 8px; }
  .photo-grid { grid-template-rows: repeat(3,175px); }
}
