@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;600;700;900&family=Noto+Serif+SC:wght@500;600;700;900&display=swap');

:root,
[data-theme="journal"] {
  --bg: #eee6d8;
  --bg-soft: #f7f1e8;
  --surface: #fbf7ef;
  --surface-strong: #fffdf8;
  --text: #25221d;
  --muted: #746c60;
  --line: #cec2b1;
  --accent: #a44d36;
  --accent-ink: #fff9f1;
  --highlight: #d2a85c;
  --warning: #a44d36;
  --success: #456d59;
  --shadow: 0 22px 60px rgba(64, 51, 34, 0.12);
  --radius: 3px;
  --radius-lg: 6px;
  --display: "Noto Serif SC", Georgia, serif;
  --body: "DM Sans", "Noto Sans SC", sans-serif;
  --image-filter: saturate(.86) contrast(.96);
  --hero-overlay: linear-gradient(180deg, transparent 58%, rgba(33, 28, 21, .5));
}

[data-theme="planner"] {
  --bg: #f3f6fa;
  --bg-soft: #eaf0f7;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --text: #121a2a;
  --muted: #637086;
  --line: #d8e0ea;
  --accent: #245fd3;
  --accent-ink: #ffffff;
  --highlight: #5b8ff0;
  --warning: #d24b3e;
  --success: #197258;
  --shadow: 0 18px 44px rgba(38, 56, 88, .1);
  --radius: 14px;
  --radius-lg: 24px;
  --display: "DM Sans", "Noto Sans SC", sans-serif;
  --body: "DM Sans", "Noto Sans SC", sans-serif;
  --image-filter: saturate(.96) contrast(1.02);
  --hero-overlay: linear-gradient(180deg, transparent 56%, rgba(17, 31, 52, .48));
}

[data-theme="culture"] {
  --bg: #171712;
  --bg-soft: #20201a;
  --surface: #21211b;
  --surface-strong: #292922;
  --text: #f0ecdf;
  --muted: #aaa99d;
  --line: #3d3d34;
  --accent: #d8ff5f;
  --accent-ink: #151611;
  --highlight: #d8ff5f;
  --warning: #ff765f;
  --success: #a7db86;
  --shadow: 0 24px 60px rgba(0, 0, 0, .3);
  --radius: 0px;
  --radius-lg: 0px;
  --display: "DM Sans", "Noto Sans SC", sans-serif;
  --body: "DM Sans", "Noto Sans SC", sans-serif;
  --image-filter: saturate(.72) contrast(1.15);
  --hero-overlay: linear-gradient(180deg, transparent 42%, rgba(15, 15, 11, .9));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--body);
  line-height: 1.65;
  transition: color .25s ease, background-color .25s ease;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--highlight); outline-offset: 3px; }
