:root {
  color-scheme: dark;
  --ink: #f8f3ea;
  --muted: rgba(248, 243, 234, 0.7);
  --accent: #b54a32;
  --line: rgba(255, 255, 255, 0.22);
  --header-h: 82px;
  --gutter: clamp(32px, 7vw, 132px);
  font-family: Pretendard, "Pretendard Variable", "Noto Sans KR", "Apple SD Gothic Neo", system-ui, sans-serif;
  background: #0b0a09;
}

* {
  box-sizing: border-box;
}

html {
  background: #0b0a09;
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-width: 1080px;
  color: var(--ink);
  background: #0b0a09;
  overflow-x: hidden;
}

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

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(6, 6, 5, 0.64), rgba(6, 6, 5, 0.08));
  backdrop-filter: blur(8px);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 202px;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(28px, 3.2vw, 58px);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.site-nav a {
  position: relative;
  padding: 30px 0 27px;
  color: rgba(255, 255, 255, 0.78);
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-current {
  color: #fff;
}

.site-nav a.is-current::after {
  content: "";
  position: absolute;
  inset: auto 0 19px;
  height: 2px;
  background: var(--accent);
}

.scroll-world {
  position: relative;
  background: #0b0a09;
}

.world-stage {
  position: sticky;
  z-index: 2;
  top: 0;
  height: 100vh;
  min-height: 680px;
  overflow: hidden;
  isolation: isolate;
  background: #0b0a09;
}

.world-track {
  position: relative;
  z-index: 1;
  height: calc(6 * 165vh);
  margin-top: -100vh;
  pointer-events: none;
}

.track-segment {
  height: 165vh;
}

.scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  overflow: hidden;
  will-change: opacity;
  pointer-events: none;
}

.scene.is-active {
  opacity: 1;
  pointer-events: auto;
}

.scene > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.025);
  filter: saturate(0.94) contrast(1.03);
  will-change: transform;
}

.scene-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.scene--copy-left .scene-shade {
  background:
    linear-gradient(90deg, rgba(5, 5, 4, 0.7) 0%, rgba(5, 5, 4, 0.28) 31%, rgba(5, 5, 4, 0) 58%),
    linear-gradient(180deg, rgba(5, 5, 4, 0.22), transparent 27%, transparent 74%, rgba(5, 5, 4, 0.22));
}

.scene--copy-right .scene-shade {
  background:
    linear-gradient(270deg, rgba(5, 5, 4, 0.66) 0%, rgba(5, 5, 4, 0.25) 32%, rgba(5, 5, 4, 0) 60%),
    linear-gradient(180deg, rgba(5, 5, 4, 0.22), transparent 27%, transparent 74%, rgba(5, 5, 4, 0.22));
}

.scene-copy {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: var(--gutter);
  width: min(650px, 45vw);
  transform: translate3d(0, calc(-50% + 34px), 0);
  opacity: 0;
  filter: blur(8px);
  will-change: transform, opacity, filter;
  pointer-events: none;
}

.scene--copy-right .scene-copy {
  right: var(--gutter);
  left: auto;
  width: min(610px, 42vw);
}

.scene-copy.is-visible {
  pointer-events: auto;
}

.scene-kicker,
.scene-note {
  margin: 0;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.scene-kicker {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #d3684d;
}

.scene-kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.scene h1,
.scene h2 {
  margin: 28px 0 25px;
  color: #fff;
  font-size: clamp(48px, 4.25vw, 78px);
  line-height: 1.12;
  font-weight: 760;
  letter-spacing: -0.055em;
  text-wrap: balance;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.24);
}

.scene h1 span,
.scene h2 span {
  display: block;
}

.scene-body {
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.18vw, 21px);
  line-height: 1.72;
  font-weight: 430;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.25);
}

.scene-note {
  margin-top: 40px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 10px;
}

.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 54px;
  min-width: 258px;
  margin-top: 38px;
  padding: 18px 20px 18px 23px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-size: 15px;
  font-weight: 720;
  letter-spacing: -0.025em;
  backdrop-filter: blur(12px);
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.primary-cta span {
  color: #d3684d;
  font-size: 20px;
}

.primary-cta:hover,
.primary-cta:focus-visible {
  color: #19130f;
  background: #f5eee5;
  border-color: #f5eee5;
  transform: translateY(-2px);
}

.scroll-progress {
  position: fixed;
  z-index: 120;
  inset: 0 0 auto;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.route-nav {
  position: absolute;
  z-index: 12;
  top: 50%;
  right: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transform: translateY(-50%);
}

.route-nav button {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 0;
  border: 0;
  color: rgba(255, 255, 255, 0.36);
  background: none;
  font: inherit;
  cursor: pointer;
}

.route-nav button span {
  opacity: 0;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: -0.01em;
  transform: translateX(8px);
  transition: opacity 180ms ease, transform 180ms ease, color 180ms ease;
}

.route-nav button i {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.18);
  transition: width 180ms ease, border-radius 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.route-nav button:hover span,
.route-nav button:focus-visible span,
.route-nav button.is-active span {
  opacity: 1;
  color: #fff;
  transform: translateX(0);
}

.route-nav button.is-active i {
  width: 24px;
  border-radius: 999px;
  color: var(--accent);
  box-shadow: 0 0 0 5px rgba(181, 74, 50, 0.12);
}

.scene-index {
  position: absolute;
  z-index: 11;
  right: var(--gutter);
  bottom: 37px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.scene-index i {
  width: 50px;
  height: 1px;
  background: rgba(255, 255, 255, 0.28);
}

.scene-index-current {
  color: #fff;
}

.scroll-hint {
  position: absolute;
  z-index: 11;
  left: 50%;
  bottom: 33px;
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  transform: translateX(-50%);
  transition: opacity 220ms ease;
}

.scroll-hint span {
  position: relative;
  width: 1px;
  height: 36px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
}

.scroll-hint span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  transform: translateY(-100%);
  animation: scroll-line 1.8s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

@keyframes scroll-line {
  0% { transform: translateY(-100%); }
  55%, 100% { transform: translateY(100%); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .scene > img,
  .scene-copy {
    transform: none !important;
    filter: none !important;
  }
}

@media (max-width: 1100px) {
  :root {
    --gutter: 46px;
  }

  .site-nav {
    gap: 24px;
  }

  .scene h1,
  .scene h2 {
    font-size: 50px;
  }
}
