:root {
  --paper: #f6f0e7;
  --paper-strong: #fffaf2;
  --ink: #21312b;
  --muted: #5c6e66;
  --line: rgba(33, 49, 43, 0.12);
  --forest: #27473b;
  --terracotta: #b65d3e;
  --gold: #d2ad63;
  --mist: rgba(255, 250, 242, 0.75);
  --shadow: 0 18px 45px rgba(39, 71, 59, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 999px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(210, 173, 99, 0.22), transparent 32%),
    radial-gradient(circle at bottom right, rgba(182, 93, 62, 0.18), transparent 28%),
    linear-gradient(180deg, #efe5d8 0%, var(--paper) 42%, #efe9df 100%);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px 0 18px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.mobile-day-picker {
  display: none;
}

.mobile-day-picker-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mobile-day-picker-select {
  min-width: 120px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  background: rgba(255, 250, 242, 0.9);
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
}

.brand {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.brand-link {
  display: inline-block;
}

.home-link {
  color: var(--muted);
  font-size: 0.95rem;
}

.trip-mode-toggle,
.today-shortcut {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(39, 71, 59, 0.14);
  border-radius: var(--radius-sm);
  padding: 9px 14px;
  background: rgba(255, 250, 242, 0.86);
  color: var(--forest);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.trip-mode-toggle.is-active {
  border-color: rgba(182, 93, 62, 0.26);
  background: #fff8ef;
  color: var(--terracotta);
}

.breadcrumb-bar {
  display: flex;
  align-items: center;
  margin-top: 4px;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumb-link {
  color: var(--forest);
}

.breadcrumb-link:hover {
  color: var(--terracotta);
}

.breadcrumb-separator {
  opacity: 0.5;
}

.breadcrumb-current {
  color: var(--ink);
  font-weight: 600;
}

.hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-xl);
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(39, 71, 59, 0.98), rgba(39, 71, 59, 0.86)),
    linear-gradient(0deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1));
  color: #f8f2e8;
  box-shadow: var(--shadow);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -25% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(210, 173, 99, 0.18);
  filter: blur(4px);
}

.hero-layout {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.hero-copy-block {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 620px;
}

.hero-illustration-wrap {
  position: relative;
  z-index: 1;
  flex: 0 0 640px;
  width: 640px;
  margin-top: 6px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(255, 250, 242, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-illustration {
  display: block;
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.78;
}

.hero h1,
.day-hero h1 {
  margin: 0;
  max-width: 12ch;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(2.3rem, 6vw, 4.5rem);
  line-height: 0.94;
}

.hero-copy,
.day-summary {
  max-width: 52ch;
  margin: 14px 0 0;
  color: rgba(248, 242, 232, 0.84);
  line-height: 1.55;
}

.hero-meta,
.day-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.hero-meta-card,
.day-meta-card {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  background: rgba(255, 250, 242, 0.08);
}

.hero-meta-label,
.day-meta-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.72;
}

.hero-meta-value,
.day-meta-value {
  display: block;
  line-height: 1.45;
}

.day-rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 16px 0 4px;
  scrollbar-width: none;
}

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

.day-chip {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  background: rgba(255, 250, 242, 0.86);
  color: var(--muted);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.day-chip:hover,
.day-chip.is-active {
  transform: translateY(-1px);
  border-color: rgba(182, 93, 62, 0.3);
  background: #fff8ef;
  color: var(--ink);
}

.overview-grid,
.day-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  margin-top: 22px;
}

.section-card {
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  padding: 20px;
  background: var(--mist);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  animation: rise 340ms ease both;
}

.section-title {
  margin: 0 0 14px;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 1.35rem;
}

.overview-banner {
  grid-column: 1 / -1;
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.94), rgba(246, 240, 231, 0.86)),
    radial-gradient(circle at top right, rgba(210, 173, 99, 0.18), transparent 34%);
}

.toolkit-section,
.city-guide-section,
.day-essentials-section,
.start-here-section,
.today-board-section,
.today-status-section {
  grid-column: 1 / -1;
}

.toolkit-header .eyebrow {
  color: var(--terracotta);
  opacity: 1;
}

.overview-banner-header .eyebrow {
  color: var(--terracotta);
  opacity: 1;
}

.overview-stat-grid,
.chapter-grid {
  display: grid;
  gap: 14px;
}

.overview-stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.overview-stat-card,
.chapter-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.58);
}

