:root {
  color-scheme: light;
  --canvas: #f1ece3;
  --paper: #ffffff;
  --paper-warm: #fcf8f0;
  --ink: #17313d;
  --muted: #657078;
  --faint: #8c9499;
  --line: #dedbd5;
  --line-strong: #c7c3bc;
  --accent: #ed5a3d;
  --accent-dark: #bd3d28;
  --accent-soft: #fff0e9;
  --blue: #2d7894;
  --blue-soft: #edf6f8;
  --green: #37745f;
  --green-soft: #eef7f2;
  --amber: #8a5b0a;
  --amber-soft: #fff6df;
  --shell: min(1080px, calc(100vw - 40px));
  --radius: 12px;
}

/* Bright app system: one typeface, compact chrome, aligned day selector */
:root {
  --paper: #fffdf7;
  --paper-warm: #fff7df;
  --ink: #14213d;
  --muted: #657089;
  --line: rgba(20, 33, 61, 0.14);
  --line-strong: rgba(20, 33, 61, 0.24);
  --blue: #3456e8;
  --accent: #ff5f66;
  --accent-dark: #d9434d;
  --accent-soft: #ffe1e3;
  --lime: #ffd43b;
  --riso-blue-25: #dfe7ff;
}

html {
  background: #cbd8ff;
}

body,
button,
input,
select,
textarea {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  background: var(--paper-warm);
  color: var(--ink);
  box-shadow: 0 0 0 1px rgba(52, 86, 232, 0.1), 0 22px 70px rgba(37, 61, 135, 0.2);
}

h1,
h2,
h3,
h4,
.wordmark,
.day-summary h3,
.dinner-option h3,
.detail-block > h3,
.booking-name h3,
.large-number {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-style: normal;
}

em,
.intro h1 em {
  font-style: normal;
}

.site-header,
.itinerary-heading,
.trip-dates {
  display: none !important;
}

.intro {
  padding-top: 34px;
  background: var(--paper-warm);
}

.intro h1 {
  font-weight: 850;
  line-height: 0.9;
}

.intro h1 em {
  color: var(--accent);
  font-weight: 850;
}

.trip-card {
  border-color: var(--line);
  border-left-color: var(--blue);
}

.itinerary-section {
  padding-top: 0;
  background: #eef2ff;
}

.day-tabs {
  top: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  padding: 7px;
  overflow: visible;
  border: 0;
  border-bottom: 1px solid rgba(52, 86, 232, 0.16);
  background: rgba(255, 253, 247, 0.94);
  box-shadow: 0 8px 22px rgba(52, 86, 232, 0.08);
}

.day-tab,
.day-tab:nth-child(3) {
  display: flex;
  flex: none;
  min-width: 0;
  min-height: 54px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 7px 2px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--muted);
  text-align: center;
}

.day-tab span {
  order: 1;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

.day-tab strong {
  order: 2;
  font-size: 0.58rem;
  font-weight: 650;
  line-height: 1;
}

.day-tab small {
  display: none;
}

.day-tab:hover {
  background: #e7ecff;
  color: var(--ink);
}

.day-tab.is-active,
.day-tab:nth-child(3).is-active {
  border: 0;
  background: var(--blue);
  color: #fff;
  box-shadow: none;
}

.day-summary,
.day-summary.birthday-summary,
.timeline,
.booking-item,
.detail-block,
.detail-block:nth-child(2),
.detail-block:nth-child(3),
.dinner-option,
.dinner-option.recommended {
  border-color: var(--line);
  background: var(--paper);
}

.weather-strip {
  border-color: rgba(20, 33, 61, 0.12);
  background: #fff1a8;
}

.route-note {
  border-left-color: var(--blue);
}

.fallback {
  background: #ffdbe0;
}

.guide-hero {
  padding-top: 34px;
  background: var(--paper-warm);
}

.guide-hero h1,
.booking-section .section-heading h2,
.details-section .section-heading h2,
.dinner-heading h2 {
  font-weight: 820;
  letter-spacing: -0.045em;
}

.booking-section,
.details-section,
.resources {
  background: #eef2ff;
}

.app-nav {
  bottom: calc(8px + env(safe-area-inset-bottom));
  width: min(calc(100% - 24px), 360px);
  min-height: 50px;
  gap: 3px;
  padding: 4px;
  border-radius: 17px;
  background: rgba(20, 33, 61, 0.97);
  box-shadow: 0 12px 28px rgba(20, 33, 61, 0.24);
}

.app-nav a {
  min-height: 42px;
  gap: 1px;
  padding: 3px 6px;
  border-radius: 13px;
  font-size: 0.56rem;
}

.app-nav .ph-icon {
  width: 16px;
  height: 16px;
}

.app-nav a.is-active {
  background: var(--lime);
  color: var(--ink);
}

@media (max-width: 430px) {
  .intro,
  .guide-hero {
    padding-top: 26px;
  }

  .day-tabs {
    padding: 6px;
  }

  .day-tab,
  .day-tab:nth-child(3) {
    min-height: 50px;
    border-radius: 10px;
  }

  .app-nav {
    width: min(calc(100% - 20px), 360px);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Manrope", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

.ph-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  overflow: visible;
  fill: currentColor;
  line-height: 1;
  vertical-align: -0.125em;
}

h1,
h2,
h3,
h4,
p,
dl,
dd {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Fraunces", Georgia, serif;
  font-optical-sizing: auto;
}

h1,
h2,
h3,
h4 {
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(4.4rem, 9vw, 8.2rem);
  line-height: 0.78;
  letter-spacing: -0.07em;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(2.45rem, 4.6vw, 3.8rem);
  line-height: 0.98;
}

h3,
h4 {
  margin-bottom: 6px;
}

.page-shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  padding: 92px 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 9px 12px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid #e7a234;
  outline-offset: 3px;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 64px;
  padding: 10px max(20px, calc((100vw - 1080px) / 2));
  border-bottom: 1px solid transparent;
  background: rgba(252, 248, 240, 0.9);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.wordmark {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  width: fit-content;
  color: var(--ink);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1rem;
  font-weight: 720;
  text-decoration: none;
}

.wordmark::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 4px 0 0 rgba(237, 90, 61, 0.2);
}

.trip-dates {
  justify-self: end;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 720;
  letter-spacing: 0.02em;
}

.app-nav {
  position: fixed;
  top: 9px;
  left: 50%;
  z-index: 110;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 28px rgba(23, 49, 61, 0.08);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.app-nav a {
  position: relative;
  display: flex;
  gap: 7px;
  min-height: 37px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 760;
  text-decoration: none;
  white-space: nowrap;
}

.app-nav a:hover {
  color: var(--ink);
  background: var(--paper-warm);
}

.app-nav a.is-active {
  color: var(--blue);
  background: var(--blue-soft);
}

.app-nav .ph-icon {
  width: 16px;
  height: 16px;
}

.intro {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  padding: 142px 0 86px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 80% 16%, rgba(45, 120, 148, 0.17), transparent 24%),
    linear-gradient(135deg, #fffaf1 0%, #f5efe4 53%, #e8f0ee 100%);
}

.intro::before,
.intro::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.intro::before {
  right: -90px;
  bottom: -170px;
  width: 520px;
  height: 360px;
  border: 2px solid rgba(23, 49, 61, 0.08);
  border-radius: 50% 50% 0 0;
  box-shadow: inset 0 55px 0 -53px rgba(23, 49, 61, 0.07);
  transform: rotate(-4deg);
}

.intro::after {
  right: 260px;
  bottom: 0;
  width: 2px;
  height: 160px;
  background: rgba(23, 49, 61, 0.08);
}

.intro-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(330px, 0.72fr);
  gap: clamp(48px, 9vw, 110px);
  align-items: end;
}

.kicker {
  margin-bottom: 13px;
  color: var(--accent-dark);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.115em;
  text-transform: uppercase;
}

.intro h1 em {
  display: block;
  color: var(--accent);
  font-weight: 650;
}

.intro-copy > .intro-lede {
  max-width: 600px;
  margin: 32px 0 20px;
  color: #485e68;
  font-size: 1.08rem;
  line-height: 1.65;
}

.weekend-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 0.75rem;
}

.weekend-meta span {
  display: inline-flex;
  gap: 5px;
  align-items: baseline;
}

.weekend-meta strong {
  color: var(--ink);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.05rem;
}

.trip-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 22px;
  background: var(--ink);
  box-shadow: 0 28px 70px rgba(23, 49, 61, 0.2);
  color: white;
  transform: rotate(1.5deg);
}

.trip-date {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 20px 23px;
  background: var(--accent);
}

.trip-date span {
  padding-bottom: 4px;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.trip-date strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.5rem;
  line-height: 0.85;
  letter-spacing: -0.06em;
}

.trip-summary {
  margin-bottom: 0;
  padding: 7px 22px 15px;
}

.trip-summary div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.trip-summary dt {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  font-weight: 700;
}

.trip-summary dd {
  margin-bottom: 0;
  font-size: 0.86rem;
  font-weight: 620;
}

.trip-summary .birthday-arrival dd {
  color: #ffc4b6;
}

.booking-section {
  background:
    linear-gradient(90deg, rgba(237, 90, 61, 0.045) 1px, transparent 1px),
    var(--canvas);
  background-size: 34px 34px;
}

.section-heading {
  display: flex;
  gap: 48px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 36px;
}

.section-heading h2 {
  max-width: 760px;
}

.section-heading p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.booking-progress {
  width: min(260px, 30vw);
}

.booking-progress > div:first-child {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.8rem;
}

.booking-progress strong {
  color: var(--ink);
}

.progress-track {
  height: 5px;
  overflow: hidden;
  border-radius: 100px;
  background: #dad6cf;
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
  transition: width 180ms ease;
}

.booking-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 20px 55px rgba(23, 49, 61, 0.07);
}

.booking-item {
  display: grid;
  grid-template-columns: 40px 142px minmax(210px, 1fr) 125px 78px;
  gap: 18px;
  align-items: center;
  min-height: 82px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  transition: background 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.booking-item:hover:not(.is-done) {
  position: relative;
  z-index: 1;
  background: #fffaf6;
}

.booking-item:last-child {
  border-bottom: 0;
}

.booking-item.is-done {
  background: var(--green-soft);
}

.booking-item.is-done .booking-when,
.booking-item.is-done .booking-name,
.booking-item.is-done .booking-price {
  opacity: 0.55;
}

.booking-item.is-done .booking-name h3 {
  text-decoration: line-through;
}

.check-button {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--paper);
  color: transparent;
  cursor: pointer;
  font-weight: 800;
}

.check-button[aria-pressed="true"] {
  border-color: var(--green);
  background: var(--green);
  color: white;
}

.booking-when,
.booking-name {
  display: flex;
  flex-direction: column;
}

.booking-when strong {
  font-size: 0.78rem;
}

.booking-when span,
.booking-name p {
  color: var(--muted);
  font-size: 0.75rem;
}

.booking-name h3 {
  margin: 0 0 3px;
  font-size: 0.98rem;
}

.booking-name p {
  margin: 0;
}

.booking-price {
  font-size: 0.82rem;
  text-align: right;
}

.inline-link {
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 750;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.itinerary-section {
  background:
    radial-gradient(circle at 11% 10%, rgba(45, 120, 148, 0.08), transparent 20%),
    var(--paper);
}

.itinerary-heading {
  margin-bottom: 24px;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 0.72rem;
}

.legend span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.legend-dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.legend-dot.exact {
  background: var(--blue);
}

.legend-dot.estimate {
  background: #c67c18;
}

.legend-dot.free {
  background: var(--green);
}

.day-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.day-tab {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1px 9px;
  min-height: 66px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper-warm);
  color: var(--muted);
  cursor: pointer;
  text-align: left;
}

.day-tab span {
  grid-row: 1 / span 2;
  align-self: center;
  font-size: 1.05rem;
  font-weight: 780;
}

.day-tab strong {
  font-size: 0.78rem;
}

.day-tab small {
  overflow: hidden;
  font-size: 0.68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.day-tab:hover {
  border-color: var(--line-strong);
}

.day-tab.is-active {
  border-color: var(--blue);
  background: var(--blue);
  color: white;
  box-shadow: 0 9px 24px rgba(45, 120, 148, 0.18);
  transform: translateY(-2px);
}

.day-tab:nth-child(3).is-active {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 9px 24px rgba(237, 90, 61, 0.2);
}

.day-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 24px 70px rgba(23, 49, 61, 0.08);
}

.day-panel[hidden] {
  display: none;
}

.day-summary {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  padding: 30px 32px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 88% 10%, rgba(255, 255, 255, 0.7), transparent 24%),
    var(--blue-soft);
}

.day-summary.birthday-summary {
  background:
    radial-gradient(circle at 88% 10%, rgba(255, 255, 255, 0.65), transparent 24%),
    var(--accent-soft);
}

.day-summary p {
  margin-bottom: 5px;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.birthday-summary p {
  color: var(--accent-dark);
}

.day-summary h3 {
  margin-bottom: 5px;
  font-size: 1.85rem;
}

.day-summary > div:first-child > span {
  color: var(--muted);
  font-size: 0.85rem;
}

.day-total {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex: 0 0 auto;
}

.day-total span {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
}

.day-total strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.55rem;
}

.weather-strip {
  display: grid;
  grid-template-columns: minmax(230px, 0.75fr) minmax(0, 1.25fr);
  gap: 20px;
  align-items: center;
  margin: 18px 28px 0;
  padding: 13px 16px;
  border: 1px solid #d9e5df;
  border-radius: 12px;
  background: #f3f8f5;
}

