:root {
  --ink: #101522;
  --muted: rgba(16, 21, 34, 0.64);
  --paper: #f8fbff;
  --paper-2: rgba(255, 255, 255, 0.74);
  --glass: rgba(255, 255, 255, 0.58);
  --glass-strong: rgba(255, 255, 255, 0.74);
  --glass-soft: rgba(255, 255, 255, 0.38);
  --glass-border: rgba(255, 255, 255, 0.68);
  --hairline: rgba(90, 105, 135, 0.14);
  --blue: #4f8cff;
  --cyan: #4ba3ff;
  --violet: #8c6cff;
  --shadow: 0 24px 70px rgba(34, 45, 76, 0.12);
  --shadow-soft: 0 14px 36px rgba(34, 45, 76, 0.1);
  --accent-glow: 0 18px 45px rgba(79, 140, 255, 0.18);
  --ease-out: 220ms ease-out;
  --bg-day-1: url("assets/backgrounds/day-1-osaka-castle.png");
  --bg-day-2: url("assets/backgrounds/day-2-kiyomizu.png");
  --bg-day-3: url("assets/backgrounds/day-3-nara-deer.png");
  --bg-day-4: url("assets/backgrounds/day-4-usj-game-land.png");
  --bg-day-5: url("assets/backgrounds/day-5-dotonbori.png");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  background: var(--paper);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(248, 251, 255, 0.98), rgba(237, 245, 255, 0.95) 42%, rgba(246, 242, 255, 0.96)),
    linear-gradient(110deg, rgba(214, 230, 255, 0.68), rgba(255, 255, 255, 0) 46%),
    linear-gradient(230deg, rgba(226, 219, 255, 0.62), rgba(255, 255, 255, 0) 48%);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", Arial,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
}

body::before {
  inset: -20%;
  z-index: -2;
  background:
    linear-gradient(115deg, rgba(117, 171, 255, 0.18), transparent 38%),
    linear-gradient(245deg, rgba(185, 156, 255, 0.18), transparent 42%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.18));
  filter: blur(28px);
}

body::after {
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(80, 95, 128, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80, 95, 128, 0.04) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.26), transparent 68%);
}

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

button {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(79, 140, 255, 0.24);
  outline-offset: 3px;
}

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

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-weight: 760;
  letter-spacing: 0;
}

.hero,
main,
.ribbon,
.footer {
  position: relative;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(248, 251, 255, 0.94), rgba(248, 251, 255, 0.72) 48%, rgba(238, 243, 255, 0.88)),
    var(--bg-day-2) center / cover no-repeat;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(125deg, rgba(105, 165, 255, 0.18), transparent 34%),
    linear-gradient(245deg, rgba(188, 171, 255, 0.18), transparent 44%);
  filter: blur(24px);
  opacity: 0.82;
  pointer-events: none;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.72) 72%, rgba(248, 251, 255, 1)),
    linear-gradient(90deg, rgba(248, 251, 255, 0.88), rgba(248, 251, 255, 0.28) 60%, rgba(248, 251, 255, 0.76));
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin: 8vh auto 6vh;
  color: var(--ink);
}

.brand-pill,
.hero__stats div,
.ribbon,
.day-tabs,
.day-tab,
.route-map,
.legend,
.map-panel,
.day-card::before,
.day-card__summary::after,
.day-card__meta span,
.note,
.usj-guide,
.usj-priority div,
.usj-zone,
.rhythm-item,
.todo-list div {
  border: 1px solid var(--glass-border);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.38));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 -1px 0 rgba(255, 255, 255, 0.24),
    var(--shadow-soft);
  backdrop-filter: blur(24px) saturate(1.28);
  -webkit-backdrop-filter: blur(24px) saturate(1.28);
}

.brand-pill,
.hero__stats div,
.ribbon,
.day-tabs,
.day-tab,
.route-map,
.legend,
.map-panel,
.note,
.usj-guide,
.usj-priority div,
.usj-zone,
.rhythm-item,
.todo-list div {
  position: relative;
  overflow: hidden;
}

