@charset "UTF-8";
/* CSS Document */

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

body {
  background: #000;
  color: #fff;
  font-family: "Inter", sans-serif;
}

.page {
  min-height: 100vh;
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.topbar,
.footer {
  font-size: 14px;
}

.topbar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  color: rgba(255,255,255,.65);
}

.topbar p:nth-child(2) {
  text-align: center;
}

.topbar p:nth-child(3) {
  text-align: right;
}

.hero {
  max-width: 1200px;
  margin: 12vh auto 0;
}

.intro {
  font-size: clamp(32px, 3.2vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.055em;
  font-weight: 500;
}

.hover-word,
.text-link {
  cursor: pointer;
  color: rgba(255,255,255,.9);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.28);
  transition: color .2s ease, border-color .2s ease;
}

.hover-word:hover,
.text-link:hover {
  color: #fff;
  border-bottom-color: rgba(255,255,255,.85);
}

.footer {
  margin-top: auto;
  padding-top: 120px;
  display: flex;
  gap: 24px;
}

.footer a {
  color: rgba(255,255,255,.65);
  text-decoration: none;
}

.footer a:hover {
  color: #fff;
}

#hover-image {
  position: fixed;
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
  transition: opacity .22s ease;
}

#hover-image.visible {
  opacity: 1;
}

#hover-preview {
  width: 520px;
  max-width: 42vw;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 2px;
}

#hover-image.top-right {
  top: 60px;
  right: 60px;
}

#hover-image.top-left {
  top: 60px;
  left: 60px;
}

#hover-image.bottom-left {
  bottom: 60px;
  left: 60px;
}

#hover-image.bottom-right {
  bottom: 60px;
  right: 60px;
}

#hover-image.center-right {
  top: 50%;
  right: 60px;
  transform: translateY(-50%);
}

@media (max-width: 900px) {
  .page {
    padding: 20px;
  }

  .topbar {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .topbar p,
  .topbar p:nth-child(2),
  .topbar p:nth-child(3) {
    text-align: left;
  }

  .hero {
    margin-top: 10vh;
  }

  .intro {
    font-size: clamp(28px, 8vw, 48px);
    line-height: 1.08;
  }

  #hover-image {
    display: none;
  }

  .footer {
    padding-top: 80px;
  }
}

.footer {
  margin-top: auto;
  padding-top: 120px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: rgba(255,255,255,.65);
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.footer-note {
  color: rgba(255,255,255,.45);
  font-size: 14px;
}