:root {
  --midnight: #0b1221;
  --night-sky: #101a2f;
  --ice: #d7e7f6;
  --mist: #9bb3c9;
  --glow: #77d1ff;
  --gold: #f7c868;
  --scarlet: #c83832;
  --shadow: rgba(3, 10, 20, 0.7);
  --glass: rgba(10, 20, 38, 0.62);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--ice);
  background: var(--midnight) url("assets/greenland-coin.jpg") center / cover
    fixed no-repeat;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 20% 10%, rgba(118, 208, 255, 0.35), transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(246, 200, 104, 0.18), transparent 55%),
    linear-gradient(180deg, rgba(11, 18, 33, 0.8) 0%, rgba(11, 18, 33, 0.65) 40%, rgba(6, 10, 18, 0.95) 100%);
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.35;
  z-index: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: reveal 0.9s ease forwards;
}

.reveal-soft {
  opacity: 0;
  animation: fadein 0.9s ease forwards;
}

.delay-1 {
  animation-delay: 0.15s;
}

.delay-2 {
  animation-delay: 0.3s;
}

.delay-3 {
  animation-delay: 0.45s;
}

.snow {
  position: fixed;
  inset: -20% 0 0 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.4) 1px, transparent 1px),
    radial-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 120px 120px, 80px 80px;
  animation: drift 26s linear infinite;
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
}

.page {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 24px 60px;
  display: grid;
  gap: 56px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
}

.hero__text {
  display: grid;
  gap: 18px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 0.72rem;
  color: var(--mist);
}

.brand {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3.4rem, 10vw, 7rem);
  letter-spacing: 0.08em;
  margin: 0;
  color: #f7fbff;
  text-transform: uppercase;
  text-shadow: 0 12px 35px rgba(12, 28, 55, 0.45);
}

.brand span {
  display: inline-block;
  padding: 0.1em 0.22em 0.02em;
  border-radius: 10px;
  background: linear-gradient(
    120deg,
    rgba(118, 208, 255, 0.2),
    rgba(247, 200, 104, 0.25)
  );
  box-shadow: 0 18px 40px rgba(6, 12, 24, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.tagline {
  font-size: clamp(1.1rem, 2.8vw, 1.5rem);
  max-width: 32ch;
  line-height: 1.4;
  margin: 0;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chips span {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(118, 208, 255, 0.4);
  background: rgba(10, 20, 36, 0.55);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero__art {
  margin: 0;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 30px 80px var(--shadow);
  transform: translateY(0);
  animation: float 8s ease-in-out infinite;
}

.hero__art img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.hero__art figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(6, 12, 22, 0.65);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
}

.story {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.story__panel {
  background: var(--glass);
  border-radius: 20px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgba(6, 12, 24, 0.5);
}

.story__panel h2,
.story__panel h3 {
  margin-top: 0;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.08em;
  color: #f8fbff;
}

.story__panel p {
  margin-bottom: 0;
  line-height: 1.6;
  color: rgba(226, 238, 248, 0.9);
}

.gallery {
  display: grid;
  gap: 24px;
}

.gallery h2 {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.2em;
  font-size: 2.2rem;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}

.card {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(8, 14, 26, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 40px rgba(6, 10, 20, 0.55);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.card figcaption {
  padding: 14px 16px 18px;
  font-size: 0.95rem;
  color: rgba(236, 245, 255, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(4, 12, 26, 0.7);
}

.footer {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(200, 216, 232, 0.7);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

@keyframes drift {
  from {
    transform: translateY(-10%);
  }
  to {
    transform: translateY(10%);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

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

@keyframes fadein {
  to {
    opacity: 1;
  }
}

@media (max-width: 720px) {
  body {
    background-attachment: scroll;
  }

  .page {
    padding: 48px 18px 40px;
  }

  .eyebrow {
    letter-spacing: 0.25em;
  }

  .chips span {
    font-size: 0.68rem;
  }

  .hero__art figcaption {
    font-size: 0.8rem;
  }

  .card img {
    height: 260px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .snow,
  .hero__art,
  .reveal,
  .reveal-soft {
    animation: none;
  }

  .card {
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .reveal-soft {
    opacity: 1;
  }
}
