:root {
  --ink: #16231d;
  --ink-soft: #526159;
  --paper: #f4f0e7;
  --paper-deep: #e9e2d5;
  --surface: #fbf8f1;
  --forest: #1c3027;
  --forest-light: #284438;
  --accent: #b95f36;
  --gold: #c9a86a;
  --line: rgba(22, 35, 29, .18);
  --display: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
  --body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --shell: min(1180px, calc(100vw - 64px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); line-height: 1.7; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
button { color: inherit; font: inherit; }
.section-shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 8px 14px; background: var(--surface); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.reading-progress { position: fixed; z-index: 80; top: 0; left: 0; width: 100%; height: 3px; }
.reading-progress span { display: block; width: 0; height: 100%; background: var(--accent); }

.site-header { position: fixed; z-index: 60; inset: 0 0 auto; height: 86px; display: flex; align-items: center; justify-content: space-between; padding: 0 max(32px, calc((100vw - 1320px) / 2)); color: white; border-bottom: 1px solid rgba(255,255,255,.2); transition: .35s ease; }
.site-header.scrolled { height: 72px; color: var(--ink); background: rgba(244,240,231,.94); border-color: var(--line); backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: 11px; }
.brand svg { width: 39px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.brand span { display: grid; line-height: 1.1; }
.brand strong { font-family: var(--display); font-size: 18px; letter-spacing: .18em; }
.brand small { margin-top: 5px; font-size: 9px; letter-spacing: .55em; opacity: .7; }
.site-nav { display: flex; align-items: center; gap: 34px; font-size: 13px; letter-spacing: .08em; }
.site-nav a { position: relative; padding: 10px 0; opacity: .78; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 3px; height: 1px; background: currentColor; transition: right .25s; }
.site-nav a:hover, .site-nav a.active { opacity: 1; }
.site-nav a:hover::after, .site-nav a.active::after { right: 0; }
.menu-button { display: none; border: 0; background: none; width: 42px; height: 42px; padding: 9px; }
.menu-button > span:not(.sr-only) { display: block; width: 24px; height: 1px; margin: 6px 0; background: currentColor; transition: .25s; }

.hero { position: relative; height: min(900px, 100svh); min-height: 680px; color: white; overflow: hidden; background: var(--forest); }
.hero > img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: center 42%; animation: heroScale 18s ease-out both; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,18,14,.82) 0%, rgba(8,18,14,.48) 48%, rgba(8,18,14,.12) 75%), linear-gradient(0deg, rgba(8,18,14,.42), transparent 45%); }
.hero-content { position: absolute; z-index: 2; left: max(32px, calc((100vw - 1180px) / 2)); top: 51%; width: min(670px, 56vw); transform: translateY(-45%); }
.eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 24px; font-size: 12px; letter-spacing: .35em; }
.eyebrow span { width: 42px; height: 1px; background: var(--gold); }
.hero h1 { margin: 0; font-family: var(--display); font-size: clamp(60px, 7.2vw, 108px); font-weight: 500; line-height: 1.05; letter-spacing: -.045em; text-shadow: 0 4px 30px rgba(0,0,0,.22); }
.hero-copy { max-width: 570px; margin: 28px 0 32px; font-size: 16px; line-height: 2; letter-spacing: .06em; color: rgba(255,255,255,.82); }
.hero-actions { display: flex; align-items: center; gap: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 52px; padding: 0 24px; font-size: 13px; letter-spacing: .12em; }
.button-primary { color: var(--ink); background: var(--paper); transition: background .25s, transform .25s; }
.button-primary:hover { background: white; transform: translateY(-2px); }
.button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.text-link { font-size: 13px; letter-spacing: .1em; border-bottom: 1px solid rgba(255,255,255,.45); }
.hero-note { position: absolute; z-index: 2; right: max(32px, calc((100vw - 1180px) / 2)); bottom: 70px; display: grid; justify-items: end; padding-left: 30px; border-left: 1px solid rgba(255,255,255,.38); }
.hero-note span { font-size: 10px; letter-spacing: .25em; opacity: .65; }
.hero-note strong { margin: 6px 0 2px; font-family: var(--display); font-size: 20px; letter-spacing: .08em; }
.hero-note small { font-family: Georgia, serif; font-size: 10px; letter-spacing: .08em; opacity: .6; }
.scroll-cue { position: absolute; z-index: 2; bottom: 0; left: 50%; display: flex; flex-direction: column; align-items: center; gap: 8px; transform: translateX(-50%); font-size: 8px; letter-spacing: .3em; }
.scroll-cue i { width: 1px; height: 40px; background: rgba(255,255,255,.65); }
@keyframes heroScale { from { transform: scale(1.06); } to { transform: scale(1); } }