.overview-stat-label {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.overview-stat-value {
  display: block;
  margin-top: 10px;
  font-size: 1.5rem;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

.chapter-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}

.chapter-card {
  display: block;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.chapter-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 14px;
  border: 1px solid rgba(33, 49, 43, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
}

.chapter-card:hover {
  transform: translateY(-2px);
  border-color: rgba(182, 93, 62, 0.28);
  box-shadow: 0 20px 42px rgba(39, 71, 59, 0.12);
}

.chapter-title {
  margin: 0;
  font-size: 1.1rem;
  color: var(--forest);
}

.chapter-copy {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.chapter-action {
  display: inline-block;
  margin-top: 14px;
  color: var(--terracotta);
  font-size: 0.92rem;
  font-weight: 600;
}

.toolkit-grid,
.city-guide-grid,
.essentials-grid,
.start-here-grid {
  display: grid;
  gap: 14px;
}

.toolkit-grid,
.essentials-grid,
.start-here-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}

.toolkit-panel,
.city-guide-card,
.essential-card,
.start-here-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.58);
}

.start-here-card {
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.94), rgba(247, 241, 232, 0.82)),
    radial-gradient(circle at top right, rgba(210, 173, 99, 0.12), transparent 40%);
}

.today-board-section {
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.96), rgba(243, 235, 223, 0.9)),
    radial-gradient(circle at top right, rgba(39, 71, 59, 0.1), transparent 34%);
}

.toolkit-title,
.essential-value {
  margin: 0;
  font-size: 1rem;
  color: var(--forest);
}

.toolkit-panel .plain-list,
.city-guide-card .plain-list {
  margin-top: 12px;
}

.city-guide-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}

.essential-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.essential-value {
  display: inline-block;
  text-decoration: underline;
  text-decoration-color: rgba(39, 71, 59, 0.2);
  text-underline-offset: 0.14em;
}

.essential-detail {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.quick-action {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid rgba(39, 71, 59, 0.14);
  border-radius: var(--radius-sm);
  background: rgba(255, 250, 242, 0.86);
  color: var(--forest);
  font-size: 0.94rem;
  font-weight: 600;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.quick-action:hover {
  transform: translateY(-1px);
  border-color: rgba(182, 93, 62, 0.26);
  background: #fff8ef;
}

body.today-mode .trip-planning-section,
body.today-mode .toolkit-section,
body.today-mode .city-guide-section {
  display: none;
}

.activity-image {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid rgba(33, 49, 43, 0.16);
  display: block;
  box-shadow: 0 10px 24px rgba(39, 71, 59, 0.2);
  background: #fff8ef;
}

.activity-image-caption {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.detail-list,
.plain-list,
.sublist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.detail-list-item,
.plain-list-item {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.detail-list-item:first-child,
.plain-list-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.detail-list-item:last-child,
.plain-list-item:last-child {
  padding-bottom: 0;
}

.detail-list-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.detail-list-title {
  font-size: 1rem;
}

.detail-list-link {
  color: var(--forest);
  text-decoration: underline;
  text-decoration-color: rgba(39, 71, 59, 0.3);
  text-underline-offset: 0.16em;
}

.detail-list-link:hover {
  color: var(--terracotta);
  text-decoration-color: rgba(182, 93, 62, 0.42);
}

.detail-list-meta {
  color: var(--muted);
  font-size: 0.94rem;
}

.packing-group-title {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--forest);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.packing-group-title:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.day-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.day-card {
  display: block;
  min-height: 170px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.96), rgba(247, 241, 232, 0.82));
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
  animation: rise 420ms ease both;
}

.day-card.is-next-up,
.day-card.is-today {
  border-color: rgba(182, 93, 62, 0.28);
}

.day-card.is-hidden-by-today-mode {
  display: none;
}

.day-card.is-today {
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.98), rgba(243, 235, 223, 0.92)),
    radial-gradient(circle at top right, rgba(39, 71, 59, 0.08), transparent 34%);
}

.day-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 52px rgba(39, 71, 59, 0.15);
}

.day-card-utility,
.day-card-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.day-card-utility {
  min-height: 20px;
  margin-bottom: 8px;
}

.day-card-title {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 1.45rem;
}

.day-card-location,
.day-card-summary {
  margin: 10px 0 0;
}

.day-card-location {
  color: var(--terracotta);
  font-weight: 600;
}

.day-card-summary {
  color: var(--muted);
  line-height: 1.5;
}

.day-card-meta-row {
  margin-top: 14px;
}