.brand-pill::before,
.hero__stats div::before,
.ribbon::before,
.day-tabs::before,
.day-tab::before,
.route-map::before,
.legend::before,
.map-panel::before,
.note::before,
.usj-guide::before,
.usj-priority div::before,
.usj-zone::before,
.rhythm-item::before,
.todo-list div::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.42), transparent 34%, rgba(255, 255, 255, 0.14) 100%);
  opacity: 0.55;
  pointer-events: none;
}

.brand-pill {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  color: rgba(16, 21, 34, 0.82);
}

.brand-pill span,
.brand-pill strong {
  white-space: nowrap;
}

.brand-pill span {
  color: rgba(16, 21, 34, 0.58);
  font-size: 0.82rem;
}

.brand-pill strong {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
}

.kicker {
  margin: 28px 0 0;
  color: rgba(16, 21, 34, 0.52);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", Arial,
    "PingFang SC", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 940px;
  margin: 10px 0 18px;
  font-size: clamp(4.2rem, 11vw, 8.8rem);
  font-weight: 820;
  line-height: 0.9;
}

.hero__summary {
  max-width: 720px;
  margin-bottom: 34px;
  color: rgba(16, 21, 34, 0.68);
  font-size: clamp(1.06rem, 1.5vw, 1.28rem);
  line-height: 1.76;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 950px;
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", Arial,
    "PingFang SC", sans-serif;
}

.hero__stats div {
  min-height: 84px;
  padding: 18px;
  border-radius: 8px;
  transition:
    transform var(--ease-out),
    box-shadow var(--ease-out),
    background var(--ease-out);
}

.hero__stats div:hover,
.route-map:hover,
.legend:hover,
.rhythm-item:hover,
.todo-list div:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 24px 60px rgba(34, 45, 76, 0.16);
}

.hero__stats span {
  display: block;
  margin-bottom: 7px;
  color: rgba(16, 21, 34, 0.52);
  font-size: 0.78rem;
  font-weight: 650;
}

.hero__stats strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 720;
}

.wave {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 90px;
  background: linear-gradient(180deg, rgba(248, 251, 255, 0), #f8fbff 72%);
}

.ribbon {
  z-index: 4;
  width: min(1120px, calc(100% - 48px));
  margin: -48px auto 20px;
  padding: 14px 18px;
  border-radius: 8px;
  color: rgba(16, 21, 34, 0.72);
  text-align: center;
  font-size: 0.92rem;
  font-weight: 650;
}

main {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.day-tabs {
  position: sticky;
  top: 12px;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 0 auto;
  padding: 10px;
  border-radius: 8px;
  background: rgba(248, 251, 255, 0.54);
  box-shadow: 0 18px 46px rgba(34, 45, 76, 0.1);
  backdrop-filter: blur(26px) saturate(1.35);
  -webkit-backdrop-filter: blur(26px) saturate(1.35);
}

.day-tab {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "icon title"
    "icon date";
  column-gap: 10px;
  align-items: center;
  min-height: 66px;
  padding: 12px 14px;
  border-color: rgba(255, 255, 255, 0.52);
  border-radius: 8px;
  color: rgba(16, 21, 34, 0.86);
  background: rgba(255, 255, 255, 0.34);
  box-shadow: none;
  transition:
    transform var(--ease-out),
    border-color var(--ease-out),
    background var(--ease-out),
    box-shadow var(--ease-out),
    color var(--ease-out);
}

.day-tab:hover {
  transform: translateY(-2px);
  border-color: rgba(111, 156, 255, 0.5);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--accent-glow);
}

.day-tab span,
.legend-item span,
.rhythm-item span {
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #5ea1ff, #987dff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.day-tab span {
  grid-area: icon;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.day-tab strong {
  grid-area: title;
  font-size: 0.96rem;
  font-weight: 760;
}

.day-tab small {
  grid-area: date;
  color: rgba(16, 21, 34, 0.5);
  font-size: 0.78rem;
}

.day-tab.is-active {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.78);
  background: linear-gradient(135deg, rgba(71, 141, 255, 0.94), rgba(139, 112, 255, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    0 18px 44px rgba(91, 127, 255, 0.26);
}

.day-tab.is-active small {
  color: rgba(255, 255, 255, 0.74);
}

.day-tab.is-active span {
  color: #527dff;
  background: rgba(255, 255, 255, 0.92);
}

.section {
  padding: 78px 0;
}

.section__heading {
  margin-bottom: 28px;
}

.section__heading p,
.lodging-copy p:first-child {
  margin-bottom: 6px;
  color: rgba(79, 140, 255, 0.8);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", Arial,
    "PingFang SC", sans-serif;
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section__heading h2,
.lodging-copy h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 4.4vw, 4rem);
  font-weight: 780;
  line-height: 1.02;
}

.map-section {
  padding-top: 48px;
}

.route-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  align-items: stretch;
}

.route-map,
.legend {
  border-radius: 8px;
  transition:
    transform var(--ease-out),
    box-shadow var(--ease-out);
}

.route-map {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.46);
}