.page-width { width: min(1180px, calc(100% - 36px)); margin-inline: auto; }
.section-anchor { scroll-margin-top: 86px; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 14px; color: var(--accent-ink); background: var(--accent); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { overflow: hidden; border-bottom: 1px solid var(--line); }
.topbar { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.wordmark-mark { display: grid; place-items: center; width: 42px; aspect-ratio: 1; color: var(--accent-ink); background: var(--accent); font-size: 11px; font-weight: 900; letter-spacing: .06em; border-radius: var(--radius); }
.wordmark-copy, .theme-label { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.theme-switcher { display: flex; align-items: center; gap: 5px; padding: 5px; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 82%, transparent); border-radius: 999px; }
.theme-label { padding-inline: 10px 6px; }
.theme-switcher button { border: 0; padding: 8px 11px; color: var(--muted); background: transparent; font: 700 11px/1 var(--body); cursor: pointer; border-radius: 999px; }
.theme-switcher button[aria-pressed="true"] { color: var(--accent-ink); background: var(--accent); }

.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr); gap: clamp(38px, 7vw, 96px); padding-block: clamp(58px, 9vw, 118px) 54px; }
.hero-copy { align-self: center; position: relative; z-index: 2; }
.eyebrow, .section-label, .rail-label, .place-kicker, .card-label { margin: 0 0 16px; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { margin: 0; font: 700 clamp(52px, 8vw, 104px)/.98 var(--display); letter-spacing: -.065em; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-lede { max-width: 590px; margin: 28px 0 0; color: var(--muted); font-size: clamp(16px, 2vw, 20px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 17px; border: 1px solid var(--line); text-decoration: none; font-size: 13px; font-weight: 700; border-radius: var(--radius); }
.button-primary { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.button-ghost { background: var(--surface); }
.hero-visual { position: relative; min-height: 500px; overflow: hidden; background: var(--bg-soft); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: var(--hero-overlay); pointer-events: none; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; filter: var(--image-filter); }
.hero-caption { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 16px; margin: 0; color: white; font-size: 11px; letter-spacing: .06em; }
.hero-facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero-facts > div { padding: 22px 5%; border-right: 1px solid var(--line); }
.hero-facts > div:last-child { border-right: 0; }
.hero-facts span, .hero-facts small { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .11em; }
.hero-facts strong { display: block; margin: 4px 0 2px; font: 700 24px var(--display); }

.day-nav { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 91%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.day-nav-inner { display: flex; overflow-x: auto; scrollbar-width: none; }
.day-nav-inner::-webkit-scrollbar { display: none; }
.day-nav a { flex: 0 0 auto; padding: 17px 18px 14px; color: var(--muted); border-bottom: 3px solid transparent; text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.day-nav a:hover, .day-nav a.is-active { color: var(--text); border-bottom-color: var(--accent); }

.overview { padding-block: clamp(80px, 11vw, 140px); }
.overview-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 60px; margin-bottom: 48px; }
.overview-heading h2, .checklist h2 { margin: 0; font: 700 clamp(40px, 6vw, 70px)/1.06 var(--display); letter-spacing: -.055em; }
.overview-heading > p { margin: 0; color: var(--muted); font-size: 17px; }
.route-grid { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.route-card { min-height: 230px; display: flex; flex-direction: column; padding: 24px 20px; border-right: 1px solid var(--line); text-decoration: none; transition: background .2s ease, color .2s ease; }
.route-card:last-child { border-right: 0; }
.route-card > span { color: var(--accent); font: 700 32px var(--display); }
.route-card p { margin: 24px 0 10px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.route-card strong { line-height: 1.35; }
.route-card small { margin-top: auto; padding-top: 24px; color: var(--muted); line-height: 1.45; }
.route-card:hover { color: var(--accent-ink); background: var(--accent); }
.route-card:hover > span, .route-card:hover p, .route-card:hover small { color: inherit; }
.travel-basics { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; margin-top: 18px; }
.travel-basics article { padding: 30px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius-lg); }
.travel-basics h3 { margin: 5px 0 8px; font: 700 28px var(--display); }
.travel-basics p { margin: 0 0 18px; color: var(--muted); }
.flight-row { display: grid; grid-template-columns: 74px 1fr; gap: 15px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.flight-row > b { color: var(--accent); font-size: 22px; }
.flight-row strong, .flight-row span { display: block; }
.flight-row span { color: var(--muted); font-size: 13px; }

.flight-card { position: relative; margin-bottom: 26px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.flight-card-head { display: flex; align-items: baseline; gap: 12px; padding: 16px 22px 12px; }
.flight-no { color: var(--accent); font: 700 24px var(--display); letter-spacing: -.02em; }
.flight-dir { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.flight-status { margin-left: auto; color: var(--success); font-size: 12px; font-weight: 700; }
.flight-banner { position: relative; }
.flight-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: var(--image-filter); opacity: .5; }
.flight-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 32%, transparent) 0%, color-mix(in srgb, var(--surface) 76%, transparent) 56%, var(--surface) 100%); }
.flight-route { position: relative; z-index: 1; display: block; width: 100%; height: auto; }
.flight-route .rt-line { stroke: var(--accent); }
.flight-route .rt-dot { fill: var(--accent); }
.flight-route .rt-code { fill: var(--text); font: 700 16px var(--body); }
.flight-route .rt-sub { fill: var(--muted); font: 500 10px var(--body); }
.flight-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.flight-specs > div { display: flex; flex-direction: column; gap: 3px; padding: 12px 22px; background: var(--surface); }
.flight-spec-label { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.flight-spec-val { color: var(--text); font-size: 14px; font-weight: 500; }
.flight-seat { margin: 0; padding: 13px 22px; border-top: 1px solid var(--line); background: var(--surface-strong); color: var(--text); font-size: 13px; line-height: 1.6; }
.flight-seat > span { display: inline-block; margin-right: 8px; color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.flight-credit { margin: 0; padding: 11px 22px 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; line-height: 1.55; }
.flight-credit a { color: var(--muted); }
@media (max-width: 640px) {
  .flight-specs { grid-template-columns: 1fr; }
  .flight-card-head, .flight-specs > div, .flight-seat, .flight-credit { padding-left: 16px; padding-right: 16px; }
}

.day-section { padding-block: clamp(74px, 10vw, 128px); border-top: 1px solid var(--line); }
.day-heading { display: grid; grid-template-columns: 100px 1fr 220px; gap: 30px; align-items: end; }
.day-number { color: var(--accent); font: 700 clamp(52px, 7vw, 82px)/.8 var(--display); letter-spacing: -.08em; }
.day-number span { display: block; margin-bottom: 13px; color: var(--muted); font: 800 10px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; }
.day-title p { margin: 0 0 10px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.day-title h2 { margin: 0; font: 700 clamp(32px, 5vw, 56px)/1.08 var(--display); letter-spacing: -.045em; }
.weather-card { padding: 18px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); }
.weather-card strong, .weather-card p { display: block; }
.weather-card span { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.weather-card span i { font-style: normal; }
.weather-card .weather-svg { display: block; }
.weather-card strong { margin-top: 7px; font-size: 24px; }
.weather-card p { margin: 2px 0 0; color: var(--muted); font-size: 12px; }
.weather-note { margin: 28px 0 0 130px; padding: 14px 18px; color: var(--muted); border-left: 3px solid var(--accent); background: var(--bg-soft); font-size: 13px; }
.day-layout { display: grid; grid-template-columns: 285px minmax(0, 1fr); gap: clamp(40px, 7vw, 90px); margin-top: 54px; }
.day-rail { align-self: start; position: sticky; top: 92px; }
.timeline { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.timeline time { color: var(--accent); font-size: 11px; font-weight: 800; }
.timeline strong, .timeline span { display: block; }
.timeline strong { font-size: 13px; line-height: 1.4; }
.timeline span { margin-top: 4px; color: var(--muted); font-size: 11px; }
.day-content { min-width: 0; }
.day-intro > p { margin: 0; max-width: 760px; font: 500 clamp(19px, 2.4vw, 27px)/1.55 var(--display); }
.transit { display: grid; grid-template-columns: 80px 1fr; gap: 20px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.transit span { color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.transit p { margin: 0; color: var(--muted); }
.day-primary-link { margin-top: 24px; }
.notice { display: grid; grid-template-columns: 140px 1fr; gap: 20px; margin-top: 24px; padding: 20px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); }
.notice strong { color: var(--accent); }
.notice p { margin: 0; color: var(--muted); }
.notice-warning { border-left: 4px solid var(--warning); }
.notice-warning strong { color: var(--warning); }
.places { margin-top: 50px; }
.place-card { padding-block: clamp(48px, 7vw, 82px); border-top: 1px solid var(--line); }
.place-header { display: flex; justify-content: space-between; gap: 20px; align-items: start; }
.place-kicker { margin-bottom: 8px; }
.place-header h3 { margin: 0; font: 700 clamp(30px, 4vw, 48px)/1.1 var(--display); letter-spacing: -.04em; }
.status { flex: 0 0 auto; padding: 7px 10px; border: 1px solid currentColor; color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; border-radius: 999px; }
.status-unbooked, .status-flow { color: var(--warning); }
.status-booked { color: var(--success); }
.address { margin: 18px 0 0; padding: 12px 14px; color: var(--muted); background: var(--bg-soft); font-size: 12px; }
.place-description { max-width: 740px; margin: 24px 0 0; font-size: 17px; }
.tip-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 28px; margin: 24px 0 0; padding: 0; list-style: none; }
.tip-list li { position: relative; padding-left: 18px; color: var(--muted); font-size: 13px; }
.tip-list li::before { content: "↳"; position: absolute; left: 0; color: var(--accent); }
.place-context { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 28px; border: 1px solid var(--line); background: var(--line); border-radius: var(--radius); overflow: hidden; }
.place-context section { padding: 20px; background: color-mix(in srgb, var(--surface) 92%, var(--bg-soft)); }
.place-context span { display: block; margin-bottom: 8px; color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.place-context p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.carousel { margin-top: 30px; }
.carousel-viewport { position: relative; overflow: hidden; background: var(--bg-soft); border-radius: var(--radius); }
.carousel-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide { flex: 0 0 100%; min-width: 100%; margin: 0; scroll-snap-align: start; }
.carousel-slide img { display: block; width: 100%; height: clamp(250px, 38vw, 460px); object-fit: cover; filter: var(--image-filter); }
.carousel-slide figcaption { padding: 9px 12px; color: var(--muted); font-size: 10px; }
.carousel-arrow { position: absolute; top: calc(50% - 26px); transform: translateY(-50%); width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: none; border-radius: 50%; background: color-mix(in srgb, var(--surface) 82%, transparent); color: var(--text); font-size: 22px; line-height: 1; cursor: pointer; box-shadow: var(--shadow); opacity: 0; transition: opacity .2s ease, background .2s ease; }
.carousel:hover .carousel-arrow, .carousel:focus-within .carousel-arrow { opacity: 1; }
.carousel-arrow:hover { background: var(--surface); }
.carousel-arrow.prev { left: 12px; }
.carousel-arrow.next { right: 12px; }
.carousel-dots { display: flex; justify-content: center; gap: 7px; margin-top: 11px; }
.carousel-dot { width: 7px; height: 7px; padding: 0; border: none; border-radius: 50%; background: var(--line); cursor: pointer; transition: background .2s ease, transform .2s ease; }
.carousel-dot.is-active { background: var(--accent); transform: scale(1.35); }
@media (hover: none) { .carousel-arrow { opacity: 1; } }
.map-card { position: relative; min-height: 210px; display: grid; grid-template-columns: 1fr auto; align-items: end; margin-top: 10px; overflow: hidden; background: var(--bg-soft); border-radius: var(--radius); }
.map-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.45) contrast(.88); opacity: .58; }
.map-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--surface) 0%, color-mix(in srgb, var(--surface) 88%, transparent) 42%, transparent 78%); }
.map-card-copy, .map-card > a { position: relative; z-index: 2; }
.map-card-copy { padding: 22px; }
.map-card-copy span, .map-card-copy small { display: block; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }
.map-card-copy strong { display: block; margin: 4px 0; font: 700 22px var(--display); }
.map-card > a { margin: 20px; padding: 10px 13px; color: var(--accent-ink); background: var(--accent); text-decoration: none; font-size: 11px; font-weight: 800; border-radius: var(--radius); }
.source-actions { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 15px; }
.source-actions a { color: var(--muted); font-size: 12px; font-weight: 700; }

.checklist { padding-block: clamp(80px, 11vw, 140px); border-top: 1px solid var(--line); }
.checklist-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; margin-top: 24px; }
.checklist-layout > div > p { max-width: 400px; color: var(--muted); }
.checklist-items { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.checklist-items li { border-bottom: 1px solid var(--line); }
.checklist-items label { display: grid; grid-template-columns: 24px 1fr; gap: 16px; align-items: start; padding: 20px 0; cursor: pointer; }
.checklist-items input { position: absolute; opacity: 0; width: 0; height: 0; }
.ck-box { width: 20px; height: 20px; margin-top: 1px; border: 1px solid var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background .2s ease; }
.ck-box::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent-ink); transform: scale(0); transition: transform .2s ease; }
.checklist-items li.is-checked .ck-box { background: var(--accent); }
.checklist-items li.is-checked .ck-box::after { transform: scale(1); }
.checklist-items li.is-checked .ck-text { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line); }
.checklist-items input:focus-visible + .ck-box { outline: 2px solid var(--accent); outline-offset: 2px; }
.check-summary { margin-top: 18px; font-size: 13px; font-weight: 700; color: var(--accent); }
.check-summary.is-complete { color: var(--success); }
.freshness { margin-top: 36px; padding: 14px 18px; color: var(--muted); background: var(--bg-soft); font-size: 12px; }
.site-footer { padding-block: 35px; color: var(--muted); border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; }
.footer-inner p { margin: 0; font-size: 11px; }
.footer-inner p:nth-child(2) { text-align: center; }
.footer-inner a { font-size: 11px; font-weight: 700; }
.loading, .noscript { padding: 80px 20px; text-align: center; color: var(--muted); }

[data-theme="planner"] .hero h1,
[data-theme="planner"] .overview-heading h2,
[data-theme="planner"] .day-title h2,
[data-theme="planner"] .place-header h3 { font-weight: 900; }
[data-theme="planner"] .hero-visual { transform: rotate(1.2deg); }
[data-theme="planner"] .route-card > span { font-family: var(--body); }
[data-theme="planner"] .day-number { -webkit-text-stroke: 1px var(--accent); color: transparent; }
[data-theme="planner"] .weather-card { box-shadow: 0 8px 25px rgba(38, 75, 140, .08); }

[data-theme="culture"] .wordmark-mark { border-radius: 50%; }
[data-theme="culture"] .theme-switcher { border-radius: 0; }
[data-theme="culture"] .theme-switcher button { border-radius: 0; text-transform: uppercase; }
[data-theme="culture"] .hero h1 { text-transform: uppercase; font-weight: 900; }
[data-theme="culture"] .hero h1 em { -webkit-text-stroke: 1px var(--accent); color: transparent; }
[data-theme="culture"] .hero-visual { clip-path: polygon(8% 0, 100% 0, 100% 92%, 0 100%, 0 8%); }
[data-theme="culture"] .route-card:hover { color: var(--accent-ink); }
[data-theme="culture"] .day-number { color: var(--accent); }
[data-theme="culture"] .status { border-radius: 0; }
[data-theme="culture"] .map-card > img { filter: grayscale(1) contrast(1.4); opacity: .35; }
[data-theme="culture"] .carousel-slide figcaption a { color: var(--accent); }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr 42%; gap: 38px; }
  .hero-visual { min-height: 420px; }
  .route-grid { grid-template-columns: repeat(3, 1fr); }
  .route-card:nth-child(3) { border-right: 0; }
  .route-card:nth-child(n+4) { border-top: 1px solid var(--line); }
  .day-heading { grid-template-columns: 80px 1fr; }
  .weather-card { grid-column: 2; width: min(100%, 300px); }
  .weather-note { margin-left: 110px; }
  .day-layout { grid-template-columns: 230px minmax(0, 1fr); gap: 38px; }
  .timeline li { grid-template-columns: 1fr; gap: 5px; }
}

