:root {
  --night-0: #08090d;
  --night-1: #111318;
  --night-2: #181a20;
  --ink: #f3efe6;
  --muted: #b6b0a3;
  --accent: #c5a05b;
  --accent-dark: #8f6a32;
  --line: rgba(223, 210, 184, 0.24);
  --panel: rgba(19, 21, 27, 0.72);
  --pill-bg: rgba(24, 27, 34, 0.82);
  --shadow-soft: 0 28px 50px rgba(0, 0, 0, 0.56);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 16% 14%, #2c2620 0%, transparent 33%),
    radial-gradient(circle at 84% 10%, #1d222a 0%, transparent 35%),
    linear-gradient(158deg, var(--night-0), var(--night-1) 52%, var(--night-2));
  line-height: 1.55;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 54px,
    rgba(244, 233, 214, 0.018) 54px,
    rgba(244, 233, 214, 0.018) 55px
  );
  z-index: 0;
}

.contour {
  position: fixed;
  border-radius: 999px;
  filter: blur(30px);
  pointer-events: none;
  z-index: 0;
}

.contour-a {
  width: 460px;
  height: 460px;
  background: rgba(197, 160, 91, 0.18);
  top: -130px;
  right: -120px;
}

.contour-b {
  width: 410px;
  height: 410px;
  background: rgba(119, 127, 145, 0.18);
  left: -130px;
  bottom: -125px;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.2;
  background-image: radial-gradient(rgba(234, 226, 210, 0.2) 0.35px, transparent 0.35px);
  background-size: 3px 3px;
}

.page {
  position: relative;
  z-index: 1;
  width: min(1140px, 92vw);
  margin: 0 auto;
  padding: 2.1rem 0 3rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.2rem;
  align-items: end;
}

.hero-copy > *,
.hero-image-wrap,
.route-band {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 700ms cubic-bezier(0.2, 0.65, 0.2, 1) forwards;
}

.stamp {
  margin: 0;
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.72rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(20, 21, 26, 0.72);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: #d0c5af;
  animation-delay: 90ms;
}

h1 {
  margin: 0.9rem 0 1rem;
  font-family: "Bodoni Moda", "Times New Roman", serif;
  font-size: clamp(2.4rem, 5.6vw, 5rem);
  letter-spacing: -0.02em;
  line-height: 0.94;
  max-width: 12ch;
  color: #f9f3e8;
  text-shadow: 0 10px 30px rgba(3, 7, 14, 0.45);
  animation-delay: 180ms;
}

.intro {
  margin: 0;
  color: var(--muted);
  max-width: 54ch;
  font-size: clamp(0.98rem, 1.6vw, 1.1rem);
  animation-delay: 260ms;
}

.hero-links {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
}

.btn-primary {
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.78rem 1.12rem;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #17130b;
  background: linear-gradient(130deg, var(--accent), var(--accent-dark));
  box-shadow: 0 18px 28px rgba(143, 106, 50, 0.35);
  transition: transform 180ms ease, box-shadow 180ms ease;
  animation-delay: 340ms;
}

.btn-primary::after {
  content: "->";
  font-size: 0.72rem;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 32px rgba(143, 106, 50, 0.48);
}

.milestone-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #e2d5bd;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.56rem 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(223, 210, 184, 0.34);
  background: rgba(24, 27, 34, 0.72);
  transition: border-color 180ms ease, transform 180ms ease;
}

.milestone-link::after {
  content: "->";
  margin-left: 0.4rem;
  font-size: 0.72rem;
}

.milestone-link:hover {
  transform: translateY(-2px);
  border-color: rgba(223, 210, 184, 0.58);
}

.stats {
  margin-top: 1.28rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(138px, 1fr));
  gap: 0.72rem;
}

.stat-card {
  padding: 0.88rem 0.82rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  backdrop-filter: blur(7px);
  box-shadow: var(--shadow-soft);
  animation-delay: 420ms;
  transition: transform 180ms ease, border-color 180ms ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(235, 222, 196, 0.38);
}

.stat-number {
  margin: 0;
  font-family: "Bodoni Moda", "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1;
  color: #f8f2e4;
}

.stat-label {
  margin: 0.32rem 0 0;
  font-size: 0.76rem;
  color: #b9b2a3;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.journey-countries {
  margin-top: 1rem;
}

.journey-title {
  margin: 0;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d5c7ab;
}

.country-list {
  margin-top: 0.62rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.country-pill {
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(223, 210, 184, 0.28);
  background: rgba(24, 27, 34, 0.82);
  font-size: 0.72rem;
  color: #d9ccb4;
  white-space: nowrap;
}

.hero-image-wrap {
  margin: 0;
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(224, 212, 187, 0.28);
  box-shadow: 0 36px 58px rgba(1, 4, 10, 0.54);
  width: min(450px, 92vw);
  justify-self: end;
  transform: rotate(-1.4deg);
  animation-delay: 460ms;
}

.hero-image-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(185deg, rgba(255, 255, 255, 0.18) 0%, transparent 45%);
  pointer-events: none;
  z-index: 1;
}

.hero-image {
  width: 100%;
  display: block;
  aspect-ratio: 10 / 13;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.06);
}

.hero-image-wrap figcaption {
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 0.65rem;
  margin: 0;
  padding: 0.46rem 0.6rem;
  border-radius: 8px;
  background: rgba(8, 9, 12, 0.78);
  color: #e5d9c4;
  font-size: 0.73rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 2;
}

.route-band {
  margin-top: 1.75rem;
  padding: 0.76rem;
  border-top: 1px dashed rgba(223, 210, 184, 0.4);
  border-bottom: 1px dashed rgba(223, 210, 184, 0.4);
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  animation-delay: 540ms;
}

.route-pill {
  padding: 0.34rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(223, 210, 184, 0.28);
  background: var(--pill-bg);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d9ccb4;
}

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

@media (min-width: 961px) {
  .hero {
    align-items: center;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .intro {
    max-width: 48ch;
  }

  .hero-links {
    justify-content: center;
  }

  .stats {
    width: 100%;
    max-width: 620px;
  }

  .journey-countries {
    width: 100%;
    max-width: 900px;
  }

  .country-list {
    justify-content: center;
  }

  .hero-image-wrap {
    justify-self: center;
  }

  .route-band {
    justify-content: center;
  }
}

@media (max-width: 960px) {
  .page {
    padding-top: 1.3rem;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .hero-image-wrap {
    justify-self: start;
    width: min(470px, 96vw);
    transform: rotate(-0.55deg);
  }

  .stats {
    grid-template-columns: repeat(3, minmax(110px, 1fr));
  }
}

@media (max-width: 640px) {
  .page {
    width: min(95vw, 1140px);
    padding-bottom: 2.3rem;
  }

  h1 {
    margin-top: 0.72rem;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
