:root {
  --ink: #172a2b;
  --ink-2: #2f4443;
  --sand: #f2e7d6;
  --paper: #fbf8f2;
  --paper-2: #f5efe5;
  --clay: #b45536;
  --clay-dark: #7b3527;
  --ochre: #d59a4b;
  --sage: #6f7f6d;
  --line: rgba(23, 42, 43, 0.16);
  --light-line: rgba(255, 255, 255, 0.22);
  --white: #fffdf9;
  --muted: #6f7773;
  --shadow: 0 24px 70px rgba(23, 42, 43, 0.13);
  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 34px;
  --shell: min(1240px, calc(100% - 48px));
  --narrow: min(760px, calc(100% - 48px));
  --font-sans: "Aptos", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
button, input { font: inherit; }
button { color: inherit; }
::selection { background: rgba(180, 85, 54, 0.24); }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 4px; }
.sr-only {
  position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important;
  margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important;
}
.skip-link {
  position: fixed; left: 18px; top: -80px; z-index: 9999; padding: 10px 15px; border-radius: 8px;
  background: var(--paper); color: var(--ink); box-shadow: var(--shadow);
}
.skip-link:focus { top: 18px; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 1000; color: var(--white);
  border-bottom: 1px solid transparent; transition: background .25s ease, color .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
.site-header.is-scrolled, .article-page .site-header, .legal-body .site-header {
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  color: var(--ink); border-color: var(--line); backdrop-filter: blur(18px);
}
.nav-wrap {
  width: var(--shell); min-height: 84px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-symbol { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; }
.brand-symbol svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-family: var(--font-display); font-weight: 500; font-size: 21px; letter-spacing: .01em; }
.brand-copy small { margin-top: 5px; opacity: .72; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { position: relative; text-decoration: none; font-size: 14px; font-weight: 600; letter-spacing: .04em; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: currentColor; transition: right .2s ease; }
.main-nav a:hover::after { right: 0; }
.nav-toggle { display: none; align-items: center; gap: 12px; border: 0; background: transparent; padding: 9px 0; }
.nav-toggle-lines, .nav-toggle-lines::before, .nav-toggle-lines::after { width: 24px; height: 1px; background: currentColor; display: block; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle-lines { position: relative; }
.nav-toggle-lines::before, .nav-toggle-lines::after { content: ""; position: absolute; left: 0; }
.nav-toggle-lines::before { top: -7px; }
.nav-toggle-lines::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after { transform: translateY(-7px) rotate(-45deg); }

.hero {
  min-height: 880px; height: 100svh; max-height: 1050px; position: relative; display: grid; align-items: end;
  overflow: hidden; color: var(--white); background: var(--ink);
}
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.015); }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 24, 24, .8) 0%, rgba(10, 24, 24, .35) 48%, rgba(10, 24, 24, .12) 78%), linear-gradient(0deg, rgba(10,24,24,.8) 0%, transparent 46%); }
.hero-grain { position: absolute; inset: 0; opacity: .14; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E"); mix-blend-mode: soft-light; }
.hero-inner { position: relative; z-index: 2; width: var(--shell); margin: 0 auto; padding: 170px 0 220px; }
.eyebrow { margin: 0 0 17px; color: var(--clay); text-transform: uppercase; letter-spacing: .18em; font-size: 12px; font-weight: 800; }
.eyebrow--light { color: #f4c78a; }
.hero h1, .page-hero h1 { max-width: 940px; margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(58px, 8vw, 126px); line-height: .92; letter-spacing: -.045em; }
.hero-intro { max-width: 680px; margin: 28px 0 0; font-size: clamp(18px, 2vw, 24px); line-height: 1.55; color: rgba(255,255,255,.83); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 20px;
  border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 14px; letter-spacing: .02em;
  cursor: pointer; transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--clay); color: var(--white); }
.button--primary:hover { background: var(--clay-dark); }
.button--ghost { color: var(--white); border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.05); backdrop-filter: blur(8px); }
.button--ghost:hover { background: rgba(255,255,255,.14); border-color: var(--white); }
.button--sand { background: var(--sand); color: var(--ink); }
.hero-facts {
  position: absolute; z-index: 3; bottom: 0; left: 50%; transform: translateX(-50%); width: var(--shell); min-height: 130px;
  display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--light-line); background: rgba(18, 39, 39, .34); backdrop-filter: blur(16px);
}
.hero-facts > div { display: grid; align-content: center; padding: 20px 30px; border-right: 1px solid var(--light-line); }
.hero-facts > div:first-child { border-left: 1px solid var(--light-line); }
.fact-value { font-family: var(--font-display); font-size: 37px; line-height: 1; }
.fact-label { margin-top: 8px; color: rgba(255,255,255,.68); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.hero-scroll { position: absolute; right: max(24px, calc((100vw - 1240px) / 2)); bottom: 162px; z-index: 4; display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.76); text-decoration: none; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; transform: rotate(90deg); transform-origin: right center; }
.hero-scroll i { width: 48px; height: 1px; background: currentColor; display: block; }
.demo-note { width: var(--shell); margin: 0 auto; padding: 20px 24px; display: flex; gap: 10px 18px; align-items: baseline; border-bottom: 1px solid var(--line); font-size: 14px; }
.demo-note strong { color: var(--clay); }
.demo-note span { color: var(--muted); }