@media (max-width: 760px) {
  .page-width { width: min(100% - 28px, 620px); }
  .topbar { align-items: flex-start; padding-block: 14px; }
  .wordmark-copy, .theme-label { display: none; }
  .theme-switcher button { padding: 8px; font-size: 9px; }
  .hero { grid-template-columns: 1fr; padding-top: 48px; }
  .hero-visual { min-height: 410px; order: 2; }
  .hero-facts { order: 3; }
  .hero-facts > div { padding: 17px 10px; }
  .hero-facts strong { font-size: 17px; }
  .hero-facts span, .hero-facts small { font-size: 8px; }
  .day-nav a { padding-inline: 14px; }
  .overview-heading { grid-template-columns: 1fr; gap: 24px; }
  .route-grid { grid-template-columns: 1fr; }
  .route-card { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .route-card:last-child { border-bottom: 0; }
  .route-card:nth-child(n+4) { border-top: 0; }
  .route-card small { margin-top: 10px; padding-top: 0; }
  .travel-basics { grid-template-columns: 1fr; }
  .day-heading { grid-template-columns: 64px 1fr; gap: 18px; }
  .weather-card { grid-column: 1 / -1; width: 100%; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; }
  .weather-card span { grid-row: 1 / 3; }
  .weather-card strong { margin: 0; }
  .weather-card p { margin: 0; }
  .weather-note { margin: 18px 0 0; }
  .day-layout { grid-template-columns: 1fr; margin-top: 36px; }
  .day-rail { position: static; }
  .timeline li { grid-template-columns: 100px 1fr; }
  .transit { grid-template-columns: 1fr; gap: 7px; }
  .notice { grid-template-columns: 1fr; gap: 6px; }
  .tip-list { grid-template-columns: 1fr; }
  .place-context { grid-template-columns: 1fr; }
  .carousel-slide img { height: min(72vw, 430px); }
  .transit-link { grid-template-columns: auto 1fr; row-gap: 4px; }
  .transit-link-total { grid-column: 2; justify-self: start; }
  .map-card { grid-template-columns: 1fr; }
  .map-card > a { justify-self: start; margin-top: 0; }
  .checklist-layout { grid-template-columns: 1fr; gap: 34px; }
  .footer-inner { grid-template-columns: 1fr; gap: 10px; text-align: left; }
  .footer-inner p:nth-child(2) { text-align: left; }
}

/* Today highlight */
.day-section.is-today { position: relative; }
.day-section.is-today .day-heading { position: relative; }
.day-section.is-today .day-number { color: var(--accent); }
.today-tag { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 20px; background: var(--accent); color: var(--accent-ink); font-size: 10px; font-weight: 800; letter-spacing: .08em; vertical-align: middle; }
.timeline li.is-now { position: relative; }
.timeline li.is-now time { color: var(--accent); }
.timeline li.is-now strong { color: var(--accent); }
.timeline li.is-now::before { content: "▸"; position: absolute; left: -14px; top: 16px; color: var(--accent); font-size: 11px; }

/* Transit connector between POIs */
.transit-link { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; margin: 14px 0; padding: 9px 14px; border-left: 2px solid color-mix(in srgb, var(--accent) 40%, var(--line)); background: color-mix(in srgb, var(--bg-soft) 60%, transparent); border-radius: 0 var(--radius) var(--radius) 0; }
.transit-link-marks { display: flex; align-items: center; gap: 5px; }
.ln, .ln-walk { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; font: 800 11px/1 Arial, var(--body); color: #fff; background: var(--ln, var(--muted)); }
.ln-jr { width: 27px; height: 20px; border-radius: 4px; font-size: 10px; }
.ln-walk { background: transparent; color: var(--muted); border: 1.5px dashed var(--line); font-size: 11px; }
.ln-sep { color: var(--muted); font-size: 10px; opacity: .6; }
.transit-link-body { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 7px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.tl-leg b { color: var(--text); font-weight: 700; }
.tl-dot { opacity: .5; }
.transit-link-total { flex: none; color: var(--accent); font-size: 11px; font-weight: 800; white-space: nowrap; }

/* Restaurant / dining strip */
.dine { margin-top: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-strong); overflow: hidden; }
.dine-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.dine-meal { padding: 2px 9px; border-radius: 20px; background: var(--accent); color: var(--accent-ink); font-size: 11px; font-weight: 800; }
.dine-score { font-size: 12px; color: var(--muted); }
.dine-score b { color: var(--text); font-size: 13px; margin-right: 4px; }
.dine-price { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--text); }
.dine-dishes { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 12px 16px; list-style: none; }
.dine-dishes li { padding: 4px 10px; border: 1px solid var(--line); border-radius: 20px; font-size: 12px; color: var(--text); }
.dine-booking { margin: 0; padding: 0 16px 13px; color: var(--muted); font-size: 12px; line-height: 1.55; }
@media (max-width: 640px) { .dine-price { margin-left: 0; } }

/* More to Explore */
.explore-section, .pending { padding-block: clamp(70px, 9vw, 120px); border-top: 1px solid var(--line); }
.explore-heading, .pending-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 40px; margin: 18px 0 40px; }
.explore-heading h2, .pending-heading h2 { margin: 0; font: 700 clamp(34px, 5vw, 58px)/1.06 var(--display); letter-spacing: -.05em; }
.explore-heading > p, .pending-heading > p { margin: 0; color: var(--muted); font-size: 15px; }
.explore-groups { display: grid; gap: 30px; }
.explore-cat { margin: 0 0 14px; font: 800 12px var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.explore-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.explore-card { display: flex; gap: 14px; padding: 12px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius-lg); }
.explore-thumb { flex: none; width: 116px; height: 92px; overflow: hidden; border-radius: var(--radius); background: var(--bg-soft); }
.explore-thumb img { width: 100%; height: 100%; object-fit: cover; filter: var(--image-filter); transition: transform .4s ease; }
.explore-card:hover .explore-thumb img { transform: scale(1.04); }
.explore-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.explore-area { margin: 0; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.explore-body strong { font: 700 17px var(--display); letter-spacing: -.01em; }
.explore-body span { color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.explore-actions { display: flex; gap: 14px; margin-top: auto; padding-top: 6px; }
.explore-actions a { color: var(--accent); font-size: 11px; font-weight: 700; }
.pending .place-card { max-width: 760px; }
@media (max-width: 860px) { .explore-cards { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .explore-heading, .pending-heading { grid-template-columns: 1fr; gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .carousel-track { scroll-behavior: auto; }
}