.day-card-meta {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background: rgba(39, 71, 59, 0.08);
  color: var(--forest);
  font-size: 0.82rem;
  font-weight: 600;
}

.day-card-action {
  display: inline-block;
  margin-top: 14px;
  color: var(--terracotta);
  font-size: 0.92rem;
  font-weight: 600;
}

.stack-list {
  display: grid;
  gap: 12px;
}

.mini-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.56);
}

.mini-card-top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.mini-card-title {
  margin: 0;
  font-size: 1rem;
}

.mini-card-link {
  color: var(--forest);
  text-decoration: underline;
  text-decoration-color: rgba(39, 71, 59, 0.3);
  text-underline-offset: 0.16em;
}

.mini-card-link:hover {
  color: var(--terracotta);
  text-decoration-color: rgba(182, 93, 62, 0.42);
}

.mini-card-text {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.mini-card-meta,
.mini-card-actions {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.mini-card-action {
  color: var(--terracotta);
  text-decoration: underline;
  text-decoration-color: rgba(182, 93, 62, 0.35);
  text-underline-offset: 0.16em;
}

.mini-card-action:hover {
  color: var(--forest);
  text-decoration-color: rgba(39, 71, 59, 0.35);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-time {
  background: rgba(210, 173, 99, 0.2);
  color: #7f5d1b;
}

.badge-good {
  background: rgba(39, 71, 59, 0.14);
  color: var(--forest);
}

.badge-warn {
  background: rgba(182, 93, 62, 0.12);
  color: var(--terracotta);
}

.sublist {
  margin-top: 10px;
}

.sublist .plain-list-item {
  color: var(--muted);
  font-size: 0.94rem;
}

.agenda-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.agenda-block {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.45);
}

.agenda-block-title {
  margin: 0 0 10px;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.agenda-block .stack-list {
  gap: 10px;
}

.agenda-block .mini-card {
  background: rgba(255, 255, 255, 0.72);
}

.day-hero {
  margin-top: 12px;
}

.day-layout {
  margin-top: 20px;
}

.section-jump-nav {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.section-jump-label {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-jump-rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.section-jump-rail::-webkit-scrollbar {
  display: none;
}

.section-jump-chip {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 9px 14px;
  background: rgba(255, 250, 242, 0.92);
  color: var(--forest);
  font-size: 0.92rem;
  font-weight: 600;
}

.day-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.pager {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 20px;
}

.pager-link {
  flex: 1 1 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  background: rgba(255, 250, 242, 0.9);
  text-align: center;
  color: var(--forest);
}

.mobile-day-footer {
  display: none;
}

.chapter-pill {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 250, 242, 0.16);
  color: #fff6e8;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.transit-timeline-section {
  grid-column: 1 / -1;
}

.transit-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 14px;
  padding: 0 0 18px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 26px;
  left: 13px;
  bottom: 0;
  width: 2px;
  background: rgba(39, 71, 59, 0.16);
}

.timeline-marker {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
  border: 2px solid rgba(39, 71, 59, 0.16);
  border-radius: 50%;
  background: #fffaf2;
}

.timeline-item.is-departure .timeline-marker {
  border-color: rgba(182, 93, 62, 0.32);
  background: rgba(182, 93, 62, 0.14);
}

.timeline-item.is-arrival .timeline-marker {
  border-color: rgba(39, 71, 59, 0.28);
  background: rgba(39, 71, 59, 0.14);
}

.timeline-item.is-connection .timeline-marker {
  border-color: rgba(210, 173, 99, 0.38);
  background: rgba(210, 173, 99, 0.18);
}

.timeline-body {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.58);
}

.timeline-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.timeline-time {
  color: var(--ink);
  font-size: 1rem;
}

.timeline-kind {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline-title {
  margin: 10px 0 0;
  font-size: 1rem;
}

.timeline-detail {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

body.transit-theme-amsterdam .day-hero {
  background:
    linear-gradient(135deg, rgba(26, 86, 95, 0.98), rgba(34, 71, 59, 0.88)),
    linear-gradient(0deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08));
}

body.transit-theme-paris .day-hero {
  background:
    linear-gradient(135deg, rgba(151, 80, 63, 0.98), rgba(196, 127, 99, 0.88)),
    linear-gradient(0deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08));
}

body.transit-theme-switzerland .day-hero {
  background:
    linear-gradient(135deg, rgba(61, 91, 88, 0.98), rgba(96, 134, 146, 0.88)),
    linear-gradient(0deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08));
}

body.transit-theme-return .day-hero {
  background:
    linear-gradient(135deg, rgba(41, 56, 70, 0.98), rgba(57, 81, 90, 0.88)),
    linear-gradient(0deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08));
}

