/* ========================================
   PLANET RESOLUTION — Pixel-faithful recreation
   Based on 2022 Wayback Machine snapshots
   ======================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: #222;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ========== HERO ========== */
.hero {
  background: #000000;
  width: 100%;
  min-height: 58vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  position: relative;
}

.hero-title {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: clamp(1.9rem, 7.2vw, 4.8rem);
  letter-spacing: 0.42em;
  color: #ffffff;
  text-align: center;
  text-transform: uppercase;
  line-height: 1.15;
  margin-right: -0.42em; /* optical centering for letter-spacing */
}

/* ========== INTRO / MAIN ========== */
.intro {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5rem;
}

.hashtag {
  text-align: center;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: #333;
  margin-bottom: 2.8rem;
  font-weight: 400;
}

/* ========== GALLERY ========== */
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 2.5rem 0 3rem;
}

.gallery-top {
  margin-top: 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  background: #f0f0f0;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.1rem 1rem 0.95rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.35) 60%, transparent 100%);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

/* ========== TEXT BLOCKS ========== */
.text-block {
  max-width: 640px;
  margin: 0 auto 2.8rem;
  text-align: center;
}

.text-block p {
  margin-bottom: 1.15rem;
  color: #2a2a2a;
}

.text-block p:last-child {
  margin-bottom: 0;
}

.text-block .lead {
  font-weight: 500;
  margin-bottom: 1.3rem;
}

/* ========== CTA ========== */
.cta-block {
  text-align: center;
  margin: 3.5rem auto 3rem;
  max-width: 620px;
}

.cta-text {
  font-size: 1.15rem;
  line-height: 1.55;
  color: #1a1a1a;
}

.cta-text strong {
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* ========== SOCIAL ========== */
.social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin: 2.5rem 0 3.2rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.4rem;
  border: 1.5px solid #222;
  border-radius: 40px;
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #222;
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease;
}

.social-btn:hover {
  background: #222;
  color: #fff;
}

/* ========== DOWNLOAD ========== */
.download-block {
  text-align: center;
  margin-bottom: 2.8rem;
}

.download-block p {
  margin-bottom: 0.7rem;
  color: #333;
}

.download-btn {
  display: inline-block;
  font-size: 0.95rem;
  color: #1a1a1a;
  border-bottom: 1px solid #999;
  padding-bottom: 2px;
  transition: border-color 0.2s;
}

.download-btn:hover {
  border-color: #222;
}

/* ========== CONTACT ========== */
.contact-block {
  text-align: center;
  max-width: 480px;
  margin: 0 auto 1.8rem;
  font-size: 0.98rem;
  color: #333;
  line-height: 1.6;
}

.contact-block a {
  color: #111;
  border-bottom: 1px solid #bbb;
}

.contact-block a:hover {
  border-color: #111;
}

/* ========== CREDIT (under contact) ========== */
.credit-block {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 1rem;
  font-size: 0.84rem;
  line-height: 1.55;
  color: #777;
}

.credit-block a {
  color: #333;
  border-bottom: 1px solid #bbb;
  transition: border-color 0.2s, color 0.2s;
}

.credit-block a:hover {
  color: #000;
  border-color: #000;
}

/* ========== FOOTER ========== */
.site-footer {
  border-top: 1px solid #e8e8e8;
  padding: 2.2rem 1.5rem 2.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: #666;
}

.site-footer p {
  margin-bottom: 0.6rem;
}

.back-to-top {
  display: inline-block;
  margin-top: 0.3rem;
  color: #444;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
}

.back-to-top:hover {
  color: #000;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 700px) {
  .hero {
    min-height: 48vh;
    padding: 3.5rem 1.2rem;
  }

  .hero-title {
    letter-spacing: 0.28em;
    margin-right: -0.28em;
  }

  .gallery {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .intro {
    padding: 2.5rem 1.2rem 4rem;
  }

  .hashtag {
    margin-bottom: 2rem;
  }

  .text-block {
    text-align: left;
  }

  .cta-text {
    font-size: 1.08rem;
  }

  .social {
    gap: 0.7rem;
  }

  .social-btn {
    padding: 0.55rem 1.15rem;
    font-size: 0.84rem;
  }
}

@media (min-width: 901px) {
  .gallery {
    gap: 1.5rem;
  }
}
