:root {
  color-scheme: light;
  --coast-blue: #126a7a;
  --coast-deep: #083846;
  --coral: #e35d4f;
  --coral-soft: #fff0ed;
  --paper: #fffaf3;
  --paper-strong: #f4eadc;
  --ink: #16222a;
  --muted: #68757d;
  --line: #e6ddd1;
  --white: #ffffff;
  --shadow-soft: 0 18px 48px rgba(22, 34, 42, 0.12);
  --shadow-subtle: 0 10px 28px rgba(22, 34, 42, 0.08);
  --radius-large: 28px;
  --radius-card: 18px;
  --max-width: 1180px;
  --page-pad: clamp(18px, 5vw, 56px);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 250, 243, 0.72), var(--paper) 700px),
    radial-gradient(circle at 15% 8%, rgba(227, 93, 79, 0.12), transparent 30rem),
    var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.68;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(227, 93, 79, 0.42);
  outline-offset: 4px;
}

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

p {
  margin-bottom: 0;
}

ul {
  margin: 0;
  padding-left: 1.15rem;
}

li + li {
  margin-top: 0.45rem;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 10px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--coast-deep);
  border-radius: 999px;
  transform: translateY(-140%);
}

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

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 68px;
  padding: 12px var(--page-pad);
  background: rgba(255, 250, 243, 0.9);
  border-bottom: 1px solid rgba(230, 221, 209, 0.82);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: inline-grid;
  min-width: max-content;
  color: var(--coast-deep);
  line-height: 1.05;
}

.brand-mark span {
  color: var(--coral);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.brand-mark strong {
  font-size: 1.14rem;
  font-weight: 900;
}

.nav-menu {
  display: flex;
  gap: 8px;
  align-items: center;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-menu::-webkit-scrollbar {
  display: none;
}

.nav-menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 14px;
  color: #435059;
  font-size: 0.93rem;
  font-weight: 720;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: 999px;
}

.nav-menu a:hover,
.nav-menu a.is-active {
  color: var(--coast-deep);
  background: var(--white);
  border-color: rgba(18, 106, 122, 0.22);
  box-shadow: 0 8px 22px rgba(22, 34, 42, 0.08);
}

.cover {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(790px, calc(100dvh - 68px));
  overflow: hidden;
  isolation: isolate;
}

.cover-image,
.cover-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.cover-image {
  object-fit: cover;
  z-index: -3;
}

.cover-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 56, 70, 0.88) 0%, rgba(8, 56, 70, 0.52) 48%, rgba(8, 56, 70, 0.1) 100%),
    linear-gradient(180deg, rgba(8, 56, 70, 0.04) 0%, rgba(8, 56, 70, 0.78) 100%);
}

.cover-content {
  width: min(100%, var(--max-width));
  padding: clamp(76px, 13vw, 150px) var(--page-pad) clamp(118px, 16vw, 170px);
  margin: 0 auto;
  color: var(--white);
}

.kicker {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.cover .kicker {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 6px 12px;
  margin-bottom: 18px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  backdrop-filter: blur(12px);
}

.cover h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 8.5vw, 6.6rem);
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.cover h1 span {
  display: block;
}

.lead {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2vw, 1.22rem);
  word-break: break-all;
}

.cover-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 18px;
  font-weight: 820;
  border-radius: 999px;
}

.primary-link {
  color: var(--coast-deep);
  background: var(--white);
}

.secondary-link {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.route-ribbon {
  position: absolute;
  left: 50%;
  bottom: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(calc(100% - 2 * var(--page-pad)), var(--max-width));
  overflow: hidden;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  transform: translateX(-50%);
  backdrop-filter: blur(14px);
}

.route-ribbon span {
  display: grid;
  min-height: 68px;
  place-items: center;
  padding: 12px;
  font-weight: 840;
  text-align: center;
  background: rgba(255, 250, 243, 0.88);
}

.section {
  width: min(100%, var(--max-width));
  padding: clamp(58px, 8vw, 96px) var(--page-pad);
  margin: 0 auto;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

.section h2,
.split-heading h2,
.shopping-hero h2 {
  margin-bottom: 12px;
  color: var(--coast-deep);
  font-size: clamp(2rem, 4.8vw, 3.7rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading > p:last-child,
.split-heading > p,
.shopping-hero p {
  color: var(--muted);
}

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

.feature-card,
.day-card,
.shopping-flow article,
.transit-board article,
.checklist-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(230, 221, 209, 0.86);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-subtle);
}

.feature-card {
  padding: 24px;
}

.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 900;
  background: var(--coast-blue);
  border-radius: 50%;
}

.feature-card h3,
.story-copy h3,
.day-card h3,
.shopping-flow h3,
.transit-board h3,
.checklist-card h3 {
  margin-bottom: 10px;
  color: var(--coast-deep);
  font-size: 1.24rem;
  line-height: 1.24;
}

.feature-card p,
.day-card p,
.day-card li,
.shopping-flow p,
.transit-board p,
.checklist-card label,
.source-strip p {
  color: var(--muted);
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: end;
  margin-bottom: 28px;
}

.story-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 0;
  overflow: hidden;
  margin-bottom: 22px;
  background: var(--coast-deep);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-soft);
}

