:root {
  --ink: #16313b;
  --muted: #667982;
  --paper: #ffffff;
  --canvas: #f4f7f4;
  --line: #d7e0dc;
  --sea: #1b6375;
  --coral: #ce6753;
  --leaf: #2e6c56;
  --sand: #e5d6ab;
  --night: #18313b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--canvas); font-family: "Noto Sans TC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
a { color: var(--sea); }

.site-header { height: 64px; padding: 0 clamp(18px, 5vw, 72px); display: flex; justify-content: space-between; align-items: center; background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.brand { color: var(--ink); font-family: "Newsreader", serif; font-size: 23px; font-weight: 600; text-decoration: none; }
nav { display: flex; gap: 22px; }
nav a { color: var(--ink); font-size: 14px; text-decoration: none; }
nav a:hover { color: var(--sea); }

.hero { height: min(700px, calc(100vh - 64px)); min-height: 540px; position: relative; overflow: hidden; display: flex; align-items: end; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 39, 48, 0.76) 0%, rgba(10, 39, 48, 0.35) 44%, rgba(10, 39, 48, 0.05) 72%); }
.hero-copy { position: relative; z-index: 1; width: min(670px, 100%); padding: 0 clamp(22px, 7vw, 112px) clamp(48px, 9vh, 96px); color: #fff; }
.eyebrow { margin: 0 0 10px; color: #d8eee8; font-size: 12px; letter-spacing: 0; font-weight: 700; }
.eyebrow.dark { color: var(--sea); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: "Newsreader", "Noto Sans TC", serif; letter-spacing: 0; }
h1 { margin-bottom: 18px; font-size: clamp(42px, 6vw, 74px); line-height: 1.04; }
h2 { margin-bottom: 8px; font-size: clamp(31px, 4vw, 47px); line-height: 1.13; }
h3 { font-size: 20px; line-height: 1.3; }
.hero-summary { max-width: 580px; font-size: 17px; }
.button { display: inline-flex; align-items: center; min-height: 42px; padding: 9px 15px; border: 1px solid currentColor; border-radius: 5px; font-weight: 700; text-decoration: none; font-size: 14px; }
.button-light { margin-top: 10px; color: #fff; }
.button-light:hover { color: var(--ink); background: #fff; }
.button-dark { color: #fff; background: var(--night); border-color: var(--night); }
.button-dark:hover { background: var(--sea); border-color: var(--sea); }

.trip-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); background: var(--paper); }
.trip-strip div { padding: 19px clamp(16px, 4vw, 56px); border-right: 1px solid var(--line); }
.trip-strip div:last-child { border-right: 0; }
.trip-strip span, .trip-strip strong { display: block; }
.trip-strip span { color: var(--muted); font-size: 12px; }
.trip-strip strong { margin-top: 3px; font-size: 14px; }

.section { padding: clamp(54px, 8vw, 112px) clamp(18px, 7vw, 112px); }
.section-heading { display: flex; justify-content: space-between; gap: 32px; align-items: end; margin-bottom: 30px; }
.section-heading > p { max-width: 410px; color: var(--muted); font-size: 15px; }

.calendar-section { background: var(--canvas); }
.calendar-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr); gap: 24px; align-items: start; }
.calendar-surface, .day-detail { border: 1px solid var(--line); background: var(--paper); border-radius: 7px; overflow: hidden; }
.calendar-titlebar { padding: 15px 18px; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); }
.calendar-titlebar span { color: var(--muted); font-size: 13px; }
.weekday-row, .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.weekday-row span { padding: 9px 0; color: var(--muted); text-align: center; font-size: 12px; border-bottom: 1px solid var(--line); }
.calendar-cell { position: relative; min-height: 92px; padding: 8px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); text-align: left; }
.calendar-cell:nth-child(7n) { border-right: 0; }
.calendar-cell.empty { background: #f8faf9; }
.calendar-day { border: 0; background: transparent; width: 100%; height: 100%; padding: 0; text-align: left; color: var(--ink); cursor: default; font: inherit; }
.calendar-cell.is-trip .calendar-day { cursor: pointer; }
.calendar-cell.is-trip .calendar-day:hover .day-number, .calendar-cell.is-trip.selected .day-number { color: #fff; background: var(--sea); }
.day-number { display: inline-grid; width: 27px; height: 27px; place-items: center; border-radius: 50%; font-size: 13px; }
.calendar-label { display: block; margin-top: 8px; color: var(--sea); font-size: 11px; line-height: 1.35; font-weight: 700; }
.calendar-cell.selected { box-shadow: inset 0 -3px 0 var(--coral); }
.calendar-cell.selected .calendar-label { color: var(--coral); }
.day-detail { padding: 24px; min-height: 426px; }
.detail-date { color: var(--sea); font-size: 13px; font-weight: 700; }
.day-detail h3 { margin: 7px 0 18px; font-family: "Newsreader", "Noto Sans TC", serif; font-size: 30px; }
.detail-list { margin: 0 0 20px; padding: 0; list-style: none; }
.detail-list li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.detail-list li:first-child { border-top: 0; }
.detail-time { display: inline-block; min-width: 70px; color: var(--muted); font-variant-numeric: tabular-nums; }
.detail-note { padding: 12px; border-left: 3px solid var(--coral); background: #fff6f2; color: #6c3b32; font-size: 14px; }
.detail-route { margin-top: 17px; }

.route-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(460px, 0.9fr); gap: 60px; background: #e8efed; }
.route-band > div > p:not(.eyebrow) { max-width: 620px; color: #49606a; }
.route-steps { display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 0; }
.route-steps div { min-height: 185px; padding: 18px; border-left: 1px solid #b9c9c4; }
.route-steps span { color: var(--coral); font-size: 12px; font-weight: 700; }
.route-steps strong { display: block; margin: 24px 0 3px; font-size: 18px; }
.route-steps p { margin: 0; color: var(--muted); font-size: 13px; }

.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.guide-card { min-height: 292px; padding: 24px; border: 1px solid var(--line); border-top-width: 5px; background: var(--paper); border-radius: 7px; display: flex; flex-direction: column; }
.guide-card p:not(.card-meta) { color: var(--muted); font-size: 14px; }
.guide-card a { margin-top: auto; font-size: 14px; font-weight: 700; }
.accent-blue { border-top-color: var(--sea); }.accent-green { border-top-color: var(--leaf); }.accent-coral { border-top-color: var(--coral); }
.card-meta { margin-bottom: 12px; color: var(--muted); font-size: 12px; }

.drive-section { background: var(--paper); }
.checklist { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.checklist div { padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.checklist span { color: var(--coral); font-size: 13px; font-weight: 700; }.checklist h3 { margin: 26px 0 8px; }.checklist p { color: var(--muted); font-size: 14px; }

.stay-section { display: grid; grid-template-columns: 0.65fr 1.35fr; gap: 70px; background: var(--night); color: #fff; }
.stay-section .eyebrow { color: #9ed5cb; }.stay-list { border-top: 1px solid rgba(255,255,255,0.24); }.stay-list p { display: grid; grid-template-columns: 130px 1fr; margin: 0; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,0.24); }.stay-list strong { color: #9ed5cb; font-size: 13px; }.stay-list span { font-size: 15px; }

footer { display: flex; justify-content: space-between; padding: 26px clamp(18px, 7vw, 112px); background: #10252d; color: #cad5d4; font-size: 13px; }footer a { color: #fff; }

@media (max-width: 980px) {
  .trip-strip, .guide-grid, .checklist { grid-template-columns: repeat(2, 1fr); }
  .calendar-layout, .route-band, .stay-section { grid-template-columns: 1fr; }
  .route-band { gap: 34px; }.route-steps { max-width: 620px; }
  .section-heading { align-items: start; flex-direction: column; gap: 8px; }
}

@media (max-width: 620px) {
  .site-header { height: auto; min-height: 58px; padding: 12px 16px; align-items: start; }.brand { font-size: 20px; }nav { gap: 12px; flex-wrap: wrap; justify-content: end; }nav a { font-size: 12px; }
  .hero { min-height: 570px; height: calc(100vh - 58px); }.hero::after { background: rgba(10, 39, 48, 0.58); }.hero-copy { padding: 0 24px 58px; }
  .trip-strip, .guide-grid, .checklist { grid-template-columns: 1fr; }.trip-strip div { border-right: 0; border-bottom: 1px solid var(--line); }.trip-strip div:last-child { border-bottom: 0; }
  .calendar-cell { min-height: 68px; padding: 5px; }.calendar-label { margin-top: 5px; font-size: 9px; }.day-number { width: 24px; height: 24px; }
  .day-detail { min-height: 0; }.route-steps { grid-template-columns: 1fr; }.route-steps div { min-height: 90px; display: grid; grid-template-columns: 42px 88px 1fr; align-items: center; }.route-steps strong { margin: 0; }.route-steps p { margin: 0; }
  .stay-list p { grid-template-columns: 112px 1fr; }
}
