@font-face { font-family: "EB Garamond"; src: url("../assets/fonts/EBGaramond-Variable.ttf") format("truetype"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../assets/fonts/BarlowCondensed-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../assets/fonts/BarlowCondensed-SemiBold.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --paper: #f0ede5;
  --paper-deep: #e4dfd4;
  --ink: #12221c;
  --muted: #5e635e;
  --forest: #071c15;
  --rust: #cb4c2d;
  --line: rgba(18, 34, 28, .26);
  --white: #fffdf8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "EB Garamond", Georgia, serif; font-size: 16px; }
body:has(dialog[open]) { overflow: hidden; }
img { display: block; max-width: 100%; }
button, a { font: inherit; color: inherit; }
button { cursor: pointer; }
a { text-underline-offset: 4px; }
.section-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; left: 16px; top: 12px; padding: 10px 14px; background: var(--white); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.eyebrow { margin: 0 0 10px; color: var(--rust); font: 600 .78rem/1.2 "Barlow Condensed", sans-serif; letter-spacing: .17em; text-transform: uppercase; }

.site-header { height: 64px; padding: 0 clamp(20px, 4vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--white); background: var(--forest); }
.brand { font: italic 700 1.5rem/1 "EB Garamond", Georgia, serif; letter-spacing: -.04em; text-decoration: none; }
.site-nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 44px); font: 600 .7rem/1 "Barlow Condensed", sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.site-nav a { text-decoration: none; }
.site-nav a:hover, .site-nav a:focus-visible { color: #f59a7e; }
.nav-original { padding: 9px 12px; border: 1px solid rgba(255,255,255,.55); }
.menu-toggle { display: none; padding: 7px 11px; border: 1px solid rgba(255,255,255,.5); color: var(--white); background: transparent; font: 600 .75rem "Barlow Condensed", sans-serif; letter-spacing: .1em; text-transform: uppercase; }

.week-hero { position: relative; min-height: 510px; overflow: hidden; border-bottom: 1px solid var(--line); }
.week-hero__image { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 54% 49%; }
.week-hero__wash { position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(240,237,229,.98) 0%, rgba(240,237,229,.93) 30%, rgba(240,237,229,.25) 64%, rgba(240,237,229,.05) 100%); }
.week-hero__number { position: absolute; z-index: 2; top: -22px; left: clamp(15px, 3vw, 48px); color: var(--rust); font: 560 clamp(7rem, 16vw, 13rem)/1 "EB Garamond", serif; letter-spacing: -.08em; opacity: .96; }
.week-hero__details { position: absolute; z-index: 3; left: clamp(24px, 4vw, 64px); bottom: 38px; width: min(290px, 30vw); font-family: "Barlow Condensed", sans-serif; text-transform: uppercase; letter-spacing: .13em; }
.week-hero__details > p:not(.eyebrow) { margin: 5px 0; font-size: .78rem; line-height: 1.45; }
.route-line { max-width: 260px; padding-top: 15px; border-top: 1px solid var(--line); }
.distance-block { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.distance-block span, .distance-block em { display: block; color: var(--rust); font: 600 .75rem/1 "Barlow Condensed", sans-serif; letter-spacing: .16em; }
.distance-block strong { display: block; margin: 2px 0 4px; font: 500 2.2rem/1 "EB Garamond", serif; letter-spacing: .03em; }
.distance-block small { font: 600 .9rem "Barlow Condensed", sans-serif; text-transform: uppercase; }
.week-hero__title { position: absolute; z-index: 3; left: clamp(250px, 28vw, 410px); top: 42px; max-width: 520px; }
.week-hero h1 { margin: 0; font-size: clamp(3.6rem, 7vw, 6.2rem); font-weight: 500; line-height: .84; letter-spacing: -.06em; }

.week-story { max-width: 1030px; padding-block: 34px; border-bottom: 1px solid var(--line); font-size: 1rem; line-height: 1.38; }
.week-story p { max-width: 900px; margin: 0 0 11px; }
.week-story .opening-copy::first-letter { float: left; margin: -.04em .09em -.12em 0; color: var(--rust); font-size: 4.8rem; line-height: .82; }
.story-signoff { font-style: italic; }

.route-section { padding-block: 28px 38px; border-bottom: 1px solid var(--line); }
.section-heading h2, .moment h2 { margin: 0; font-size: clamp(2.2rem, 4vw, 4rem); font-weight: 520; line-height: .95; letter-spacing: -.04em; }
.route-heading-row, .diary-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.map-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.text-button { padding: 9px 13px; border: 1px solid var(--ink); background: transparent; font: 600 .72rem "Barlow Condensed", sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.text-button:hover, .text-button:focus-visible { color: var(--white); background: var(--ink); }
.route-stops { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 0; margin: 26px 0 18px; list-style: none; }
.route-stops li { position: relative; display: flex; align-items: center; gap: 9px; font: 600 .7rem "Barlow Condensed", sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.route-stops li:not(:last-child)::after { content: ""; height: 1px; flex: 1; margin-inline: 10px; background: var(--rust); }
.route-stops span { display: grid; width: 21px; height: 21px; place-items: center; border-radius: 50%; color: var(--white); background: var(--ink); font-size: .65rem; }
.route-map { position: relative; aspect-ratio: 16/5.7; overflow: hidden; border: 1px solid var(--line); background: #d8ddd5; }
.route-map img { width: 100%; height: 100%; object-fit: cover; }
.route-map__base { filter: grayscale(1) contrast(.88); opacity: .48; }
.route-map__reveal { position: absolute; inset: 0; width: 100%; overflow: hidden; }
.route-map__reveal.is-playing { animation: reveal-route 3.8s cubic-bezier(.3,.1,.2,1) both; }
.route-map__reveal img { width: calc(min(1180px, 100vw - 40px) - 2px); max-width: none; }
.route-map > p { position: absolute; left: 8px; bottom: 6px; margin: 0; padding: 3px 6px; color: #313b36; background: rgba(255,255,255,.76); font: 400 .56rem "Barlow Condensed", sans-serif; }
@keyframes reveal-route { from { width: 0; } to { width: 100%; } }
.trip-context { display: grid; grid-template-columns: 1.1fr .8fr .8fr; gap: 24px; align-items: start; margin-top: 24px; padding: 24px; background: var(--paper-deep); border: 1px solid var(--line); }
.trip-context[hidden] { display: none; }
.trip-context h3 { margin: 0 0 12px; font-size: 2rem; line-height: 1; }
.trip-context p { line-height: 1.5; }
.trip-context figure { margin: 0; }
.trip-context figure img { width: 100%; aspect-ratio: .85; object-fit: contain; background: #d8ddd5; }
.trip-context figcaption { margin-top: 6px; font: 600 .65rem "Barlow Condensed", sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.map-source-note { color: var(--muted); font-size: .85rem; }

.moment { display: grid; grid-template-columns: .7fr 1.55fr; gap: 28px; padding-block: 30px; border-bottom: 1px solid var(--line); }
.moment__copy { padding: 3px 0 0; }
.moment__copy p { margin: 12px 0; line-height: 1.38; }
.source-label { font: 600 .66rem "Barlow Condensed", sans-serif; letter-spacing: .13em; text-transform: uppercase; color: var(--rust); }
.image-launch { position: relative; display: block; width: 100%; overflow: hidden; padding: 0; border: 0; background: #ccd1ca; text-align: left; }
.image-launch:focus-visible { outline: 3px solid var(--rust); outline-offset: 4px; }
.image-launch img { width: 100%; height: 100%; object-fit: cover; }
.image-launch img.is-quarter-turned { position: absolute; left: 50%; top: 50%; max-width: none; max-height: none; object-fit: contain; transform-origin: center; }
.feature-launch { min-height: 370px; }
.feature-launch img { position: absolute; inset: 0; }
.feature-launch > span { position: absolute; right: 12px; bottom: 12px; padding: 8px 10px; color: var(--white); background: rgba(7,28,21,.86); font: 600 .68rem "Barlow Condensed", sans-serif; letter-spacing: .1em; text-transform: uppercase; }

.featured { padding-block: 30px 34px; border-bottom: 1px solid var(--line); }
.featured .section-heading { margin-bottom: 18px; }
.featured-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.featured-grid figure { margin: 0; }
.featured-grid .image-launch { height: 220px; }
.featured-grid figcaption, .gallery-item figcaption { margin-top: 7px; font-size: .88rem; font-style: italic; line-height: 1.25; }

.week-fields { display: grid; grid-template-columns: repeat(6, 1fr); padding-block: 30px; border-bottom: 1px solid var(--line); }
.week-fields article { min-width: 0; padding: 0 17px; border-right: 1px dotted rgba(18,34,28,.4); }
.week-fields article:first-child { padding-left: 0; }
.week-fields article:last-child { padding-right: 0; border-right: 0; }
.week-fields .field-label { display: flex; align-items: center; gap: 8px; min-height: 25px; }
.week-fields .field-icon { flex: 0 0 auto; width: 23px; height: 23px; }
.week-fields .field-label span { color: var(--ink); font: 600 .7rem "Barlow Condensed", sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.week-fields p { margin: 12px 0 0; font-size: .83rem; font-style: italic; line-height: 1.35; }
.week-fields .field-key { color: var(--rust); font-style: normal; font-weight: 600; }
.week-fields .field-score { display: block; margin-top: 8px; color: var(--rust); font: 400 1.55rem/1 "EB Garamond", Georgia, serif; }
.week-fields .field-score small { display: block; margin-bottom: 3px; color: var(--ink); font: 600 .6rem/1 "Barlow Condensed", sans-serif; letter-spacing: .11em; text-transform: uppercase; }

.photo-diary { padding-block: 36px 46px; }
.diary-heading-row > p { max-width: 440px; margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.4; }
.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); align-items: start; gap: 30px 18px; margin-top: 30px; }
.gallery-item { min-width: 0; margin: 0; }
.gallery-item--anchor { grid-column: span 8; --gallery-height: 430px; }
.gallery-item--portrait { grid-column: span 4; --gallery-height: 430px; }
.gallery-item--compact { grid-column: span 4; --gallery-height: 270px; }
.gallery-item--panorama { grid-column: span 8; --gallery-height: 270px; }
.gallery-item--feature { grid-column: span 7; --gallery-height: 325px; }
.gallery-item--support { grid-column: span 5; --gallery-height: 325px; }
.gallery-item--feature-wide { grid-column: span 8; --gallery-height: 330px; }
.gallery-item--support-narrow { grid-column: span 4; --gallery-height: 330px; }
.gallery-item--third { grid-column: span 4; --gallery-height: 275px; }
.gallery-item .image-launch { height: var(--gallery-height); overflow: hidden; background: #ccd1ca; }
.gallery-item .image-launch > span { position: absolute; z-index: 2; left: 0; top: 0; min-width: 44px; padding: 7px 12px 10px 5px; border-radius: 0 0 20px 0; color: var(--rust); background: var(--paper); box-shadow: 1px 1px 0 rgba(18,34,28,.14); font: 600 1rem "Barlow Condensed", sans-serif; letter-spacing: .06em; text-align: left; }
.gallery-item img { transition: transform .35s ease; }
.gallery-item .image-launch:hover img { transform: scale(1.025); }

.week-navigation { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-block: 28px 42px; border-top: 1px solid var(--line); }
.week-navigation a { display: grid; gap: 3px; text-decoration: none; }
.week-navigation .all-weeks { text-align: center; }
.week-navigation .next-week { text-align: right; }
.week-navigation span { color: var(--rust); font: 600 .67rem "Barlow Condensed", sans-serif; letter-spacing: .13em; text-transform: uppercase; }
.week-navigation strong { font-size: .88rem; font-style: italic; font-weight: 500; }
.week-navigation a:hover strong, .week-navigation a:focus-visible strong { text-decoration: underline; }

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 28px clamp(20px, 4vw, 64px); color: rgba(255,255,255,.7); background: var(--forest); font: 600 .65rem "Barlow Condensed", sans-serif; letter-spacing: .11em; text-transform: uppercase; }
.site-footer .brand { color: var(--white); font: italic 700 1.35rem "EB Garamond", serif; text-transform: none; }

.lightbox { width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; padding: 0; border: 0; color: var(--white); background: #06130f; }
.lightbox::backdrop { background: rgba(0,0,0,.9); }
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.lightbox__bar { display: grid; align-items: center; gap: 20px; padding: 14px clamp(16px, 3vw, 40px); font-family: "Barlow Condensed", sans-serif; }
.lightbox__bar { grid-template-columns: 1fr auto; border-bottom: 1px solid rgba(255,255,255,.18); }
.lightbox button { padding: 9px 13px; border: 1px solid rgba(255,255,255,.55); color: var(--white); background: transparent; font: 600 .72rem "Barlow Condensed", sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.lightbox button:hover, .lightbox button:focus-visible { color: var(--forest); background: var(--white); }
.lightbox__viewer { width: min(1240px, calc(100% - 28px)); min-height: 0; margin: auto; padding: 22px 0; display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; align-items: center; gap: clamp(10px, 2vw, 22px); }
.lightbox__figure { min-width: 0; max-width: 100%; margin: 0; overflow: hidden; color: var(--ink); background: var(--paper); box-shadow: 0 20px 70px rgba(0,0,0,.32); }
.lightbox__stage { min-height: 0; display: grid; place-items: center; overflow: hidden; background: #020b08; }
.lightbox__stage img { max-width: 100%; max-height: calc(100vh - 220px); object-fit: contain; }
.lightbox__caption { min-height: 58px; padding: 12px 18px 14px; border-top: 3px solid var(--rust); background: var(--paper); }
.lightbox__caption p { max-width: 820px; margin: 0 auto; text-align: center; font-size: 1rem; font-style: italic; line-height: 1.3; }
.lightbox .lightbox__arrow { width: 48px; height: 68px; padding: 0; display: flex; align-items: center; justify-content: center; }
.lightbox__arrow img { width: 27px; height: 27px; filter: invert(1); }
.lightbox__arrow:hover img, .lightbox__arrow:focus-visible img { filter: none; }
.lightbox__arrow-label { display: none; }

@media (max-width: 900px) {
  .week-hero { min-height: 560px; }
  .week-hero__title { left: 34%; top: 56px; }
  .week-hero__wash { background: linear-gradient(90deg, rgba(240,237,229,.98), rgba(240,237,229,.75) 48%, rgba(240,237,229,.15)); }
  .trip-context { grid-template-columns: 1fr 1fr; }
  .trip-context__copy { grid-column: 1 / -1; }
  .week-fields { grid-template-columns: repeat(3, 1fr); row-gap: 26px; }
  .week-fields article:nth-child(3) { border-right: 0; }
  .week-fields article:nth-child(4) { padding-left: 0; }
  .gallery-grid { gap: 26px 14px; }
}

@media (max-width: 700px) {
  body { font-size: 17px; }
  .site-header { position: relative; }
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; z-index: 20; top: 64px; right: 0; width: min(300px, 100%); padding: 22px; flex-direction: column; align-items: stretch; background: var(--forest); }
  .site-nav.is-open { display: flex; }
  .week-hero { min-height: 690px; }
  .week-hero__image { height: 46%; top: auto; object-position: 54% center; }
  .week-hero__wash { background: linear-gradient(180deg, var(--paper) 0%, var(--paper) 55%, rgba(240,237,229,.15) 82%); }
  .week-hero__number { top: -10px; font-size: 10rem; }
  .week-hero__title { left: 42%; top: 62px; width: 56%; }
  .week-hero h1 { font-size: clamp(3.2rem, 14vw, 5.2rem); }
  .week-hero__title .eyebrow { display: none; }
  .week-hero__details { left: 20px; bottom: 325px; width: calc(100% - 40px); }
  .route-line { max-width: 100%; }
  .distance-block { display: grid; grid-template-columns: 1fr auto; align-items: end; }
  .distance-block span, .distance-block em { grid-column: 1; }
  .distance-block strong { grid-column: 2; grid-row: 1 / 3; }
  .route-heading-row, .diary-heading-row { display: grid; }
  .map-actions { justify-content: stretch; }
  .map-actions button { flex: 1; }
  .route-stops { grid-template-columns: 1fr 1fr; gap: 12px; }
  .route-stops li::after { display: none; }
  .route-map { aspect-ratio: 4/3; }
  .route-map img { object-position: center; }
  .route-map__reveal img { width: calc(100vw - 42px); }
  .trip-context { grid-template-columns: 1fr; }
  .trip-context__copy { grid-column: 1; }
  .moment { grid-template-columns: 1fr; }
  .feature-launch { min-height: 300px; }
  .featured-grid { grid-template-columns: 1fr; }
  .featured-grid .image-launch { height: 300px; }
  .week-fields { grid-template-columns: 1fr 1fr; }
  .week-fields article, .week-fields article:nth-child(4) { padding: 0 14px; border-right: 1px dotted rgba(18,34,28,.4); }
  .week-fields article:nth-child(odd) { padding-left: 0; }
  .week-fields article:nth-child(even) { padding-right: 0; border-right: 0; }
  .gallery-item--anchor, .gallery-item--panorama, .gallery-item--feature-wide { grid-column: 1 / -1; --gallery-height: 310px; }
  .gallery-item--portrait, .gallery-item--compact, .gallery-item--feature, .gallery-item--support, .gallery-item--support-narrow, .gallery-item--third { grid-column: span 6; --gallery-height: 220px; }
  .week-navigation { grid-template-columns: 1fr 1fr; }
  .week-navigation .all-weeks { grid-column: 1 / -1; grid-row: 1; }
  .site-footer { flex-direction: column; text-align: center; }
  .lightbox__viewer { grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0, 1fr) auto; align-content: center; gap: 12px; padding: 14px 0; }
  .lightbox__figure { grid-column: 1 / -1; grid-row: 1; }
  .lightbox__stage img { max-height: calc(100vh - 260px); }
  .lightbox .lightbox__arrow { width: 100%; height: 44px; gap: 8px; }
  .lightbox__arrow-label { display: inline; }
  .lightbox__arrow img { width: 20px; height: 20px; }
}

@media (max-width: 440px) {
  .week-hero__title { left: 38%; width: 62%; }
  .week-hero h1 { font-size: 3.35rem; }
  .week-fields { grid-template-columns: 1fr; }
  .week-fields article, .week-fields article:nth-child(4) { padding: 0 0 18px; border-right: 0; border-bottom: 1px dotted rgba(18,34,28,.35); }
  .gallery-item--anchor, .gallery-item--portrait, .gallery-item--compact, .gallery-item--panorama, .gallery-item--feature, .gallery-item--support, .gallery-item--feature-wide, .gallery-item--support-narrow, .gallery-item--third { grid-column: 1 / -1; --gallery-height: 235px; }
  .gallery-item--anchor, .gallery-item--panorama, .gallery-item--feature-wide { --gallery-height: 285px; }
}

/* Explicit fallback for mobile browsers that mishandle spans in a retained 12-column grid. */
@media (max-width: 1100px) {
  .photo-diary .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 14px;
  }
  .photo-diary .gallery-grid > .gallery-item {
    grid-column: auto;
    width: 100%;
    max-width: 100%;
  }
  .photo-diary .gallery-grid > .gallery-item--anchor,
  .photo-diary .gallery-grid > .gallery-item--panorama,
  .photo-diary .gallery-grid > .gallery-item--feature-wide {
    grid-column: 1 / -1;
  }
  .photo-diary .gallery-grid figcaption {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 600px) {
  .photo-diary .gallery-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .photo-diary .gallery-grid > .gallery-item,
  .photo-diary .gallery-grid > .gallery-item--anchor,
  .photo-diary .gallery-grid > .gallery-item--panorama,
  .photo-diary .gallery-grid > .gallery-item--feature-wide {
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .route-map__reveal.is-playing { animation-duration: .01ms; }
  .gallery-item img { transition: none; }
}