.intro { position: relative; display: grid; grid-template-columns: 120px 1fr 220px; align-items: center; gap: 34px; padding-block: 110px; border-bottom: 1px solid var(--line); }
.intro-mark { height: 100px; font-family: var(--display); font-size: 128px; line-height: 1; color: var(--accent); opacity: .65; }
.intro > p { max-width: 700px; margin: 0; font-family: var(--display); font-size: clamp(23px, 2.4vw, 34px); line-height: 1.8; letter-spacing: .025em; }
.intro-signature { display: grid; grid-template-columns: 42px 1fr; align-items: center; }
.intro-signature > span { width: 30px; height: 1px; background: var(--accent); }
.intro-signature strong { font: italic 18px Georgia, serif; }
.intro-signature small { grid-column: 2; color: var(--ink-soft); font-size: 10px; letter-spacing: .15em; }

.journals, .footprints, .about { padding-block: 130px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 58px; }
.section-index { margin: 0 0 12px; color: var(--accent); font: 11px Georgia, serif; letter-spacing: .18em; }
.section-heading h2, .about h2 { margin: 0; font-family: var(--display); font-size: clamp(38px, 4.2vw, 62px); font-weight: 500; line-height: 1.2; }
.section-heading > p { margin: 0 0 7px; color: var(--ink-soft); font-size: 13px; line-height: 2; letter-spacing: .08em; text-align: right; }
.journal-filters { display: flex; gap: 9px; margin-bottom: 34px; }
.filter-button { min-width: 64px; padding: 8px 16px; color: var(--ink-soft); background: transparent; border: 1px solid var(--line); cursor: pointer; font-size: 12px; letter-spacing: .08em; transition: .2s; }
.filter-button:hover, .filter-button.active { color: white; background: var(--forest); border-color: var(--forest); }
.journal-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 80px 54px; }
.journal-card { transition: opacity .25s, transform .25s; }
.journal-card.hidden { display: none; }
.journal-image { position: relative; display: block; overflow: hidden; background: var(--paper-deep); }
.journal-image img { height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.journal-card:hover .journal-image img { transform: scale(1.035); }
.image-number { position: absolute; top: 16px; left: 16px; padding: 5px 10px; color: white; background: rgba(17,31,25,.74); font: 9px Georgia, serif; letter-spacing: .16em; backdrop-filter: blur(5px); }
.featured-journal { grid-column: 1 / -1; display: grid; grid-template-columns: 1.45fr 1fr; gap: 58px; align-items: center; }
.featured-journal .journal-image { aspect-ratio: 1.5; }
.compact-card .journal-image { aspect-ratio: 1.1; }
.offset-card { margin-top: 100px; }
.offset-card .journal-image { aspect-ratio: .96; }
.journal-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 16px; color: var(--ink-soft); font: 10px Georgia, serif; letter-spacing: .08em; text-transform: uppercase; }
.journal-meta span + time, .journal-meta time + span { position: relative; }
.journal-meta span + time::before, .journal-meta time + span::before { content: ""; position: absolute; left: -10px; top: 50%; width: 2px; height: 2px; border-radius: 50%; background: var(--accent); }
.journal-content h3 { max-width: 540px; margin: 0 0 16px; font-family: var(--display); font-size: clamp(27px, 3vw, 44px); font-weight: 500; line-height: 1.35; }
.compact-card h3 { font-size: clamp(25px, 2.5vw, 34px); }
.journal-content h3 a { background: linear-gradient(currentColor,currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s; }
.journal-content h3 a:hover { background-size: 100% 1px; }
.journal-content > p { margin: 0 0 24px; color: var(--ink-soft); font-size: 14px; line-height: 2; }
.read-more { display: inline-flex; align-items: center; gap: 14px; padding: 0; color: var(--accent); background: none; border: 0; cursor: pointer; font-size: 11px; letter-spacing: .12em; }
.read-more svg { width: 28px; fill: none; stroke: currentColor; transition: transform .25s; }
.read-more:hover svg { transform: translateX(5px); }

.story-strip { color: #f3eee4; background: var(--forest); }
.story-strip-inner { min-height: 390px; display: grid; grid-template-columns: 170px 1fr 150px; align-items: center; gap: 45px; }
.story-number { font: italic 130px Georgia, serif; color: rgba(255,255,255,.07); }
.story-quote { padding: 50px 60px; border-inline: 1px solid rgba(255,255,255,.15); }
.story-quote blockquote { max-width: 700px; margin: 0; font-family: var(--display); font-size: clamp(24px, 2.6vw, 36px); line-height: 1.7; }
.story-place { display: grid; justify-items: center; gap: 7px; writing-mode: vertical-rl; }
.story-place strong { font: 26px Georgia, serif; letter-spacing: .2em; }
.story-place span { font: 8px Georgia, serif; letter-spacing: .1em; opacity: .55; }

.footprint-panel { display: grid; grid-template-columns: 1.25fr .75fr; gap: 70px; align-items: stretch; }
.map-visual { position: relative; min-height: 520px; background: #e7e0d3; overflow: hidden; }
.map-visual::before { content: ""; position: absolute; inset: 0; opacity: .35; background-image: radial-gradient(rgba(28,48,39,.16) .7px, transparent .7px); background-size: 7px 7px; }
.map-visual > svg { position: relative; width: 100%; height: 430px; padding: 28px; }
.map-contour { fill: rgba(28,48,39,.07); stroke: rgba(28,48,39,.22); stroke-width: 1; }
.route-line { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 6 7; }
.map-point circle { fill: var(--paper); stroke: var(--accent); stroke-width: 3; }
.map-point text { fill: var(--ink); font: 13px var(--body); }
.map-point.current circle + circle { fill: none; stroke-width: 1; opacity: .5; animation: mapPulse 2s infinite; }
@keyframes mapPulse { 50% { r: 23; opacity: 0; } }
.map-summary { position: absolute; inset: auto 34px 27px; display: grid; grid-template-columns: auto auto 1px auto auto; align-items: end; gap: 12px; }
.map-summary strong { font: 27px Georgia, serif; }
.map-summary span { color: var(--ink-soft); font-size: 10px; letter-spacing: .1em; }
.map-summary i { width: 1px; height: 27px; margin-inline: 13px; background: var(--line); }
.route-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.route-list li { display: grid; grid-template-columns: 50px 1fr 30px; gap: 18px; align-items: center; padding: 23px 0; border-bottom: 1px solid var(--line); }
.route-list li > span, .route-list b { color: var(--accent); font: 11px Georgia, serif; }
.route-list b { color: rgba(22,35,29,.25); font-size: 28px; font-weight: 400; }
.route-list div { display: grid; }
.route-list strong { font-family: var(--display); font-size: 20px; font-weight: 500; }
.route-list small { color: var(--ink-soft); font-size: 11px; letter-spacing: .04em; }

.moments { padding: 125px 0 140px; color: white; background: #1a2822; overflow: hidden; }
.light-heading .section-index { color: var(--gold); }
.light-heading > p { color: rgba(255,255,255,.55); }
.photo-reel { display: grid; grid-template-columns: minmax(300px, .75fr) minmax(540px, 1.4fr) minmax(420px, 1fr); gap: 24px; width: min(1460px, calc(100vw - 40px)); margin: 0 auto; overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--gold) transparent; }
.photo-reel figure { position: relative; height: 470px; margin: 0; overflow: hidden; background: var(--forest-light); }
.photo-reel .photo-tall { margin-top: 65px; height: 405px; }
.photo-reel img { height: 100%; object-fit: cover; transition: .6s; }
.photo-reel figure:hover img { transform: scale(1.035); filter: brightness(.72); }
.photo-reel figcaption { position: absolute; inset: auto 26px 24px; display: grid; color: white; opacity: 0; transform: translateY(10px); transition: .3s; }
.photo-reel figure:hover figcaption { opacity: 1; transform: none; }
.photo-reel figcaption span { font: 9px Georgia, serif; letter-spacing: .12em; }
.photo-reel figcaption strong { font-family: var(--display); font-size: 22px; font-weight: 500; }

.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: center; }
.about-image { position: relative; min-height: 650px; }
.about-image img { width: calc(100% - 52px); height: 610px; object-fit: cover; filter: saturate(.75); }
.about-image::after { content: ""; position: absolute; z-index: -1; right: 0; bottom: 0; width: 72%; height: 70%; border: 1px solid rgba(185,95,54,.5); }
.about-image > span { position: absolute; right: 16px; top: 48px; color: var(--accent); font: 12px Georgia, serif; letter-spacing: .25em; writing-mode: vertical-rl; }
.about h2 { margin-bottom: 24px; }
.about-content > p { max-width: 610px; color: var(--ink-soft); font-size: 14px; line-height: 2.05; }
.about-content .about-lead { color: var(--ink); font-family: var(--display); font-size: 22px; line-height: 1.8; }
.about-details { margin-top: 38px; padding-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; border-top: 1px solid var(--line); }
.about-details div { display: grid; gap: 4px; }
.about-details small { color: var(--ink-soft); font-size: 10px; letter-spacing: .08em; }
.about-details strong { font-family: var(--display); font-size: 14px; font-weight: 500; }

.closing-note { min-height: 530px; display: grid; place-items: center; color: white; background: linear-gradient(rgba(16,31,24,.82),rgba(16,31,24,.82)), url("assets/images/hero-travel.jpg") center 60% / cover fixed; }
.closing-content { display: grid; justify-items: center; text-align: center; }
.closing-content svg { width: 66px; fill: none; stroke: var(--gold); stroke-width: 1; }
.closing-content p { margin: 28px 0 22px; font-family: var(--display); font-size: clamp(28px, 3.2vw, 44px); line-height: 1.7; }
.closing-content a { font-size: 11px; letter-spacing: .15em; border-bottom: 1px solid rgba(255,255,255,.45); }

.story-dialog { width: min(760px, calc(100% - 36px)); max-height: calc(100svh - 48px); padding: 64px; color: var(--ink); background: var(--surface); border: 0; box-shadow: 0 28px 90px rgba(0,0,0,.32); }
.story-dialog::backdrop { background: rgba(9,18,14,.78); backdrop-filter: blur(5px); }
.story-dialog h2 { margin: 0 0 22px; font-family: var(--display); font-size: clamp(34px, 5vw, 52px); font-weight: 500; }
.story-dialog > p { color: var(--ink-soft); font-size: 14px; line-height: 2; }
.story-dialog .dialog-lead { color: var(--ink); font-family: var(--display); font-size: 20px; }
.story-dialog figure { margin: 34px 0 0; }
.story-dialog figure img { max-height: 420px; object-fit: cover; }
.story-dialog figcaption { margin-top: 9px; color: var(--ink-soft); font-size: 10px; letter-spacing: .08em; }
.dialog-close { position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; padding: 0; background: transparent; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; }
.dialog-close span { position: absolute; left: 10px; top: 19px; width: 19px; height: 1px; background: var(--ink); transform: rotate(45deg); }
.dialog-close span + span { transform: rotate(-45deg); }

.site-footer { color: rgba(255,255,255,.72); background: #111c17; }
.footer-main { min-height: 160px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-brand { display: grid; gap: 6px; }
.footer-brand strong { color: white; font-family: var(--display); font-size: 20px; letter-spacing: .08em; }
.footer-brand span { font-size: 11px; letter-spacing: .06em; }
.footer-main nav { display: flex; gap: 30px; font-size: 12px; }
.footer-main a:hover, .footer-bottom a:hover { color: white; }
.footer-bottom { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 25px; font-size: 11px; border-top: 1px solid rgba(255,255,255,.11); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .closing-note { background-attachment: scroll; }
}
