:root {
  --bg: #080b12;
  --panel: #171b24;
  --ink: #edf0f6;
  --muted: #b3bac7;
  --line: #343b4a;
  --accent: #9ab4d5;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

:lang(ko) body,
:lang(ko) button,
:lang(ko) input {
  font-family:
    "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
}

:lang(ko) .hero-question,
:lang(ko) .hero-desc,
:lang(ko) h2,
:lang(ko) .body {
  letter-spacing: -0.025em;
  word-break: keep-all;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
.topbar {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(5%, calc((100vw - 1280px) / 2));
  position: absolute;
  z-index: 5;
  width: 100%;
  border-bottom: 1px solid #ffffff18;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.brandmark {
  font-size: 27px;
  letter-spacing: 0.18em;
  font-weight: 600;
}
.dot {
  color: #9ab4d5;
}
.brandline {
  font-size: 9px;
  letter-spacing: 0.28em;
  color: #aeb9cc;
}
.topbar nav {
  display: flex;
  gap: 32px;
}
.topbar nav a,
.lang {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: #c0c7d4;
}
.topbar nav a:hover {
  color: white;
}
.lang {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lang button {
  border: 0;
  background: none;
  color: #8c98aa;
  padding: 6px;
}
.lang button.active {
  color: white;
  border-bottom: 1px solid white;
}
.hero {
  height: min(900px, 100svh);
  min-height: 690px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: radial-gradient(
    ellipse at 52% 55%,
    #142339 0%,
    #0a101d 30%,
    #070a12 72%
  );
}
.cosmos {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.86;
}
.halo {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%) rotate(-23deg);
  width: min(78vw, 840px);
  height: min(48vw, 510px);
  border-radius: 50%;
  filter: blur(35px);
  background: conic-gradient(
    from 40deg,
    transparent 0deg,
    #375c87 50deg,
    transparent 100deg,
    #4c6380 150deg,
    transparent 210deg,
    #4b3654 260deg,
    transparent 320deg
  );
}
.halo-b {
  transform: translate(-50%, -50%) rotate(48deg);
  width: min(65vw, 730px);
  height: min(40vw, 430px);
  opacity: 0.5;
  filter: blur(55px);
}
.core {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    #edf3f4 0%,
    #b6d2e2 2%,
    #4d7898 9%,
    #1b3653 24%,
    #0b1525 48%,
    transparent 70%
  );
  filter: blur(18px);
  opacity: 0.5;
}
.orbit {
  position: absolute;
  left: 50%;
  top: 48%;
  width: min(77vw, 850px);
  height: min(39vw, 440px);
  border: 1px solid #a2c4e124;
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-24deg);
}
.orbit-b {
  transform: translate(-50%, -50%) rotate(43deg);
  width: min(58vw, 660px);
  height: min(30vw, 330px);
}
.stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(#c9d5ec88 0.6px, transparent 0.9px),
    radial-gradient(#c9d5ec66 0.6px, transparent 0.9px);
  background-size:
    89px 101px,
    131px 113px;
  background-position:
    17px 20px,
    49px 70px;
  mask-image: linear-gradient(
    to bottom,
    transparent 4%,
    black 30%,
    black 70%,
    transparent 100%
  );
  opacity: 0.38;
}
.hero:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 260px;
  background: linear-gradient(transparent, #151922);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 110px 20px 80px;
  max-width: 800px;
}
.eyebrow,
.kicker {
  font-size: 11px;
  letter-spacing: 0.28em;
  color: #aab8cd;
  font-weight: 600;
}
.hero h1 {
  font-weight: 400;
  line-height: 0.94;
  font-size: clamp(74px, 11vw, 158px);
  letter-spacing: 0.075em;
  margin: 30px 0;
}
.hero h1 em {
  font-size: 0.41em;
  font-style: normal;
  letter-spacing: 0.35em;
  font-weight: 300;
  margin-left: 0.28em;
}
.hero-question {
  font-size: clamp(19px, 2.4vw, 29px);
  font-family: Georgia, serif;
  line-height: 1.45;
  margin: 36px 0 15px;
}
.hero-desc {
  max-width: 540px;
  margin: 0 auto 35px;
  font-size: 15px;
  line-height: 1.75;
  color: #c6ccd7;
}
.primary {
  display: inline-flex;
  gap: 36px;
  align-items: center;
  border: 1px solid #d1d8e580;
  padding: 17px 24px;
  font-size: 11px;
  letter-spacing: 0.19em;
  transition: 0.3s;
}
.primary:hover {
  background: #e9edf5;
  color: #101724;
}
.scroll-note {
  position: absolute;
  bottom: 30px;
  z-index: 2;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #aeb8c6;
}
.section-inner {
  max-width: 1160px;
  margin: auto;
  padding: 110px 32px;
}
.story {
  background: linear-gradient(#151922, #1b202a);
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12%;
}
h2 {
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.13;
  margin: 23px 0 30px;
}
p.body {
  color: #c3c9d4;
  font-size: 17px;
  line-height: 1.85;
  max-width: 560px;
}
.dialogue {
  padding: 35px 40px;
  background: #ffffff06;
  border: 1px solid #ffffff19;
  align-self: center;
}
.quote {
  font-family: Georgia, serif;
  font-size: 19px;
  line-height: 1.5;
}
.quote p {
  margin: 16px 0;
}
.ellipsis {
  color: #a4b7d1;
  letter-spacing: 0.5em;
}
.source,
.small {
  color: #9ba7b8;
  font-size: 12px;
  line-height: 1.6;
}
.volumes {
  background: #191d26;
}
.volume-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 60px;
}
.volume {
  min-height: 420px;
  padding: 30px;
  background: linear-gradient(155deg, #242b39, #141923);
  border: 1px solid #ffffff1a;
  display: flex;
  flex-direction: column;
}
.volume.featured {
  background: radial-gradient(
    ellipse at 50% 20%,
    #32445c,
    #1b2432 52%,
    #141923
  );
}
.volume.muted {
  opacity: 0.78;
}
.symbol {
  font-family: Georgia, serif;
  font-size: 100px;
  font-weight: 400;
  line-height: 1.2;
  color: #d6e2f0;
}
.volnum,
.volfooter,
.soon,
.index {
  font-size: 10px;
  letter-spacing: 0.19em;
  color: #a7b6c9;
}
.volume h3 {
  font-size: 22px;
  letter-spacing: 0.02em;
  font-weight: 500;
  line-height: 1.3;
  margin: 14px 0;
}
.volume p:not(.volnum) {
  font-size: 14px;
  line-height: 1.8;
  color: #bec7d5;
}
.volfooter {
  margin-top: auto;
  padding-top: 30px;
}
.sound {
  background: linear-gradient(130deg, #141b25, #20242d);
}
.sound-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  align-items: center;
}
.player {
  background: #111824;
  border: 1px solid #ffffff22;
  overflow: hidden;
}
.player-art {
  height: 200px;
  background: radial-gradient(ellipse at 50% 20%, #3b4d60, #141b26 70%);
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  overflow: hidden;
}
.rainline {
  height: 100px;
  width: 1px;
  background: linear-gradient(transparent, #afc2d988, transparent);
  transform: rotate(13deg);
  box-shadow:
    50px 5px 0 #adc0d333,
    -40px 20px 0 #adc0d333;
}
.rainline:nth-child(2) {
  height: 150px;
}
.rainline:nth-child(3) {
  height: 75px;
}
.rainline:nth-child(4) {
  height: 120px;
}
.player-details {
  padding: 28px;
}
.player h3 {
  font-size: 25px;
  font-family: Georgia, serif;
  font-weight: 400;
  margin: 8px 0;
}
.player-controls {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
}
.play {
  height: 48px;
  width: 48px;
  border-radius: 50%;
  border: 1px solid #c4d2e4;
  background: transparent;
  color: white;
}
.progress {
  flex: 1;
}
input[type="range"] {
  width: 100%;
  accent-color: #c5d5e8;
}
.times {
  display: flex;
  justify-content: space-between;
  color: #98a6b9;
  font-size: 11px;
}
.universe {
  background: #1b2029;
}
.universe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 50px;
}
.universe-card {
  padding: 32px;
  border-top: 1px solid #70839d66;
  background: #ffffff04;
  min-height: 270px;
  display: flex;
  flex-direction: column;
}
.universe-card h3 {
  font-weight: 500;
  font-size: 23px;
}
.universe-card p {
  font-size: 14px;
  line-height: 1.8;
  color: #bfc7d3;
}
.soon {
  margin-top: auto;
}
.end {
  background: radial-gradient(ellipse at 50% 100%, #26364b, #0b101a 70%);
  text-align: center;
}
.end .section-inner {
  max-width: 880px;
  padding-top: 135px;
  padding-bottom: 135px;
}
.end h2 {
  font-family: Georgia, serif;
  line-height: 1.35;
}
.end p:last-child {
  color: #aab6c7;
  font-size: 13px;
}
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 34px 5%;
  gap: 20px;
  background: #080b12;
  border-top: 1px solid #ffffff18;
  color: #9daabc;
  font-size: 11px;
}
footer strong {
  font-size: 20px;
  color: #e8eef8;
  letter-spacing: 0.18em;
}
footer div span {
  font-size: 9px;
  letter-spacing: 0.18em;
  margin-left: 12px;
}
footer a {
  letter-spacing: 0.12em;
}
.footer-piebald {
  color: #c7dbf0;
  letter-spacing: 0.08em;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-piebald:hover {
  color: #fff;
}
.footer-separator {
  margin: 0 5px;
}
@media (max-width: 800px) {
  .topbar {
    padding: 0 20px;
    height: 65px;
  }
  .topbar nav {
    display: none;
  }
  .hero {
    min-height: 680px;
    height: 100svh;
  }
  .hero h1 {
    font-size: clamp(65px, 14vw, 100px);
  }
  .hero h1 em {
    letter-spacing: 0.22em;
  }
  .hero-desc {
    font-size: 14px;
  }
  .section-inner {
    padding: 75px 24px;
  }
  .story-grid,
  .sound-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .dialogue {
    padding: 22px;
  }
  .volume-grid,
  .universe-grid {
    grid-template-columns: 1fr;
  }
  .volume {
    min-height: 340px;
  }
  .volume .symbol {
    font-size: 75px;
  }
  .universe-card {
    min-height: 220px;
  }
  footer {
    flex-wrap: wrap;
  }
  .hero .halo {
    width: 110vw;
    height: 70vw;
  }
}