.google-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.94) contrast(0.98);
}

.map-panel {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  width: min(280px, calc(100% - 36px));
  padding: 14px;
  border-color: rgba(255, 255, 255, 0.56);
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, rgba(10, 17, 31, 0.72), rgba(44, 61, 96, 0.52));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 18px 44px rgba(0, 0, 0, 0.18);
}

.map-panel span,
.map-panel strong,
.map-panel a {
  display: block;
}

.map-panel span {
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.map-panel strong {
  margin-bottom: 10px;
  line-height: 1.35;
}

.map-panel a {
  width: fit-content;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 800;
  transition:
    background var(--ease-out),
    border-color var(--ease-out),
    box-shadow var(--ease-out);
}

.map-panel a:hover {
  border-color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.24);
  box-shadow: 0 0 24px rgba(139, 188, 255, 0.28);
}

.legend {
  padding: 18px;
}

.legend h3 {
  margin-bottom: 18px;
  font-size: 1.28rem;
  font-weight: 760;
}

.legend-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--ink);
  background: transparent;
  text-align: left;
  transition:
    transform var(--ease-out),
    border-color var(--ease-out),
    background var(--ease-out),
    box-shadow var(--ease-out);
}

.legend-item + .legend-item {
  margin-top: 6px;
}

.legend-item:hover {
  transform: translateX(3px);
  border-color: rgba(111, 156, 255, 0.26);
  background: rgba(255, 255, 255, 0.36);
}

.legend-item span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-weight: 800;
}

.legend-item strong,
.legend-item small {
  display: block;
}

.legend-item small {
  margin-top: 3px;
  color: rgba(16, 21, 34, 0.52);
}

.legend-item.is-active {
  border-color: rgba(111, 156, 255, 0.42);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 12px 28px rgba(75, 117, 188, 0.12);
}

.daily-section {
  --active-bg: var(--bg-day-1);
  --active-accent: #5f92ff;
  --active-bg-position: center;
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 92px 0 94px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(248, 251, 255, 0.94), rgba(248, 251, 255, 0.7) 40%, rgba(248, 251, 255, 0.16) 74%, rgba(248, 251, 255, 0.48)),
    linear-gradient(180deg, rgba(248, 251, 255, 0.96), rgba(248, 251, 255, 0.34) 36%, rgba(248, 251, 255, 0.76)),
    var(--active-bg) var(--active-bg-position) / cover fixed no-repeat;
  isolation: isolate;
}

.daily-section::before,
.daily-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.daily-section::before {
  background:
    linear-gradient(120deg, color-mix(in srgb, var(--active-accent) 16%, transparent), transparent 36%),
    linear-gradient(260deg, rgba(182, 166, 255, 0.16), transparent 44%);
  filter: blur(18px);
  opacity: 0.74;
}

