
:root {
  --paper: #f1efe8;
  --ink: #101210;
  --muted: #696d66;
  --line: rgba(16, 18, 16, .24);
  --acid: #17483a;
  --sage: #d6ddd3;
  --night: #111716;
  --slate: #5e6c70;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

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

.reading-progress {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #7f9a89;
  transform: scaleX(0);
  transform-origin: left center;
  animation: reading-progress linear;
  animation-timeline: scroll(root);
}

@keyframes reading-progress {
  to { transform: scaleX(1); }
}

.site-header {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 25px 34px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.site-header a { color: inherit; text-decoration: none; }
.site-header span { padding: 6px 8px; background: rgba(241, 239, 232, .9); }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(390px, 44%) minmax(0, 56%);
  height: 100vh;
  min-height: 0;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
}

.hero-media {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  height: 100vh;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-left: 2px solid var(--ink);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 68%;
}

.hero-grid {
  position: absolute;
  z-index: 2;
  top: 40px;
  left: 34px;
  width: calc(44% - 68px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.hero-grid i { height: 2px; background: currentColor; }

.hero-copy {
  position: relative;
  z-index: 3;
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100vh;
  min-height: 0;
  padding: 110px clamp(24px, 3vw, 48px) 38px;
}

.eyebrow,
.chapter-label {
  margin: 0 0 12px;
  font-size: clamp(14px, 1.5vw, 22px);
  font-weight: 700;
  letter-spacing: -.02em;
}

.eyebrow {
  align-self: flex-start;
  padding-left: 16px;
  border-left: 8px solid var(--acid);
}

h1 {
  max-width: 100%;
  margin: 0;
  font-family: "Arial Narrow", Arial, Helvetica, sans-serif;
  font-size: clamp(66px, 6.6vw, 98px);
  font-stretch: condensed;
  font-weight: 900;
  line-height: .76;
  letter-spacing: -.075em;
  text-transform: uppercase;
}

.hero-subtitle {
  max-width: 540px;
  margin: 24px 0 0;
  padding-left: 18px;
  border-left: 8px solid var(--acid);
  font-size: clamp(17px, 1.65vw, 24px);
  font-weight: 700;
  line-height: 1.15;
}

.hero-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  width: 100%;
  margin-top: 24px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-meta span {
  padding: 12px 0 0;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--acid);
  color: var(--paper);
  border-bottom: 1px solid rgba(241, 239, 232, .5);
}

.facts div {
  min-height: 190px;
  padding: 30px 32px;
  border-right: 1px solid rgba(241, 239, 232, .4);
}

.facts div:last-child { border-right: 0; }

.facts strong {
  display: block;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: clamp(58px, 7vw, 108px);
  font-weight: 900;
  line-height: .8;
  letter-spacing: -.075em;
}

.facts span {
  display: block;
  margin-top: 22px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.route-note {
  display: grid;
  grid-template-columns: .7fr 2fr;
  gap: 50px;
  padding: 120px clamp(24px, 6vw, 96px) 145px;
  background: var(--paper);
}

.chapter-label {
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.route-note ol { margin: 0; padding: 0; list-style: none; }

.route-note li {
  display: grid;
  grid-template-columns: 58px 1fr;
  padding: 18px 0 14px;
  border-top: 2px solid var(--ink);
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: clamp(27px, 3.2vw, 48px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.045em;
  text-transform: uppercase;
}

.route-note li:last-child { border-bottom: 2px solid var(--ink); }

.route-note li span {
  padding-top: 7px;
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 10px;
  letter-spacing: .1em;
}

.essay { overflow: hidden; }

.essay-panel {
  position: relative;
  margin: 0;
  transition: background-color .35s ease, color .35s ease;
}

.tone-paper { background: var(--paper); color: var(--ink); }
.tone-night { background: var(--night); color: #f0f0e9; }
.tone-lime { background: var(--sage); color: var(--ink); }
.tone-slate { background: var(--slate); color: #f6f3eb; }

.text-panel { padding: 0 24px; }

.text-panel > p {
  width: min(100%, 700px);
  margin: 0 auto;
  padding-bottom: 1.25em;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(19px, 1.75vw, 24px);
  line-height: 1.62;
}

.intro-panel { padding-top: 112px; }
.intro-panel > p {
  max-width: 620px;
  padding: 18px 0 5rem;
  border-top: 2px solid currentColor;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--muted);
  font-size: clamp(15px, 1.35vw, 18px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
}

.ride-note {
  display: grid;
  grid-template-columns: minmax(190px, .65fr) 2fr;
  gap: clamp(28px, 5vw, 80px);
  padding: 28px clamp(24px, 6vw, 96px) 30px;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  font-family: "Courier New", Courier, monospace;
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.ride-note-heading {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.ride-note-heading strong { font-size: 13px; }
.ride-note-heading span { opacity: .7; }

.ride-note dl {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
}

.ride-note dl div { min-width: 0; }
.ride-note dt { margin-bottom: 7px; opacity: .55; }
.ride-note dd { margin: 0; white-space: nowrap; }

.dialogue {
  padding-left: 46px !important;
  font-style: italic;
}

.image-panel {
  min-height: 100svh;
  padding: clamp(72px, 9vw, 132px) 32px;
}

.photo-break {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 1040px);
  min-height: calc(100svh - 264px);
  margin: 0 auto;
}

.photo-break.portrait { width: min(100%, 720px); }
.photo-break.portrait.offset-left { margin-left: max(0px, calc((100vw - 1120px) / 2)); }
.photo-break.portrait.offset-right { margin-left: auto; margin-right: max(0px, calc((100vw - 1120px) / 2)); }
.photo-break.wide { width: min(100%, 1240px); }

.photo-break img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(76svh, 760px);
  object-fit: contain;
}

.photo-index {
  position: absolute;
  z-index: 1;
  top: -28px;
  left: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
}

.text-panel:nth-child(11n + 5)::after {
  content: "";
  position: absolute;
  top: 0;
  right: clamp(22px, 7vw, 110px);
  width: 44px;
  height: 44px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  opacity: .45;
}

.image-panel:nth-child(7n + 2)::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: clamp(18px, 4vw, 60px);
  top: 50%;
  width: clamp(44px, 7vw, 104px);
  border-top: 2px solid currentColor;
  opacity: .6;
}

.video-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  padding: 72px 24px;
}

.video-break {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  background: #080a09;
  border: 2px solid currentColor;
}

.video-break iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

footer {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, .5fr);
  gap: clamp(48px, 8vw, 150px);
  min-height: 52svh;
  padding: clamp(64px, 9vw, 130px) clamp(24px, 6vw, 96px) 42px;
  background: var(--acid);
  color: var(--paper);
  border-top: 2px solid var(--paper);
}

.footer-main,
.footer-side { display: flex; flex-direction: column; }

.footer-label {
  margin: 0 0 32px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.lux-link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 14px;
  border-bottom: 3px solid var(--paper);
  color: var(--paper);
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: clamp(58px, 10vw, 150px);
  font-weight: 900;
  line-height: .8;
  letter-spacing: -.075em;
  text-decoration: none;
  text-transform: uppercase;
}

.lux-link span {
  font-family: Arial, sans-serif;
  font-size: clamp(22px, 3vw, 42px);
  letter-spacing: 0;
  transition: transform .2s ease;
}

.lux-link:hover span,
.lux-link:focus-visible span { transform: translate(5px, -5px); }

.footer-side { justify-content: space-between; padding-top: 42px; }

.footer-thanks {
  max-width: 300px;
  margin: 0;
  font-size: clamp(19px, 2vw, 27px);
  font-weight: 700;
  line-height: 1.3;
}

.back-to-top {
  align-self: flex-start;
  margin-top: 80px;
  color: var(--paper);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-decoration: none;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .site-header { padding: 18px 16px; }
  .site-header span { display: none; }
  .site-header a { padding: 6px 8px; background: rgba(241, 239, 232, .9); }
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: 40vh minmax(0, 60vh);
    height: 100vh;
    min-height: 0;
    overflow: visible;
  }
  .hero-media {
    grid-column: 1;
    grid-row: 1;
    height: 40vh;
    min-height: 0;
    border: 0;
    border-bottom: 2px solid var(--ink);
  }
  .hero-image { object-position: 50% 72%; }
  .hero-grid {
    top: calc(40vh + 18px);
    left: 16px;
    width: calc(100% - 32px);
    gap: 8px;
  }
  .hero-copy {
    grid-column: 1;
    grid-row: 2;
    display: block;
    height: 60vh;
    min-height: 0;
    padding: 52px 16px 18px;
  }
  h1 {
    font-size: clamp(54px, 17vw, 72px);
    line-height: .76;
    letter-spacing: -.065em;
  }
  .eyebrow { margin-bottom: 8px; font-size: 13px; border-left-width: 5px; }
  .hero-subtitle {
    max-width: 100%;
    margin-top: 16px;
    padding-left: 12px;
    font-size: 15px;
    line-height: 1.22;
    border-left-width: 5px;
  }
  .hero-meta {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 18px;
    font-size: 9px;
  }
  .hero-meta span { padding-top: 8px; border-bottom: 0; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div { min-height: 138px; padding: 24px 18px; border-bottom: 1px solid rgba(241, 239, 232, .4); }
  .facts div:nth-child(2) { border-right: 0; }
  .facts strong { font-size: clamp(52px, 17vw, 78px); }
  .route-note { grid-template-columns: 1fr; gap: 24px; padding: 82px 20px 100px; }
  .route-note li { grid-template-columns: 40px 1fr; font-size: 25px; }
  .hero-copy {
    background: var(--paper);
    color: var(--ink);
  }
  .intro-panel { padding-top: 76px; }
  .intro-panel > p { padding: 14px 0 3.5rem; font-size: 15px; }
  .ride-note {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 24px 20px 26px;
    border-bottom: 0;
  }
  .ride-note dl {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 24px;
  }
  .text-panel { padding-left: 20px; padding-right: 20px; }
  .ride-note + .text-panel { padding-top: 42px; }
  .text-panel > p { font-size: 19px; line-height: 1.58; }
  .dialogue { padding-left: 28px !important; }
  .image-panel { min-height: 88svh; padding: 62px 16px; }
  .photo-break,
  .photo-break.portrait,
  .photo-break.wide {
    width: 100%;
    min-height: calc(88svh - 124px);
    margin-left: auto;
    margin-right: auto;
  }
  .photo-break img { max-height: 70svh; }
  .video-panel {
    min-height: 88svh;
    padding: 44px 16px;
  }
  .video-break { width: min(100%, 390px); }
  footer {
    grid-template-columns: 1fr;
    gap: 54px;
    min-height: 0;
    padding: 72px 20px 32px;
  }
  .footer-label { margin-bottom: 24px; }
  .lux-link { font-size: clamp(40px, 13vw, 76px); gap: 12px; }
  .footer-main, .footer-side { min-width: 0; }
  .footer-side { gap: 70px; padding-top: 0; }
  .footer-thanks { max-width: 260px; }
  .back-to-top { margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
