/* Travel notebook: photographs, quiet typography, and a readable route. */
:root {
  --ink: #283d36;
  --muted: #637069;
  --paper: #f6f4ee;
  --line: #dedfd5;
  --teal: #365d4c;
  --mint: #eaf0e7;
  --accent: #52745b;
  --surface: #fffefa;
  --serif: "Songti SC", "Noto Serif CJK SC", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
}
body { font-size: 16px; line-height: 1.85; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { text-wrap: balance; }
::selection { background: #dce6ce; color: var(--ink); }
a { transition: color .18s ease, background .18s ease, box-shadow .18s ease; }
.shell { width: min(1280px, calc(100% - 96px)); }
.masthead { min-height: 90px; border-bottom: 0; }
.brand { font-size: 35px; }
.brand span { font-size: 11px; letter-spacing: .22em; color: var(--muted); }
.masthead nav { gap: 30px; color: var(--muted); }
.masthead nav a { min-height: 44px; display: inline-flex; align-items: center; }
.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: 1fr; gap: 0; align-items: center; min-height: 740px; padding: 76px 0 100px; overflow: hidden; color: #fffdf5; background: #284b45; }
.hero-content { position: relative; z-index: 1; }
.hero-copy { max-width: 540px; padding: 0; text-shadow: 0 1px 4px rgba(12,35,32,.55); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,rgba(12,35,32,.64) 0%,rgba(12,35,32,.54) 34%,rgba(12,35,32,.08) 66%,transparent 100%),linear-gradient(0deg,rgba(12,35,32,.16),transparent 22%); }
.eyebrow { font-size: 11px; letter-spacing: .16em; color: var(--accent); margin-bottom: 20px; }
.hero .eyebrow { display: flex; flex-wrap: wrap; gap: 8px 18px; color: #e4edcf; }
.hero .eyebrow span { color: #e4e9dd; letter-spacing: .06em; font-weight: 400; }
h1 { font-size: clamp(34px, 3.35vw, 49px); line-height: 1.5; letter-spacing: -.035em; margin-bottom: 24px; }
.hero-work { display: block; font: italic 20px/1.5 Georgia, var(--serif); letter-spacing: .04em; color: var(--teal); margin-bottom: 15px; }
.lead { font-size: 15px; color: var(--muted); line-height: 2; max-width: 34em; }
.trip-length { border-left: 0; border-top: 1px solid var(--line); padding: 18px 0 0; font-size: 13px; color: var(--muted); margin-top: 24px; }
.trip-length strong { color: var(--ink); font-size: 16px; margin-right: 8px; }
.edition { font-size: 12px; margin: 16px 0 24px; }
.text-link { display: inline-flex; align-items: center; min-height: 48px; padding: 10px 21px; border-radius: 100px; background: var(--teal); color: white; text-decoration: none; font-size: 14px; }
.text-link:hover { background: #294a3b; color: white; }
.hero h1 { color: #fffdf5; font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif; font-weight: 500; font-size: clamp(34px,3.3vw,48px); line-height: 1.32; letter-spacing: .015em; text-shadow: 0 2px 12px #102b3340; }
.hero .hero-work { color: #e6efda; }
.hero .lead,.hero .trip-length,.hero .edition { color: #f0f1e8; }
.hero .trip-length { border-color: #ffffff40; }
.hero .trip-length strong { color: #fffdf5; }
.hero .text-link { background: #f3f3e5; color: #294b3d; box-shadow: 0 4px 20px #102b3320; text-shadow: none; }
.hero .text-link:hover { background: #fffdf5; }
.hero-photo { position: absolute; inset: 0; z-index: -2; margin: 0; padding: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; border-radius: 0; }
.hero-photo figcaption { position: absolute; bottom: 22px; right: 32px; left: auto; background: none; padding: 0; margin: 0; color: white; font-size: 11px; text-align: right; text-shadow: 0 1px 5px #163832; }
.hero-photo figcaption span { display: block; color: white; font-size: 10px; }
.chapter-nav { background: rgba(246,244,238,.96); backdrop-filter: blur(16px); border-block: 1px solid var(--line); }
.chapter-nav .shell { gap: 8px; padding-block: 10px; }
.chapter-nav a { font-size: 13px; font-weight: 500; padding: 10px 18px; border-radius: 100px; min-height: 44px; color: var(--muted); }
.chapter-nav a:hover { background: #e9ece3; color: var(--ink); }
.chapter-nav a[aria-current="location"] { background: var(--teal); color: white; }
.section { padding-top: 90px; padding-bottom: 16px; }
.section-heading { margin-bottom: 36px; max-width: 780px; }
.section-heading .eyebrow { display: flex; align-items: center; gap: 12px; }
.section-heading .eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--accent); }
.section-heading h2 { font-size: clamp(26px, 2.4vw, 32px); font-weight: 500; letter-spacing: .01em; }
.section-heading p:last-child { font-size: 15px; max-width: 46em; }
.stay-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 26px; }
.stay-card { border: 0; border-radius: 22px; background: var(--surface); overflow: hidden; box-shadow: 0 6px 25px #2c382b05; }
.stay-card>img { aspect-ratio: 2.3; }
.stay-card>div { padding: 28px 32px; }
.stay-card h3 { font-size: 23px; margin-top: 12px; }
.stay-card p { color: var(--muted); line-height: 1.9; }
.stay-card p strong { color: var(--ink); }
.primary-stay { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.05fr; background: #e9eee3; }
.primary-stay>img { height: 100%; min-height: 390px; aspect-ratio: auto; object-fit: cover; }
.primary-stay>div { padding: 38px 42px; }
.primary-stay h3 { font-size: 28px; }
.recommend-badge { border-radius: 100px; font-size: 11px; font-weight: 500; letter-spacing: .04em; padding: 5px 13px; }
.bus-label { color: var(--accent); font-size: 11px; }
.links { gap: 8px 20px; align-items: center; font-size: 13px; }
.links a { font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; }
.small { line-height: 1.8; }
.day-plan { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; padding: 25px 0; border-block: 1px solid var(--line); }
.day-plan>li { border: 0; border-right: 1px solid var(--line); background: none; padding: 6px 30px; }
.day-plan>li:first-child { padding-left: 0; }
.day-plan>li:last-child { border: 0; padding-right: 0; }
.day-heading { display: block; }
.day-heading .number { font: 400 40px/1 var(--sans); background: none; color: var(--accent); width: auto; height: auto; margin-bottom: 20px; }
.day-heading h3 { font: 500 19px/1.6 var(--sans); }
.day-plan p { font-size: 14px; color: var(--muted); }
.day-plan .night { color: var(--teal); font-size: 12px; font-weight: 500; }
.day-plan a { font-size: 12px; display: inline-flex; align-items: center; min-height: 44px; }
.booking-box { background: var(--surface); border: 0; border-radius: 22px; padding: 34px 40px; }
.booking-box h3 { font-size: 26px; }
.booking-box ol { list-style: none; counter-reset: booking; padding-left: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 42px; margin-block: 28px; }
.booking-box li { counter-increment: booking; position: relative; padding: 0 0 0 36px; font-size: 14px; color: var(--muted); }
.booking-box li::before { content: counter(booking, decimal-leading-zero); position: absolute; left: 0; top: 1px; font: 500 16px/1.7 var(--sans); color: var(--accent); }
.booking-box li strong { color: var(--ink); }
.transit-part h3 { font-size: 24px; }
.practical-note { margin: 28px 0; padding: 28px 32px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.practical-note h3 { margin: 12px 0 16px; font-size: 23px; }
.practical-note p,.practical-steps { font-size: 15px; line-height: 1.9; color: var(--muted); }
.practical-note strong { color: var(--ink); }
.practical-steps { padding-left: 1.4em; }
.practical-steps li+li { margin-top: 10px; }
.practical-note .small,.practical-note .table-source { font-size: 13px; }
.return-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; align-items: start; }
.return-options .practical-note { min-width: 0; }
.table-wrap { border-radius: 16px; overflow: hidden; background: var(--surface); }
.simple-timetable { background: var(--surface); }
.simple-timetable th { background: #e8ede3; color: #4f6254; font-weight: 500; padding: 16px 22px; }
.simple-timetable td { padding: 24px 22px; border-color: #ebede6; }
.simple-timetable tr:last-child td { border-bottom: 0; }
.simple-timetable td:nth-child(2),.simple-timetable td:nth-child(3) { font-variant-numeric: tabular-nums; color: var(--teal); }
.table-source { margin-top: 14px; }
.sa-stop { border: 0; border-radius: 22px; background: var(--mint); gap: 40px; padding: 32px 36px; }
.sa-stop figure .photo-link { border-radius: 12px; overflow: hidden; }
.sa-stop>div>span { color: var(--accent); font-size: 12px; }
.local-bus-option { background: transparent; border: 1px solid #cdd7c8; border-radius: 16px; padding: 0 24px; }
.local-bus-option>summary { padding: 18px 0; min-height: 58px; font-weight: 500; font-size: 14px; }
.local-bus-option[open] { padding-bottom: 16px; background: #edf0e7; }
.local-bus-option[open]>summary { margin: 0; }
.route-ribbon { gap: 0; padding: 22px 0 10px; margin: 18px 0; }
.route-ribbon li { background: none; display: flex; align-items: center; }
.route-ribbon li:not(:last-child)::after { content: "→"; color: #8a9982; font-size: 14px; margin-inline: 6px; }
.route-ribbon a { min-height: 44px; border-radius: 9px; padding: 10px 8px; font-size: 13px; }
.route-ribbon a:hover { background: #e5ecde; }
.walk-links { gap: 10px; }
.button { background: var(--surface); border: 1px solid #d7dfd0; border-radius: 12px; font-size: 13px; min-height: 46px; padding: 11px 16px; }
.button:hover { background: var(--mint); box-shadow: 0 3px 10px #344f3410; }
.note { font-size: 13px; max-width: 78em; }
.scene-grid { gap: 52px 32px; align-items: start; margin-top: 38px; }
.scene { border: 0; border-radius: 20px; overflow: hidden; box-shadow: 0 5px 20px #283d3605; background: var(--surface); scroll-margin-top: 100px; }
.scene-title { padding: 26px 28px 22px; gap: 17px; }
.scene-title .number { background: var(--mint); color: var(--teal); border: 0; border-radius: 50%; width: 40px; height: 40px; flex-shrink: 0; font: 500 18px/1 var(--sans); justify-content: center; }
.scene-title h3 { font-size: 22px; font-weight: 500; }
.scene-title p { font-size: 12px; margin-top: 5px; }
.comparison .photo-link { background: #e9ece4; }
.enlarge { border-radius: 100px; padding: 8px 13px; font-size: 11px; backdrop-filter: blur(8px); bottom: 16px; right: 16px; }
.comparison figcaption { font-size: 11px; padding: 14px 28px 0; }
.scene-body { padding: 8px 28px 26px; }
.scene-body p { color: var(--muted); font-size: 14px; line-height: 1.95; }
.scene-actions { gap: 10px; }
.scene-actions a { min-height: 44px; display: inline-flex; align-items: center; border-radius: 10px; font-size: 13px; font-weight: 500; padding: 9px 14px; }
.scene-actions a.next { background: #eaf0e5; color: #36563d; border-color: #eaf0e5; }
.scene-actions a:hover { opacity: 1; background: #dce7d5; }
.source-link { font-size: 11px; min-height: 32px; }
.more-scenes { margin-top: 10px; border-color: #e8ebe1; }
.more-scenes summary { min-height: 44px; display: list-item; font-size: 13px; padding: 10px 0; }
.more-scenes .photo-link { margin-inline: -28px; }
.return-strip { background: #e9eee3; border: 0; border-radius: 16px; padding: 26px 32px; }
.return-strip>strong { font: 500 20px/1.6 var(--sans); }
.return-strip>span { color: var(--muted); font-size: 13px; }
.park-note,.station-strip { border-radius: 20px; padding: 28px; gap: 36px; }
.park-note img,.station-strip img,.departure-photos img { border-radius: 12px; }
.rumoi-alternative,.timetable-section { border: 0; border-block: 1px solid var(--line); border-radius: 0; padding: 22px 0; background: none; }
.rumoi-alternative>summary,.timetable-section>summary,.sources summary { font-weight: 500; font-size: 14px; min-height: 44px; padding: 8px 0; }
.timetable-grid figure { border: 0; border-radius: 14px; overflow: hidden; }
.sources { padding-top: 42px; }
footer { margin-top: 36px; border-top: 1px solid var(--line); padding-block: 58px; }
footer .closing { font: 500 24px/1.6 var(--sans); }
/* Keep the guide in the same quiet sans-serif family as the cover. */
.section, .reference-section, footer { font-family: var(--sans); }
.section h2,.section h3,.reference-section h2,.reference-section h3 { font-family: var(--sans); font-weight: 500; line-height: 1.5; }
.section strong { font-weight: 600; }
.section :is(.stay-card p,.day-plan p,.booking-box li,.scene-body p,.sa-stop p) { font-size: 15px; line-height: 1.9; }
.section :is(.links,.button,.scene-actions a) { font-size: 14px; }
.section :is(.comparison figcaption,.source-link,.recommend-badge,.scene-title p) { font-size: 12px; }
.section :is(.button,.scene-actions a) { border-radius: 100px; }
.section :is(.links a,.source-link) { text-decoration-thickness: 1px; text-decoration-color: #9daf9e; }
.section :is(.links a,.source-link):hover { text-decoration-color: currentColor; }
.simple-timetable { font-size: 15px; line-height: 1.75; }
.simple-timetable td:nth-child(2),.simple-timetable td:nth-child(3) { font-weight: 600; }
.section a:focus-visible,.section summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
@media (max-width: 1000px) {
  .shell { width: calc(100% - 56px); }
  .hero { min-height: 700px; }
  h1 { font-size: 36px; }
  .primary-stay>div { padding: 28px; }
  .day-plan>li { padding-inline: 20px; }
}
@media (max-width: 780px) {
  .shell { width: calc(100% - 36px); }
  .masthead { min-height: 76px; }
  .masthead nav { gap: 18px; }
  .hero { display: grid; min-height: 760px; padding-block: 64px 94px; }
  .hero::after { background: linear-gradient(90deg,rgba(12,35,32,.58),rgba(12,35,32,.32)),linear-gradient(0deg,rgba(12,35,32,.24),transparent 45%); }
  .hero-copy { padding: 0; }
  .hero-copy h1 { font-size: clamp(28px, 7.2vw, 40px); line-height: 1.36; letter-spacing: .01em; }
  .hero-work { font-size: 17px; margin-bottom: 12px; }
  .hero .eyebrow { font-size: 10px; margin-bottom: 20px; }
  .hero-copy .lead { font-size: 14px; }
  .trip-length { margin-top: 20px; padding-top: 15px; font-size: 12px; }
  .edition { margin: 14px 0 18px; }
  .hero-photo { padding-bottom: 0; }
  .hero-photo img { object-position: 58% center; border-radius: 0; }
  .hero-photo figcaption { bottom: 20px; right: 18px; font-size: 10px; }
  .hero-photo figcaption span { font-size: 9px; }
  .chapter-nav .shell { width: 100%; padding: 8px 18px; gap: 4px; }
  .chapter-nav a { font-size: 12px; padding: 10px 14px; }
  .section { padding-top: 56px; }
  .section-heading { margin-bottom: 26px; }
  .section-heading h2 { font-size: 25px; }
  .section-heading p:last-child { font-size: 14px; }
  .stay-grid { grid-template-columns: 1fr; gap: 22px; }
  .primary-stay { display: block; grid-column: auto; }
  .primary-stay>img { min-height: 0; height: auto; aspect-ratio: 1.6; }
  .stay-card>img { aspect-ratio: 1.8; }
  .stay-card>div,.primary-stay>div { padding: 24px; }
  .stay-card h3,.primary-stay h3 { font-size: 23px; }
  .day-plan { grid-template-columns: 1fr; padding: 0; }
  .day-plan>li,.day-plan>li:first-child,.day-plan>li:last-child { padding: 26px 0 26px 50px; border: 0; border-bottom: 1px solid var(--line); position: relative; }
  .day-plan>li:last-child { border-bottom: 0; }
  .day-heading .number { position: absolute; left: 0; top: 28px; font-size: 34px; }
  .day-heading h3 { font-size: 20px; }
  .day-plan .links { margin-top: 8px; }
  .booking-box { padding: 24px; border-radius: 18px; }
  .practical-note { padding: 22px; }
  .return-options { grid-template-columns: 1fr; gap: 0; }
  .return-options .practical-note { margin-bottom: 0; }
  .booking-box h3 { font-size: 24px; }
  .booking-box ol { grid-template-columns: 1fr; padding: 0; gap: 20px; }
  .booking-box li { font-size: 14px; }
  .table-wrap { background: none; border-radius: 0; }
  .simple-timetable { background: none; }
  .simple-timetable tr { border: 0; border-radius: 14px; padding: 16px 20px; margin-bottom: 12px; background: var(--surface); }
  .simple-timetable td { padding: 7px 0; font-size: 14px; }
  .simple-timetable td:first-child { padding-bottom: 12px; margin-bottom: 5px; border-bottom: 1px solid var(--line); }
  .sa-stop { grid-template-columns: 1fr; padding: 24px; gap: 20px; }
  .local-bus-option { padding-inline: 18px; }
  .local-bus-option>summary { font-size: 13px; }
  .route-ribbon { padding-top: 6px; }
  .route-ribbon a { font-size: 12px; padding-inline: 6px; }
  .route-ribbon li:not(:last-child)::after { margin-inline: 3px; }
  .walk-links { display: grid; grid-template-columns: 1fr; }
  .button { font-size: 12px; padding: 12px 14px; }
  .scene-grid { gap: 28px; margin-top: 25px; }
  .scene-title { padding: 22px 22px 19px; gap: 13px; }
  .scene-title h3 { font-size: 21px; }
  .scene-title .number { width: 34px; height: 34px; font-size: 16px; }
  .scene-body { padding: 8px 22px 22px; }
  .comparison figcaption { padding-inline: 22px; }
  .more-scenes .photo-link { margin-inline: -22px; }
  .more-scenes figcaption { padding-inline: 0; }
  .return-strip { padding: 22px 24px; }
  .park-note,.station-strip { grid-template-columns: 1fr; padding: 22px; gap: 22px; }
  .links { gap: 4px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  a { transition: none; }
}
/* Content photos retain their source proportions; only the cover fills its frame. */
.photo-viewer-open { overflow: hidden; }
.photo-viewer { position: fixed; inset: 0; width: 100%; height: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #17201e; color: #fffdf5; }
.photo-viewer[open] { display: flex; flex-direction: column; }
.photo-viewer::backdrop { background: #17201e; }
.photo-viewer-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: max(12px,env(safe-area-inset-top)) 24px 12px; flex-shrink: 0; background: #202d28; }
.photo-viewer-toolbar p { margin: 0; flex: 1; min-width: 0; font: 14px/1.5 var(--sans); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.photo-viewer-toolbar button { min-width: 94px; min-height: 44px; flex-shrink: 0; border: 1px solid #ffffff70; border-radius: 100px; background: #fffdf5; color: #283d36; font: 500 15px/1 var(--sans); cursor: pointer; }
.photo-viewer-toolbar button:focus-visible { outline: 3px solid #b7d6bf; outline-offset: 3px; }
.photo-viewer-stage { min-height: 0; flex: 1; display: flex; overflow: hidden; overscroll-behavior: contain; padding: 20px 20px max(20px,env(safe-area-inset-bottom)); }
.photo-viewer-stage img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; margin: auto; }
.photo-viewer-stage.is-zoomed { display: block; overflow: auto; }
.photo-viewer-stage.is-zoomed img { width: auto; height: auto; max-width: none; margin: 0 auto; }
@media(max-width:780px) { .photo-viewer-toolbar { padding-inline: 12px; gap: 8px; } .photo-viewer-toolbar button { min-width: 88px; } .photo-viewer-stage { padding: 12px 8px max(12px,env(safe-area-inset-bottom)); } }
.section img { width: 100%; height: auto; min-height: 0; max-height: none; aspect-ratio: auto; object-fit: contain; }
.stay-grid { align-items: start; }
.primary-stay { align-items: center; }
.primary-stay>img { border-radius: 16px; }
.stay-scenes { grid-column: 1 / -1; padding: 8px 0 24px; }
.stay-scenes h3 { font-size: 24px; margin: 0 0 12px; }
.stay-scenes>p { font-size: 15px; color: var(--muted); max-width: 50em; }
.stay-scenes-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; align-items: stretch; margin-top: 24px; }
.stay-scenes .comparison { margin: 0; padding: 22px; background: var(--surface); border-radius: 20px; min-width: 0; }
.stay-scenes h4 { font-size: 17px; font-weight: 500; margin: 0 0 18px; }
.stay-scenes .photo-link { border-radius: 10px; overflow: hidden; }
.stay-scenes .comparison figcaption { padding: 14px 0 0; }
.stay-scenes .small { margin-bottom: 0; }
/* Equal preview frames align each row without cropping the source images. */
.comparison .photo-link { aspect-ratio: 20 / 23; display: flex; align-items: center; justify-content: center; background: #edf0e9; }
.comparison .photo-link img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.stay-scenes h4 { min-height: 3em; display: flex; align-items: center; }
.scene-grid>.scene>.scene-title { min-height: 124px; }
.scene-grid>.scene>.comparison>figcaption { min-height: 48px; }
.stay-card:not(.primary-stay)>img,.departure-photos img { aspect-ratio: 16 / 9; object-fit: contain; background: #edf0e9; }
.standalone-photo { min-width: 0; cursor: zoom-in; }
.standalone-photo:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.primary-stay>.standalone-photo { border-radius: 16px; overflow: hidden; }
.stay-card:not(.primary-stay)>.standalone-photo img { aspect-ratio: 16 / 9; object-fit: contain; background: #edf0e9; }
@media (max-width:780px) {
  .stay-scenes-grid { grid-template-columns: 1fr; gap: 20px; }
  .stay-scenes h3 { font-size: 22px; }
  .stay-scenes .comparison { padding: 18px; }
  .primary-stay>img { border-radius: 0; }
  .primary-stay>.standalone-photo { border-radius: 0; }
  .stay-scenes h4 { min-height: 0; }
  .scene-grid>.scene>.scene-title { min-height: 0; }
}