body.place-theme-amsterdam .day-hero {
  background:
    linear-gradient(135deg, rgba(28, 87, 96, 0.96), rgba(53, 109, 96, 0.86)),
    radial-gradient(circle at top right, rgba(255, 244, 224, 0.16), transparent 42%);
}

body.place-theme-paris .day-hero {
  background:
    linear-gradient(135deg, rgba(144, 83, 70, 0.96), rgba(197, 131, 108, 0.86)),
    radial-gradient(circle at top right, rgba(255, 244, 224, 0.14), transparent 42%);
}

body.place-theme-switzerland .day-hero {
  background:
    linear-gradient(135deg, rgba(65, 94, 88, 0.96), rgba(110, 145, 157, 0.86)),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 42%);
}

.hotel-gallery-section,
.hotel-map-section,
.weather-section {
  grid-column: 1 / -1;
}

.weather-status,
.weather-footnote {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.weather-status {
  color: var(--forest);
  font-weight: 600;
}

.weather-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.weather-stat {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.56);
}

.weather-stat-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.weather-stat-value {
  display: block;
  font-size: 1.2rem;
  color: var(--ink);
}

.hotel-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hotel-photo-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.6);
}

.hotel-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: rgba(39, 71, 59, 0.08);
}

.hotel-photo-caption {
  padding: 12px 14px 14px;
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.94rem;
}

.hotel-map-frame {
  width: 100%;
  min-height: 340px;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.75);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .hero-layout,
  .hero-meta,
  .day-meta,
  .overview-grid,
  .day-grid,
  .day-sections,
  .day-card-grid,
  .agenda-grid,
  .hotel-gallery,
  .weather-grid,
  .overview-stat-grid,
  .chapter-grid,
  .toolkit-grid,
  .city-guide-grid,
  .essentials-grid,
  .start-here-grid {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .shell {
    width: min(100% - 20px, 1120px);
    padding-top: 18px;
  }

  body[data-page="day"] {
    padding-bottom: 124px;
  }

  .hero,
  .section-card {
    padding: 18px;
  }

  .topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    margin: 0 -10px;
    padding: 12px 10px 14px;
    background: rgba(246, 240, 231, 0.92);
    backdrop-filter: blur(14px);
  }

  .topbar-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .breadcrumb-bar {
    margin-top: 10px;
  }

  .section-jump-nav {
    margin-bottom: 14px;
  }

  .section-jump-chip {
    padding: 10px 14px;
    font-size: 0.95rem;
  }

  .timeline-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .day-rail {
    display: none;
  }

  .mobile-day-picker {
    display: block;
    margin-left: auto;
  }

  .mobile-day-picker-label {
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    font-size: 0.72rem;
  }

  .mobile-day-picker-select {
    min-width: 132px;
    padding: 8px;
    text-align: right;
  }

  .day-chip {
    padding: 12px 16px;
    font-size: 0.96rem;
  }

  .hero-illustration-wrap {
    flex: 0 0 auto;
    width: min(100%, 560px);
    margin-top: 10px;
    align-self: center;
  }

  .quick-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero h1,
  .day-hero h1 {
    font-size: clamp(2rem, 13vw, 3.6rem);
    max-width: none;
  }

  .hotel-map-frame {
    min-height: 280px;
  }

  .pager {
    display: none;
  }

  .mobile-day-footer {
    position: fixed;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 10px;
    z-index: 30;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 22px;
    padding: 12px;
    background: rgba(39, 71, 59, 0.94);
    box-shadow: 0 18px 40px rgba(18, 31, 27, 0.28);
    color: #f8f2e8;
    backdrop-filter: blur(16px);
  }

  .mobile-day-footer-meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
  }

  .mobile-day-footer-eyebrow {
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.72;
  }

  .mobile-day-footer-title {
    font-size: 0.95rem;
    line-height: 1.35;
    text-align: right;
  }

  .mobile-day-footer-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .mobile-day-footer-link {
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 11px 10px;
    background: rgba(255, 250, 242, 0.1);
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
  }

  .mobile-day-footer-link.is-overview {
    background: rgba(210, 173, 99, 0.22);
    color: #fff4d9;
  }

  .mobile-day-footer-link.is-disabled {
    opacity: 0.45;
  }
}
