@font-face {
  font-family: "Phuket Editorial";
  src: url("/assets/fonts/noto-serif-sc-editorial-subset.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  font-family: "Avenir Next", Avenir, -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans CJK SC", sans-serif;
}

.hero h1,
.solo-share h2,
.section-heading h2,
.candidate-days h3,
.trip-forecast-heading h3 {
  font-family: "Phuket Editorial", "Songti SC", "STSong", serif;
  font-weight: 600;
}

.hero h1 {
  line-height: 1;
  letter-spacing: -.045em;
}

.hero h1 em {
  font-family: inherit;
  font-style: normal;
  font-weight: 600;
  letter-spacing: -.035em;
}

.hotel-facts {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 10px;
  align-items: baseline;
  margin: -7px 0 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--soft);
  font-size: 13px;
}

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

.hotel-facts strong {
  line-height: 1.45;
}

.eyebrow,
.hero-subtitle,
.hero-art::after {
  font-family: "Avenir Next", Avenir, "Helvetica Neue", sans-serif;
}

.hero-art::after {
  content: "PHUKET · ANDAMAN SEA";
  left: 17%;
  bottom: 14%;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 999px;
  background: rgba(6, 38, 39, .66);
  box-shadow: 0 5px 18px rgba(3, 24, 25, .18);
  font-size: 10px;
  line-height: 1;
  letter-spacing: .15em;
  white-space: nowrap;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .24);
}

.route-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 620px;
  margin: 18px 0 14px;
}

.route-tabs.compact {
  max-width: 460px;
  margin-top: 14px;
}

.route-tab {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  min-height: 52px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  color: var(--ink);
  text-align: left;
}

.route-tab span {
  font-size: 16px;
  font-weight: 800;
}

.route-tab small {
  color: var(--muted);
  font-size: 12px;
}

.route-tab.active {
  border-color: var(--sea);
  background: var(--sea);
  color: white;
}

.route-tab.active small {
  color: color-mix(in srgb, white 78%, transparent);
}

.island-route-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.route-card-top,
.route-card-actions,
.route-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.route-card-top {
  justify-content: space-between;
  align-items: flex-start;
}

.route-card-top h3 {
  margin: 0;
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1.1;
  letter-spacing: -.04em;
}

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

.route-price,
.route-meta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.route-price {
  border-color: transparent;
  background: var(--soft);
  color: var(--forest);
}

.route-meta {
  flex-wrap: wrap;
  margin: 18px 0;
}

.route-path {
  margin: 0 0 12px;
  padding: 14px 16px;
  border-left: 3px solid var(--sea);
  border-radius: 0 12px 12px 0;
  background: var(--soft);
  font-weight: 750;
}

.island-route-card .muted {
  margin: 0 0 14px;
}

@media (max-width: 720px) {
  .route-tabs {
    gap: 8px;
  }

  .route-tab {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
    min-height: 60px;
    padding: 9px 12px;
  }

  .island-route-card {
    padding: 17px;
  }

  .route-card-top {
    display: grid;
    gap: 14px;
  }

  .route-card-actions {
    justify-content: flex-start;
  }

  .hero-art::after {
    left: 20px;
    bottom: 20px;
    padding: 7px 9px;
    font-size: 9px;
  }
}
