:root {
  --ink: #f0f3f1;
  --muted: #b0bec3;
  --paper: #0c1b27;
  --panel: #132937;
  --accent: #c6d6d3;
  --line: #39505a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
:where(a, button, select, [role="button"], [tabindex]):focus-visible { outline: 3px solid #d5ef75; outline-offset: 4px; }
img { display: block; max-width: 100%; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 2000; top: 12px; left: 12px; min-height: 44px; padding: 12px 16px; color: #0c1b27; background: #d5ef75; font-size: 14px; font-weight: 700; transform: translateY(calc(-100% - 16px)); }
.skip-link:focus-visible { transform: translateY(0); }
.site-header { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 6%; background: #0a1924; }
.brand { display: flex; align-items: center; min-height: 44px; gap: 12px; font-size: 11px; font-weight: 800; letter-spacing: .12em; white-space: nowrap; }
.brand-mark { font-size: 22px; font-weight: 400; }
.brand-dot { color: #9eb4ba; }
nav { display: flex; gap: 36px; font-size: 12px; color: #c4d1d2; }
nav a, .header-link, .hero-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
nav a:hover, .header-link:hover { color: #fff; }
.header-link { font-size: 11px; font-weight: 700; }
.header-link span { margin-left: 12px; }
.hero { position: relative; display: flex; align-items: center; min-height: 650px; height: min(820px, 85vh); overflow: hidden; color: white; background: #35556a; }
.hero-art { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 20, 32, .8), rgba(6, 20, 32, .15) 70%), linear-gradient(0deg, rgba(6, 20, 32, .6), transparent 50%), url("images/A008.jpg") center 58% / cover no-repeat; }
.hero-content { position: relative; z-index: 1; width: min(1180px, 88%); margin: 0 auto; padding: 80px 0; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 25px; color: #a7bdc1; font-size: 10px; font-weight: 800; letter-spacing: .17em; }
.eyebrow > span:first-child { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #c4d9d3; }
.eyebrow.light { color: #e2eceb; }
h1, h2, h3, .footer-title { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.045em; }
h1 { margin: 0; font-family: Arial, Helvetica, sans-serif; font-size: clamp(64px, 10.5vw, 150px); line-height: .87; letter-spacing: -.065em; font-weight: 800; }
h1 span { color: #d3e2e4; }
h2 em, h3 em, .footer-title em { font-weight: 400; }
.hero-intro { max-width: 370px; margin: 32px 0 28px; font-size: 16px; line-height: 1.75; color: #f0f4f3; }
.hero-link { display: inline-flex; gap: 36px; align-items: center; min-height: 44px; border-bottom: 1px solid #e6eeed; padding-bottom: 13px; font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.hero-link span { font-size: 18px; }
.hero-bottom { position: absolute; z-index: 1; bottom: 30px; left: 6%; right: 6%; display: flex; justify-content: space-between; gap: 20px; font-size: 9px; font-weight: 700; letter-spacing: .15em; }
.hero-bottom a span { margin-left: 10px; }
.section-wrap { width: min(1180px, 88%); margin: 0 auto; }
.intro { display: grid; grid-template-columns: 1fr 2fr; padding-top: 135px; padding-bottom: 100px; }
.section-label { display: flex; gap: 15px; align-items: center; font-size: 10px; font-weight: 800; letter-spacing: .13em; color: #b3c4c6; }
.section-label span { color: #78959b; }
.intro-copy { max-width: 720px; }
h2 { font-size: clamp(39px, 5vw, 68px); line-height: 1.08; margin: 0 0 26px; }
.intro-copy > p:not(.eyebrow), .route-copy > p:not(.eyebrow), .diary-heading > p, .memories-heading > p, .diary-content > p:not(.eyebrow) { color: var(--muted); font-size: 16px; line-height: 1.8; max-width: 560px; }
.story-image { margin-top: 0; margin-bottom: 150px; }
.story-image img { width: 100%; max-height: 660px; aspect-ratio: 16 / 8; object-fit: cover; object-position: center 57%; }
.story-image figcaption { display: flex; justify-content: space-between; gap: 20px; padding-top: 14px; color: #a7bbbe; font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.route-section { display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 140px; }
.route-copy .section-label { margin-bottom: 65px; }
.route-copy > p:not(.eyebrow) { max-width: 720px; }
.route-copy .route-note { font-size: 13px; color: #b3c5c6; }
.map-panel { min-width: 0; background: #e7eee6; color: #1d3133; padding: 14px; }
.map-card { position: relative; overflow: hidden; background: #a4c2bd; }
#route-map { display: block; width: 100%; height: clamp(380px, 60vh, 640px); background: #dce8e7; }
.map-heading { position: absolute; z-index: 700; top: 16px; left: 16px; right: 16px; display: flex; justify-content: space-between; padding: 9px 11px; pointer-events: none; color: #315451; background: rgba(248, 250, 245, .9); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.map-heading-dot { padding: 0 5px; }
.map-status { position: absolute; z-index: 700; top: 50%; left: 50%; max-width: calc(100% - 32px); padding: 12px 16px; transform: translate(-50%, -50%); color: #1d3133; background: rgba(248, 250, 245, .95); font-size: 13px; line-height: 1.5; text-align: center; }
.map-status[hidden] { display: none; }
.route-marker { border: 0; background: transparent; }
.route-marker span { display: grid; place-items: center; width: 26px; height: 26px; border: 2px solid #f8faf1; border-radius: 50%; color: #f8faf1; background: #244541; box-shadow: 0 1px 5px rgba(0, 0, 0, .55); font-size: 10px; font-weight: 800; font-variant-numeric: tabular-nums; }
.route-marker.is-active span, .route-marker:focus span { color: #233d3d; background: #d5ef75; }
.route-marker:focus-visible { outline: 3px solid #d5ef75; outline-offset: 3px; border-radius: 50%; }
.leaflet-control-attribution { font-size: 10px; }
.leaflet-control-attribution a { display: inline-flex; align-items: center; min-height: 24px; }
.map-controls { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding: 24px 12px 10px; }
.map-selection { display: grid; gap: 10px; flex: 1; }
.map-selection label { font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.map-selection select { width: min(100%, 360px); min-height: 44px; padding: 12px; border: 1px solid #aebfb5; border-radius: 0; color: #1d3133; background: #f9faf5; }
.point-details { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 8px 14px; min-width: 230px; }
.point-count { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #233d3d; color: #d5ef75; font-family: Georgia, serif; font-size: 18px; }
.point-details strong, .point-details div span { display: block; }
.point-details strong { font-size: 13px; }
.point-details div span { margin-top: 6px; color: #50665e; font-size: 12px; font-variant-numeric: tabular-nums; }
.point-details a { display: inline-flex; align-items: center; grid-column: 2; min-height: 44px; color: #244541; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.point-details a[hidden] { display: none; }
.map-credit { margin: 20px 12px 8px; color: #50665e; font-size: 11px; line-height: 1.6; }
.map-credit a { display: inline-flex; align-items: center; min-height: 24px; text-decoration: underline; text-underline-offset: .2em; }
.diary-section { padding: 125px 0; background: #132a38; }
.diary-heading, .memories-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.diary-heading .section-label, .memories-heading .section-label { margin-bottom: 65px; }
.diary-heading > p, .memories-heading > p { max-width: 340px; margin-bottom: 30px; }
.day-picker { display: grid; gap: 12px; margin: 45px 0 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.day-picker label { font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.day-picker select { width: min(100%, 520px); min-height: 44px; padding: 14px; border: 1px solid #688089; border-radius: 0; color: #f0f3f1; background: #0d202d; }
.diary-card { display: grid; grid-template-columns: 1fr 1fr; min-height: 370px; background: #0e202d; }
.diary-image { align-self: start; position: relative; margin: 0; }
.diary-image img { width: 100%; min-height: 370px; max-height: 580px; object-fit: cover; }
.diary-image img[hidden], .diary-image-empty[hidden] { display: none; }
.diary-image-empty { display: grid; place-items: center; min-height: 370px; padding: 35px; color: #b0bec3; background: #19313e; text-align: center; font-size: 14px; line-height: 1.6; }
.diary-image figcaption { padding: 14px; color: #a9bdc0; font-size: 9px; font-weight: 700; letter-spacing: .1em; line-height: 1.5; }
.diary-content { display: flex; flex-direction: column; padding: 55px 11%; min-width: 0; }
.diary-content #day-text { white-space: pre-line; overflow-wrap: anywhere; }
h3 { margin: 0 0 15px; font-size: clamp(34px, 3.2vw, 46px); line-height: 1.1; }
.diary-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); color: #a7babe; font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.diary-footer a { display: inline-flex; align-items: center; min-height: 44px; color: #d5ef75; font-size: 9px; font-weight: 800; letter-spacing: .1em; text-decoration: underline; text-underline-offset: .25em; }
.diary-footer span:last-child { font-size: 10px; }
.diary-navigation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.diary-navigation a { display: flex; flex-direction: column; gap: 9px; min-width: 0; padding: 18px 20px; border: 1px solid var(--line); color: var(--ink); }
.diary-navigation a:hover { background: #19313e; }
.diary-navigation a[hidden] { display: none; }
.diary-navigation span { color: #a7babe; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.diary-navigation strong { font-size: 13px; font-weight: 400; line-height: 1.5; overflow-wrap: anywhere; }
.diary-navigation a:last-child { text-align: right; align-items: flex-end; }
.diary-caption { display: flex; justify-content: space-between; color: #a7babe; margin: 18px 0 0; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.memories { padding-top: 140px; padding-bottom: 140px; }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 50px; }
.photo-card { min-width: 0; border: 0; padding: 0; color: #dce5e4; background: #132937; text-align: left; cursor: pointer; overflow: hidden; }
.photo-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s ease, opacity .3s ease; }
.photo-card:hover img { transform: scale(1.025); opacity: .85; }
.photo-card span { position: relative; display: block; padding: 16px; font-size: 12px; line-height: 1.4; background: #132937; }
.lightbox { width: min(1100px, 96vw); max-width: none; max-height: 94vh; padding: 0; border: 1px solid #536b75; color: #f1f5f4; background: #0c1b27; }
.lightbox::backdrop { background: rgba(2, 9, 15, .9); }
.lightbox-inner { display: flex; flex-direction: column; max-height: 94vh; padding: 20px; }
.lightbox-top, .lightbox-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.lightbox-top { padding-bottom: 16px; color: #bacccc; font-size: 11px; letter-spacing: .14em; }
.lightbox button { min-width: 44px; min-height: 44px; border: 1px solid #607782; padding: 10px 15px; color: #f1f5f4; background: transparent; cursor: pointer; }
.lightbox button:hover { background: #263f4c; }
.lightbox-close { font-size: 10px; letter-spacing: .12em; }
.lightbox-close span { padding-left: 8px; font-size: 18px; }
.lightbox-image { min-height: 0; display: flex; justify-content: center; }
.lightbox-image img { max-width: 100%; max-height: calc(94vh - 160px); object-fit: contain; }
.lightbox-bottom { padding-top: 14px; }
.lightbox-bottom p { margin: 0; line-height: 1.5; }
.lightbox-navigation { display: flex; gap: 8px; }
.lightbox-navigation button { font-size: 20px; line-height: 1; }
footer { color: #f5f7ed; background: #08151f; padding: 80px 6% 25px; }
.footer-main { display: flex; align-items: end; justify-content: space-between; padding-bottom: 75px; }
.footer-title { margin: 0; font-size: clamp(40px, 5vw, 66px); line-height: 1.05; }
.back-to-top { display: inline-flex; align-items: center; min-height: 44px; border-bottom: 1px solid #839895; padding-bottom: 12px; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.back-to-top span { margin-left: 20px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid #506765; color: #a4b8bb; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
@media (max-width: 720px) {
  .site-header { height: 70px; padding: 0 6%; }
  .brand { font-size: 9px; gap: 6px; letter-spacing: .06em; }
  nav { gap: 14px; font-size: 11px; }
  .header-link { display: none; }
  .hero { height: auto; min-height: 650px; }
  .hero-art { background-position: center, center, 59% center; }
  .hero-content { padding: 110px 0 140px; }
  h1 { font-size: clamp(42px, 13vw, 75px); }
  .hero-bottom span:last-child { display: none; }
  .intro { grid-template-columns: 1fr; gap: 40px; padding-top: 90px; padding-bottom: 70px; }
  .story-image { margin-bottom: 100px; }
  .story-image img { aspect-ratio: 4 / 3; }
  .route-section { gap: 36px; padding-bottom: 90px; }
  .route-copy .section-label, .diary-heading .section-label, .memories-heading .section-label { margin-bottom: 45px; }
  .map-panel { padding: 8px; }
  #route-map { height: min(62vh, 520px); min-height: 380px; }
  .map-heading { top: 10px; left: 10px; right: 10px; font-size: 8px; }
  .map-controls { align-items: stretch; flex-direction: column; padding: 20px 8px 8px; }
  .map-selection select { width: 100%; }
  .point-details { min-width: 0; }
  .diary-section { padding: 90px 0; }
  .diary-heading, .memories-heading { display: block; }
  .day-picker { margin-top: 35px; }
  .diary-card { grid-template-columns: 1fr; }
  .diary-image img { min-height: 260px; max-height: 360px; }
  .diary-image-empty { min-height: 260px; }
  .diary-content { padding: 40px 8%; }
  .diary-navigation { grid-template-columns: 1fr; }
  .diary-navigation a:last-child { align-items: flex-start; text-align: left; }
  .diary-caption { gap: 20px; font-size: 8px; }
  .memories { padding-top: 90px; padding-bottom: 90px; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .photo-card span { padding: 12px; font-size: 11px; }
  .lightbox-inner { padding: 14px; }
  .footer-main { display: block; }
  .back-to-top { display: inline-block; margin-top: 40px; }
  .footer-bottom { flex-wrap: wrap; line-height: 1.6; }
}
@media (max-width: 380px) {
  .site-header { gap: 8px; }
  .brand { max-width: 110px; font-size: 8px; line-height: 1.3; white-space: normal; }
  nav { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .photo-card:hover img { transform: none; }
}