.story-panel img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.story-copy {
  display: grid;
  align-content: center;
  padding: clamp(28px, 5vw, 56px);
  color: var(--white);
}

.story-copy .kicker,
.story-copy h3,
.story-copy p {
  color: var(--white);
}

.story-copy p:last-child {
  color: rgba(255, 255, 255, 0.78);
}

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

.day-card {
  overflow: hidden;
}

.day-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.day-card-body {
  padding: 22px;
}

.day-label {
  margin-bottom: 8px;
  color: var(--coral);
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
}

.day-card ul {
  margin-top: 16px;
}

.detail-plan {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 16px;
  background: rgba(244, 234, 220, 0.58);
  border: 1px solid rgba(230, 221, 209, 0.92);
  border-radius: 14px;
}

.detail-plan p {
  color: #4d5960;
  font-size: 0.95rem;
  line-height: 1.62;
}

.detail-plan strong,
.day-notes strong {
  color: var(--coast-deep);
  font-weight: 850;
}

.day-notes {
  padding-top: 16px;
  margin-top: 16px;
  border-top: 1px solid rgba(230, 221, 209, 0.9);
}

.priority-card {
  border-color: rgba(227, 93, 79, 0.42);
  box-shadow: 0 18px 46px rgba(227, 93, 79, 0.14);
}

.shopping-section {
  width: 100%;
  max-width: none;
  padding-right: 0;
  padding-left: 0;
}

.shopping-hero,
.shopping-flow {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding-right: var(--page-pad);
  padding-left: var(--page-pad);
}

.shopping-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
  margin-bottom: 26px;
}

.shopping-hero img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-soft);
}

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

.shopping-flow article,
.transit-board article,
.checklist-card {
  padding: 24px;
}

.shopping-flow span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.shopping-detail {
  display: grid;
  grid-template-columns: minmax(280px, 0.76fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
  width: min(100%, var(--max-width));
  padding: 26px var(--page-pad) 0;
  margin: 0 auto;
}

.shopping-detail img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}

.shopping-detail h3 {
  margin-bottom: 12px;
  color: var(--coast-deep);
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1.14;
}

.detail-plan.compact {
  margin-top: 12px;
}

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

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

.checklist-card {
  display: grid;
  gap: 12px;
}

.checklist-card label {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  min-height: 44px;
  padding: 10px 0;
  border-top: 1px solid rgba(230, 221, 209, 0.72);
  cursor: pointer;
}

.checklist-card input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--coral);
}

.source-strip {
  padding-top: 20px;
}

.source-strip p {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.source-strip a {
  color: var(--coast-blue);
  font-weight: 780;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-footer {
  padding: 34px var(--page-pad) 44px;
  color: #6c5f55;
  text-align: center;
  background: var(--paper-strong);
}

@media (max-width: 960px) {
  .cover {
    min-height: 780px;
  }

  .feature-grid,
  .itinerary-grid,
  .shopping-flow,
  .transit-board {
    grid-template-columns: 1fr;
  }

  .split-heading,
  .story-panel,
  .shopping-hero,
  .shopping-detail {
    grid-template-columns: 1fr;
  }

  .story-panel img {
    min-height: 300px;
  }

  .shopping-hero img {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 720px) {
  .site-nav {
    align-items: flex-start;
    min-height: 94px;
    flex-direction: column;
  }

  .nav-menu {
    width: 100%;
  }

  .cover {
    min-height: 780px;
  }

  .cover-content {
    padding-top: 54px;
    padding-bottom: 220px;
  }

  .lead {
    max-width: 94%;
  }

  .route-ribbon {
    grid-template-columns: 1fr 1fr;
    bottom: 20px;
    border-radius: 18px;
  }

  .route-ribbon span {
    min-height: 58px;
    font-size: 0.92rem;
  }

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

@media (max-width: 430px) {
  .cover h1 {
    font-size: 2.15rem;
    line-height: 1.08;
  }

  .cover-actions {
    display: grid;
  }

  .primary-link,
  .secondary-link {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