.daily-section::after {
  background:
    linear-gradient(180deg, var(--paper) 0, rgba(248, 251, 255, 0) 9rem, rgba(248, 251, 255, 0) calc(100% - 9rem), var(--paper) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.02) 54%, rgba(255, 255, 255, 0.18));
}

.daily-section[data-active-day="1"] {
  --active-bg: var(--bg-day-1);
  --active-accent: #5f92ff;
  --active-bg-position: center 42%;
}

.daily-section[data-active-day="2"] {
  --active-bg: var(--bg-day-2);
  --active-accent: #9b82ff;
  --active-bg-position: center 46%;
}

.daily-section[data-active-day="3"] {
  --active-bg: var(--bg-day-3);
  --active-accent: #64a1ff;
  --active-bg-position: center 54%;
}

.daily-section[data-active-day="4"] {
  --active-bg: var(--bg-day-4);
  --active-accent: #4ba3ff;
  --active-bg-position: center 50%;
}

.daily-section[data-active-day="5"] {
  --active-bg: var(--bg-day-5);
  --active-accent: #8c6cff;
  --active-bg-position: center 54%;
}

.daily-section > .section__heading,
.daily-section > .day-grid {
  width: min(1180px, calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
}

.day-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.day-grid::before {
  content: "";
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 52px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(79, 140, 255, 0), rgba(79, 140, 255, 0.28), rgba(140, 108, 255, 0.18), rgba(79, 140, 255, 0));
}

.day-card {
  --day-bg: var(--bg-day-1);
  --day-accent: #5f92ff;
  --day-bg-position: center;
  position: relative;
  isolation: isolate;
  display: block;
  min-height: 0;
  overflow: visible;
  padding: 16px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition:
    transform var(--ease-out),
    opacity var(--ease-out);
}

.day-card:hover {
  transform: translateY(-3px);
}

.day-card::before {
  content: "";
  position: absolute;
  inset: 6px auto 6px 50%;
  z-index: 0;
  width: 100vw;
  border-radius: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.32), transparent 34%),
    linear-gradient(90deg, rgba(248, 251, 255, 0.96), rgba(248, 251, 255, 0.82) 42%, rgba(248, 251, 255, 0.28) 68%, rgba(248, 251, 255, 0.06)),
    var(--day-bg) var(--day-bg-position) / cover no-repeat;
  opacity: 1;
  transform: translateX(-50%);
  pointer-events: none;
  transition:
    opacity var(--ease-out),
    filter var(--ease-out),
    box-shadow var(--ease-out);
}

.day-card::after {
  content: "";
  position: absolute;
  inset: 12px auto 12px 52px;
  z-index: 1;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, transparent, rgba(79, 140, 255, 0.34), transparent);
  pointer-events: none;
}

.day-card.is-active::before,
.day-card:hover::before {
  opacity: 1;
  filter: saturate(1.05) brightness(1.03);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 22px 58px rgba(49, 84, 140, 0.14);
}

.day-card[data-day="1"] {
  --day-bg: var(--bg-day-1);
  --day-bg-position: center 42%;
}

.day-card[data-day="2"] {
  --day-bg: var(--bg-day-2);
  --day-accent: #8c6cff;
  --day-bg-position: center 46%;
}

.day-card[data-day="3"] {
  --day-bg: var(--bg-day-3);
  --day-bg-position: center 54%;
}

.day-card[data-day="4"] {
  --day-bg: var(--bg-day-4);
  --day-bg-position: center 50%;
}

.day-card[data-day="5"] {
  --day-bg: var(--bg-day-5);
  --day-accent: #8c6cff;
  --day-bg-position: center 54%;
}

.day-card__summary {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  min-height: 112px;
  padding: 24px 64px 18px 24px;
  cursor: pointer;
  list-style: none;
  scroll-margin-top: 110px;
}

.day-card__summary::-webkit-details-marker {
  display: none;
}