.section { padding: 120px 0; }
.section-inner { width: var(--shell); margin: 0 auto; }
.section-heading { margin-bottom: 52px; }
.section-heading h2 { margin: 0; font-family: var(--font-display); font-size: clamp(42px, 5vw, 72px); font-weight: 400; line-height: 1.02; letter-spacing: -.035em; }
.section-heading--split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr); gap: 60px; align-items: end; }
.section-heading--split > p { margin: 0 0 5px; color: var(--muted); }
.section-heading--light { color: var(--white); }
.section-heading--light > p { color: rgba(255,255,255,.64); }
.section--journal { background: var(--paper); }
.journal-toolbar { margin-bottom: 32px; display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.filter-row, .gallery-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-button { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 13px; font-weight: 700; }
.filter-button:hover, .filter-button.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.search-control { min-width: min(340px, 100%); display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--ink); }
.search-control svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.search-control input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); }
.search-control input::placeholder { color: #8a8f8c; }
.post-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 28px; }
.post-card { grid-column: span 4; display: flex; flex-direction: column; background: var(--white); border: 1px solid rgba(23,42,43,.09); border-radius: var(--radius); overflow: hidden; min-height: 100%; transition: transform .28s ease, box-shadow .28s ease; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card--featured { grid-column: span 6; }
.post-card-image { aspect-ratio: 4 / 3; display: block; overflow: hidden; background: var(--sand); }
.post-card--featured .post-card-image { aspect-ratio: 16 / 10; }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.post-card:hover .post-card-image img { transform: scale(1.035); }
.post-card-body { flex: 1; display: flex; flex-direction: column; padding: 25px 25px 22px; }
.post-card-meta { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; }
.post-card-meta span { color: var(--clay); font-weight: 800; }
.post-card h3 { margin: 15px 0 12px; font-family: var(--font-display); font-size: clamp(27px, 3vw, 39px); line-height: 1.04; font-weight: 400; letter-spacing: -.02em; }
.post-card h3 a { text-decoration: none; }
.post-card-body > p { margin: 0; color: var(--muted); font-size: 15px; }
.post-card-footer { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-top: auto; padding-top: 28px; }
.location-mark { padding-left: 17px; position: relative; font-size: 12px; font-weight: 700; }
.location-mark::before { content: ""; width: 8px; height: 8px; border: 1px solid var(--clay); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); position: absolute; left: 1px; top: 6px; }
.text-link { display: inline-flex; gap: 8px; align-items: center; color: var(--clay-dark); text-decoration: none; font-size: 13px; font-weight: 800; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.text-link--light { color: #f5c88f; }
.empty-state { padding: 40px 0; color: var(--muted); text-align: center; }

.section--route { background: var(--ink); color: var(--white); }
.route-composition { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(340px, .65fr); gap: 52px; align-items: stretch; }
.map-panel { position: relative; min-height: 650px; border-radius: var(--radius-lg); overflow: hidden; background: #263b3b; border: 1px solid rgba(255,255,255,.14); }
.map-panel--large { min-height: 720px; }
.map-canvas { width: 100%; height: 100%; min-height: inherit; }
.map-consent { position: absolute; inset: 0; z-index: 500; display: grid; place-content: center; justify-items: center; padding: 40px; text-align: center; background: radial-gradient(circle at 40% 35%, #3d5553 0, #263b3b 58%, #172a2b 100%); }
.map-consent::before { content: ""; position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(30deg, transparent 45%, rgba(255,255,255,.12) 46%, transparent 47%), linear-gradient(-20deg, transparent 60%, rgba(255,255,255,.08) 61%, transparent 62%); background-size: 90px 90px, 130px 130px; }
.map-consent > * { position: relative; }
.map-icon { width: 74px; height: 74px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; color: #f4c78a; font-size: 34px; }
.map-consent h3, .map-consent h2 { margin: 22px 0 10px; font-family: var(--font-display); font-size: 34px; font-weight: 400; }
.map-consent p { max-width: 440px; margin: 0 0 24px; color: rgba(255,255,255,.68); }
.route-timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--light-line); }
.route-timeline li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 24px 4px; border-bottom: 1px solid var(--light-line); cursor: pointer; }
.route-timeline li:hover, .route-timeline li.is-active { color: #f5c88f; }
.route-number { color: rgba(255,255,255,.42); font-family: var(--font-display); font-size: 27px; }
.route-timeline time { display: block; color: rgba(255,255,255,.5); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.route-timeline h3 { margin: 4px 0 4px; font-family: var(--font-display); font-size: 28px; font-weight: 400; }
.route-timeline p { margin: 0; color: rgba(255,255,255,.58); font-size: 14px; }
.section-link-row { margin-top: 36px; display: flex; justify-content: flex-end; }
.leaflet-container { font-family: var(--font-sans); background: #d8d1c5; }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background: var(--paper); color: var(--ink); }
.map-popup { min-width: 190px; }
.map-popup small { display: block; color: var(--clay); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.map-popup strong { display: block; margin: 4px 0; font-family: var(--font-display); font-size: 21px; }
.map-popup span { color: var(--muted); font-size: 13px; }
.custom-map-marker { background: transparent; border: 0; }
.custom-map-marker span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--clay); color: var(--white); border: 3px solid var(--paper); box-shadow: 0 8px 20px rgba(23,42,43,.3); }
.custom-map-marker b { transform: rotate(45deg); font-size: 11px; }

.section--gallery { background: var(--paper-2); }
.gallery-preview { display: grid; grid-template-columns: 1.25fr .75fr .75fr; grid-template-rows: 330px 330px; gap: 16px; }
.gallery-item { position: relative; overflow: hidden; border: 0; border-radius: var(--radius); padding: 0; cursor: zoom-in; background: var(--ink); text-align: left; }
.gallery-item--1 { grid-row: 1 / 3; }
.gallery-item--4 { grid-column: 2 / 4; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, opacity .3s ease; }
.gallery-item:hover img { transform: scale(1.04); opacity: .78; }
.gallery-item span { position: absolute; inset: auto 20px 18px; display: grid; color: var(--white); text-shadow: 0 2px 16px rgba(0,0,0,.45); }
.gallery-item span small { font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.gallery-item span strong { font-family: var(--font-display); font-size: 24px; font-weight: 400; }
.section--about { color: var(--white); background: var(--clay-dark); }
.about-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .7fr); gap: 90px; align-items: start; }
.about-copy h2 { max-width: 720px; margin: 0; font-family: var(--font-display); font-size: clamp(48px, 6vw, 84px); font-weight: 400; line-height: 1; }
.about-copy > p:not(.eyebrow) { max-width: 720px; color: rgba(255,255,255,.72); font-size: 19px; }
.gear-listing { border-top: 1px solid rgba(255,255,255,.3); }
.gear-heading { display: grid; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.gear-heading span { color: #f1bf80; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.gear-heading strong { margin-top: 4px; font-family: var(--font-display); font-size: 27px; font-weight: 400; }
.gear-listing ul { list-style: none; margin: 0; padding: 0; }
.gear-listing li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.gear-listing li span { color: rgba(255,255,255,.4); width: 24px; }

.page-hero { min-height: 580px; display: grid; align-items: end; color: var(--white); background: var(--ink); padding: 160px 0 90px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; opacity: .2; background: radial-gradient(circle at 75% 30%, var(--clay) 0, transparent 34%), linear-gradient(140deg, transparent 45%, rgba(255,255,255,.1) 46%, transparent 47%); }
.page-hero--gallery::after { background: radial-gradient(circle at 72% 32%, #c9874d 0, transparent 33%), linear-gradient(60deg, transparent 55%, rgba(255,255,255,.09) 56%, transparent 57%); }
.page-hero--about::after { background: radial-gradient(circle at 78% 27%, #8a5d3b 0, transparent 35%), linear-gradient(-35deg, transparent 61%, rgba(255,255,255,.08) 62%, transparent 63%); }
.page-hero-inner { position: relative; z-index: 2; width: var(--shell); margin: 0 auto; }
.page-hero h1 { font-size: clamp(58px, 8vw, 112px); }
.page-hero p:last-child { max-width: 720px; margin: 26px 0 0; color: rgba(255,255,255,.68); font-size: 19px; }
.route-page { background: var(--paper); }
.map-attribution { color: var(--muted); font-size: 11px; text-align: right; }
.route-detail-list { list-style: none; margin: 70px 0 0; padding: 0; border-top: 1px solid var(--line); }
.route-detail-list li { display: grid; grid-template-columns: 80px 1fr auto; gap: 28px; align-items: center; padding: 32px 0; border-bottom: 1px solid var(--line); }
.route-detail-index { font-family: var(--font-display); font-size: 40px; color: var(--clay); }
.route-detail-meta { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.route-detail-copy h2 { margin: 6px 0; font-family: var(--font-display); font-size: 38px; font-weight: 400; }
.route-detail-copy p { margin: 0; color: var(--muted); }
.route-map-jump { border: 0; border-bottom: 1px solid currentColor; padding: 5px 0; background: transparent; color: var(--clay-dark); cursor: pointer; font-weight: 700; }
.gallery-page { background: var(--paper-2); }
.gallery-filter { margin-bottom: 40px; }
.gallery-masonry { columns: 3 280px; column-gap: 18px; }
.gallery-tile { width: 100%; position: relative; break-inside: avoid; margin: 0 0 18px; padding: 0; overflow: hidden; border: 0; border-radius: var(--radius); background: var(--ink); cursor: zoom-in; text-align: left; }
.gallery-tile img { width: 100%; min-height: 280px; object-fit: cover; transition: transform .5s ease, opacity .3s ease; }
.gallery-tile:nth-child(3n+1) img { min-height: 470px; }
.gallery-tile:hover img { transform: scale(1.03); opacity: .7; }
.gallery-tile span { position: absolute; inset: auto 22px 20px; display: grid; color: var(--white); opacity: 0; transform: translateY(8px); transition: opacity .25s ease, transform .25s ease; }
.gallery-tile:hover span { opacity: 1; transform: none; }
.gallery-tile small { text-transform: uppercase; letter-spacing: .12em; font-size: 10px; }
.gallery-tile strong { font-family: var(--font-display); font-size: 23px; font-weight: 400; line-height: 1.1; }
.gallery-tile em { font-style: normal; color: rgba(255,255,255,.65); font-size: 12px; }
.story-page { background: var(--paper); }
.story-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 90px; align-items: start; }
.trip-fact-panel { position: sticky; top: 120px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.trip-fact-panel > div { display: grid; padding: 0 0 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.trip-fact-panel span { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.trip-fact-panel strong { margin-top: 4px; font-family: var(--font-display); font-size: 23px; font-weight: 400; }
.trip-fact-panel h2 { margin: 28px 0 12px; font-family: var(--font-display); font-size: 30px; font-weight: 400; }
.trip-fact-panel ul { margin: 0; padding-left: 20px; color: var(--muted); }

.article-hero { min-height: 760px; position: relative; display: grid; align-items: end; color: var(--white); background: var(--ink); }
.article-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.article-hero-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,24,24,.92) 0%, rgba(10,24,24,.3) 70%), linear-gradient(90deg, rgba(10,24,24,.48), transparent 70%); }
.article-hero-content { position: relative; z-index: 2; width: var(--shell); margin: 0 auto; padding: 180px 0 82px; }
.back-link { display: inline-block; margin-bottom: 80px; color: rgba(255,255,255,.8); font-size: 13px; text-decoration: none; }
.article-meta { display: flex; flex-wrap: wrap; gap: 12px 22px; color: rgba(255,255,255,.68); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.article-meta span:first-child { color: #f4c78a; }
.article-hero h1 { max-width: 940px; margin: 18px 0; font-family: var(--font-display); font-size: clamp(55px, 7.5vw, 108px); font-weight: 400; line-height: .93; letter-spacing: -.04em; }
.article-hero-content > p { max-width: 740px; margin: 0; color: rgba(255,255,255,.78); font-size: 20px; }
.reading-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 2000; background: transparent; }
.reading-progress span { height: 100%; width: 0; display: block; background: var(--ochre); }
.article-shell { width: var(--shell); margin: 0 auto; padding: 90px 0 120px; display: grid; grid-template-columns: 220px minmax(0, 760px); gap: 80px; justify-content: center; align-items: start; }
.article-aside { position: sticky; top: 120px; display: grid; gap: 20px; padding-top: 5px; }
.article-aside > div { display: grid; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.article-aside span { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.article-aside strong { margin-top: 4px; font-family: var(--font-display); font-size: 22px; font-weight: 400; }
.share-button { justify-self: start; padding: 8px 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: var(--clay-dark); cursor: pointer; font-size: 13px; font-weight: 800; }
.share-feedback { margin: -10px 0 0; color: var(--muted); font-size: 12px; }
.prose { font-size: 18px; }
.prose--large { font-size: 19px; }
.prose .lead, .prose > p:first-child { font-size: 1.23em; line-height: 1.58; color: var(--ink-2); }
.prose h2 { margin: 2.1em 0 .65em; font-family: var(--font-display); font-size: 2.2em; line-height: 1.05; font-weight: 400; letter-spacing: -.025em; }
.prose h3 { margin: 1.8em 0 .6em; font-family: var(--font-display); font-size: 1.55em; font-weight: 400; }
.prose p { margin: 0 0 1.25em; }
.prose ul, .prose ol { margin: 0 0 1.4em; padding-left: 1.25em; }
.prose li { margin-bottom: .45em; }
.prose blockquote { margin: 2em 0; padding: 8px 0 8px 28px; border-left: 2px solid var(--clay); color: var(--ink-2); font-family: var(--font-display); font-size: 1.25em; }
.prose a { color: var(--clay-dark); }
.prose img { margin: 2.5em 0; border-radius: var(--radius); }
.article-return { width: var(--shell); margin: 0 auto 120px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.article-return a { display: grid; padding: 28px; text-decoration: none; }
.article-return a + a { border-left: 1px solid var(--line); text-align: right; }
.article-return span { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.article-return strong { margin-top: 6px; font-family: var(--font-display); font-size: 26px; font-weight: 400; }

.legal-page { padding-top: 180px; min-height: 80vh; }
.narrow-shell { width: var(--narrow); margin: 0 auto; }
.legal-page h1 { margin: 0 0 50px; font-family: var(--font-display); font-size: clamp(50px, 7vw, 82px); font-weight: 400; }
.legal-warning { margin: 0 0 45px; padding: 18px 20px; border-left: 3px solid var(--ochre); background: var(--paper-2); }
.not-found { min-height: 100vh; display: grid; place-items: center; padding: 120px 24px; text-align: center; background: var(--paper); }
.not-found h1 { margin: 0; font-family: var(--font-display); font-size: clamp(56px, 8vw, 110px); font-weight: 400; }
.not-found p:not(.eyebrow) { color: var(--muted); }

.lightbox { width: min(1180px, calc(100% - 32px)); max-width: none; padding: 0; border: 0; border-radius: var(--radius); background: #101b1b; color: var(--white); box-shadow: 0 30px 120px rgba(0,0,0,.5); }
.lightbox::backdrop { background: rgba(8,16,16,.88); backdrop-filter: blur(10px); }
.lightbox figure { margin: 0; }
.lightbox img { width: 100%; max-height: 82vh; object-fit: contain; }
.lightbox figcaption { padding: 18px 22px; color: rgba(255,255,255,.72); font-size: 14px; }
.lightbox-close { position: absolute; z-index: 2; top: 12px; right: 12px; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; background: rgba(0,0,0,.35); color: var(--white); font-size: 27px; cursor: pointer; }

.site-footer { padding: 70px 0 32px; color: var(--white); background: #101f20; }
.footer-inner { width: var(--shell); margin: 0 auto; display: grid; grid-template-columns: 1.25fr .75fr; gap: 50px; }
.footer-kicker { margin: 0 0 5px; color: #f1bf80; font-size: 11px; text-transform: uppercase; letter-spacing: .13em; }
.footer-inner > div:first-child strong { font-family: var(--font-display); font-size: 34px; font-weight: 400; }
.footer-inner > div:first-child p:last-child { max-width: 540px; color: rgba(255,255,255,.55); }
.footer-inner nav { display: grid; grid-template-columns: 1fr 1fr; align-content: start; gap: 12px 20px; }
.footer-inner nav a { color: rgba(255,255,255,.72); text-decoration: none; }
.footer-meta { grid-column: 1 / -1; display: flex; justify-content: space-between; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.45); font-size: 12px; }
.footer-meta a { color: inherit; text-decoration: none; }


/* Premium magazine finish -------------------------------------------------- */
body {
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% -8%, rgba(213,154,75,.14), transparent 34rem),
    radial-gradient(circle at 90% 12%, rgba(111,127,109,.11), transparent 31rem),
    linear-gradient(180deg, #f8f2e9 0%, #efe6da 100%);
}
body::before {
  content: "";
  position: fixed;
  inset: -20%;
  z-index: 900;
  pointer-events: none;
  opacity: .038;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  animation: magazine-grain 9s steps(8) infinite;
}

.hero-media {
  transform: translate3d(0,0,0) scale(1.045);
  animation: hero-cinema 24s cubic-bezier(.42,0,.2,1) infinite alternate;
  will-change: transform;
}
.hero-scrim {
  background:
    linear-gradient(90deg, rgba(10,24,24,.82) 0%, rgba(10,24,24,.38) 45%, rgba(10,24,24,.11) 79%),
    linear-gradient(0deg, rgba(10,24,24,.86) 0%, rgba(10,24,24,.08) 55%),
    radial-gradient(circle at 75% 22%, rgba(245,200,143,.09), transparent 32%);
}
.hero-grain {
  opacity: .19;
  animation: hero-grain-drift 7s steps(6) infinite;
}
.hero::after {
  content: "";
  position: absolute;
  inset: -35% -25%;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at 78% 18%, rgba(255,235,196,.12), transparent 28%);
  transform: translate3d(-2%, 0, 0);
  animation: ambient-glow 16s ease-in-out infinite alternate;
}
.hero-inner, .hero-facts, .hero-scroll { z-index: 3; }
.hero h1, .page-hero h1, .section-heading h2, .about-copy h2, .article-hero h1 {
  text-wrap: balance;
  text-shadow: 0 1px 0 rgba(255,255,255,.03);
}
.hero-facts {
  box-shadow: 0 -1px 0 rgba(255,255,255,.06), 0 -28px 70px rgba(4,12,12,.13);
}

.section {
  position: relative;
  isolation: isolate;
  overflow: clip;
}
.section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .55;
  background-image:
    linear-gradient(90deg, transparent 0, rgba(23,42,43,.026) 50%, transparent 100%),
    repeating-linear-gradient(90deg, transparent 0 119px, rgba(23,42,43,.018) 120px, transparent 121px);
  background-size: 100% 100%, 100% 100%;
}
.section > .section-inner { position: relative; z-index: 1; }
.section--journal,
.route-page,
.article-page,
.legal-body,
.not-found {
  background:
    radial-gradient(circle at 4% 12%, rgba(213,154,75,.12), transparent 29rem),
    radial-gradient(circle at 94% 68%, rgba(111,127,109,.095), transparent 34rem),
    linear-gradient(145deg, #fcfaf6 0%, #f5eee4 54%, #f9f4ec 100%);
}
.section--journal::after,
.section--gallery::after {
  content: "";
  position: absolute;
  width: min(62vw, 760px);
  aspect-ratio: 1;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(28px);
  opacity: .43;
  background: radial-gradient(circle, rgba(213,154,75,.16), rgba(213,154,75,0) 67%);
  animation: paper-light 18s ease-in-out infinite alternate;
}
.section--journal::after { top: -23rem; right: -18rem; }
.section--gallery::after { bottom: -25rem; left: -17rem; animation-direction: alternate-reverse; }
.section--gallery {
  background:
    radial-gradient(circle at 82% 8%, rgba(180,85,54,.095), transparent 28rem),
    radial-gradient(circle at 8% 90%, rgba(213,154,75,.12), transparent 30rem),
    linear-gradient(160deg, #f4ecdf 0%, #fbf8f2 48%, #eee4d5 100%);
}
.section--route {
  background:
    radial-gradient(circle at 17% 14%, rgba(111,127,109,.20), transparent 33rem),
    radial-gradient(circle at 88% 84%, rgba(180,85,54,.12), transparent 31rem),
    linear-gradient(145deg, #172d2d 0%, #102526 46%, #0c1d1e 100%);
}
.section--route::before {
  opacity: .24;
  background-image:
    linear-gradient(115deg, transparent 0 46%, rgba(255,255,255,.045) 46.2%, transparent 46.5%),
    repeating-linear-gradient(90deg, transparent 0 139px, rgba(255,255,255,.025) 140px, transparent 141px);
}
.section--about {
  background:
    radial-gradient(circle at 14% 12%, rgba(245,200,143,.14), transparent 31rem),
    radial-gradient(circle at 90% 85%, rgba(23,42,43,.22), transparent 32rem),
    linear-gradient(135deg, #8d3828 0%, #773024 54%, #5f291f 100%);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: -35%;
  z-index: 0;
  pointer-events: none;
  opacity: .8;
  background: radial-gradient(circle at 72% 27%, rgba(245,200,143,.13), transparent 27%);
  animation: ambient-glow 18s ease-in-out infinite alternate;
}
.page-hero::after { z-index: 1; }
.page-hero-inner { z-index: 2; }

.post-card {
  background: color-mix(in srgb, var(--white) 93%, transparent);
  border-color: rgba(23,42,43,.105);
  box-shadow: 0 1px 0 rgba(255,255,255,.95) inset, 0 12px 35px rgba(23,42,43,.055);
  backdrop-filter: blur(8px);
}
.post-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 34px 82px rgba(23,42,43,.15), 0 1px 0 rgba(255,255,255,.95) inset;
}
.post-card-image,
.gallery-item,
.gallery-tile,
.article-hero {
  position: relative;
}
.post-card-image::after,
.gallery-item::after,
.gallery-tile::after {
  content: "";
  z-index: 1;
  position: absolute;
  inset: -35% -80%;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 37%, rgba(255,255,255,.17) 49%, transparent 61%);
  transform: translateX(-46%) rotate(2deg);
  transition: transform 1.1s cubic-bezier(.2,.7,.2,1);
}
.post-card:hover .post-card-image::after,
.gallery-item:hover::after,
.gallery-tile:hover::after {
  transform: translateX(46%) rotate(2deg);
}
.gallery-item span, .gallery-tile span { z-index: 2; }
.button {
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 10px 28px rgba(23,42,43,.08);
}
.button--primary { background: linear-gradient(135deg, #bd6040, #9d462f); }
.button--primary:hover { background: linear-gradient(135deg, #a84e34, #7f3425); }
.filter-button {
  background: rgba(255,255,255,.28);
  backdrop-filter: blur(8px);
}
.map-panel {
  box-shadow: 0 30px 100px rgba(3,13,13,.22), 0 1px 0 rgba(255,255,255,.12) inset;
}
.gallery-item,
.gallery-tile {
  box-shadow: 0 18px 45px rgba(23,42,43,.11);
}
.site-footer {
  background:
    radial-gradient(circle at 82% 18%, rgba(180,85,54,.11), transparent 26rem),
    linear-gradient(145deg, #102324 0%, #0b1a1b 100%);
}

.reveal-enabled .magazine-reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity .82s cubic-bezier(.22,.65,.25,1), transform .82s cubic-bezier(.22,.65,.25,1);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal-enabled .magazine-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes magazine-grain {
  0% { transform: translate3d(-2%, -2%, 0); }
  25% { transform: translate3d(2%, -1%, 0); }
  50% { transform: translate3d(-1%, 2%, 0); }
  75% { transform: translate3d(1%, -2%, 0); }
  100% { transform: translate3d(2%, 2%, 0); }
}
@keyframes hero-cinema {
  0% { transform: translate3d(-.7%, -.4%, 0) scale(1.045); }
  100% { transform: translate3d(.8%, .65%, 0) scale(1.085); }
}
@keyframes hero-grain-drift {
  0% { transform: translate3d(-1%, -1%, 0); }
  50% { transform: translate3d(1%, 0, 0); }
  100% { transform: translate3d(0, 1%, 0); }
}
@keyframes ambient-glow {
  0% { transform: translate3d(-2%, -1%, 0) scale(.96); opacity: .62; }
  100% { transform: translate3d(3%, 2%, 0) scale(1.08); opacity: 1; }
}
@keyframes paper-light {
  0% { transform: translate3d(-5%, -2%, 0) scale(.94); }
  100% { transform: translate3d(7%, 4%, 0) scale(1.08); }
}

[hidden] { display: none !important; }

@media (max-width: 1000px) {
  :root { --shell: min(100% - 36px, 900px); }
  .hero { min-height: 780px; }
  .hero-inner { padding-bottom: 190px; }
  .hero-scroll { display: none; }
  .post-card, .post-card--featured { grid-column: span 6; }
  .route-composition { grid-template-columns: 1fr; }
  .map-panel { min-height: 560px; }
  .route-timeline { display: grid; grid-template-columns: 1fr 1fr; }
  .route-timeline li:nth-child(odd) { border-right: 1px solid var(--light-line); padding-right: 20px; }
  .route-timeline li:nth-child(even) { padding-left: 20px; }
  .about-layout { gap: 55px; }
  .article-shell { grid-template-columns: 170px minmax(0, 1fr); gap: 48px; }
  .story-layout { gap: 50px; }
}

@media (max-width: 760px) {
  :root { --shell: calc(100% - 28px); --narrow: calc(100% - 28px); --radius: 17px; --radius-lg: 24px; }
  body { font-size: 16px; }
  .site-header.is-open { background: var(--paper); color: var(--ink); }
  .nav-wrap { min-height: 72px; }
  .brand-symbol { width: 36px; height: 36px; }
  .brand-copy small { display: none; }
  .nav-toggle { display: inline-flex; }
  .main-nav { position: absolute; inset: 72px 0 auto; display: grid; gap: 0; padding: 10px 14px 22px; background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line); transform: translateY(-130%); opacity: 0; pointer-events: none; transition: transform .22s ease, opacity .22s ease; }
  .main-nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 15px 5px; border-bottom: 1px solid var(--line); }
  .hero { min-height: 760px; height: 100svh; max-height: 900px; }
  .hero-inner { padding: 120px 0 226px; }
  .hero h1, .page-hero h1 { font-size: clamp(50px, 16vw, 76px); }
  .hero-intro { font-size: 17px; }
  .hero-facts { grid-template-columns: 1fr 1fr; min-height: 176px; }
  .hero-facts > div { padding: 16px; border-top: 1px solid var(--light-line); }
  .hero-facts > div:first-child { border-left: 0; }
  .hero-facts > div:nth-child(odd) { border-left: 1px solid var(--light-line); }
  .fact-value { font-size: 29px; }
  .demo-note { align-items: flex-start; flex-direction: column; }
  .section { padding: 78px 0; }
  .section-heading { margin-bottom: 34px; }
  .section-heading--split { grid-template-columns: 1fr; gap: 18px; }
  .section-heading h2 { font-size: clamp(40px, 12vw, 60px); }
  .journal-toolbar { align-items: stretch; flex-direction: column; }
  .search-control { min-width: 0; width: 100%; }
  .post-grid { gap: 18px; }
  .post-card, .post-card--featured { grid-column: 1 / -1; }
  .route-timeline { grid-template-columns: 1fr; }
  .route-timeline li:nth-child(odd) { border-right: 0; padding-right: 4px; }
  .route-timeline li:nth-child(even) { padding-left: 4px; }
  .map-panel, .map-panel--large { min-height: 480px; }
  .map-consent { padding: 24px; }
  .gallery-preview { grid-template-columns: 1fr 1fr; grid-template-rows: 310px 220px 220px; }
  .gallery-item--1 { grid-column: 1 / 3; grid-row: auto; }
  .gallery-item--4 { grid-column: 1 / 3; }
  .about-layout { grid-template-columns: 1fr; gap: 50px; }
  .about-copy h2 { font-size: 50px; }
  .page-hero { min-height: 500px; padding: 125px 0 60px; }
  .route-detail-list li { grid-template-columns: 50px 1fr; gap: 16px; }
  .route-map-jump { grid-column: 2; justify-self: start; }
  .story-layout { grid-template-columns: 1fr; }
  .trip-fact-panel { position: static; }
  .article-hero { min-height: 680px; }
  .article-hero-content { padding: 130px 0 62px; }
  .back-link { margin-bottom: 52px; }
  .article-hero h1 { font-size: clamp(48px, 15vw, 72px); }
  .article-shell { grid-template-columns: 1fr; gap: 35px; padding: 60px 0 80px; }
  .article-aside { position: static; grid-template-columns: 1fr 1fr; }
  .article-aside .share-button, .article-aside .share-feedback { grid-column: 1 / -1; }
  .article-return { grid-template-columns: 1fr; margin-bottom: 80px; }
  .article-return a + a { border-left: 0; border-top: 1px solid var(--line); text-align: left; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-meta { grid-column: auto; }
}

@media (max-width: 430px) {
  .brand-copy strong { font-size: 18px; }
  .nav-toggle span:first-child { display: none; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .gallery-preview { display: grid; grid-template-columns: 1fr; grid-template-rows: repeat(4, 270px); }
  .gallery-item--1, .gallery-item--4 { grid-column: auto; }
  .article-aside { grid-template-columns: 1fr; }
  .article-aside .share-button, .article-aside .share-feedback { grid-column: auto; }
  .footer-inner nav { grid-template-columns: 1fr; }
  .footer-meta { align-items: flex-start; flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
.about-richtext { max-width: 720px; color: rgba(255,255,255,.72); font-size: 19px; }
.about-richtext p { margin: 0 0 1.2em; }
.prose .lead p { margin: 0; font-size: 1.05em; line-height: 1.58; color: var(--ink-2); }
