:root {
  --bg-1: #fff3df;
  --bg-2: #ffd8b0;
  --ink: #221915;
  --ink-soft: #5a4a42;
  --card: rgba(255, 251, 245, 0.9);
  --accent: #c7491f;
  --accent-2: #f18d1d;
  --line: rgba(77, 40, 26, 0.14);
  --shadow: 0 22px 46px rgba(96, 44, 20, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 16%, rgba(255, 192, 128, 0.58), transparent 48%),
    radial-gradient(circle at 88% 12%, rgba(255, 235, 185, 0.72), transparent 52%),
    linear-gradient(165deg, var(--bg-1), var(--bg-2));
  min-height: 100vh;
  line-height: 1.55;
}

.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      -35deg,
      rgba(255, 255, 255, 0.14) 0,
      rgba(255, 255, 255, 0.14) 10px,
      transparent 10px,
      transparent 26px
    );
  opacity: 0.38;
  z-index: -1;
}

.page {
  width: min(1080px, 92vw);
  margin: 0 auto;
  padding: 3.5rem 0 2.4rem;
}

.hero {
  padding: 2rem clamp(1.2rem, 2vw, 2rem);
  border-radius: 1.4rem;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(255, 240, 224, 0.9));
  box-shadow: var(--shadow);
  animation: rise 640ms ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}

.hero-layout {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: minmax(0, 1.45fr) minmax(220px, 1fr);
  align-items: center;
}

.hero-text {
  min-width: 0;
}

.hero-kebab {
  width: 320px;
  max-width: 100%;
  justify-self: end;
  margin: 0;
  padding: 0.75rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 251, 246, 0.92), rgba(254, 236, 212, 0.95));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 16px 28px rgba(93, 43, 18, 0.14);
  animation: bob 4.8s ease-in-out infinite;
}

.hero-kebab img {
  display: block;
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center 38%;
  border-radius: 0.65rem;
  filter: drop-shadow(0 10px 12px rgba(78, 35, 14, 0.2));
}

.hero-kebab figcaption {
  margin-top: 0.4rem;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  margin-top: 0.82rem;
  font-family: "Bebas Neue", "Impact", sans-serif;
  font-size: clamp(2.35rem, 8.8vw, 4.6rem);
  letter-spacing: 0.03em;
  line-height: 0.95;
}

.intro {
  margin: 0.95rem 0 0;
  max-width: 68ch;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.8vw, 1.16rem);
}

.rankings {
  margin-top: 2rem;
}

.section-head {
  margin-bottom: 1rem;
}

h2 {
  font-family: "Bebas Neue", "Impact", sans-serif;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  letter-spacing: 0.04em;
}

.section-head p {
  margin: 0.2rem 0 0;
  color: var(--ink-soft);
}

.city-grid {
  display: grid;
  gap: 0.95rem;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.city-card {
  padding: 1.12rem 1.05rem 1.06rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(16px);
  animation: rise 620ms ease-out forwards;
  animation-delay: calc(130ms * var(--order));
}

.city-card.active {
  grid-column: span 6;
}

.city-card.soon {
  grid-column: span 6;
  background: linear-gradient(150deg, rgba(255, 246, 237, 0.94), rgba(253, 234, 207, 0.86));
}

h3 {
  font-family: "Bebas Neue", "Impact", sans-serif;
  font-size: 1.7rem;
  letter-spacing: 0.06em;
}

ol {
  margin: 0.45rem 0 0;
  padding-left: 1.2rem;
}

li {
  margin: 0.5rem 0;
}

a {
  color: var(--accent);
  text-decoration-thickness: 0.11em;
  text-underline-offset: 0.16em;
  font-weight: 700;
}

a:hover {
  color: var(--accent-2);
}

.city-card p {
  margin: 0.45rem 0 0;
  color: var(--ink-soft);
}

.footer {
  margin-top: 1.3rem;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

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

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

  .hero-kebab {
    width: min(320px, 100%);
    margin: 0.2rem auto 0;
  }

  .city-card.active,
  .city-card.soon {
    grid-column: 1 / -1;
  }
}
