:root {
  --sky-top: #88cff8;
  --sky-bottom: #f2fbff;
  --rock: #4d5a68;
  --rock-deep: #2d3742;
  --rope: #ff9f1c;
  --chalk: #f9f4ef;
  --ink: #11273a;
  --card: rgba(255, 255, 255, 0.86);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Nunito", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 80% 18%, rgba(255, 159, 28, 0.28), transparent 38%),
    linear-gradient(180deg, var(--sky-top), var(--sky-bottom));
  min-height: 100vh;
  overflow-x: hidden;
}

.sky-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    repeating-radial-gradient(
      circle at 15% 30%,
      rgba(17, 39, 58, 0.035) 0 2px,
      transparent 2px 20px
    );
  z-index: 0;
}

.side-cliffs {
  position: fixed;
  top: 0;
  bottom: 0;
  width: min(16vw, 160px);
  background: linear-gradient(180deg, var(--rock), var(--rock-deep));
  opacity: 0.9;
  z-index: 1;
  pointer-events: none;
}

.side-cliffs::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.14), transparent 32%),
    repeating-linear-gradient(
      165deg,
      transparent 0 18px,
      rgba(255, 255, 255, 0.12) 18px 21px
    );
}

.side-cliffs-left {
  left: 0;
  clip-path: polygon(0 0, 100% 6%, 88% 20%, 100% 34%, 82% 52%, 98% 72%, 84% 100%, 0 100%);
}

.side-cliffs-right {
  right: 0;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 14% 100%, 2% 80%, 20% 60%, 0 44%, 16% 26%, 2% 10%);
}

.hero {
  text-align: center;
  padding: 4.5rem 1.25rem 1.75rem;
  position: relative;
  z-index: 2;
}

h1,
h2 {
  font-family: "Baloo 2", cursive;
  margin: 0.5rem 0;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  color: #0e2a40;
  text-shadow: 0 3px 0 rgba(255, 255, 255, 0.55);
}

.intro {
  max-width: 42rem;
  margin: 0 auto 0;
  font-size: 1.05rem;
  padding-bottom: 0.9rem;
  border-bottom: 4px dashed rgba(255, 159, 28, 0.6);
}

main {
  width: min(900px, 92vw);
  margin: 0 auto 3rem;
  display: grid;
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.card {
  background: var(--card);
  border: 2px solid rgba(17, 39, 58, 0.09);
  border-radius: 18px;
  padding: 1.2rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(5px);
  position: relative;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.9rem;
}

.chips span {
  background: #fff;
  color: #17324a;
  border: 2px solid #d9e6ef;
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  font-weight: 700;
}

.facts {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.7rem;
}

.facts p {
  margin: 0;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
}

#about {
  overflow: visible;
}

#about::before {
  content: "";
  position: absolute;
  left: 22px;
  top: -26px;
  width: 2px;
  height: 36px;
  background: #5b6775;
  border-radius: 1px;
}

#about::after {
  content: "";
  position: absolute;
  left: 24px;
  top: -24px;
  width: 22px;
  height: 14px;
  background: #d90429;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 640px) {
  .side-cliffs {
    width: 38px;
    opacity: 0.7;
  }
}
