:root {
  color-scheme: light;
  --ink: #17201f;
  --paper: #fff8e8;
  --sun: #f4b942;
  --coral: #ef684e;
  --sea: #176b68;
  --soft-sea: #d9efea;
  --line: rgba(23, 32, 31, 0.16);
  --shadow: 0 24px 70px rgba(52, 45, 26, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 14% 9%, rgba(244, 185, 66, 0.48), transparent 27rem),
    radial-gradient(circle at 92% 38%, rgba(23, 107, 104, 0.16), transparent 24rem),
    var(--paper);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.22;
  background-image: repeating-linear-gradient(118deg, transparent 0 31px, rgba(23, 32, 31, 0.08) 32px 33px);
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

.page-shell {
  width: min(100% - 32px, 760px);
  margin-inline: auto;
  padding: 42px 0 30px;
}

.hero {
  position: relative;
  margin-bottom: 28px;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 12px;
  padding: 7px 11px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: rotate(-2deg);
  background: #fff;
  box-shadow: 3px 3px 0 var(--ink);
}

h1 {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.18em;
  margin: 0;
  font-size: clamp(4rem, 18vw, 8.5rem);
  font-weight: 950;
  letter-spacing: -0.09em;
  line-height: 0.75;
  text-transform: uppercase;
}

h1 span:nth-child(2) {
  color: var(--coral);
  transform: translateY(0.07em) rotate(-5deg);
}

.lead {
  margin: 24px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 5vw, 2.1rem);
  font-style: italic;
}

.mission-card {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 6vw, 42px);
  border: 2px solid var(--ink);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow), 8px 8px 0 var(--ink);
}

.mission-card::after {
  position: absolute;
  top: -34px;
  right: -34px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  content: "";
  background: var(--sun);
  box-shadow: 0 0 0 12px rgba(244, 185, 66, 0.25);
}

.ticket-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-right: 78px;
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.ticket-top p {
  margin: 0;
}

.live {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--sea);
}

.live span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--coral);
  animation: pulse 1.8s ease-out infinite;
}

@keyframes pulse {
  0%, 45% { box-shadow: 0 0 0 0 rgba(239, 104, 78, 0.45); }
  100% { box-shadow: 0 0 0 9px transparent; }
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 7vw, 3.45rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.mission-copy {
  max-width: 56ch;
  margin: 16px 0 22px;
  color: #4c5553;
  font-size: 1.02rem;
  line-height: 1.65;
}

.thai-summary {
  margin: 0 0 30px;
  padding: 18px 20px;
  border: 1px solid rgba(23, 32, 31, 0.18);
  border-left: 5px solid var(--coral);
  border-radius: 14px;
  background: #fff4c8;
  font-family: "Noto Sans Thai", Tahoma, ui-sans-serif, sans-serif;
}

.thai-summary p,
.thai-summary h3 {
  margin: 0;
}

.thai-summary .thai-label {
  margin-bottom: 5px;
  color: var(--sea);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.thai-summary h3 {
  font-size: 1.3rem;
  line-height: 1.45;
}

.thai-summary h3 + p {
  margin-top: 5px;
  color: #4c5553;
  font-size: 1rem;
  line-height: 1.7;
}

.route {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.route li {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 13px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.route-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 12px;
  background: var(--soft-sea);
  font-size: 1.35rem;
}

.scissors {
  background: #fee3db;
}

.route strong,
.route small {
  display: block;
}

.route strong {
  font-size: 0.98rem;
}

.route small {
  margin-top: 3px;
  color: #68716f;
}

.route .thai-route {
  margin-top: 2px;
  color: var(--sea);
  font-family: "Noto Sans Thai", Tahoma, ui-sans-serif, sans-serif;
  font-size: 0.82rem;
}

.route-status {
  padding: 6px 9px;
  border-radius: 999px;
  color: #4d5553;
  background: #f1eee5;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.done .route-status {
  color: #fff;
  background: var(--sea);
}

.route-photo {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  margin: 8px 0 4px;
}

.photo-frame {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 17px;
  background: var(--soft-sea);
  box-shadow: 4px 4px 0 var(--ink);
}

.photo-frame img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center 31%;
}

.photo-stamp {
  position: absolute;
  right: 13px;
  bottom: 13px;
  padding: 8px 11px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: var(--sun);
  box-shadow: 2px 2px 0 var(--ink);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transform: rotate(-3deg);
}

.route-photo figcaption {
  margin: 13px 3px 0;
  color: #59615f;
  font-size: 0.82rem;
  line-height: 1.55;
}

.route-photo figcaption strong {
  display: inline;
  color: var(--ink);
}

.route-photo figcaption span {
  display: block;
  margin-top: 4px;
  color: var(--sea);
  font-family: "Noto Sans Thai", Tahoma, ui-sans-serif, sans-serif;
}

.forecast {
  display: grid;
  margin: 38px 0;
  padding: 25px 28px;
  border-radius: 20px;
  color: #fff;
  background: var(--sea);
  transform: rotate(1deg);
}

.forecast p,
.forecast strong,
.forecast span {
  margin: 0;
}

.forecast p {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.forecast strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 6vw, 2.35rem);
  font-style: italic;
}

.forecast span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.78);
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 4px;
  font-size: 0.8rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

footer p {
  margin: 0;
}

.domain {
  color: var(--coral);
}

@media (max-width: 540px) {
  .page-shell {
    width: min(100% - 24px, 760px);
    padding-top: 28px;
  }

  h1 {
    font-size: clamp(3.7rem, 22vw, 6.2rem);
  }

  .mission-card {
    border-radius: 19px;
    box-shadow: var(--shadow), 5px 5px 0 var(--ink);
  }

  .ticket-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .route li {
    grid-template-columns: 42px 1fr;
  }

  .route-status {
    grid-column: 2;
    width: fit-content;
    margin-top: -6px;
  }

  .photo-frame img {
    height: 175px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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