:root {
  --ink: #1a1b18;
  --paper: #f3efe5;
  --paper-deep: #e6dfd1;
  --accent: #bd3b2e;
  --moss: #596451;
  --line: rgba(26, 27, 24, 0.18);
  --max: 1280px;
  --copy: 700px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
}
body.lightbox-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.reading-progress {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  pointer-events: none;
}
.reading-progress span { display: block; width: 0; height: 100%; background: var(--accent); }

.site-header {
  position: fixed;
  z-index: 50;
  top: 22px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
}
.brand, .journey-toggle {
  pointer-events: auto;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(18, 19, 17, 0.74);
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
}
.brand {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
}
.journey-toggle {
  padding: 13px 18px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
}
.journey-toggle span { display: inline-block; margin-left: 8px; transition: transform .25s ease; }
.journey-toggle[aria-expanded="true"] span { transform: rotate(180deg); }
.journey-nav {
  position: absolute;
  pointer-events: auto;
  top: 54px;
  right: 0;
  display: none;
  min-width: 210px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(243, 239, 229, .96);
  box-shadow: 0 12px 44px rgba(0,0,0,.2);
  backdrop-filter: blur(18px);
}
.journey-nav.open { display: grid; }
.journey-nav a {
  padding: 8px 12px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 13px;
}
.journey-nav a:hover, .journey-nav a.active { color: #fff; background: var(--accent); }

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background: #252821;
}
.hero-image, .hero-shade { position: absolute; inset: 0; }
.hero-image {
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
  animation: hero-arrive 1.3s cubic-bezier(.2,.7,.2,1) both;
}
.hero-shade { background: linear-gradient(180deg, rgba(12,14,11,.14) 25%, rgba(12,14,11,.76) 100%); }
.hero-content {
  position: relative;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 18vh 0 9vh;
}
.kicker, .footer-kicker, .intro-label {
  margin: 0 0 18px;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .22em;
}
.hero h1 {
  margin: 0;
  max-width: 900px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(76px, 14vw, 205px);
  font-weight: 400;
  line-height: .72;
  letter-spacing: -.075em;
}
.hero h1 em { padding-left: .32em; font-weight: 400; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin-top: 54px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .03em;
}
.scroll-cue {
  position: absolute;
  right: 4vw;
  bottom: 9vh;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.scroll-cue span { margin-left: 8px; }

.story-intro {
  display: grid;
  grid-template-columns: .55fr 1.45fr 1fr;
  gap: 6vw;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 120px 0;
  border-bottom: 1px solid var(--line);
}
.intro-copy { font-family: Georgia, serif; font-size: clamp(25px, 3vw, 42px); line-height: 1.28; }
.intro-copy > :first-child { display: none; }
.intro-copy div { display: inline; }
.intro-copy br, .intro-copy div:nth-child(n+3) { display: none; }
.trip-stats { margin: 0; }
.trip-stats div { padding: 14px 0; border-top: 1px solid var(--line); }
.trip-stats dt { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.trip-stats dd { margin: 3px 0 0; font-family: Georgia, serif; font-size: 24px; line-height: 1.25; }

.story { padding-bottom: 100px; }
.day-marker {
  width: min(var(--max), calc(100% - 48px));
  margin: 150px auto 72px;
  scroll-margin-top: 80px;
  border-top: 1px solid var(--ink);
}
.day-marker span { display: inline-block; padding-top: 16px; font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.day-marker h2 { margin: 10px 0 0; font-family: Georgia, serif; font-size: clamp(52px, 8vw, 112px); font-weight: 400; line-height: .9; letter-spacing: -.05em; }
.prose {
  width: min(var(--copy), calc(100% - 48px));
  margin: 52px auto;
  font-size: clamp(17px, 1.6vw, 21px);
}
.prose .source-title { font-family: Georgia, serif; font-size: 1.45em; line-height: 1.25; }
.prose p, .prose div { margin: 0 0 1.1em; }
.media {
  width: min(var(--max), calc(100% - 48px));
  margin: 72px auto;
}
.media img, .gallery img, .columns img {
  width: 100%;
  height: auto;
  background: var(--paper-deep);
  cursor: zoom-in;
}
figcaption {
  max-width: 640px;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(26,27,24,.72);
}
figcaption p { margin: 0; }
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 10px;
  width: min(1500px, calc(100% - 24px));
  margin: 80px auto;
}
.gallery figure { grid-column: span 6; margin: 0; }
.gallery figure:nth-child(3n) { grid-column: span 12; }
.gallery img { height: 100%; max-height: 78vh; object-fit: cover; }
.gallery figcaption { padding-left: 2px; }
.columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 16px;
  width: min(var(--max), calc(100% - 48px));
  margin: 72px auto;
  align-items: start;
}
.columns > .prose, .columns > .media, .columns > .gallery { width: 100%; margin: 0; }
.columns .gallery { display: contents; }
.columns .gallery figure { margin: 0; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.site-footer {
  padding: 140px 24px 48px;
  color: #f8f3e9;
  background: #20231e;
  text-align: center;
}
.site-footer h2 { max-width: 900px; margin: 0 auto 42px; font-family: Georgia, serif; font-size: clamp(48px, 8vw, 110px); font-weight: 400; line-height: .95; letter-spacing: -.055em; }
.site-footer > a { display: inline-block; padding: 13px 20px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; text-decoration: none; font-size: 13px; }
.credit { margin: 110px 0 0; color: rgba(255,255,255,.55); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 40px 70px;
  border: 0;
  color: #fff;
  background: rgba(12,13,11,.96);
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(12,13,11,.96); }
.lightbox img { max-width: 100%; max-height: calc(100vh - 80px); object-fit: contain; }
.lightbox button { position: fixed; z-index: 2; border: 0; color: #fff; background: transparent; cursor: pointer; }
.lightbox-close { top: 20px; right: 28px; font-size: 36px; }
.lightbox-prev, .lightbox-next { top: 50%; font-size: 28px; }
.lightbox-prev { left: 25px; }
.lightbox-next { right: 25px; }
.lightbox-count { position: fixed; bottom: 10px; left: 0; right: 0; text-align: center; font-size: 12px; }

@keyframes hero-arrive { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: scale(1.02); } }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .site-header { top: 14px; left: 14px; right: 14px; }
  .hero-content { width: calc(100% - 28px); padding-bottom: 12vh; }
  .hero h1 { font-size: clamp(70px, 27vw, 130px); }
  .hero-meta { max-width: 75%; margin-top: 40px; gap: 4px 18px; }
  .scroll-cue { right: 18px; bottom: 30px; writing-mode: vertical-rl; }
  .story-intro { grid-template-columns: 1fr; gap: 28px; width: calc(100% - 36px); padding: 84px 0; }
  .intro-copy { font-size: 27px; }
  .trip-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .trip-stats div:last-child { grid-column: 1 / -1; }
  .day-marker { width: calc(100% - 36px); margin-top: 100px; }
  .prose, .media, .columns { width: calc(100% - 36px); }
  .gallery { width: calc(100% - 16px); gap: 5px; }
  .gallery figure, .gallery figure:nth-child(3n) { grid-column: span 12; }
  .gallery img { max-height: none; object-fit: contain; }
  .columns { grid-template-columns: 1fr; gap: 8px; }
  .lightbox { padding: 52px 12px; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
