:root {
  --bg: #000000;
  --text: #f5f5f5;
  --muted: rgba(255, 255, 255, 0.72);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
}

body {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

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

.hero {
  min-height: 100vh;
  overflow: hidden;
  background: #000;
  position: relative;
}

.hero__header {
  position: relative;
  z-index: 3;
  padding: 0;
}

.hero__logo-frame {
  width: 100%;
  max-width: 1600px;
  height: min(calc(100vw * 0.1075), 172px);
  overflow: hidden;
}

.hero__logo {
  display: block;
  width: 100%;
  max-width: 1600px;
  margin: 0;
}

.hero__subtext {
  position: relative;
  width: 100%;
  max-width: 1600px;
  height: clamp(16px, 1.6vw, 24px);
  margin-top: 0.55vw;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(0.92rem, 0.98vw, 1.12rem);
  letter-spacing: -0.04em;
  font-weight: 500;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.hero__subtext span {
  position: absolute;
  top: 0;
}

.hero__subtext span:nth-child(1) {
  left: 1.45vw;
}

.hero__subtext span:nth-child(2) {
  left: 24.1vw;
}

.hero__subtext span:nth-child(3) {
  left: 31.45vw;
}

.hero__stage {
  position: relative;
  min-height: calc(100vh - 10.1vw);
  padding: 0.75vw 1.2vw 0;
}

.hero__object-wrap {
  position: absolute;
  left: 0;
  top: 0;
  width: min(72vw, 1160px);
  min-height: 0;
  height: 0;
  perspective: 1400px;
  z-index: 1;
}

.hero__object-shell {
  position: absolute;
  left: 0.65vw;
  top: 8.2vw;
  width: min(68.7vw, 1100px);
  transform-style: preserve-3d;
  transition: transform 90ms ease-out;
  z-index: 2;
}

.hero__object {
  display: block;
  width: 100%;
  max-width: none;
  clip-path: inset(1.8% 1.8% 2.1% 1.8%);
  filter: drop-shadow(0 18px 34px rgba(90, 140, 220, 0.2));
  transform-origin: 34% 64%;
  transition: transform 90ms ease-out, filter 90ms ease-out;
  will-change: transform;
}

.hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  width: min(29vw, 430px);
  min-height: calc(100vh - 14.5vw);
  margin-left: auto;
  padding-top: 8.35vw;
  padding-right: 0.4vw;
  padding-bottom: 1.7vw;
  z-index: 3;
}

.hero__content h1 {
  margin: 0;
  text-align: right;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: clamp(2.12rem, 3.75vw, 4.1rem);
  line-height: 0.94;
  letter-spacing: -0.075em;
  font-weight: 450;
  color: rgba(255, 255, 255, 0.96);
}

.hero__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7.2vw;
}

.hero__stars {
  position: relative;
  width: 8.75vw;
  height: 7.45vw;
  min-width: 122px;
  min-height: 106px;
  margin-right: -0.05vw;
}

.hero__stars img {
  position: absolute;
  width: 3.05vw;
  min-width: 44px;
  image-rendering: pixelated;
}

.hero__stars img:nth-child(1) {
  top: 0.05vw;
  right: 0.15vw;
  filter: brightness(0) invert(1);
}

.hero__stars img:nth-child(2) {
  top: 0.05vw;
  right: 3.35vw;
}

.hero__stars img:nth-child(3) {
  top: 3.05vw;
  right: 0.15vw;
}

.hero__contact {
  text-align: right;
}

.hero__contact h2 {
  margin: 0 0 0.25rem;
  font-size: clamp(1.06rem, 1.42vw, 1.65rem);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 650;
}

.hero__contact p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.74rem, 0.76vw, 0.88rem);
  line-height: 1.22;
  font-weight: 400;
}

@media (max-width: 980px) {
  .hero__header {
    padding: 0;
  }

  .hero__logo {
    width: 100%;
  }

  .hero__subtext {
    height: 18px;
    margin-top: 6px;
    font-size: 0.86rem;
  }

  .hero__subtext span:nth-child(1) {
    left: 14px;
  }

  .hero__subtext span:nth-child(2) {
    left: 29.5vw;
  }

  .hero__subtext span:nth-child(3) {
    left: 39.5vw;
  }

  .hero__stage {
    position: static;
    padding: 18px 14px 28px;
  }

  .hero__object-wrap {
    position: relative;
    width: auto;
    min-height: auto;
    height: auto;
    order: 2;
    margin-top: 22px;
  }

  .hero__object-shell {
    position: static;
    width: min(103vw, 760px);
    margin-left: -10vw;
  }

  .hero__object {
    width: 100%;
  }

  .hero__content {
    align-items: flex-start;
    justify-content: flex-start;
    width: auto;
    min-height: auto;
    margin-left: 0;
    padding-top: 18px;
    padding-right: 0;
    padding-bottom: 0;
  }

  .hero__content h1 {
    text-align: left;
    font-size: clamp(2.4rem, 12vw, 4.5rem);
    font-weight: 500;
  }

  .hero__meta {
    align-items: flex-start;
    gap: 28px;
    margin-top: 24px;
  }

  .hero__stars {
    width: 122px;
    height: 106px;
    margin-right: 0;
  }

  .hero__stars img {
    width: 44px;
  }

  .hero__stars img:nth-child(1) {
    top: 1px;
    right: 4px;
    filter: brightness(0) invert(1);
  }

  .hero__stars img:nth-child(2) {
    top: 1px;
    right: 52px;
  }

  .hero__stars img:nth-child(3) {
    top: 47px;
    right: 4px;
  }

  .hero__contact {
    text-align: left;
  }
}