.weather-strip div {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 34px;
}

.weather-strip span {
  color: var(--green);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.weather-strip strong {
  font-size: 0.84rem;
}

.weather-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.timeline {
  position: relative;
  margin: 0;
  padding: 0 28px;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 30px;
  bottom: 30px;
  left: 31px;
  width: 1px;
  background: #cfe0e5;
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  padding: 22px 0 22px 20px;
  border-bottom: 1px solid #ece9e4;
}

.timeline li::before,
.timeline li:nth-child(3n + 2)::before,
.timeline li:nth-child(3n)::before {
  content: "";
  position: absolute;
  top: 29px;
  left: 0;
  width: 7px;
  height: 7px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  background: var(--paper);
  z-index: 1;
}

.timeline li:last-child {
  border-bottom: 0;
}

.timeline time {
  padding-top: 2px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.timeline h4 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.timeline p {
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 0.83rem;
}

.timeline .route-note {
  margin-top: 2px;
  padding-left: 9px;
  border-left: 2px solid #cfe0e5;
  color: var(--ink);
  font-size: 0.76rem;
}

.place-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 2px 0 9px;
}

.map-link {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  min-height: 27px;
  padding: 4px 8px;
  border: 1px solid #c8dce3;
  border-radius: 999px;
  background: #f3f9fb;
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 760;
  line-height: 1;
  text-decoration: none;
  transition: border-color 140ms ease, background 140ms ease, transform 140ms ease;
}

.map-link:hover {
  border-color: var(--blue);
  background: var(--blue-soft);
  transform: translateY(-1px);
}

.map-link:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.cost {
  display: inline-flex;
  margin: 0 5px 3px 0;
  padding: 3px 7px;
  border-radius: 5px;
  font-size: 0.66rem;
  font-weight: 750;
}

.exact-cost {
  background: var(--blue-soft);
  color: var(--blue);
}

.estimate-cost {
  background: var(--amber-soft);
  color: var(--amber);
}

.free-cost {
  background: var(--green-soft);
  color: var(--green);
}

.variable-cost {
  background: #f0eeee;
  color: #5e6265;
}

.fallback {
  display: flex;
  gap: 8px;
  padding: 14px 28px;
  border-top: 1px solid var(--line);
  background: #f8f4ed;
  font-size: 0.78rem;
}

.fallback strong::after {
  content: ":";
}

.fallback span {
  color: var(--muted);
}

.dinner-section {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 88% 18%, rgba(237, 90, 61, 0.15), transparent 22%),
    linear-gradient(135deg, #fff8f0, #f8e7dd);
}

.dinner-list {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
  gap: 10px;
}

.dinner-option {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 145px 68px;
  gap: 18px;
  align-items: center;
  min-height: 108px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
}

.dinner-option:last-child {
  border-bottom: 1px solid var(--line);
}

.dinner-option.recommended {
  grid-row: 1 / span 3;
  grid-template-columns: 1fr;
  align-content: end;
  min-height: 344px;
  padding: 32px;
  border: 0;
  background:
    linear-gradient(180deg, rgba(23, 49, 61, 0.08), rgba(23, 49, 61, 0.86)),
    linear-gradient(135deg, #e47b5f, #8f2f2e);
  box-shadow: 0 22px 55px rgba(126, 48, 40, 0.2);
  color: white;
}

.dinner-option.recommended h3 {
  font-size: 2rem;
}

.dinner-option.recommended p,
.dinner-option.recommended > strong small {
  color: rgba(255, 255, 255, 0.72);
}

.dinner-option.recommended > strong,
.dinner-option.recommended > .inline-link {
  text-align: left;
}

.dinner-option.recommended > .inline-link {
  color: white;
}

.dinner-option h3 {
  margin: 0 0 4px;
  font-size: 1.15rem;
}

.dinner-option p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.dinner-option > strong {
  font-size: 0.92rem;
  text-align: right;
}

.dinner-option > strong small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 500;
}

.tag {
  display: inline-flex;
  margin-bottom: 7px;
  padding: 3px 7px;
  border-radius: 4px;
  background: var(--accent);
  color: white;
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.details-section {
  border-top: 1px solid var(--line);
  background: #ece7de;
}

.details-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.94fr 0.94fr;
  gap: 14px;
}

.detail-block {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 16px 40px rgba(23, 49, 61, 0.05);
}

.detail-block:nth-child(2) {
  background: #eef6f5;
}

.detail-block:nth-child(3) {
  background: #fff6eb;
}

.detail-block > h3 {
  margin-bottom: 18px;
  font-size: 1.35rem;
}

.detail-block > p:not(.large-number) {
  color: var(--muted);
  font-size: 0.78rem;
}

.large-number {
  margin-bottom: 10px;
  color: var(--accent-dark);
  font-family: "Fraunces", Georgia, serif;
  font-size: 3rem;
  font-weight: 780;
  letter-spacing: -0.055em;
}

.day-costs {
  margin: 20px 0;
  border-top: 1px solid var(--line);
}

.day-costs div {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.76rem;
}

.day-costs dt {
  color: var(--muted);
}

.day-costs dd {
  margin: 0;
  font-weight: 750;
}

.plain-list {
  margin: 0;
}

.plain-list div {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.plain-list div:first-child {
  padding-top: 0;
}

.plain-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.plain-list dt {
  margin-bottom: 2px;
  font-size: 0.8rem;
  font-weight: 760;
}

.plain-list dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.note-list {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.76rem;
  list-style: none;
}

.note-list strong {
  color: var(--ink);
}

.resources {
  padding: 66px 0;
  background: var(--ink);
  color: white;
}

.resources .kicker {
  color: #f39b88;
}

.resources h2 {
  margin-bottom: 0;
  font-size: 2rem;
}

.resources-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.resource-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 30px;
}

.resource-links a {
  display: flex;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: #eef2f3;
  font-size: 0.8rem;
  font-weight: 650;
  text-decoration: none;
}

.site-footer {
  padding: 24px 0;
  background: #162127;
  color: #b6bec2;
}

.site-footer .page-shell {
  display: flex;
  gap: 30px;
  justify-content: space-between;
}

.site-footer span {
  color: white;
  font-size: 0.75rem;
  font-weight: 750;
}

.site-footer p {
  margin: 0;
  font-size: 0.68rem;
}

.guide-hero {
  padding: 142px 0 74px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 84% 10%, rgba(237, 90, 61, 0.14), transparent 25%),
    linear-gradient(135deg, #fffaf1 0%, #edf4f3 100%);
}

.guide-hero-layout {
  display: block;
}

.guide-hero h1 {
  margin-bottom: 20px;
  font-size: clamp(4.2rem, 8vw, 7.2rem);
}

.guide-hero p:last-child {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
}

.detail-number {
  color: var(--accent-dark);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.guide-details .budget-block {
  grid-row: auto;
}

.guide-details .detail-block {
  scroll-margin-top: 84px;
}

@media (max-width: 900px) {
  .intro-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .trip-summary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .trip-summary div:nth-child(odd) {
    padding-right: 24px;
  }

  .trip-summary div:nth-child(even) {
    padding-left: 24px;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
  }

  .booking-item {
    grid-template-columns: 40px 128px minmax(180px, 1fr) 110px 64px;
    gap: 12px;
  }

  .day-tab {
    grid-template-columns: 1fr;
  }

  .day-tab span {
    grid-row: auto;
  }

  .day-tab small {
    display: none;
  }

  .details-grid {
    grid-template-columns: 1fr 1fr;
  }

  .budget-block {
    grid-row: span 2;
  }

  .guide-details .budget-block {
    grid-row: auto;
  }
}

@media (max-width: 700px) {
  :root {
    --shell: min(100% - 28px, 1080px);
  }

  html {
    scroll-padding-top: 62px;
  }

  body {
    font-size: 15px;
  }

  .section {
    padding: 56px 0;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 56px;
    padding: 8px 14px;
  }

  .intro {
    min-height: auto;
    padding: 104px 0 56px;
  }

  .intro::before,
  .intro::after {
    opacity: 0.45;
  }

  .intro-layout {
    gap: 40px;
  }

  h1 {
    font-size: clamp(3.5rem, 17vw, 5rem);
  }

  .intro-copy > .intro-lede {
    margin-top: 26px;
  }

  .weekend-meta {
    margin-bottom: 24px;
  }

  .trip-card {
    transform: none;
  }

  .trip-summary {
    display: block;
  }

  .trip-summary div:nth-child(n) {
    padding-inline: 0;
    border-left: 0;
  }

  .section-heading {
    display: block;
    margin-bottom: 24px;
  }

  .booking-progress {
    width: 100%;
    margin-top: 22px;
  }

  .booking-item {
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 7px 12px;
    padding: 16px 14px;
  }

  .booking-when {
    grid-column: 2;
    grid-row: 2;
  }

  .booking-name {
    grid-column: 2 / 4;
    grid-row: 1;
  }

  .booking-price {
    grid-column: 3;
    grid-row: 2;
    align-self: start;
  }

  .booking-item > .inline-link {
    grid-column: 3;
    grid-row: 3;
    text-align: right;
  }

  .check-button {
    grid-column: 1;
    grid-row: 1 / 4;
    align-self: start;
  }

  .itinerary-heading .legend {
    margin-top: 18px;
  }

  .day-tabs {
    display: flex;
    gap: 7px;
    margin-right: -14px;
    padding-right: 14px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .day-tab {
    display: grid;
    grid-template-columns: auto 1fr;
    min-width: 124px;
  }

  .day-tab span {
    grid-row: 1 / span 2;
  }

  .day-summary {
    align-items: flex-start;
    padding: 20px;
  }

  .day-summary h3 {
    font-size: 1.25rem;
  }

  .day-summary > div:first-child > span {
    display: block;
    max-width: 230px;
  }

  .day-total span {
    display: none;
  }

  .day-total strong {
    font-size: 1rem;
  }

  .weather-strip {
    grid-template-columns: 1fr;
    gap: 7px;
    margin: 14px 14px 0;
    padding: 12px 14px;
  }

  .timeline {
    padding: 0 18px;
  }

  .timeline li {
    grid-template-columns: 75px 1fr;
    gap: 12px;
    padding: 18px 0 18px 17px;
  }

  .timeline li::before {
    top: 25px;
  }

  .timeline::before {
    left: 21px;
  }

  .fallback {
    display: grid;
    gap: 2px;
    padding: 13px 18px;
  }

  .fallback strong::after {
    content: "";
  }

  .dinner-list {
    grid-template-columns: 1fr;
  }

  .dinner-option {
    grid-template-columns: 1fr auto;
    gap: 10px 18px;
    padding: 17px;
  }

  .dinner-option.recommended {
    grid-row: auto;
    min-height: 280px;
    padding: 26px;
  }

  .dinner-option > strong {
    text-align: right;
  }

  .dinner-option > .inline-link {
    grid-column: 2;
  }

  .details-grid {
    grid-template-columns: 1fr;
  }

  .budget-block {
    grid-row: auto;
  }

  .resources-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .resource-links {
    grid-template-columns: 1fr;
  }

  .site-footer .page-shell {
    display: block;
  }

  .site-footer span {
    display: block;
    margin-bottom: 6px;
  }
}

@media (max-width: 420px) {
  .day-summary {
    display: block;
  }

  .day-total {
    align-items: flex-start;
    margin-top: 13px;
  }

  .timeline li {
    grid-template-columns: 68px 1fr;
  }

  .dinner-option {
    display: block;
  }

  .dinner-option > strong {
    display: block;
    margin: 13px 0 8px;
    text-align: left;
  }

  .dinner-option > strong small {
    display: inline;
  }
}

/* Phone app shell */
@media (max-width: 700px) {
  :root {
    --shell: 100%;
  }

  html {
    scroll-padding-top: 122px;
  }

  body {
    padding-bottom: calc(74px + env(safe-area-inset-bottom));
    background: var(--paper);
  }

  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 56px;
    padding: 8px 14px;
    border-bottom-color: var(--line);
    background: rgba(252, 248, 240, 0.96);
  }

  .wordmark {
    font-size: 0.94rem;
  }

  .trip-dates {
    font-size: 0.66rem;
  }

  .app-nav {
    position: fixed;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 120;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    min-height: calc(66px + env(safe-area-inset-bottom));
    padding: 5px 8px env(safe-area-inset-bottom);
    border: 0;
    border-top: 1px solid rgba(199, 195, 188, 0.9);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -12px 34px rgba(23, 49, 61, 0.1);
    transform: none;
    backdrop-filter: blur(18px);
  }

  .app-nav a {
    position: relative;
    display: flex;
    min-height: 56px;
    flex-direction: column;
    gap: 3px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--muted);
    font-size: 0.64rem;
    font-weight: 760;
    text-decoration: none;
  }

  .app-nav a::before {
    content: "";
    position: absolute;
    top: 1px;
    width: 34px;
    height: 3px;
    border-radius: 999px;
    background: transparent;
  }

  .app-nav a.is-active {
    color: var(--blue);
    background: var(--blue-soft);
  }

  .app-nav a.is-active::before {
    background: var(--blue);
  }

  .app-nav .ph-icon {
    width: 21px;
    height: 21px;
  }

  .intro {
    padding: 88px 16px 34px;
    border-bottom: 0;
  }

  .intro-layout {
    gap: 28px;
  }

  .intro h1 {
    margin-bottom: 14px;
    font-size: clamp(3.35rem, 17vw, 4.5rem);
  }

  .intro-copy > .intro-lede {
    margin: 20px 0 16px;
    font-size: 0.94rem;
    line-height: 1.55;
  }

  .weekend-meta {
    gap: 15px;
    margin-bottom: 22px;
  }

  .trip-card {
    border-radius: 18px;
  }

  .trip-date {
    padding: 17px 19px;
  }

  .trip-summary {
    padding-inline: 18px;
  }

  .section {
    padding: 44px 0;
  }

  .booking-section .page-shell,
  .details-section .page-shell,
  .dinner-section .page-shell,
  .resources .page-shell {
    padding-inline: 12px;
  }

  .section-heading {
    margin-bottom: 22px;
  }

  .section-heading h2 {
    font-size: 2.25rem;
  }

  .itinerary-section {
    padding: 32px 0 42px;
  }

  .itinerary-heading {
    padding-inline: 16px;
  }

  .itinerary-heading .legend {
    gap: 12px;
    margin-top: 14px;
  }

  .day-tabs {
    position: sticky;
    top: 56px;
    z-index: 85;
    gap: 7px;
    width: 100%;
    margin: 0;
    padding: 8px 12px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 20px rgba(23, 49, 61, 0.06);
    backdrop-filter: blur(16px);
    scroll-padding-inline: 12px;
    scroll-snap-type: x proximity;
  }

  .day-tab {
    display: flex;
    min-width: 78px;
    min-height: 54px;
    flex: 0 0 78px;
    flex-direction: column;
    gap: 0;
    align-items: center;
    justify-content: center;
    padding: 7px 8px;
    border-radius: 13px;
    text-align: center;
    scroll-snap-align: center;
  }

  .day-tab span {
    font-size: 0.85rem;
    line-height: 1.15;
  }

  .day-tab strong {
    font-size: 0.62rem;
  }

  .day-tab small {
    display: none;
  }

  .day-tab.is-active {
    transform: none;
  }

  .day-panel {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .day-summary {
    min-height: 116px;
    padding: 21px 16px;
  }

  .day-summary h3 {
    font-size: 1.45rem;
  }

  .day-summary > div:first-child > span {
    max-width: 250px;
    font-size: 0.78rem;
  }

  .weather-strip {
    margin: 12px 12px 0;
    border-radius: 14px;
  }

  .timeline {
    padding: 0 12px;
  }

  .timeline::before {
    left: 16px;
  }

  .timeline li {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 10px;
    padding: 18px 0 18px 15px;
  }

  .timeline time {
    font-size: 0.69rem;
  }

  .timeline h4 {
    font-size: 1.04rem;
  }

  .timeline p {
    font-size: 0.8rem;
    line-height: 1.52;
  }

  .map-link {
    min-height: 36px;
    padding: 7px 10px;
    font-size: 0.7rem;
  }

  .cost {
    min-height: 28px;
    align-items: center;
    padding: 5px 8px;
  }

  .fallback {
    margin: 0 12px 12px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
  }

  .dinner-list {
    gap: 9px;
  }

  .dinner-option {
    border-radius: 16px;
  }

  .details-grid {
    gap: 10px;
  }

  .detail-block {
    border-radius: 16px;
    box-shadow: none;
  }

  .resources {
    padding: 48px 0;
  }

  .resource-links a {
    min-height: 48px;
    align-items: center;
  }

  .site-footer {
    padding: 22px 12px;
  }

  .guide-hero {
    padding: 92px 16px 32px;
  }

  .guide-hero h1 {
    margin-bottom: 13px;
    font-size: 3.65rem;
  }

  .guide-hero p:last-child {
    font-size: 0.9rem;
  }

  .guide-details .detail-block {
    scroll-margin-top: 72px;
  }
}

@media (max-width: 360px) {
  .day-tab {
    min-width: 72px;
    flex-basis: 72px;
  }

  .day-summary {
    display: block;
  }

  .day-total {
    align-items: flex-start;
    margin-top: 10px;
  }

  .timeline li {
    grid-template-columns: 61px minmax(0, 1fr);
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* High-craft travel app refinement */
:root {
  --canvas: #ece9e1;
  --paper: #fffefa;
  --paper-warm: #f7f3e9;
  --ink: #102b36;
  --muted: #647078;
  --faint: #90989c;
  --line: #d9d7cf;
  --line-strong: #bdbdb6;
  --accent: #f2573f;
  --accent-dark: #bd3828;
  --accent-soft: #ffe8df;
  --blue: #2b7391;
  --blue-bright: #2f6df6;
  --blue-soft: #e8f4f7;
  --green: #32735e;
  --green-soft: #e8f5ee;
  --lime: #d9ef3f;
  --lime-soft: #f3f8cc;
  --amber: #865407;
  --amber-soft: #fff2ca;
  --shadow-sm: 0 8px 24px rgba(16, 43, 54, 0.07);
  --shadow-md: 0 22px 60px rgba(16, 43, 54, 0.12);
  --shadow-lg: 0 34px 90px rgba(16, 43, 54, 0.18);
  --shell: min(1180px, calc(100vw - 48px));
  --radius: 20px;
}

body {
  background:
    linear-gradient(rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.18)),
    var(--canvas);
}

.site-header {
  min-height: 68px;
  border-bottom: 1px solid rgba(16, 43, 54, 0.08);
  background: rgba(247, 243, 233, 0.86);
  backdrop-filter: blur(22px) saturate(1.25);
}

.wordmark {
  font-size: 1.04rem;
  letter-spacing: -0.035em;
}

.wordmark::before {
  width: 12px;
  height: 12px;
  background: var(--accent);
  box-shadow: none;
}

.trip-dates {
  padding: 7px 10px;
  border: 1px solid rgba(16, 43, 54, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
}

.app-nav {
  top: 10px;
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(16, 43, 54, 0.88);
  border-radius: 18px;
  background: rgba(16, 43, 54, 0.96);
  box-shadow: 0 14px 34px rgba(16, 43, 54, 0.2);
}

.app-nav a {
  min-height: 40px;
  padding-inline: 14px;
  border-radius: 13px;
  color: rgba(255, 255, 255, 0.68);
}

.app-nav a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.app-nav a.is-active {
  color: var(--ink);
  background: var(--lime);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.intro {
  min-height: 735px;
  padding: 136px 0 92px;
  border-bottom: 0;
  background:
    radial-gradient(circle at 83% 20%, rgba(47, 109, 246, 0.19), transparent 22%),
    radial-gradient(circle at 70% 88%, rgba(217, 239, 63, 0.26), transparent 25%),
    linear-gradient(132deg, #fbf7ed 0%, #f0eee6 56%, #dfe9ee 100%);
}

.intro::before {
  right: -170px;
  bottom: -290px;
  width: 720px;
  height: 540px;
  border: 82px solid rgba(16, 43, 54, 0.05);
  border-radius: 50%;
  box-shadow: none;
  transform: none;
}

.intro::after {
  top: 116px;
  right: 8vw;
  bottom: auto;
  width: 96px;
  height: 96px;
  border: 20px solid rgba(242, 87, 63, 0.12);
  border-radius: 50%;
  background: transparent;
}

.intro-layout {
  grid-template-columns: minmax(0, 1.16fr) minmax(360px, 0.66fr);
  gap: clamp(58px, 8vw, 120px);
  align-items: center;
}

.intro-copy {
  max-width: 710px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(242, 87, 63, 0.1);
  color: var(--accent-dark);
  font-size: 0.69rem;
  letter-spacing: 0.105em;
}

.intro h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(4.8rem, 8.7vw, 7.8rem);
  line-height: 0.79;
  letter-spacing: -0.078em;
}

.intro h1 em {
  position: relative;
  width: fit-content;
  color: var(--accent);
}

.intro h1 em::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: 7px;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--lime);
  transform: rotate(13deg);
}

.intro-copy > .intro-lede {
  max-width: 560px;
  margin: 38px 0 24px;
  color: #425760;
  font-size: 1.04rem;
  line-height: 1.62;
}

.weekend-meta {
  gap: 8px;
  margin-bottom: 0;
}

.weekend-meta span {
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid rgba(16, 43, 54, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(10px);
}

.weekend-meta strong {
  font-size: 1.1rem;
}

.trip-card {
  position: relative;
  overflow: visible;
  border: 1px solid rgba(16, 43, 54, 0.18);
  border-radius: 32px;
  background: var(--ink);
  box-shadow: var(--shadow-lg);
  transform: rotate(1.4deg);
}

.trip-card::before {
  content: "Trip 01";
  position: absolute;
  top: -18px;
  left: 26px;
  z-index: 2;
  padding: 7px 12px;
  border: 1px solid rgba(16, 43, 54, 0.16);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trip-date {
  padding: 25px 26px 23px;
  border-radius: 30px 30px 0 0;
  background: var(--blue-bright);
}

.trip-date strong {
  font-size: 3.2rem;
}

.trip-summary {
  padding: 10px 25px 20px;
}

.trip-summary div {
  grid-template-columns: 105px 1fr;
  padding: 15px 0;
}

.trip-summary dt {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
}

.trip-summary dd {
  font-size: 0.88rem;
}

.trip-summary .birthday-arrival dd {
  color: var(--lime);
}

.itinerary-section {
  padding: 94px 0 110px;
  background:
    radial-gradient(circle at 8% 12%, rgba(47, 109, 246, 0.08), transparent 19%),
    linear-gradient(180deg, #f7f9fa 0%, #e9edef 100%);
}

.itinerary-heading {
  align-items: center;
  margin-bottom: 32px;
}

.itinerary-heading h2,
.guide-hero h1 {
  letter-spacing: -0.06em;
}

.legend {
  gap: 7px;
}

.legend span {
  min-height: 30px;
  padding: 5px 9px;
  border: 1px solid rgba(16, 43, 54, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
}

.day-tabs {
  gap: 10px;
  margin-bottom: 18px;
}

.day-tab {
  position: relative;
  min-height: 78px;
  padding: 14px 15px;
  overflow: hidden;
  border-color: rgba(16, 43, 54, 0.12);
  border-radius: 20px;
  background: rgba(255, 254, 250, 0.8);
  box-shadow: 0 8px 24px rgba(16, 43, 54, 0.045);
  transition: transform 170ms ease, box-shadow 170ms ease, background 170ms ease;
}

.day-tab::after {
  content: "";
  position: absolute;
  right: -14px;
  bottom: -18px;
  width: 52px;
  height: 52px;
  border: 12px solid rgba(16, 43, 54, 0.055);
  border-radius: 50%;
}

.day-tab:hover {
  border-color: rgba(16, 43, 54, 0.22);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.day-tab.is-active,
.day-tab:nth-child(3).is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
  box-shadow: 0 16px 34px rgba(16, 43, 54, 0.2);
  transform: translateY(-3px);
}

.day-tab:nth-child(3).is-active::before {
  content: "";
  position: absolute;
  top: 10px;
  right: 11px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
}

.day-tab span {
  font-size: 1.12rem;
}

.day-panel {
  overflow: hidden;
  border: 1px solid rgba(16, 43, 54, 0.12);
  border-radius: 32px;
  background: #eef1f1;
  box-shadow: var(--shadow-md);
}

.day-panel.is-active {
  animation: panel-in 280ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.994);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.day-summary {
  min-height: 154px;
  padding: 34px 38px;
  border-bottom: 0;
  background:
    radial-gradient(circle at 88% 18%, rgba(217, 239, 63, 0.8) 0 8%, transparent 8.2%),
    linear-gradient(126deg, #225f7a 0%, #2f6df6 100%);
  color: white;
}

.day-summary.birthday-summary {
  background:
    radial-gradient(circle at 88% 18%, rgba(217, 239, 63, 0.9) 0 8%, transparent 8.2%),
    linear-gradient(126deg, #cc3f2f 0%, #f2573f 100%);
}

.day-summary p,
.birthday-summary p {
  color: var(--lime);
}

.day-summary h3 {
  margin-bottom: 8px;
  font-size: 2.2rem;
}

.day-summary > div:first-child > span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.day-total {
  min-width: 132px;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 18px;
  background: rgba(16, 43, 54, 0.2);
  backdrop-filter: blur(12px);
}

.day-total span {
  color: rgba(255, 255, 255, 0.68);
}

.day-total strong {
  color: white;
  font-size: 1.7rem;
}

.weather-strip {
  grid-template-columns: minmax(270px, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  margin: 22px 24px 0;
  padding: 17px 19px;
  border: 1px solid rgba(90, 105, 18, 0.16);
  border-radius: 20px;
  background: var(--lime-soft);
  box-shadow: 0 8px 24px rgba(87, 101, 21, 0.06);
}

.weather-strip div::before {
  width: 26px;
  height: 26px;
  background: var(--ink);
}

.weather-strip span {
  color: #65740c;
}

.weather-strip p {
  color: #526167;
}

.timeline {
  display: grid;
  gap: 10px;
  padding: 22px 24px 24px;
}

.timeline::before {
  display: none;
}

.timeline li {
  grid-template-columns: 98px minmax(0, 1fr);
  gap: 22px;
  padding: 22px 23px;
  border: 1px solid rgba(16, 43, 54, 0.09);
  border-radius: 22px;
  background: rgba(255, 254, 250, 0.95);
  box-shadow: 0 8px 24px rgba(16, 43, 54, 0.055);
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

.timeline li:hover {
  z-index: 1;
  border-color: rgba(47, 109, 246, 0.24);
  box-shadow: 0 16px 34px rgba(16, 43, 54, 0.09);
  transform: translateY(-2px);
}

.timeline li::before {
  top: 26px;
  left: 23px;
  width: 8px;
  height: 8px;
  border: 0;
  background: var(--blue-bright);
  box-shadow: 0 0 0 6px rgba(47, 109, 246, 0.1);
}

.timeline li:nth-child(3n + 2)::before {
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(242, 87, 63, 0.1);
}

.timeline li:nth-child(3n)::before {
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(50, 115, 94, 0.1);
}

.timeline time {
  padding: 1px 0 0 22px;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0.01em;
}

.timeline h4 {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 1.08rem;
}

.timeline p {
  max-width: 810px;
  margin-bottom: 11px;
  font-size: 0.82rem;
  line-height: 1.56;
}

.timeline .route-note {
  margin: 10px 0 11px;
  padding: 11px 12px;
  border: 0;
  border-radius: 12px;
  background: #edf4f7;
  color: var(--ink);
}

.place-links {
  gap: 7px;
  margin-bottom: 10px;
}

.map-link,
.place-links .inline-link {
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid rgba(43, 115, 145, 0.2);
  border-radius: 999px;
  background: var(--blue-soft);
  color: #1f6682;
  font-size: 0.69rem;
  font-weight: 790;
  line-height: 1;
  text-decoration: none;
}

.place-links .inline-link {
  display: inline-flex;
  gap: 5px;
  align-items: center;
}

.cost {
  min-height: 28px;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.65rem;
}

.fallback {
  margin: 0 24px 24px;
  padding: 16px 18px;
  border: 0;
  border-radius: 18px;
  background: var(--ink);
  color: white;
}

.fallback strong {
  color: var(--lime);
}

.fallback span {
  color: rgba(255, 255, 255, 0.68);
}

.dinner-section {
  border-top: 0;
  background:
    radial-gradient(circle at 86% 18%, rgba(217, 239, 63, 0.42), transparent 20%),
    linear-gradient(132deg, #ffefe8, #e8e5dc);
}

.dinner-list {
  gap: 14px;
}

.dinner-option {
  min-height: 116px;
  border-color: rgba(16, 43, 54, 0.1);
  border-radius: 22px;
  background: rgba(255, 254, 250, 0.86);
  box-shadow: var(--shadow-sm);
}

.dinner-option.recommended {
  min-height: 376px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 82% 14%, rgba(217, 239, 63, 0.92) 0 8%, transparent 8.2%),
    linear-gradient(155deg, #245e78 0%, #102b36 75%);
  box-shadow: var(--shadow-lg);
}

.tag {
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
}

.details-section {
  border-top: 0;
  background: #e7e4dc;
}

.details-grid {
  gap: 18px;
}

.detail-block {
  padding: 28px;
  border-color: rgba(16, 43, 54, 0.1);
  border-radius: 26px;
  box-shadow: var(--shadow-sm);
}

.detail-block:nth-child(2) {
  background: #e5f1ff;
}

.detail-block:nth-child(3) {
  background: #f4f8cb;
}

.resources {
  background:
    radial-gradient(circle at 82% 18%, rgba(47, 109, 246, 0.28), transparent 25%),
    var(--ink);
}

.resources .kicker {
  background: rgba(217, 239, 63, 0.13);
  color: var(--lime);
}

.guide-hero {
  padding: 148px 0 86px;
  border-bottom: 0;
  background:
    radial-gradient(circle at 84% 18%, rgba(217, 239, 63, 0.62) 0 8%, transparent 8.3%),
    linear-gradient(126deg, #235f79 0%, #2f6df6 100%);
  color: white;
}

.guide-hero .kicker {
  background: rgba(255, 255, 255, 0.13);
  color: var(--lime);
}

.guide-hero p:last-child {
  color: rgba(255, 255, 255, 0.72);
}

.booking-section {
  background:
    radial-gradient(circle at 8% 12%, rgba(47, 109, 246, 0.08), transparent 18%),
    #f0f1ef;
}

.booking-list {
  display: grid;
  gap: 10px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.booking-item {
  min-height: 94px;
  border: 1px solid rgba(16, 43, 54, 0.1);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.booking-item:last-child {
  border-bottom: 1px solid rgba(16, 43, 54, 0.1);
}

.booking-item:hover:not(.is-done) {
  background: var(--paper);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.check-button {
  border: 2px solid rgba(16, 43, 54, 0.18);
  background: #f5f4ef;
}

.check-button[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
}

.progress-track {
  height: 8px;
  background: rgba(16, 43, 54, 0.1);
}

.progress-track span {
  background: var(--blue-bright);
}

@media (max-width: 900px) {
  .intro-layout {
    grid-template-columns: 1fr;
  }

  .trip-card {
    width: min(620px, 100%);
    transform: none;
  }
}

@media (max-width: 700px) {
  :root {
    --shell: 100%;
  }

  html {
    scroll-padding-top: 126px;
  }

  body {
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
    background: #f2f1ec;
  }

  .site-header {
    min-height: 58px;
    padding-inline: 16px;
    background: rgba(250, 247, 239, 0.92);
  }

  .trip-dates {
    padding: 5px 8px;
    border: 0;
    background: rgba(16, 43, 54, 0.055);
  }

  .app-nav {
    top: auto;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 12px;
    min-height: 68px;
    padding: 6px;
    border: 0;
    border-radius: 24px;
    background: rgba(16, 43, 54, 0.97);
    box-shadow: 0 18px 48px rgba(16, 43, 54, 0.28);
    transform: none;
  }

  .app-nav a {
    min-height: 56px;
    border-radius: 18px;
    color: rgba(255, 255, 255, 0.62);
  }

  .app-nav a::before {
    display: none;
  }

  .app-nav a.is-active {
    color: var(--ink);
    background: var(--lime);
  }

  .app-nav .ph-icon {
    width: 20px;
    height: 20px;
  }

  .intro {
    min-height: auto;
    padding: 96px 16px 34px;
    background:
      radial-gradient(circle at 92% 18%, rgba(47, 109, 246, 0.17), transparent 23%),
      linear-gradient(150deg, #fbf7ed, #e9eff1);
  }

  .intro::before {
    right: -210px;
    bottom: -230px;
    width: 440px;
    height: 440px;
    border-width: 58px;
  }

  .intro::after {
    top: 88px;
    right: 18px;
    width: 60px;
    height: 60px;
    border-width: 13px;
  }

  .intro-layout {
    gap: 42px;
  }

  .kicker {
    min-height: 27px;
    margin-bottom: 17px;
    padding: 5px 9px;
    font-size: 0.62rem;
  }

  .intro h1 {
    max-width: 360px;
    margin-bottom: 19px;
    font-size: clamp(3.55rem, 16.8vw, 4.5rem);
    line-height: 0.8;
  }

  .intro h1 em::after {
    right: -24px;
    bottom: 2px;
    width: 18px;
    height: 18px;
    border-radius: 5px;
  }

  .intro-copy > .intro-lede {
    margin: 26px 0 18px;
    font-size: 0.91rem;
  }

  .weekend-meta {
    gap: 6px;
  }

  .weekend-meta span {
    min-height: 34px;
    padding: 6px 10px;
    font-size: 0.68rem;
  }

  .trip-card {
    border-radius: 28px;
  }

  .trip-card::before {
    top: -16px;
    left: 20px;
  }

  .trip-date {
    padding: 21px 20px 19px;
    border-radius: 26px 26px 0 0;
  }

  .trip-date strong {
    font-size: 2.9rem;
  }

  .trip-summary {
    padding: 8px 20px 17px;
  }

  .trip-summary div {
    grid-template-columns: 95px 1fr;
    padding: 13px 0;
  }

  .itinerary-section {
    padding: 38px 0 52px;
    background: #eef1f1;
  }

  .itinerary-heading {
    padding-inline: 17px;
  }

  .itinerary-heading h2 {
    font-size: 2.7rem;
  }

  .legend span {
    min-height: 26px;
    padding: 4px 8px;
  }

  .day-tabs {
    top: 58px;
    gap: 8px;
    margin-bottom: 10px;
    padding: 10px 12px;
    border: 0;
    background: rgba(238, 241, 241, 0.92);
    box-shadow: none;
  }

  .day-tab {
    min-width: 78px;
    min-height: 58px;
    flex-basis: 78px;
    border-radius: 18px;
    background: rgba(255, 254, 250, 0.88);
    box-shadow: 0 6px 16px rgba(16, 43, 54, 0.05);
  }

  .day-tab.is-active,
  .day-tab:nth-child(3).is-active {
    background: var(--ink);
    box-shadow: 0 10px 24px rgba(16, 43, 54, 0.18);
    transform: none;
  }

  .day-panel {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .day-summary,
  .day-summary.birthday-summary {
    min-height: 172px;
    margin: 0 12px;
    padding: 24px 21px;
    border-radius: 26px;
    background:
      radial-gradient(circle at 88% 16%, rgba(217, 239, 63, 0.86) 0 9%, transparent 9.3%),
      linear-gradient(140deg, #225f7a, #2f6df6);
    box-shadow: var(--shadow-md);
  }

  .day-summary.birthday-summary {
    background:
      radial-gradient(circle at 88% 16%, rgba(217, 239, 63, 0.92) 0 9%, transparent 9.3%),
      linear-gradient(140deg, #c63e2f, #f2573f);
  }

  .day-summary h3 {
    max-width: 250px;
    font-size: 1.75rem;
  }

  .day-summary > div:first-child > span {
    max-width: 240px;
    color: rgba(255, 255, 255, 0.76);
  }

  .day-total {
    width: 100%;
    min-width: auto;
    margin-top: 17px;
    padding: 8px 11px;
    border-radius: 13px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .day-total span {
    display: block;
    color: rgba(255, 255, 255, 0.66);
  }

  .day-total strong {
    font-size: 1.08rem;
  }

  .weather-strip {
    grid-template-columns: 1fr;
    gap: 9px;
    margin: 12px;
    padding: 15px 16px;
    border-radius: 20px;
  }

  .timeline {
    gap: 10px;
    padding: 0 12px 12px;
  }

  .timeline li {
    display: block;
    margin: 0;
    padding: 18px;
    border-radius: 20px;
  }

  .timeline li::before {
    top: 22px;
    left: 19px;
    width: 7px;
    height: 7px;
  }

  .timeline time {
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    margin: 0 0 13px 22px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #edf1f2;
    font-size: 0.66rem;
  }

  .timeline h4 {
    margin-bottom: 6px;
    font-size: 1.08rem;
  }

  .timeline p {
    font-size: 0.79rem;
  }

  .timeline .route-note {
    margin-top: 11px;
    padding: 11px;
  }

  .map-link,
  .place-links .inline-link {
    min-height: 36px;
    padding: 8px 11px;
  }

  .fallback {
    display: block;
    margin: 0 12px 12px;
    padding: 17px;
    border-radius: 20px;
  }

  .fallback strong {
    display: block;
    margin-bottom: 4px;
  }

  .dinner-section,
  .details-section,
  .booking-section {
    padding-block: 54px;
  }

  .dinner-section .page-shell,
  .details-section .page-shell,
  .booking-section .page-shell,
  .resources .page-shell {
    padding-inline: 12px;
  }

  .dinner-option,
  .detail-block,
  .booking-item {
    border-radius: 22px;
  }

  .dinner-option.recommended {
    min-height: 330px;
    border-radius: 28px;
  }

  .guide-hero {
    margin: 70px 12px 0;
    padding: 42px 20px;
    border-radius: 28px;
    box-shadow: var(--shadow-md);
  }

  .guide-hero h1 {
    font-size: 3.5rem;
  }

  .booking-list {
    gap: 9px;
  }

  .booking-item {
    padding: 17px 15px;
  }
}

@media (max-width: 380px) {
  .intro h1 {
    font-size: 3.35rem;
  }

  .weekend-meta span {
    padding-inline: 8px;
  }

  .day-summary {
    min-height: 184px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .day-panel.is-active {
    animation: none;
  }
}

/* Inline Phosphor SVG system */
.phosphor-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

svg.ph-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  overflow: visible;
  background: none;
  fill: currentColor;
  font-size: inherit;
  line-height: 1;
  vertical-align: -0.125em;
  -webkit-mask: none;
  mask: none;
}

.map-link > .ph-map-pin,
.inline-link > .ph-arrow-square-out,
.resource-links a > .ph-arrow-square-out {
  width: 13px;
  height: 13px;
}

.check-button > .ph-check {
  width: 16px;
  height: 16px;
}

.weather-strip div {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 2px 10px;
  padding-left: 0;
}

.weather-strip div::before,
.timeline .route-note > strong:first-child::before {
  display: none;
}

.weather-strip .weather-icon {
  grid-row: 1 / span 2;
  align-self: center;
  width: 27px;
  height: 27px;
  color: var(--ink);
}

.weather-strip div > span,
.weather-strip div > strong {
  grid-column: 2;
}

.timeline .route-icon {
  width: 13px;
  height: 13px;
  margin-right: 6px;
  color: var(--blue);
  vertical-align: -2px;
}

/* Risograph ink system
   Federal Blue + Warm Red + Yellow + Riso Black, printed on warm paper. */
:root {
  --canvas: #f1ede3;
  --paper: #fffdf5;
  --paper-warm: #f8f3e7;
  --ink: #3f3c39;
  --muted: #716d68;
  --faint: #918c86;
  --line: #d7d2c8;
  --line-strong: #aaa59d;
  --accent: #ff665e;
  --accent-dark: #a73936;
  --accent-soft: #ffdedb;
  --blue: #3d5588;
  --blue-bright: #3d5588;
  --blue-soft: #d9deea;
  --green: #3d5588;
  --green-soft: #e4e7ef;
  --lime: #ffe800;
  --lime-soft: #fff7b2;
  --amber: #8d3f3b;
  --amber-soft: #ffe2df;
  --riso-blue-75: #6e80a6;
  --riso-blue-50: #9eabc3;
  --riso-blue-25: #cfd5e1;
  --riso-red-75: #ff8c86;
  --riso-red-50: #ffb3ae;
  --riso-red-25: #ffd9d7;
  --riso-yellow-75: #ffed40;
  --riso-yellow-50: #fff380;
  --riso-yellow-25: #fff9bf;
  --riso-black: #615d59;
  --shadow-sm: 0 8px 24px rgba(97, 93, 89, 0.08);
  --shadow-md: 0 22px 60px rgba(97, 93, 89, 0.13);
  --shadow-lg: 0 34px 90px rgba(61, 85, 136, 0.2);
}

body {
  background: var(--canvas);
}

:focus-visible {
  outline-color: var(--blue);
}

.site-header {
  border-bottom-color: rgba(97, 93, 89, 0.12);
  background: rgba(248, 243, 231, 0.92);
}

.wordmark::before {
  background: var(--accent);
}

.trip-dates,
.weekend-meta span,
.legend span {
  border-color: rgba(61, 85, 136, 0.16);
  background: rgba(255, 253, 245, 0.74);
}

.app-nav {
  border-color: var(--blue);
  background: rgba(61, 85, 136, 0.98);
  box-shadow: 0 14px 34px rgba(61, 85, 136, 0.24);
}

.app-nav a {
  color: rgba(255, 253, 245, 0.72);
}

.app-nav a:hover {
  color: var(--paper);
  background: rgba(255, 253, 245, 0.1);
}

.app-nav a.is-active {
  color: var(--ink);
  background: var(--lime);
  box-shadow: none;
}

.intro {
  background:
    radial-gradient(circle at 83% 20%, rgba(61, 85, 136, 0.18), transparent 22%),
    radial-gradient(circle at 70% 88%, rgba(255, 102, 94, 0.14), transparent 25%),
    var(--paper-warm);
}

.intro::before {
  border-color: rgba(61, 85, 136, 0.07);
}

.intro::after {
  border-color: rgba(255, 102, 94, 0.22);
}

.kicker {
  background: var(--riso-red-25);
  color: var(--accent-dark);
}

.intro h1 em {
  color: var(--accent);
}

.intro h1 em::after {
  background: var(--lime);
}

.intro-copy > .intro-lede {
  color: var(--muted);
}

.trip-card {
  border-color: var(--blue);
  background: var(--riso-black);
  box-shadow: var(--shadow-lg);
}

.trip-card::before {
  border-color: var(--riso-blue-50);
  background: var(--paper);
}

.trip-date {
  background: var(--blue);
}

.trip-summary dt {
  color: rgba(255, 253, 245, 0.58);
}

.trip-summary .birthday-arrival dd {
  color: var(--riso-yellow-75);
}

.itinerary-section,
.booking-section {
  background:
    radial-gradient(circle at 8% 12%, rgba(61, 85, 136, 0.08), transparent 19%),
    #eeece6;
}

.day-tab {
  border-color: rgba(61, 85, 136, 0.16);
  background: rgba(255, 253, 245, 0.9);
  box-shadow: 0 8px 24px rgba(97, 93, 89, 0.06);
}

.day-tab::after {
  border-color: rgba(61, 85, 136, 0.08);
}

.day-tab:hover {
  border-color: var(--riso-blue-50);
}

.day-tab.is-active,
.day-tab:nth-child(3).is-active {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--paper);
  box-shadow: 0 16px 34px rgba(61, 85, 136, 0.24);
}

.day-tab:nth-child(3).is-active::before {
  background: var(--accent);
}

.day-panel {
  border-color: rgba(61, 85, 136, 0.16);
  background: #ebe9e3;
}

.day-summary,
.day-summary.birthday-summary {
  background:
    radial-gradient(circle at 88% 18%, var(--lime) 0 8%, transparent 8.2%),
    var(--blue);
  color: var(--paper);
}

.day-summary.birthday-summary {
  background:
    radial-gradient(circle at 88% 18%, var(--accent) 0 8%, transparent 8.2%),
    var(--blue);
}

.day-summary p,
.birthday-summary p {
  color: var(--riso-yellow-75);
}

.day-summary > div:first-child > span,
.day-total span {
  color: rgba(255, 253, 245, 0.74);
}

.day-total {
  border-color: rgba(255, 253, 245, 0.42);
  background: rgba(63, 60, 57, 0.18);
}

.weather-strip {
  border-color: rgba(141, 125, 0, 0.24);
  background: var(--riso-yellow-25);
  box-shadow: 0 8px 24px rgba(97, 93, 89, 0.07);
}

.weather-strip span {
  color: #736800;
}

.weather-strip p {
  color: var(--muted);
}

.timeline li {
  border-color: rgba(61, 85, 136, 0.1);
  background: rgba(255, 253, 245, 0.97);
  box-shadow: var(--shadow-sm);
}

.timeline li:hover {
  border-color: rgba(61, 85, 136, 0.34);
  box-shadow: var(--shadow-md);
}

.timeline li::before {
  background: var(--blue);
  box-shadow: 0 0 0 6px rgba(61, 85, 136, 0.13);
}

.timeline li:nth-child(3n + 2)::before {
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(255, 102, 94, 0.14);
}

.timeline li:nth-child(3n)::before {
  background: var(--riso-yellow-75);
  box-shadow: 0 0 0 6px rgba(255, 232, 0, 0.18);
}

.timeline time {
  color: var(--ink);
}

.timeline .route-note {
  background: var(--riso-blue-25);
}

.timeline .route-icon {
  color: var(--blue);
}

.map-link,
.place-links .inline-link {
  border-color: rgba(61, 85, 136, 0.28);
  background: var(--riso-blue-25);
  color: var(--blue);
}

.exact-cost {
  background: var(--riso-blue-25);
  color: var(--blue);
}

.estimate-cost {
  background: var(--riso-red-25);
  color: var(--accent-dark);
}

.free-cost {
  background: var(--riso-yellow-25);
  color: #675e00;
}

.variable-cost {
  background: #e5e2dc;
  color: var(--riso-black);
}

.legend-dot.exact {
  background: var(--blue);
}

.legend-dot.estimate {
  background: var(--accent);
}

.legend-dot.free {
  background: var(--riso-yellow-75);
}

.fallback {
  background: var(--riso-black);
  color: var(--paper);
}

.fallback strong {
  color: var(--riso-yellow-75);
}

.fallback span {
  color: rgba(255, 253, 245, 0.74);
}

.dinner-section {
  background:
    radial-gradient(circle at 86% 18%, rgba(255, 232, 0, 0.26), transparent 20%),
    var(--riso-red-25);
}

.dinner-option {
  border-color: rgba(97, 93, 89, 0.14);
  background: rgba(255, 253, 245, 0.9);
}

.dinner-option.recommended {
  background:
    radial-gradient(circle at 82% 14%, var(--accent) 0 8%, transparent 8.2%),
    var(--blue);
}

.tag {
  background: var(--lime);
}

.details-section {
  background: #e7e3da;
}

.detail-block {
  border-color: rgba(97, 93, 89, 0.14);
  background: var(--paper);
}

.detail-block:nth-child(2) {
  background: var(--riso-blue-25);
}

.detail-block:nth-child(3) {
  background: var(--riso-yellow-25);
}

.resources {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 102, 94, 0.24), transparent 25%),
    var(--riso-black);
}

.resources .kicker {
  background: rgba(255, 232, 0, 0.14);
  color: var(--riso-yellow-75);
}

.resources h2 {
  color: var(--paper);
}

.resource-links a {
  border-bottom-color: rgba(255, 253, 245, 0.22);
  color: var(--paper);
}

.guide-hero {
  background:
    radial-gradient(circle at 84% 18%, var(--lime) 0 8%, transparent 8.3%),
    var(--blue);
  color: var(--paper);
}

.guide-hero .kicker {
  background: rgba(255, 253, 245, 0.14);
  color: var(--riso-yellow-75);
}

.guide-hero p:last-child {
  color: rgba(255, 253, 245, 0.76);
}

.booking-item {
  border-color: rgba(61, 85, 136, 0.14);
  background: var(--paper);
}

.booking-item.is-done {
  background: var(--riso-yellow-25);
}

.check-button {
  border-color: rgba(61, 85, 136, 0.28);
  background: var(--paper-warm);
}

.check-button[aria-pressed="true"] {
  border-color: var(--blue);
  background: var(--blue);
}

.progress-track {
  background: var(--riso-blue-25);
}

.progress-track span {
  background: var(--accent);
}

.site-footer {
  background: #504d49;
  color: var(--riso-blue-25);
}

.site-footer span {
  color: var(--paper);
}

@media (max-width: 700px) {
  body {
    background: #efede7;
  }

  .site-header {
    background: rgba(248, 243, 231, 0.95);
  }

  .trip-dates {
    background: var(--riso-blue-25);
  }

  .app-nav {
    background: rgba(61, 85, 136, 0.99);
    box-shadow: 0 18px 48px rgba(61, 85, 136, 0.3);
  }

  .app-nav a {
    color: rgba(255, 253, 245, 0.68);
  }

  .intro {
    background:
      radial-gradient(circle at 92% 18%, rgba(255, 102, 94, 0.16), transparent 23%),
      var(--paper-warm);
  }

  .itinerary-section {
    background: #ebe9e3;
  }

  .day-tabs {
    background: rgba(235, 233, 227, 0.94);
  }

  .day-tab {
    background: rgba(255, 253, 245, 0.94);
  }

  .day-tab.is-active,
  .day-tab:nth-child(3).is-active {
    background: var(--blue);
    box-shadow: 0 10px 24px rgba(61, 85, 136, 0.24);
  }

  .day-summary,
  .day-summary.birthday-summary {
    background:
      radial-gradient(circle at 88% 16%, var(--lime) 0 9%, transparent 9.3%),
      var(--blue);
  }

  .day-summary.birthday-summary {
    background:
      radial-gradient(circle at 88% 16%, var(--accent) 0 9%, transparent 9.3%),
      var(--blue);
  }

  .timeline time {
    background: var(--riso-blue-25);
  }
}

/* App architecture: one focused mobile-style shell at every viewport width. */
html {
  min-height: 100%;
  scroll-padding-top: 70px;
  background: var(--riso-blue-25);
}

body,
body.guide-page {
  position: relative;
  width: min(100%, 560px);
  min-height: 100dvh;
  margin-inline: auto;
  padding-bottom: calc(92px + env(safe-area-inset-bottom));
  overflow-x: hidden;
  background: #eeece6;
  box-shadow: 0 0 0 1px rgba(61, 85, 136, 0.12), 0 0 80px rgba(61, 85, 136, 0.18);
}

[data-app-screen][hidden] {
  display: none !important;
}

.page-shell {
  width: 100%;
  margin: 0;
}

.site-header {
  top: 0;
  right: auto;
  left: 50%;
  width: min(100%, 560px);
  min-height: 60px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(248, 243, 231, 0.96);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line-strong);
}

.wordmark {
  font-size: 0.98rem;
}

.trip-dates {
  padding: 5px 8px;
  border: 0;
  background: var(--riso-blue-25);
  font-size: 0.65rem;
}

.app-nav {
  position: fixed;
  top: auto;
  right: auto;
  bottom: calc(12px + env(safe-area-inset-bottom));
  left: 50%;
  z-index: 120;
  width: min(calc(100% - 24px), 520px);
  min-height: 68px;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 6px;
  border: 0;
  border-radius: 24px;
  background: rgba(61, 85, 136, 0.98);
  box-shadow: 0 18px 44px rgba(61, 85, 136, 0.28);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.app-nav a {
  min-height: 56px;
  flex-direction: column;
  gap: 3px;
  padding: 5px 8px;
  border-radius: 18px;
  color: rgba(255, 253, 245, 0.7);
  font-size: 0.64rem;
}

.app-nav a:hover {
  color: var(--paper);
  background: rgba(255, 253, 245, 0.08);
}

.app-nav a.is-active {
  color: var(--ink);
  background: var(--lime);
}

.app-nav .ph-icon {
  width: 20px;
  height: 20px;
}

main {
  min-height: 100dvh;
}

.section {
  padding: 24px 18px;
}

.intro {
  min-height: 0;
  padding: 94px 18px 18px;
  border: 0;
  background: var(--paper-warm);
}

.intro::before,
.intro::after {
  display: none;
}

.intro-layout {
  display: block;
}

.intro-copy {
  max-width: none;
}

.intro .kicker {
  min-height: auto;
  margin: 0 0 12px;
  padding: 0;
  background: none;
  color: var(--accent-dark);
  font-size: 0.65rem;
}

.intro h1 {
  max-width: 480px;
  margin: 0;
  font-size: clamp(3.75rem, 14vw, 5rem);
  line-height: 0.84;
  letter-spacing: -0.07em;
}

.intro h1 em::after {
  display: none;
}

.intro-copy > .intro-lede {
  max-width: 440px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.weekend-meta,
.trip-date {
  display: none;
}

.trip-card {
  width: 100%;
  margin-top: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: none;
  color: var(--ink);
  transform: none;
}

.trip-card::before {
  content: "At a glance";
  position: static;
  display: block;
  width: fit-content;
  margin: 17px 18px 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue);
}

.trip-summary {
  padding: 6px 18px 12px;
}

.trip-summary div {
  grid-template-columns: 88px 1fr;
  padding: 11px 0;
  border-bottom-color: var(--line);
}

.trip-summary dt {
  color: var(--muted);
  font-size: 0.68rem;
}

.trip-summary dd {
  color: var(--ink);
  font-size: 0.78rem;
}

.trip-summary .birthday-arrival dd {
  color: var(--accent-dark);
}

.itinerary-section {
  min-height: 100dvh;
  padding: 82px 0 24px;
  background: #eeece6;
}

.itinerary-heading {
  display: block;
  margin: 0;
  padding: 0 18px 16px;
}

.itinerary-heading h2 {
  margin: 0;
  font-size: 2.4rem;
  letter-spacing: -0.055em;
}

.legend {
  display: none;
}

.day-tabs {
  position: sticky;
  top: 60px;
  z-index: 80;
  gap: 7px;
  width: 100%;
  margin: 0;
  padding: 8px 12px 10px;
  overflow-x: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(238, 236, 230, 0.94);
  box-shadow: none;
  scrollbar-width: none;
  backdrop-filter: blur(16px);
}

.day-tabs::-webkit-scrollbar {
  display: none;
}

.day-tab {
  min-width: 76px;
  min-height: 54px;
  flex: 0 0 76px;
  padding: 7px 8px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--paper);
  box-shadow: none;
  text-align: center;
}

.day-tab::after,
.day-tab:nth-child(3).is-active::before {
  display: none;
}

.day-tab:hover {
  box-shadow: none;
  transform: none;
}

.day-tab.is-active,
.day-tab:nth-child(3).is-active {
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: none;
  transform: none;
}

.day-tab span {
  font-size: 0.9rem;
}

.day-tab strong {
  font-size: 0.61rem;
}

.day-tab small {
  display: none;
}

.day-panel {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.day-summary,
.day-summary.birthday-summary {
  min-height: 0;
  margin: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: none;
  color: var(--ink);
}

.day-summary p,
.birthday-summary p {
  color: var(--blue);
}

.day-summary h3 {
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 1.72rem;
}

.day-summary > div:first-child > span {
  color: var(--muted);
  font-size: 0.79rem;
}

.day-total {
  min-width: 116px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--paper-warm);
  backdrop-filter: none;
}

.day-total span {
  color: var(--muted);
}

.day-total strong {
  color: var(--ink);
  font-size: 1.2rem;
}

.weather-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 0 12px 12px;
  padding: 14px 15px;
  border-radius: 17px;
  box-shadow: none;
}

.weather-strip p {
  font-size: 0.73rem;
  line-height: 1.45;
}

.timeline {
  display: block;
  margin: 0 12px;
  padding: 0 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
}

.timeline li {
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  margin: 0;
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: none;
}

.timeline li:last-child {
  border-bottom: 0;
}

.timeline li:hover {
  border-color: var(--line);
  box-shadow: none;
  transform: none;
}

.timeline li::before {
  display: none;
}

.timeline time {
  margin: 0;
  padding: 2px 0 0;
  background: none;
  color: var(--blue);
  font-size: 0.66rem;
}

.timeline h4 {
  margin-bottom: 5px;
  font-size: 1rem;
}

.timeline p {
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

.timeline .route-note {
  margin: 9px 0;
  padding: 2px 0 2px 10px;
  border-left: 2px solid var(--blue);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
}

.place-links {
  margin-bottom: 8px;
}

.map-link,
.place-links .inline-link {
  min-height: 30px;
  padding: 6px 9px;
  border-color: var(--line-strong);
  background: transparent;
  color: var(--blue);
}

.cost,
.exact-cost,
.estimate-cost,
.free-cost,
.variable-cost {
  min-height: 25px;
  padding: 4px 7px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
}

.fallback {
  margin: 12px;
  padding: 14px 15px;
  border: 1px solid rgba(141, 125, 0, 0.18);
  border-radius: 17px;
  background: var(--riso-yellow-25);
  color: var(--ink);
}

.fallback strong {
  color: var(--ink);
}

.fallback span {
  color: var(--muted);
}

.dinner-section {
  padding: 18px 18px 24px;
  border: 0;
  background: var(--paper-warm);
}

.dinner-section .section-heading {
  margin-bottom: 14px;
}

.dinner-section .section-heading h2 {
  margin-bottom: 4px;
  font-size: 1.8rem;
}

.dinner-section .section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.dinner-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.dinner-option,
.dinner-option.recommended {
  grid-row: auto;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 14px;
  min-height: 0;
  align-content: center;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--paper);
  box-shadow: none;
  color: var(--ink);
}

.dinner-option.recommended {
  border-color: var(--blue);
}

.dinner-option.recommended h3,
.dinner-option h3 {
  font-size: 1.05rem;
}

.dinner-option.recommended p,
.dinner-option.recommended > strong small,
.dinner-option p,
.dinner-option > strong small {
  color: var(--muted);
}

.dinner-option.recommended > strong,
.dinner-option > strong {
  color: var(--ink);
  font-size: 0.78rem;
  text-align: right;
}

.dinner-option.recommended > .inline-link,
.dinner-option > .inline-link {
  grid-column: 2;
  color: var(--accent-dark);
  text-align: right;
}

.tag {
  margin-bottom: 5px;
  background: var(--lime);
  color: var(--ink);
}

.guide-hero {
  margin: 0;
  padding: 92px 18px 18px;
  border: 0;
  border-radius: 0;
  background: var(--paper-warm);
  box-shadow: none;
  color: var(--ink);
}

.guide-hero h1 {
  margin-bottom: 6px;
  font-size: 3rem;
  letter-spacing: -0.06em;
}

.guide-hero p:last-child {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.booking-section,
.details-section {
  padding: 18px;
  border: 0;
  background: #eeece6;
}

.booking-section .section-heading,
.details-section .section-heading {
  display: block;
  margin-bottom: 14px;
}

.booking-section .section-heading h2,
.details-section .section-heading h2 {
  margin-bottom: 4px;
  font-size: 1.8rem;
}

.booking-section .section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.booking-progress {
  width: 100%;
  margin-top: 12px;
}

.booking-list {
  gap: 8px;
}

.booking-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 4px 10px;
  min-height: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 17px;
  box-shadow: none;
}

.booking-item:hover:not(.is-done) {
  box-shadow: none;
  transform: none;
}

.check-button {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: start;
}

.booking-name {
  grid-column: 2;
  grid-row: 1;
}

.booking-name h3 {
  font-size: 0.94rem;
}

.booking-when {
  grid-column: 2;
  grid-row: 2;
  flex-direction: row;
  gap: 5px;
  align-items: baseline;
}

.booking-when strong,
.booking-when span,
.booking-name p {
  font-size: 0.68rem;
}

.booking-price {
  grid-column: 3;
  grid-row: 1;
  font-size: 0.72rem;
}

.booking-item > .inline-link {
  grid-column: 3;
  grid-row: 2;
  font-size: 0.7rem;
  text-align: right;
}

.booking-name .place-links {
  margin: 7px 0 0;
}

.details-grid {
  grid-template-columns: 1fr;
  gap: 8px;
}

.detail-block,
.detail-block:nth-child(2),
.detail-block:nth-child(3) {
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--paper);
  box-shadow: none;
}

.detail-number {
  color: var(--accent-dark);
}

.detail-block > h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.plain-list div {
  padding: 9px 0;
}

.note-list {
  gap: 10px;
}

.large-number {
  font-size: 2.5rem;
}

.resources {
  padding: 18px 18px 26px;
  background: #eeece6;
  color: var(--ink);
}

.resources-layout {
  display: block;
}

.resources h2 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1.8rem;
}

.resource-links {
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}

.resource-links a {
  border-bottom-color: var(--line);
  color: var(--blue);
  font-size: 0.73rem;
}

.site-footer {
  display: none;
}

@media (max-width: 430px) {
  body,
  body.guide-page {
    box-shadow: none;
  }

  .site-header {
    padding-inline: 15px;
  }

  .intro {
    padding-inline: 15px;
  }

  .intro h1 {
    font-size: clamp(3.35rem, 17vw, 4.15rem);
  }

  .day-summary,
  .day-summary.birthday-summary {
    display: block;
  }

  .day-total {
    width: 100%;
    margin-top: 13px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .timeline li {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 10px;
  }

  .dinner-option,
  .dinner-option.recommended {
    display: grid;
  }

  .booking-item {
    grid-template-columns: 32px minmax(0, 1fr) auto;
    padding: 12px;
  }

  .booking-price {
    grid-column: 3;
    grid-row: 1;
    text-align: right;
  }

  .booking-item > .inline-link {
    grid-column: 3;
    grid-row: 2;
    text-align: right;
  }

  .booking-name {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 8px;
  }

  .booking-name p {
    display: none;
  }

  .booking-name .place-links {
    margin: 0;
  }

  .booking-name .map-link {
    min-height: 26px;
    padding: 3px 7px;
  }

  .resource-links {
    grid-template-columns: 1fr;
  }
}

/* Final visual-system overrides */
:root {
  --paper: #fffdf7;
  --paper-warm: #fff7df;
  --ink: #14213d;
  --muted: #657089;
  --line: rgba(20, 33, 61, 0.14);
  --line-strong: rgba(20, 33, 61, 0.24);
  --blue: #3456e8;
  --accent: #ff5f66;
  --accent-dark: #d9434d;
  --accent-soft: #ffe1e3;
  --lime: #ffd43b;
  --riso-blue-25: #dfe7ff;
}

html { background: #cbd8ff; }

body,
button,
input,
select,
textarea,
h1,
h2,
h3,
h4,
.wordmark,
.day-summary h3,
.dinner-option h3,
.detail-block > h3,
.booking-name h3,
.large-number {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-style: normal;
}

body {
  background: var(--paper-warm);
  color: var(--ink);
  box-shadow: 0 0 0 1px rgba(52, 86, 232, 0.1), 0 22px 70px rgba(37, 61, 135, 0.2);
}

em,
.intro h1 em { font-style: normal; }

.site-header,
.itinerary-heading,
.trip-dates { display: none !important; }

.intro {
  padding-top: 34px;
  background: var(--paper-warm);
}

.intro h1 {
  font-weight: 850;
  line-height: 0.9;
}

.intro h1 em {
  color: var(--accent);
  font-weight: 850;
}

.trip-card {
  border-color: var(--line);
  border-left-color: var(--blue);
}

.itinerary-section {
  padding-top: 0;
  background: #eef2ff;
}

.day-tabs {
  top: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  width: 100%;
  margin: 0;
  padding: 7px;
  overflow: visible;
  border: 0;
  border-bottom: 1px solid rgba(52, 86, 232, 0.16);
  background: rgba(255, 253, 247, 0.95);
  box-shadow: 0 8px 22px rgba(52, 86, 232, 0.08);
}

.day-tab,
.day-tab:nth-child(3) {
  display: flex;
  flex: none;
  min-width: 0;
  min-height: 54px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 7px 2px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--muted);
  text-align: center;
}

.day-tab span {
  order: 1;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

.day-tab strong {
  order: 2;
  font-size: 0.58rem;
  font-weight: 650;
  line-height: 1;
}

.day-tab small { display: none; }

.day-tab:hover {
  background: #e7ecff;
  color: var(--ink);
}

.day-tab.is-active,
.day-tab:nth-child(3).is-active {
  border: 0;
  background: var(--blue);
  color: #fff;
  box-shadow: none;
}

.day-summary,
.day-summary.birthday-summary,
.timeline,
.booking-item,
.detail-block,
.detail-block:nth-child(2),
.detail-block:nth-child(3),
.dinner-option,
.dinner-option.recommended {
  border-color: var(--line);
  background: var(--paper);
}

.weather-strip {
  border-color: rgba(20, 33, 61, 0.12);
  background: #fff1a8;
}

.route-note { border-left-color: var(--blue); }
.fallback { background: #ffdbe0; }

.guide-hero {
  padding-top: 34px;
  background: var(--paper-warm);
}

.guide-hero h1,
.booking-section .section-heading h2,
.details-section .section-heading h2,
.dinner-heading h2 {
  font-weight: 820;
  letter-spacing: -0.045em;
}

.booking-section,
.details-section,
.resources { background: #eef2ff; }

.app-nav {
  bottom: calc(8px + env(safe-area-inset-bottom));
  width: min(calc(100% - 24px), 360px);
  min-height: 50px;
  gap: 3px;
  padding: 4px;
  border-radius: 17px;
  background: rgba(20, 33, 61, 0.97);
  box-shadow: 0 12px 28px rgba(20, 33, 61, 0.24);
}

.app-nav a {
  min-height: 42px;
  gap: 1px;
  padding: 3px 6px;
  border-radius: 13px;
  font-size: 0.56rem;
}

.app-nav .ph-icon {
  width: 16px;
  height: 16px;
}

.app-nav a.is-active {
  background: var(--lime);
  color: var(--ink);
}

@media (max-width: 430px) {
  .intro,
  .guide-hero { padding-top: 26px; }

  .day-tabs { padding: 6px; }

  .day-tab,
  .day-tab:nth-child(3) {
    min-height: 50px;
    border-radius: 10px;
  }

  .app-nav { width: min(calc(100% - 20px), 360px); }
}

/* Journey timeline */
.timeline {
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 26px;
  bottom: 26px;
  left: 25.5px;
  z-index: 0;
  display: block;
  width: 2px;
  border: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(52, 86, 232, 0.55) 0 4px,
    transparent 4px 13px
  );
}

.timeline li,
.timeline li:last-child {
  position: relative;
  z-index: 1;
  padding: 18px 0 18px 28px;
  border-bottom: 0;
}

.timeline li::before,
.timeline li:nth-child(3n + 2)::before,
.timeline li:nth-child(3n)::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 3px;
  z-index: 2;
  display: block;
  width: 10px;
  height: 10px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 0 0 3px var(--paper);
  transform: translateY(-50%);
}

.timeline li::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 100px;
  border-bottom: 1px solid var(--line);
}

.timeline li:last-child::after {
  display: none;
}

@media (max-width: 430px) {
  .timeline li {
    grid-template-columns: 62px minmax(0, 1fr);
    padding-left: 28px;
  }

  .timeline li::after {
    left: 90px;
  }
}

/* Interactive weekend launchpad */
.trip-card {
  border: 1px solid var(--line);
  border-radius: 20px;
}

.trip-card::before {
  display: none;
}

.trip-card-title {
  margin: 0;
  padding: 17px 18px 10px;
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.weekend-days {
  display: grid;
  padding: 0 10px;
}

.weekend-days a {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 18px;
  gap: 11px;
  align-items: center;
  min-height: 69px;
  padding: 9px 8px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.weekend-days a:first-child {
  border-top: 0;
}

.weekend-days a:hover {
  border-radius: 13px;
  background: #eef2ff;
}

.day-stamp {
  display: grid;
  place-items: center;
  min-height: 46px;
  padding: 5px 3px;
  border-radius: 12px;
  background: #e5ebff;
  color: var(--blue);
  text-align: center;
}

.weekend-days a:nth-child(2) .day-stamp { background: #ffe1e3; color: #c53844; }
.weekend-days a:nth-child(3) .day-stamp { background: #fff0a6; color: #765e00; }
.weekend-days a:nth-child(4) .day-stamp { background: #d9f4e8; color: #167257; }
.weekend-days a:nth-child(5) .day-stamp { background: #eadfff; color: #6844a3; }

.day-stamp strong {
  font-size: 0.72rem;
  line-height: 1;
}

.day-stamp small {
  margin-top: 3px;
  font-size: 0.53rem;
  font-weight: 700;
  line-height: 1;
}

.day-tease {
  min-width: 0;
}

.day-tease strong,
.day-tease small {
  display: block;
}

.day-tease strong {
  font-size: 0.84rem;
  line-height: 1.2;
}

.day-tease small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.35;
}

.weekend-days .ph-icon {
  width: 16px;
  height: 16px;
  color: var(--blue);
}

.home-base-note {
  margin: 5px 18px 15px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 650;
}

.dinner-option,
.dinner-option.recommended {
  border: 1px solid var(--line);
}

.dinner-option.recommended {
  border-color: rgba(52, 86, 232, 0.55);
}

@media (max-width: 430px) {
  .weekend-days a {
    grid-template-columns: 50px minmax(0, 1fr) 16px;
    min-height: 65px;
    padding-inline: 5px;
  }
}

/* Docked app navigation */
.app-nav {
  bottom: 0;
  padding-bottom: calc(4px + env(safe-area-inset-bottom));
  border-radius: 17px 17px 0 0;
}

/* Published reservation status */
.booking-item {
  grid-template-columns: minmax(0, 1fr) auto;
  cursor: default;
}

.booking-name {
  grid-column: 1;
  grid-row: 1;
}

.booking-price {
  grid-column: 2;
  grid-row: 1;
}

.booking-when {
  grid-column: 1;
  grid-row: 2;
}

.booking-item > .inline-link {
  grid-column: 2;
  grid-row: 2;
}

.booking-status {
  grid-column: 1;
  grid-row: 3;
  justify-self: start;
  margin-top: 3px;
}

.booking-status::after {
  content: "Pending";
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  background: #fff0a6;
  color: #765e00;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.booking-item[data-status="booked"] .booking-status::after {
  content: "Booked";
  background: #d9f4e8;
  color: #167257;
}

@media (max-width: 430px) {
  .booking-item {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

/* Trip home base */
.home-base-card {
  display: flex;
  width: 100%;
  margin-top: 18px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
}

.home-base-card:hover {
  border-color: rgba(52, 86, 232, 0.35);
  background: #eef2ff;
}

.home-base-card small,
.home-base-card strong {
  display: block;
}

.home-base-card small {
  margin-bottom: 2px;
  color: var(--blue);
  font-size: 0.58rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.home-base-card strong {
  font-size: 0.84rem;
}

.home-base-map {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
  color: var(--blue);
  font-size: 0.66rem;
  font-weight: 800;
}

.home-base-map .ph-icon {
  width: 15px;
  height: 15px;
}

/* Birthday dinner comparison */
.dinner-budget-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px 10px;
  margin: 0 0 12px;
  padding: 12px 14px;
  border: 1px solid rgba(52, 86, 232, 0.18);
  border-radius: 15px;
  background: #eef2ff;
}

.dinner-budget-note strong {
  color: var(--blue);
  font-size: 0.67rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dinner-budget-note span {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.dinner-list {
  gap: 12px;
}

.dinner-option,
.dinner-option.recommended {
  display: flex;
  min-height: 0;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
}

.dinner-option.recommended {
  border-color: rgba(52, 86, 232, 0.62);
  box-shadow: inset 0 0 0 1px rgba(52, 86, 232, 0.08);
}

.restaurant-copy {
  min-width: 0;
}

.restaurant-eyebrow {
  margin: 0 0 4px;
  color: var(--blue) !important;
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.restaurant-copy .tag + .restaurant-eyebrow {
  margin-top: 10px;
}

.restaurant-copy h3 {
  margin: 0 0 5px;
  font-size: 1.2rem !important;
  letter-spacing: -0.025em;
}

.restaurant-description {
  margin: 0;
  color: var(--ink-soft) !important;
  font-size: 0.79rem;
  line-height: 1.48;
}

.restaurant-scorecard {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin: 13px 0;
}

.restaurant-scorecard > div {
  min-width: 0;
  padding: 10px 11px;
  border-radius: 13px;
}

.restaurant-pro {
  background: #e5f5ed;
}

.restaurant-con {
  background: #fff0b8;
}

.restaurant-scorecard dt {
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 0.59rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.restaurant-scorecard dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.69rem;
  line-height: 1.43;
}

.restaurant-copy .place-links {
  margin-top: 0;
}

.restaurant-copy .place-links > .inline-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 30px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue);
  font-size: 0.68rem;
  text-decoration: none;
}

.restaurant-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.restaurant-price {
  color: var(--ink);
  font-size: 0.86rem;
  line-height: 1.2;
}

.restaurant-price small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.61rem;
  font-weight: 600;
}

.restaurant-footer > .inline-link {
  flex: 0 0 auto;
  color: var(--accent-dark);
  font-size: 0.75rem;
}

@media (max-width: 430px) {
  .dinner-budget-note {
    grid-template-columns: 1fr;
  }

  .restaurant-scorecard {
    grid-template-columns: 1fr;
  }
}

/* Day adventure icon system */
[data-day-jump="thu"],
.day-tab[data-day="thu"],
[data-day-icon="thu"] {
  --day-color: #3456e8;
  --day-soft: #dfe7ff;
}

[data-day-jump="fri"],
.day-tab[data-day="fri"],
[data-day-icon="fri"] {
  --day-color: #c53844;
  --day-soft: #ffe1e3;
}

[data-day-jump="sat"],
.day-tab[data-day="sat"],
[data-day-icon="sat"] {
  --day-color: #765e00;
  --day-soft: #fff0a6;
}

[data-day-jump="sun"],
.day-tab[data-day="sun"],
[data-day-icon="sun"] {
  --day-color: #167257;
  --day-soft: #d9f4e8;
}

[data-day-jump="mon"],
.day-tab[data-day="mon"],
[data-day-icon="mon"] {
  --day-color: #6844a3;
  --day-soft: #eadfff;
}

.day-tab,
.day-tab:nth-child(3) {
  min-height: 62px;
  gap: 2px;
}

.day-tab-icon {
  order: 0;
  width: 17px;
  height: 17px;
  margin-bottom: 1px;
  color: var(--day-color);
}

.day-tab.is-active .day-tab-icon {
  color: currentColor;
}

.day-stamp {
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 4px;
  min-height: 50px;
  padding: 6px 5px;
}

.day-stamp > span {
  display: grid;
  min-width: 0;
  text-align: left;
}

.day-overview-icon {
  width: 18px;
  height: 18px;
  color: currentColor;
}

.day-summary-intro {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1 1 auto;
  gap: 14px;
}

.day-summary-copy {
  min-width: 0;
}

.day-summary-copy > span {
  display: block;
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.45;
}

.day-adventure-icon {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--day-color) 22%, transparent);
  border-radius: 16px;
  background: var(--day-soft);
  color: var(--day-color);
}

.day-adventure-icon .ph-icon {
  width: 27px;
  height: 27px;
}

@media (max-width: 430px) {
  .day-tab,
  .day-tab:nth-child(3) {
    min-height: 58px;
    padding-block: 5px;
  }

  .day-tab-icon {
    width: 15px;
    height: 15px;
  }

  .day-summary,
  .day-summary.birthday-summary {
    gap: 10px;
    padding: 16px 14px;
  }

  .day-summary-intro {
    align-items: flex-start;
    gap: 10px;
  }

  .day-adventure-icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    border-radius: 12px;
  }

  .day-adventure-icon .ph-icon {
    width: 21px;
    height: 21px;
  }

  .day-summary-copy > span {
    font-size: 0.72rem;
  }
}

/* Keep the app shell pinned to the viewport instead of rubber-banding down. */
html,
body,
body.guide-page {
  overscroll-behavior-y: none;
}

body,
body.guide-page {
  margin-block: 0;
}

/* Calm surface system: structure carries hierarchy; color is reserved for action. */
:root {
  --canvas: #e8e7e3;
  --paper: #fffefa;
  --paper-warm: #f4f3ef;
  --surface-subtle: #f8f7f3;
  --ink: #202830;
  --ink-soft: #4f5961;
  --muted: #687178;
  --faint: #92989c;
  --line: rgba(32, 40, 48, 0.13);
  --line-strong: rgba(32, 40, 48, 0.23);
  --blue: #3d5588;
  --blue-bright: #3d5588;
  --blue-soft: #eef0f5;
  --accent: #3d5588;
  --accent-dark: #31456f;
  --accent-soft: #eef0f5;
  --green: #416c5b;
  --green-soft: #f8f7f3;
  --amber: #80612d;
  --amber-soft: #f8f7f3;
  --lime: #fffefa;
  --lime-soft: #f8f7f3;
  --riso-blue-25: #eef0f5;
  --riso-red-25: #f8f7f3;
  --riso-yellow-25: #f8f7f3;
  --riso-yellow-75: #f8f7f3;
}

html {
  background: var(--canvas);
}

body,
body.guide-page {
  background: var(--paper);
  box-shadow: none;
}

.intro,
.guide-hero,
.itinerary-section,
.dinner-section,
.booking-section,
.details-section,
.resources {
  background: var(--paper);
}

.itinerary-section,
.dinner-section,
.booking-section,
.details-section,
.resources {
  border-top: 1px solid var(--line);
}

.intro h1 em,
.trip-card-title,
.day-summary p,
.birthday-summary p,
.restaurant-eyebrow,
.home-base-card small,
.home-base-map,
.detail-number,
.inline-link {
  color: var(--blue) !important;
}

.trip-card,
.day-panel,
.day-summary,
.day-summary.birthday-summary,
.timeline,
.booking-list,
.booking-item,
.booking-item.is-done,
.detail-block,
.detail-block:nth-child(2),
.detail-block:nth-child(3),
.dinner-option,
.dinner-option.recommended,
.home-base-card {
  background: var(--paper);
}

.trip-card {
  border-color: var(--line);
  border-left-color: var(--line);
}

.weekend-days a:hover,
.home-base-card:hover,
.booking-item:hover:not(.is-done),
.day-tab:hover {
  background: var(--surface-subtle);
}

.day-stamp,
.weekend-days a:nth-child(2) .day-stamp,
.weekend-days a:nth-child(3) .day-stamp,
.weekend-days a:nth-child(4) .day-stamp,
.weekend-days a:nth-child(5) .day-stamp {
  border: 1px solid var(--line);
  background: var(--surface-subtle);
  color: var(--blue);
}

[data-day-jump="thu"],
[data-day-jump="fri"],
[data-day-jump="sat"],
[data-day-jump="sun"],
[data-day-jump="mon"],
.day-tab[data-day="thu"],
.day-tab[data-day="fri"],
.day-tab[data-day="sat"],
.day-tab[data-day="sun"],
.day-tab[data-day="mon"],
[data-day-icon="thu"],
[data-day-icon="fri"],
[data-day-icon="sat"],
[data-day-icon="sun"],
[data-day-icon="mon"] {
  --day-color: var(--blue);
  --day-soft: var(--surface-subtle);
}

.day-adventure-icon {
  border-color: var(--line);
  background: var(--surface-subtle);
  color: var(--blue);
}

.day-tabs {
  border-bottom-color: var(--line);
  background: rgba(255, 254, 250, 0.96);
  box-shadow: 0 7px 20px rgba(32, 40, 48, 0.07);
}

.day-tab.is-active,
.day-tab:nth-child(3).is-active {
  background: var(--blue);
  color: #fff;
}

.day-summary,
.day-summary.birthday-summary {
  background: var(--paper);
}

.day-total,
.weather-strip,
.dinner-budget-note,
.restaurant-scorecard > div {
  border: 1px solid var(--line);
  background: var(--surface-subtle);
}

.weather-strip span {
  color: var(--blue);
}

.fallback {
  border: 1px dashed var(--line-strong);
  background: transparent;
}

.timeline::before {
  background: repeating-linear-gradient(
    to bottom,
    rgba(61, 85, 136, 0.52) 0 4px,
    transparent 4px 13px
  );
}

.timeline li::before,
.timeline li:nth-child(3n + 2)::before,
.timeline li:nth-child(3n)::before {
  background: var(--paper);
  box-shadow: 0 0 0 3px var(--paper);
}

.map-link,
.place-links .inline-link,
.restaurant-copy .place-links > .inline-link {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--blue);
}

.map-link:hover,
.place-links .inline-link:hover,
.restaurant-copy .place-links > .inline-link:hover {
  border-color: var(--blue);
  background: var(--surface-subtle);
}

.cost,
.exact-cost,
.estimate-cost,
.free-cost,
.variable-cost {
  border-color: var(--line);
  background: transparent;
  color: var(--muted);
}

.progress-track {
  background: rgba(32, 40, 48, 0.12);
}

.progress-track span {
  background: var(--blue);
}

.booking-status::after,
.booking-item[data-status="booked"] .booking-status::after {
  border: 1px solid var(--line);
  background: var(--surface-subtle);
}

.booking-status::after {
  color: var(--amber);
}

.booking-item[data-status="booked"] .booking-status::after {
  color: var(--green);
}

.dinner-budget-note strong,
.restaurant-eyebrow {
  color: var(--blue) !important;
}

.restaurant-pro,
.restaurant-con {
  background: var(--surface-subtle);
}

.dinner-option.recommended {
  border-color: var(--blue);
  box-shadow: none;
}

.tag {
  border: 1px solid var(--blue);
  background: transparent;
  color: var(--blue);
}

.app-nav {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(32, 40, 48, 0.97);
  box-shadow: 0 12px 28px rgba(32, 40, 48, 0.2);
}

.app-nav a,
.app-nav a:hover {
  color: rgba(255, 255, 255, 0.68);
}

.app-nav a:hover {
  background: rgba(255, 255, 255, 0.07);
}

.app-nav a.is-active {
  background: var(--paper);
  color: var(--ink);
}

.app-nav a.is-active .ph-icon {
  color: var(--blue);
}

/* Keep overview separators independent from each row's rounded hover shape. */
.weekend-days a,
.weekend-days a:first-child {
  position: relative;
  border-top: 0;
}

.weekend-days a:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 0;
  left: 8px;
  height: 1px;
  background: var(--line);
  pointer-events: none;
}

/* Refined overview day tiles: landscape proportions with calm, precise spacing. */
.weekend-days {
  padding: 0 14px 8px;
}

.weekend-days a {
  grid-template-columns: 84px minmax(0, 1fr) 18px;
  gap: 15px;
  min-height: 82px;
  padding: 11px 10px;
  border-radius: 16px;
  transition: background-color 160ms ease, transform 160ms ease;
}

.weekend-days a:hover {
  border-radius: 16px;
  transform: translateX(2px);
}

.day-stamp,
.weekend-days a:nth-child(2) .day-stamp,
.weekend-days a:nth-child(3) .day-stamp,
.weekend-days a:nth-child(4) .day-stamp,
.weekend-days a:nth-child(5) .day-stamp {
  box-sizing: border-box;
  width: 100%;
  min-height: 58px;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 7px;
  padding: 8px;
  border-radius: 15px;
}

.day-stamp > span {
  align-content: center;
  gap: 3px;
}

.day-stamp strong {
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
}

.day-stamp small {
  margin-top: 0;
  font-size: 0.58rem;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
}

.day-overview-icon,
.weekend-days .day-overview-icon {
  width: 20px;
  height: 20px;
}

.day-tease strong {
  font-size: 0.86rem;
  letter-spacing: -0.01em;
}

.weekend-days a:not(:last-child)::after {
  right: 10px;
  left: 10px;
}

@media (max-width: 430px) {
  .weekend-days {
    padding-inline: 10px;
  }

  .weekend-days a {
    grid-template-columns: 76px minmax(0, 1fr) 16px;
    gap: 12px;
    min-height: 78px;
    padding-inline: 7px;
  }

  .day-stamp,
  .weekend-days a:nth-child(2) .day-stamp,
  .weekend-days a:nth-child(3) .day-stamp,
  .weekend-days a:nth-child(4) .day-stamp,
  .weekend-days a:nth-child(5) .day-stamp {
    min-height: 56px;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 5px;
    padding: 7px;
  }

  .day-overview-icon,
  .weekend-days .day-overview-icon {
    width: 18px;
    height: 18px;
  }
}

/* Golden Gate red system: warm neutrals carry the surfaces; red leads the UI. */
:root {
  --primary: #b83f39;
  --primary-bright: #d2514a;
  --primary-dark: #882e2a;
  --primary-soft: #f8e8e4;
  --blue: var(--primary);
  --blue-bright: var(--primary-bright);
  --blue-soft: var(--primary-soft);
  --accent: var(--primary-bright);
  --accent-dark: var(--primary-dark);
  --accent-soft: var(--primary-soft);
  --riso-blue-25: var(--primary-soft);
}

.intro-copy {
  position: relative;
  min-height: 176px;
  padding-right: clamp(145px, 31vw, 210px);
  isolation: isolate;
}

.intro h1 {
  position: relative;
  z-index: 1;
}

.hero-bridge-icon {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: 0;
  width: clamp(140px, 28vw, 176px);
  height: auto;
  color: var(--primary-bright);
  fill: currentColor;
  opacity: 0.27;
  pointer-events: none;
  transform: translateY(-50%);
}

.timeline::before {
  background: repeating-linear-gradient(
    to bottom,
    rgba(184, 63, 57, 0.5) 0 4px,
    transparent 4px 13px
  );
}

@media (max-width: 430px) {
  .intro-copy {
    min-height: 0;
    padding-right: 0;
    padding-bottom: 94px;
  }

  .hero-bridge-icon {
    top: auto;
    right: 2px;
    bottom: -2px;
    width: 94px;
    transform: none;
  }
}

/* Day totals are supporting metadata, not a competing card or badge. */
.day-summary {
  justify-content: flex-start;
}

.day-summary-copy .day-total {
  display: flex;
  width: auto;
  min-width: 0;
  margin-top: 8px;
  padding: 0;
  flex-direction: row;
  align-items: baseline;
  justify-content: flex-start;
  gap: 6px;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}

.day-summary-copy .day-total span {
  display: inline;
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
}

.day-summary-copy .day-total strong {
  color: var(--ink-soft);
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 750;
  line-height: 1.3;
}

/* One calm decision surface; the two transport routes are divided, not card-stacked. */
.transport-choice {
  margin: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--paper);
}

.transport-choice > header,
.transport-option {
  padding: 13px 15px;
}

.transport-choice > header {
  border-bottom: 1px solid var(--line);
}

.transport-choice > header > span,
.transport-option-label {
  display: block;
  margin-bottom: 4px;
  color: var(--blue);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1.3;
  text-transform: uppercase;
}

.transport-choice h4 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.25;
}

.transport-choice p {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.48;
}

.transport-option + .transport-option {
  border-top: 1px solid var(--line);
}

.transport-option .place-links {
  margin-top: 9px;
}

.transport-warning {
  margin-top: 8px !important;
  color: var(--ink-soft) !important;
}

/* Protection notes read as one thought: heading first, then full-width guidance. */
.fallback {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 5px;
}

.fallback strong,
.fallback span {
  display: block;
  width: 100%;
}

.fallback strong {
  margin: 0;
  line-height: 1.3;
}

.fallback strong::after {
  content: "";
}

.fallback span {
  line-height: 1.5;
}

/* Restaurant pros and tradeoffs are editorial notes, not nested cards. */
.restaurant-scorecard {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin: 15px 0;
}

.restaurant-scorecard > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3px;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.restaurant-scorecard dt,
.restaurant-scorecard dd {
  display: block;
  width: 100%;
}

/* Readability hierarchy: size and weight distinguish narrative copy; gray is metadata-only. */
:root {
  --ink-soft: #303940;
  --muted: #535e65;
  --faint: #747d83;
}

.intro-copy > .intro-lede,
.day-tease small,
.home-base-note,
.day-summary-copy > span,
.weather-strip p,
.timeline li > div > p:not(.route-note),
.fallback span,
.transport-choice p,
.dinner-budget-note span,
.restaurant-description,
.restaurant-scorecard dd,
.guide-hero p:last-child,
.booking-name p,
.detail-block > p:not(.large-number) {
  color: var(--ink) !important;
}

/* Light floating app dock: separated from the viewport edge and visually quieter. */
.app-nav {
  bottom: calc(12px + env(safe-area-inset-bottom));
  padding: 4px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: rgba(255, 254, 250, 0.94);
  box-shadow: 0 10px 30px rgba(32, 40, 48, 0.14);
  backdrop-filter: blur(18px);
}

.app-nav a,
.app-nav a:hover {
  color: var(--ink-soft);
}

.app-nav a:hover {
  background: var(--surface-subtle);
}

.app-nav a.is-active {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.app-nav a.is-active .ph-icon {
  color: var(--primary);
}

/* Trip-guide extras stay editorial and lightweight rather than becoming more cards. */
.honorable-section {
  padding-bottom: calc(112px + env(safe-area-inset-bottom));
}

.honorable-section .section-heading {
  margin-bottom: 8px;
}

.honorable-section .section-heading p {
  max-width: 42rem;
  color: var(--ink);
}

.honorable-groups {
  display: grid;
  gap: 30px;
}

.honorable-group {
  min-width: 0;
}

.honorable-group h3 {
  margin: 0 0 4px;
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.honorable-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.honorable-group li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.honorable-group li > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.honorable-group li strong,
.honorable-group li span {
  color: var(--ink);
}

.honorable-group li strong {
  font-size: 1rem;
}

.honorable-group li span {
  max-width: 42rem;
  font-size: 0.9rem;
  line-height: 1.45;
}

.honorable-group .map-link {
  flex: 0 0 auto;
}

/* Exhibition guidance reads like a compact gallery route, not another card. */
.museum-highlights {
  margin: 16px 0 18px;
  padding-block: 14px;
  border-block: 1px solid var(--line);
}

.museum-highlights > strong {
  display: block;
  margin-bottom: 5px;
  color: var(--primary-dark);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.museum-highlights ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline .museum-highlights li,
.timeline .museum-highlights li:last-child {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  padding: 12px 0;
  border-bottom: 0;
}

/* Nested exhibition rows are content, not additional journey stops. */
.timeline .museum-highlights li::before,
.timeline .museum-highlights li::after {
  display: none;
}

.museum-highlights li + li {
  border-top: 1px solid var(--line);
}

.museum-highlights a {
  display: inline;
  width: auto;
  justify-self: start;
  color: var(--primary-dark);
  font-weight: 750;
  line-height: 1.35;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.museum-highlights span {
  color: var(--ink);
  font-size: 0.86rem;
  line-height: 1.4;
}

@media (max-width: 520px) {
  .honorable-groups {
    gap: 24px;
  }

  .honorable-group li {
    align-items: flex-start;
    gap: 10px;
  }

  .honorable-group .map-link {
    min-height: 38px;
    padding-inline: 11px;
  }
}

/* Day headers: clean page transition and a large, unboxed hero motif. */
.day-tabs {
  box-shadow: none;
}

.day-summary,
.day-summary.birthday-summary {
  position: relative;
  overflow: hidden;
}

.day-summary-intro {
  position: relative;
  display: block;
  width: 100%;
}

.day-summary-copy {
  position: relative;
  z-index: 1;
  padding-right: clamp(92px, 24vw, 126px);
}

.day-adventure-icon {
  position: absolute;
  top: 50%;
  right: 17px;
  z-index: 0;
  display: block;
  width: clamp(82px, 22vw, 108px);
  height: clamp(82px, 22vw, 108px);
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--day-color);
  opacity: 0.17;
  pointer-events: none;
  transform: translateY(-50%);
}

.day-adventure-icon .ph-icon {
  width: 100%;
  height: 100%;
}

@media (max-width: 430px) {
  .day-summary-copy {
    padding-right: 72px;
  }

  .day-adventure-icon {
    right: 10px;
    width: 70px;
    height: 70px;
    opacity: 0.15;
  }
}

/* Keep reservation cards readable when phone widths cannot support two columns. */
@media (max-width: 430px) {
  .booking-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 14px;
  }

  .booking-name,
  .booking-price,
  .booking-when,
  .booking-item > .inline-link,
  .booking-status {
    grid-column: 1;
    justify-self: start;
    text-align: left;
  }

  .booking-name {
    grid-row: 1;
    display: block;
  }

  .booking-name h3 {
    font-size: 1rem;
    line-height: 1.2;
  }

  .booking-name .place-links {
    margin-top: 8px;
  }

  .booking-price {
    grid-row: 2;
  }

  .booking-when {
    grid-row: 3;
    display: flex;
    flex-flow: row wrap;
    gap: 3px 8px;
    align-items: baseline;
  }

  .booking-item > .inline-link {
    grid-row: 4;
  }

  .booking-status {
    grid-row: 5;
    margin-top: 2px;
  }
}
