:root {
  --navy: #102f45;
  --navy-2: #18445f;
  --cream: #f7f3e9;
  --paper: #fffdf8;
  --ink: #18303d;
  --muted: #60737e;
  --teal: #237c78;
  --teal-light: #dcefed;
  --gold: #d99a3f;
  --gold-light: #faecd2;
  --rose: #b96658;
  --line: #d7dedf;
  --shadow: 0 16px 45px rgba(16, 47, 69, .12);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
a { color: inherit; }
button, input { font: inherit; }

.shell { min-height: 100vh; }
.wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  color: white;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold); color: var(--navy); font-size: 15px; letter-spacing: -.04em;
}
.top-link { color: #dbe8ef; text-decoration: none; font-weight: 700; }
.top-link:hover { color: white; }

.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: white;
  padding-bottom: 80px;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.hero::before { width: 420px; height: 420px; right: -110px; top: 65px; background: rgba(35,124,120,.22); }
.hero::after { width: 260px; height: 260px; right: 160px; top: 190px; border: 1px solid rgba(255,255,255,.12); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .75fr; gap: 60px; align-items: end; padding-top: 64px; }
.eyebrow { color: #f1b85f; font-weight: 900; text-transform: uppercase; letter-spacing: .13em; font-size: .82rem; }
h1, h2, h3 { margin: 0; line-height: 1.08; }
h1 { font-size: clamp(3.1rem, 8vw, 6.7rem); letter-spacing: -.065em; max-width: 820px; }
.hero-copy { font-size: 1.15rem; color: #d7e5ec; max-width: 680px; margin: 24px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 26px; }
.hero-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 12px 19px; border-radius: 999px; background: var(--gold); color: var(--navy);
  text-decoration: none; font-weight: 900;
}
.hero-btn.secondary { background: transparent; color: white; border: 1px solid rgba(255,255,255,.35); }
.hero-btn:hover { filter: brightness(1.06); }
.trip-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 34px; max-width: 620px; }
.fact { border-top: 1px solid rgba(255,255,255,.24); padding-top: 12px; }
.fact strong { display: block; color: white; font-size: 1.15rem; }
.fact span { color: #acc1ce; font-size: .88rem; }
.stamp {
  align-self: center; justify-self: end; width: 250px; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3); display: grid; place-items: center; text-align: center;
  transform: rotate(5deg); background: rgba(255,255,255,.04); backdrop-filter: blur(4px);
}
.stamp strong { display: block; font-size: 2rem; color: #f1b85f; }
.stamp span { display: block; color: #d9e7ed; text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; }

.content { padding: 76px 0 90px; }
.section-head { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 30px; }
.section-head h2 { font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -.05em; }
.section-head p { max-width: 480px; color: var(--muted); margin: 0; }
.day-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.day-card {
  position: relative; min-height: 310px; padding: 26px; border-radius: var(--radius); background: var(--paper);
  border: 1px solid rgba(16,47,69,.08); box-shadow: 0 7px 22px rgba(16,47,69,.06);
  display: flex; flex-direction: column; text-decoration: none; transition: .2s ease;
}
.day-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(35,124,120,.35); }
.day-card-number { font-weight: 900; color: var(--gold); letter-spacing: .12em; font-size: .8rem; }
.day-card h3 { font-size: 1.75rem; letter-spacing: -.04em; margin-top: 14px; }
.day-meta { color: var(--muted); margin-top: 8px; }
.day-highlight { margin: 26px 0 22px; font-weight: 750; font-size: 1.05rem; }
.weather-chip { margin-top: auto; display: flex; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.weather-chip strong { color: var(--teal); white-space: nowrap; }
.card-cta { margin-top: 18px; color: var(--teal); font-weight: 900; }

.how-strip { margin-top: 50px; padding: 28px; border-radius: var(--radius); background: var(--teal-light); display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; }
.how-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 18px; background: var(--teal); color: white; font-size: 1.35rem; }
.how-strip h3 { font-size: 1.35rem; }
.how-strip p { margin: 5px 0 0; color: #416266; }
.optional-banner {
  margin-top: 34px; padding: 28px; border-radius: var(--radius); background: var(--navy); color: white;
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
}
.optional-banner h3 { font-size: 1.5rem; }
.optional-banner p { margin: 7px 0 0; color: #c8dae3; max-width: 690px; }
.optional-banner .btn { border-color: var(--gold); background: var(--gold); color: var(--navy); }
.guide-banner {
  margin-top: 18px; padding: 24px 28px; border-radius: var(--radius); background: var(--gold-light);
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
}
.guide-banner h3 { font-size: 1.45rem; }
.guide-banner p { margin: 7px 0 0; color: #6b5d46; max-width: 720px; }
.guide-banner .btn { background: var(--navy); border-color: var(--navy); color: white; }
.pdf-card { background: var(--teal-light); }
.pdf-card .btn { width: 100%; margin-top: 14px; }

/* Daily view */
.day-hero { background: var(--navy); color: white; padding-bottom: 50px; }
.day-hero-grid { display: grid; grid-template-columns: 1fr 300px; gap: 42px; align-items: end; padding: 44px 0 10px; }
.back-link { text-decoration: none; color: #cfe0e8; font-weight: 800; }
.back-link:hover { color: white; }
.day-kicker { color: #f1b85f; text-transform: uppercase; letter-spacing: .14em; font-weight: 900; font-size: .82rem; margin-bottom: 10px; }
.day-hero h1 { font-size: clamp(2.7rem, 7vw, 5.2rem); }
.day-focus { color: #d6e4eb; font-size: 1.15rem; margin: 18px 0 0; }
.weather-card { background: white; color: var(--ink); border-radius: 24px; padding: 24px; box-shadow: var(--shadow); }
.weather-card .temp { color: var(--navy); font-size: 2rem; font-weight: 900; }
.weather-card p { margin: 4px 0 0; color: var(--muted); }
.weather-card small { display: block; margin-top: 12px; color: var(--muted); }

.day-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 36px; padding: 56px 0 100px; align-items: start; }
.route-title { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 24px; }
.route-title h2, .extras h2 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -.045em; }
.route-title p { margin: 0; color: var(--muted); max-width: 360px; }
.stop-list { display: grid; gap: 0; }
.stop { position: relative; display: grid; grid-template-columns: 70px 1fr; gap: 18px; }
.stop:not(:last-child)::before { content: ""; position: absolute; left: 34px; top: 58px; bottom: -2px; width: 2px; background: var(--line); }
.stop-time { text-align: right; padding-top: 24px; color: var(--muted); font-weight: 900; font-size: .88rem; }
.stop-card { position: relative; background: var(--paper); border: 1px solid rgba(16,47,69,.08); border-radius: 22px; padding: 22px; margin-bottom: 14px; box-shadow: 0 6px 20px rgba(16,47,69,.05); }
.stop-card::before { content: ""; position: absolute; left: -60px; top: 28px; width: 14px; height: 14px; border: 4px solid var(--cream); border-radius: 50%; background: var(--teal); }
.stop.optional .stop-card::before { background: var(--gold); }
.stop-label { color: var(--teal); text-transform: uppercase; letter-spacing: .1em; font-size: .76rem; font-weight: 900; }
.stop.optional .stop-label { color: #9a6420; }
.stop h3 { font-size: 1.4rem; margin-top: 5px; }
.stop p { color: var(--muted); margin: 8px 0 0; }
.actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 17px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px;
  padding: 10px 15px; border-radius: 999px; border: 1px solid var(--line); background: white;
  color: var(--navy); text-decoration: none; font-weight: 850; font-size: .9rem;
}
.btn:hover { border-color: var(--teal); color: var(--teal); }
.btn.primary { background: var(--teal); color: white; border-color: var(--teal); }
.btn.primary:hover { background: #176965; }
.leg { margin: 0 0 14px 88px; padding: 12px 16px; border-radius: 16px; background: var(--teal-light); color: #275f60; font-weight: 800; font-size: .9rem; }
.leg a { color: inherit; }

.side { position: sticky; top: 18px; display: grid; gap: 16px; }
.side-card { border-radius: 22px; padding: 22px; background: var(--paper); border: 1px solid rgba(16,47,69,.08); }
.side-card.tint { background: var(--gold-light); }
.side-card h3 { font-size: 1.15rem; }
.side-card p { margin: 8px 0 0; color: var(--muted); }
.checklist { display: grid; gap: 12px; margin-top: 15px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--teal); }
.check span { color: #36505c; }
.check input:checked + span { text-decoration: line-through; color: #8b999e; }
.quick-nav { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.quick-nav a { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--cream); text-decoration: none; font-weight: 900; color: var(--navy); }
.quick-nav a.active { background: var(--teal); color: white; }

.extras { margin-top: 64px; scroll-margin-top: 20px; }
.extras-intro { color: var(--muted); max-width: 680px; margin: 12px 0 24px; }
.extra-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.extra-card { background: var(--gold-light); border-radius: 22px; padding: 22px; }
.extra-card h3 { font-size: 1.25rem; }
.extra-card p { color: #6b5d46; margin: 8px 0 0; }
.warning { margin-top: 14px; padding: 12px 14px; background: #fde5df; color: #7e4339; border-radius: 14px; font-weight: 750; }
.day-pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 50px; }
.day-pager a { flex: 1; max-width: 300px; padding: 17px 20px; border-radius: 18px; background: var(--navy); color: white; text-decoration: none; font-weight: 850; }
.day-pager a:last-child { text-align: right; margin-left: auto; }

/* Optional activities index */
.extras-hero { background: var(--navy); color: white; padding-bottom: 60px; }
.extras-hero-copy { padding: 46px 0 8px; max-width: 820px; }
.extras-hero h1 { font-size: clamp(3rem, 8vw, 6rem); }
.extras-hero p { max-width: 700px; color: #d5e4eb; font-size: 1.12rem; margin: 20px 0 0; }
.extras-page { padding: 64px 0 95px; }
.extras-group + .extras-group { margin-top: 66px; }
.extras-group-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.extras-group-head h2 { font-size: clamp(2.2rem, 5vw, 3.7rem); letter-spacing: -.05em; }
.extras-group-head p { color: var(--muted); margin: 0; max-width: 440px; }
.optional-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.optional-card { background: var(--paper); border: 1px solid rgba(16,47,69,.08); border-radius: 22px; padding: 23px; box-shadow: 0 7px 22px rgba(16,47,69,.05); }
.optional-day { color: var(--teal); text-transform: uppercase; font-weight: 900; letter-spacing: .1em; font-size: .77rem; }
.optional-card h3 { font-size: 1.35rem; margin-top: 7px; }
.optional-card p { color: var(--muted); margin: 10px 0 0; }
.optional-card .actions { margin-top: 18px; }
.inline-note { margin-top: 12px; color: #8b5b22; font-weight: 800; font-size: .88rem; }

.site-footer { background: #0b2435; color: #b8ccd7; padding: 34px 0; }
.footer-row { display: flex; justify-content: space-between; gap: 25px; align-items: center; }
.footer-row p { margin: 0; }
.footer-row a { color: white; font-weight: 800; }
.mobile-bar { display: none; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 42px; }
  .stamp { display: none; }
  .day-grid { grid-template-columns: repeat(2, 1fr); }
  .day-hero-grid { grid-template-columns: 1fr; }
  .weather-card { max-width: 420px; }
  .day-layout { grid-template-columns: 1fr; }
  .side { position: static; grid-template-columns: repeat(2, 1fr); }
  .optional-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  body { padding-bottom: 68px; }
  .wrap { width: min(100% - 28px, 1160px); }
  .topbar { padding: 15px 0; }
  .top-link { display: none; }
  .hero { padding-bottom: 54px; }
  h1 { font-size: 3.25rem; }
  .trip-facts { grid-template-columns: 1fr; gap: 12px; }
  .fact { display: flex; align-items: baseline; gap: 8px; }
  .content { padding: 54px 0 70px; }
  .section-head { display: block; }
  .section-head p { margin-top: 14px; }
  .day-grid { grid-template-columns: 1fr; }
  .day-card { min-height: 270px; }
  .how-strip { grid-template-columns: 1fr; }
  .optional-banner { grid-template-columns: 1fr; }
  .guide-banner { grid-template-columns: 1fr; }
  .day-hero-grid { padding-top: 30px; }
  .day-layout { padding-top: 38px; }
  .route-title { display: block; }
  .route-title p { margin-top: 10px; }
  .stop { grid-template-columns: 55px 1fr; gap: 13px; }
  .stop:not(:last-child)::before { left: 27px; }
  .stop-card::before { left: -43px; }
  .stop-time { font-size: .78rem; }
  .leg { margin-left: 68px; }
  .side { grid-template-columns: 1fr; }
  .extra-grid { grid-template-columns: 1fr; }
  .optional-grid { grid-template-columns: 1fr; }
  .extras-group-head { display: block; }
  .extras-group-head p { margin-top: 10px; }
  .footer-row { display: block; }
  .footer-row p + p { margin-top: 8px; }
  .mobile-bar {
    position: fixed; display: grid; grid-template-columns: repeat(3, 1fr); z-index: 20;
    left: 10px; right: 10px; bottom: 10px; padding: 7px; border-radius: 18px;
    background: rgba(16,47,69,.96); box-shadow: 0 12px 30px rgba(0,0,0,.28); backdrop-filter: blur(12px);
  }
  .mobile-bar a { color: white; text-decoration: none; text-align: center; padding: 8px 4px; font-size: .78rem; font-weight: 800; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
