:root {
  color-scheme: light;
  --paper: #f4f1e8;
  --ink: #172520;
  --muted: #495950;
  --line: #a5afa3;
  --panel: #e0e4d4;
  --accent: #e6ed85;
  --forest: #142821;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif CJK JP", serif;
  --latin: "Baskervville", Baskerville, Georgia, serif;
  --sans: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans CJK JP", system-ui, sans-serif;
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.85; }
h1, h2, h3, p, ol, figure { margin: 0; }
h1, h2, h3, .brand { font-family: var(--serif); }
h2 { font-size: clamp(2.2rem, 4.8vw, 4.4rem); font-weight: 700; line-height: 1.2; letter-spacing: -.045em; }
h3 { line-height: 1.35; }
a { color: inherit; text-underline-offset: .26em; }
a:hover { text-decoration-thickness: .12em; }
a:focus-visible, summary:focus-visible { outline: 3px solid #728029; outline-offset: 4px; }
img { display: block; width: 100%; height: auto; }
[id] { scroll-margin-top: 5.5rem; }
.shell { width: min(100% - 8vw, 82rem); margin-inline: auto; }
.skip { position: fixed; z-index: 4; top: 1rem; left: 1rem; padding: .5rem 1rem; background: var(--accent); transform: translateY(-200%); }
.skip:focus { transform: translateY(0); }

.site-header { position: sticky; z-index: 2; top: 0; background: var(--paper); border-bottom: 1px solid #1a2a211c; }
.header-inner, nav, .brand { display: flex; align-items: center; }
.header-inner { justify-content: space-between; min-height: 4rem; gap: .5rem; }
.brand { gap: .65rem; font-size: 1.28rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.compass { display: inline-grid; place-items: center; width: 1.75rem; height: 1.75rem; border: 1.5px solid; border-radius: 50%; }
.compass::after { content: ""; width: .52rem; height: 1.1rem; transform: rotate(36deg); background: var(--ink); clip-path: polygon(50% 0,100% 52%,50% 100%,0 52%); }
nav { gap: clamp(.7rem, 2.8vw, 2.3rem); font-size: .9rem; }
nav a { display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: none; white-space: nowrap; }
nav a:hover { text-decoration: underline; }
nav .map-button { padding: .25rem .95rem; background: var(--forest); color: var(--paper); }

.hero { display: grid; isolation: isolate; position: relative; align-items: center; overflow: hidden; min-height: clamp(26rem, 42vw, 36rem); background: #243b37; color: #fffdf5; }
.hero-photo, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-photo { object-fit: cover; object-position: center 53%; }
.hero::after { content: ""; z-index: -1; background: linear-gradient(90deg, #101a18e8 0%, #10221dc4 25%, #10221d45 56%, #10221d00 90%); }
.hero-inner { padding-block: 3rem 4rem; }
.hero h1 > span { display: block; }
.hero h1 > span:first-child { font: 400 clamp(6rem, 14vw, 13rem)/.83 var(--latin); letter-spacing: -.065em; margin-left: -.06em; }
.hero h1 > span:last-child { font-size: clamp(1.6rem, 4vw, 3.65rem); font-weight: 600; letter-spacing: .015em; line-height: 1.45; margin-top: .15em; }
.hero-date { margin: .45rem 0 1.5rem; font: 400 clamp(1.25rem, 2.9vw, 2.15rem)/1.45 var(--latin); letter-spacing: .08em; }
.button { display: inline-flex; align-items: center; justify-content: space-between; min-height: 3rem; gap: 1rem; background: var(--accent); color: var(--ink); padding: .55rem 1rem .55rem 1.15rem; font-weight: 700; font-size: .9rem; text-decoration: none; transition: background-color .2s ease; }
.button:hover { background: #f2f7b5; }
.hero-caption { position: absolute; right: 4vw; bottom: .95rem; background: #14201bce; padding: .2rem .55rem; font-size: .72rem; text-decoration: none; }

.itinerary { padding-block: 3.1rem 1.7rem; }
.section-heading { display: grid; grid-template-columns: minmax(15rem, .75fr) 1.5fr; gap: 2.25rem; align-items: center; margin-bottom: 1.8rem; }
.section-heading p { padding-left: 2rem; border-left: 1px solid var(--line); max-width: 42rem; color: var(--muted); }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); padding: .85rem 1.25rem 1rem; list-style: none; background: var(--panel); }
.timeline li { position: relative; min-width: 0; text-align: center; }
.timeline li:not(:last-child)::after { content: ""; position: absolute; top: 2.66rem; left: 50%; width: 100%; height: 1px; background: #849487; pointer-events: none; }
.timeline a { position: relative; z-index: 1; display: flex; min-height: 6.45rem; flex-direction: column; align-items: center; justify-content: flex-start; padding: .17rem .25rem; text-decoration: none; }
.timeline a:hover strong { text-decoration: underline; }
.clock { display: block; color: var(--muted); font-size: .9rem; font-variant-numeric: tabular-nums; }
.clock::after { content: ""; display: block; position: relative; width: .68rem; height: .68rem; margin: .47rem auto .37rem; border-radius: 50%; background: var(--forest); }
.timeline strong { font: 700 clamp(1rem, 2.25vw, 1.65rem)/1.45 var(--serif); }
.timeline small { font-size: .73rem; color: var(--muted); }
.itinerary-note { display: flex; justify-content: space-between; align-items: center; gap: .65rem 2rem; margin-top: .75rem; font-size: .85rem; color: var(--muted); }
.itinerary-note a { flex: none; font-weight: 700; }

.features { padding-bottom: 3.5rem; }
.feature { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(1.35rem, 4vw, 4rem); padding: 1.7rem 0; border-top: 1px solid var(--line); }
.feature.reverse { grid-template-columns: .9fr 1.1fr; }
.reverse .feature-photo { order: 2; }
.feature-photo img { aspect-ratio: 16 / 10; object-fit: cover; }
.feature-photo figcaption { margin-top: .3rem; font-size: .75rem; color: var(--muted); }
.feature-label { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem .7rem; font-size: .8rem; letter-spacing: .045em; color: var(--muted); }
.feature-label span { font-weight: 700; }
.feature-copy .feature-label { padding-bottom: .35rem; border-bottom: 1px solid var(--line); }
.feature h2, .detour h2 { margin-block: .45rem .65rem; font-size: clamp(2.05rem, 4vw, 3.75rem); }
.feature .lead { font-weight: 700; margin-bottom: .4rem; font-size: 1.06rem; }
.feature .detail { margin-top: .55rem; color: var(--muted); font-size: .9rem; }
.links { display: flex; align-items: center; flex-wrap: wrap; gap: .15rem 1rem; margin-top: .6rem; font-size: .85rem; font-weight: 700; }
.links a { display: inline-flex; min-height: 2.75rem; align-items: center; }
.museum-walk { padding-left: 1.25rem; }
.museum-walk li + li { margin-top: .3rem; }
.ticket-band { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; background: var(--panel); padding: 1.25rem 1.55rem; }
.ticket-band h3 { font-size: 1.4rem; margin-bottom: .25rem; }
.ticket-band p { color: var(--muted); font-size: .9rem; }
.dark-button { background: var(--forest); color: var(--paper); white-space: nowrap; }
.dark-button:hover { background: #2d4739; }
.detour { display: grid; grid-template-columns: minmax(14rem, .6fr) 1.4fr; gap: .65rem 2rem; margin-top: 1.6rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.detour h2 { margin-bottom: 0; }

.dinner { background: var(--forest); color: var(--paper); padding-block: 3.2rem; }
.dinner-grid { display: grid; grid-template-columns: .9fr 1fr 1fr; }
.dinner-grid article { padding-inline: clamp(1rem, 2.65vw, 3rem); border-left: 1px solid #9fafa687; }
.dinner-grid article:last-child { padding-right: 0; }
.dinner-heading { padding-right: 1.25rem; }
.dinner .feature-label, .dinner .restaurant { color: var(--accent); }
.dinner h2 { margin: .4rem 0 .8rem; font-size: clamp(2rem, 4.15vw, 3.75rem); }
.dinner h3 { margin-bottom: .35rem; font-size: clamp(1.6rem, 2.7vw, 2.55rem); }
.restaurant { margin-bottom: .35rem; font-weight: 700; }
.dinner p { font-size: .9rem; }
.dinner a:focus-visible { outline-color: var(--accent); }

.practical { padding-block: 3.2rem 3.35rem; }
.practical-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.practical-grid h3 { font-size: 1.45rem; margin-bottom: .55rem; }
.practical-grid p { color: var(--muted); font-size: .9rem; }
.route-links { display: grid; gap: .35rem; margin-top: .8rem; }
.route-links a { display: flex; align-items: center; justify-content: space-between; gap: .5rem; min-height: 2.75rem; padding: .45rem .65rem; border: 1px solid var(--line); text-decoration: none; font-size: .85rem; font-weight: 700; }
.route-links a:hover { background: var(--panel); }
.compact { margin-top: .15rem; }
.footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; gap: 1rem; align-items: start; padding-block: 1rem 1.4rem; font-size: .79rem; color: var(--muted); }
.footer-inner > a { flex: none; }
summary { cursor: pointer; font-weight: 700; }
details p, .credits { margin: .5rem 0 0; }
.credits { padding-left: 1.25rem; }

@media (max-width: 760px) {
  [id] { scroll-margin-top: 4.5rem; }
  .shell { width: calc(100% - 2.25rem); }
  .header-inner { min-height: 3.65rem; }
  .brand { font-size: 1rem; gap: .4rem; }
  .compass { width: 1.35rem; height: 1.35rem; }
  .compass::after { width: .38rem; height: .83rem; }
  nav { gap: clamp(.4rem, 2vw, .9rem); font-size: .76rem; }
  nav .map-button { padding-inline: .55rem; }
  .hero { min-height: clamp(24rem, 90vw, 32rem); }
  .hero-photo { object-position: 55% 50%; }
  .hero::after { background: linear-gradient(90deg, #101a18d9, #10221d75 55%, #10221d29); }
  .hero h1 > span:first-child { font-size: clamp(5.2rem, 18.5vw, 8.5rem); }
  .hero h1 > span:last-child { font-size: clamp(1.4rem, 5.2vw, 2.35rem); }
  .hero-date { margin: .4rem 0 1.15rem; }
  .itinerary, .practical { padding-block: 2.2rem; }
  .section-heading { grid-template-columns: 1fr; gap: .65rem; margin-bottom: 1.2rem; }
  .section-heading p { padding-left: 0; border: 0; font-size: .9rem; }
  .timeline { grid-template-columns: 1fr; padding: .5rem .9rem; }
  .timeline li { text-align: left; }
  .timeline li:not(:last-child)::after { left: .45rem; top: 50%; width: 1px; height: 100%; }
  .timeline a { display: grid; grid-template-columns: 4rem 1fr; align-items: center; gap: 0 .55rem; min-height: 3.8rem; padding: .5rem 0 .5rem 1.45rem; }
  .clock { grid-row: span 2; font-size: .8rem; }
  .clock::after { position: absolute; left: .14rem; top: calc(50% - .32rem); margin: 0; width: .65rem; height: .65rem; }
  .timeline strong { align-self: end; font-size: 1.17rem; }
  .timeline small { align-self: start; }
  .itinerary-note { flex-direction: column; align-items: start; }
  .features { padding-bottom: 2.2rem; }
  .feature, .feature.reverse { grid-template-columns: 1fr; gap: .8rem; padding-block: 1.25rem; }
  .reverse .feature-photo { order: 0; }
  .feature-photo img { aspect-ratio: 16 / 9; }
  .ticket-band { flex-direction: column; align-items: start; padding: 1rem; }
  .detour { grid-template-columns: 1fr; gap: .65rem; }
  .dinner { padding-block: 2.15rem; }
  .dinner-grid, .practical-grid { grid-template-columns: 1fr; gap: 1rem; }
  .dinner-grid article { padding: 1rem 0 0; border-left: 0; border-top: 1px solid #9fafa687; }
  .practical-grid > div + div { border-top: 1px solid var(--line); padding-top: .85rem; }
}

@media (max-width: 350px) {
  .header-inner { width: calc(100% - 1.2rem); }
  .brand { font-size: .94rem; }
  nav { gap: .4rem; font-size: .7rem; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .button { transition: none; }
}