.day-card__summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 22px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: rgba(16, 21, 34, 0.7);
  background: rgba(255, 255, 255, 0.54);
  transform: translateY(-50%);
}

.day-card[open] .day-card__summary::after {
  content: "-";
  color: #fff;
  background: linear-gradient(135deg, #4f8cff, #8c6cff);
}

.day-card__number {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #5ea1ff, #8c6cff);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 16px 34px rgba(79, 140, 255, 0.22);
}

.day-card__number small {
  align-self: end;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.66rem;
  font-weight: 650;
  line-height: 1;
}

.day-card__number strong {
  align-self: start;
  font-size: 1.9rem;
  font-weight: 780;
  line-height: 1;
}

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

.day-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.day-card__meta span {
  padding: 4px 9px;
  border-radius: 999px;
  color: rgba(16, 21, 34, 0.66);
  background: rgba(255, 255, 255, 0.52);
  font-size: 0.74rem;
  font-weight: 720;
}

.day-card h3 {
  margin-bottom: 0;
  font-size: clamp(1.7rem, 2.8vw, 2.55rem);
  font-weight: 760;
  line-height: 1.18;
}

.day-card__content {
  position: relative;
  z-index: 2;
  width: min(100%, calc(100% - 108px));
  margin-left: 108px;
  padding: 0 0 52px;
}

.day-card:not(:last-child) .day-card__content {
  padding-bottom: 64px;
}

.day-card p,
.lodging-copy p:last-child,
.rhythm-item p,
.todo-list span,
.usj-priority span {
  max-width: 920px;
  color: var(--muted);
  line-height: 1.76;
}

.day-card ul,
.day-card ol {
  max-width: 940px;
  margin: 14px 0 18px;
  padding-left: 1.1rem;
  color: rgba(16, 21, 34, 0.74);
  line-height: 1.86;
}

.note {
  max-width: 940px;
  padding: 13px 15px;
  border-radius: 8px;
  color: rgba(41, 63, 108, 0.82);
  background: rgba(255, 255, 255, 0.54);
  line-height: 1.58;
}

.usj-guide {
  max-width: 100%;
  margin-top: 24px;
  padding: 22px;
  border-color: rgba(255, 255, 255, 0.6);
  border-radius: 8px;
}

.usj-guide__intro span {
  display: block;
  margin-bottom: 6px;
  color: rgba(79, 140, 255, 0.86);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.usj-guide h4 {
  margin: 0 0 8px;
  font-size: 1.24rem;
  font-weight: 760;
}

.usj-guide__intro p {
  margin-bottom: 16px;
}

.usj-priority {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.usj-priority div {
  padding: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
}

.usj-priority strong,
.usj-priority span {
  display: block;
}

.usj-priority strong {
  margin-bottom: 8px;
  color: rgba(21, 78, 166, 0.96);
}

.usj-guide__intro p,
.usj-priority span {
  color: rgba(16, 21, 34, 0.82);
  font-weight: 650;
}

.usj-zones {
  display: grid;
  gap: 10px;
}

.usj-zone {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
}

.usj-zone summary {
  position: relative;
  padding: 13px 42px 13px 14px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.usj-zone summary::-webkit-details-marker {
  display: none;
}

.usj-zone summary::after {
  content: "+";
  position: absolute;
  right: 14px;
  color: rgba(79, 140, 255, 0.9);
  font-weight: 900;
}

.usj-zone[open] summary::after {
  content: "-";
}

.usj-zone ul,
.usj-zone ol {
  margin: 0;
  padding: 0 18px 16px 34px;
}

.usj-zone li {
  color: rgba(16, 21, 34, 0.82);
  line-height: 1.75;
  font-weight: 620;
}

.rhythm-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 78px max(24px, calc((100vw - 1180px) / 2));
  color: #fff;
  background:
    linear-gradient(135deg, rgba(13, 21, 38, 0.88), rgba(46, 55, 86, 0.76)),
    var(--bg-day-2) center / cover no-repeat;
  background-blend-mode: multiply;
}

.section__heading--light p,
.section__heading--light h2 {
  color: #fff;
}

.section__heading--light p {
  color: rgba(212, 228, 255, 0.78);
}

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

.rhythm-item {
  min-height: 180px;
  padding: 20px;
  border-color: rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 22px 52px rgba(0, 0, 0, 0.18);
}

.rhythm-item span {
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 50%;
  color: #fff;
  font-weight: 900;
}

.rhythm-item strong,
.rhythm-item p {
  display: block;
}

.rhythm-item strong {
  font-weight: 760;
}

.rhythm-item p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.lodging-section {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  padding-top: 88px;
}

.lodging-copy p:last-child {
  max-width: 520px;
  margin: 18px 0 0;
}

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

.todo-list div {
  min-height: 116px;
  padding: 18px;
  border-radius: 8px;
  transition:
    transform var(--ease-out),
    box-shadow var(--ease-out),
    background var(--ease-out);
}

.todo-list strong,
.todo-list span {
  display: block;
}

.todo-list strong {
  margin-bottom: 10px;
  color: rgba(79, 140, 255, 0.94);
  font-weight: 760;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
  padding: 28px 20px 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.68);
  color: rgba(16, 21, 34, 0.52);
  background: rgba(255, 255, 255, 0.42);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", Arial,
    "PingFang SC", sans-serif;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.footer a {
  color: rgba(16, 21, 34, 0.82);
  text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: 84vh;
  }

  .hero__stats,
  .usj-priority,
  .rhythm-grid,
  .lodging-section,
  .todo-list {
    grid-template-columns: 1fr;
  }

  .route-layout {
    grid-template-columns: 1fr;
  }

  .route-map {
    min-height: 460px;
  }

  .day-tabs {
    grid-template-columns: repeat(5, 150px);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

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

  .day-tab {
    min-width: 150px;
  }

  .daily-section {
    background-attachment: scroll;
  }
}

@media (max-width: 640px) {
  main,
  .hero__content {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    min-height: 82vh;
  }

  .hero__content {
    margin: 7vh auto 5vh;
  }

  .brand-pill {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  h1 {
    font-size: clamp(3.6rem, 18vw, 5.1rem);
  }

  .hero__summary {
    font-size: 1rem;
  }

  .ribbon {
    width: min(100% - 28px, 1180px);
    margin-top: -34px;
    font-size: 0.84rem;
    line-height: 1.55;
  }

  .section {
    padding: 62px 0;
  }

  .section__heading h2,
  .lodging-copy h2 {
    font-size: 2rem;
  }

  .route-map {
    min-height: 390px;
  }

  .map-panel {
    right: 12px;
    bottom: 12px;
    width: min(300px, calc(100% - 24px));
  }

  .daily-section {
    padding: 66px 0;
  }

  .daily-section > .section__heading,
  .daily-section > .day-grid {
    width: min(100% - 28px, 1180px);
  }

  .day-card {
    padding: 10px 0;
  }

  .day-card::before {
    background:
      linear-gradient(180deg, rgba(248, 251, 255, 0.92), rgba(248, 251, 255, 0.68) 48%, rgba(248, 251, 255, 0.24)),
      var(--day-bg) var(--day-bg-position) / cover no-repeat;
    opacity: 1;
  }

  .day-card__summary {
    grid-template-columns: 1fr;
    gap: 14px;
    min-height: auto;
    padding: 22px 58px 14px 18px;
  }

  .day-card__number {
    width: 56px;
    height: 56px;
  }

  .day-card__content {
    width: 100%;
    margin-left: 0;
    padding: 0 4px 38px;
  }

  .day-grid::before {
    left: 29px;
  }

  .day-card::after {
    left: 29px;
  }

  .usj-guide {
    padding: 16px;
  }

  .rhythm-section {
    padding: 64px 14px;
  }
}
