:root {
  color-scheme: light;
  --black: #050509;
  --ink: #111116;
  --text: #1d1d24;
  --sub: #6d6e78;
  --line: rgba(17, 17, 22, 0.14);
  --line-dark: rgba(255, 255, 255, 0.18);
  --violet: #6d5df6;
  --yellow: #ffd84a;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html.has-scroll-smooth {
  overflow: hidden;
}

html.has-scroll-dragging {
  user-select: none;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--white);
  color: var(--text);
  font-family: Inter, Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

[data-scroll-container] {
  min-height: 100vh;
}

.c-scrollbar {
  z-index: 50;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

main,
section,
.hero-copy,
.experience-panel,
.system-section,
.system-list,
.site-footer {
  min-width: 0;
}

.site-header {
  position: fixed;
  top: 28px;
  left: 50%;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(28px, 4vw, 58px);
  width: min(calc(100% - 32px), 970px);
  min-height: 66px;
  padding: 10px 16px;
  color: var(--white);
  background: rgba(46, 40, 37, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.has-scroll-smooth .site-header {
  position: fixed;
}

.brand,
.site-header nav,
.site-footer,
.site-footer nav,
.closing-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 16px;
  font-weight: 950;
  white-space: nowrap;
}

.brand img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.site-header nav {
  justify-content: center;
  gap: clamp(18px, 3vw, 36px);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-cta,
.closing-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 17px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.header-cta {
  background: var(--white);
  color: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
  background: var(--black);
  text-align: center;
}

.hero-bg,
.hero::after {
  position: absolute;
  inset: 0;
  content: "";
}

.hero-bg {
  background:
    radial-gradient(circle at 20% 16%, rgba(255, 255, 255, 0.28) 0 1px, transparent 2px),
    radial-gradient(circle at 78% 23%, rgba(255, 216, 74, 0.5) 0 1px, transparent 2px),
    radial-gradient(circle at 38% 74%, rgba(109, 93, 246, 0.48) 0 1px, transparent 2px),
    radial-gradient(circle at 72% 72%, rgba(255, 255, 255, 0.28) 0 1px, transparent 2px),
    linear-gradient(120deg, rgba(109, 93, 246, 0.1), transparent 36%),
    var(--black);
  background-size: 280px 280px, 360px 360px, 420px 420px, 230px 230px, auto, auto;
  opacity: 0.8;
}

.hero::after {
  background:
    linear-gradient(180deg, rgba(5, 5, 9, 0.08), rgba(5, 5, 9, 0.92)),
    radial-gradient(circle at 50% 48%, transparent 0 24%, rgba(5, 5, 9, 0.74) 78%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, 780px);
  transform: translateY(5vh);
}

.section-kicker,
.experience-panel span,
.system-list span {
  margin-bottom: 18px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 520px;
  margin: 0 auto;
  color: var(--white);
  font-size: clamp(13px, 1.15vw, 18px);
  font-weight: 780;
  line-height: 1.6;
  letter-spacing: 0.08em;
  text-wrap: balance;
}

.scroll-cue {
  position: absolute;
  right: clamp(24px, 5vw, 72px);
  bottom: 34px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.scroll-cue::after {
  display: block;
  width: 1px;
  height: 44px;
  margin: 12px auto 0;
  background: rgba(255, 255, 255, 0.5);
  content: "";
}

.experience-showcase {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.showcase-intro,
.experience-panel,
.system-section,
.closing-section,
.site-footer {
  padding-right: clamp(20px, 6vw, 92px);
  padding-left: clamp(20px, 6vw, 92px);
}

.showcase-intro {
  display: grid;
  align-content: center;
  min-height: 92vh;
  padding-top: clamp(120px, 13vw, 180px);
  padding-bottom: clamp(64px, 10vw, 120px);
}

[data-scroll] {
  opacity: 0;
  transform: translate3d(0, 56px, 0);
  transition:
    opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

[data-scroll].is-inview,
[data-scroll].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.showcase-intro h2,
.system-section h2,
.closing-section h2 {
  max-width: 1080px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(42px, 6.4vw, 104px);
  font-weight: 930;
  line-height: 0.98;
  text-wrap: balance;
}

.experience-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(22px, 6vw, 96px);
  min-height: 94vh;
  padding-top: clamp(64px, 9vw, 120px);
  padding-bottom: clamp(64px, 9vw, 120px);
  border-top: 1px solid var(--line);
}

.experience-panel:nth-of-type(even) {
  background: var(--black);
  color: var(--white);
}

.experience-panel:nth-of-type(even) h3 {
  color: var(--white);
}

.experience-panel:nth-of-type(even) p {
  color: rgba(255, 255, 255, 0.68);
}

.experience-panel h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(58px, 9.2vw, 142px);
  font-weight: 950;
  line-height: 0.9;
  letter-spacing: 0;
}

.experience-panel p {
  max-width: 760px;
  margin: 0;
  color: var(--sub);
  font-size: clamp(24px, 3vw, 48px);
  font-weight: 850;
  line-height: 1.18;
  text-wrap: balance;
}

.experience-panel > img {
  display: none;
}

.floating-preview {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 4;
  width: clamp(250px, 23vw, 380px);
  aspect-ratio: 0.72;
  overflow: hidden;
  background: var(--black);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-999px, -999px, 0);
  transition: opacity 180ms ease;
  will-change: transform, opacity;
}

.floating-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 180ms ease;
}

.floating-preview span {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 10px;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.system-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(40px, 8vw, 128px);
  padding-top: clamp(96px, 13vw, 180px);
  padding-bottom: clamp(96px, 13vw, 180px);
  border-top: 1px solid var(--line);
}

.system-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.system-list li {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.system-list strong {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: clamp(24px, 2.6vw, 38px);
  font-weight: 930;
}

.system-list p {
  margin-bottom: 0;
  color: var(--sub);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.7;
}

.closing-section {
  padding-top: clamp(96px, 12vw, 170px);
  padding-bottom: clamp(96px, 12vw, 170px);
  color: var(--white);
  background: var(--black);
}

.closing-section h2 {
  max-width: 920px;
  color: var(--white);
}

.closing-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.closing-actions a:first-child {
  border: 1px solid var(--line-dark);
  color: var(--white);
}

.closing-actions a:last-child {
  background: var(--white);
  color: var(--ink);
}

.site-footer {
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding-top: 34px;
  padding-bottom: 34px;
  border-top: 1px solid var(--line);
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 950;
}

.site-footer p {
  margin-bottom: 0;
  color: var(--sub);
  font-weight: 800;
}

.site-footer address {
  display: grid;
  gap: 6px;
  max-width: 520px;
  color: var(--sub);
  font-style: normal;
  line-height: 1.55;
}

.site-footer nav {
  gap: 14px;
  color: var(--ink);
  font-weight: 900;
}

@media (max-width: 960px) {
  html.has-scroll-smooth,
  body {
    overflow-x: hidden;
  }

  html.has-scroll-smooth {
    overflow-y: auto;
  }

  .site-header {
    top: 12px;
    grid-template-columns: auto auto;
    width: calc(100% - 24px);
    min-height: 58px;
    padding: 10px 12px;
  }

  .site-header nav {
    display: none;
  }

  .brand img {
    width: 30px;
    height: 30px;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 14px;
    font-size: 13px;
  }

  .hero-copy {
    transform: translateY(2vh);
  }

  .hero {
    min-height: 82svh;
  }

  .hero h1 {
    font-size: 14px;
    line-height: 1.7;
  }

  .scroll-cue {
    display: none;
  }

  .showcase-intro {
    min-height: 70vh;
    padding-top: 120px;
  }

  .showcase-intro h2,
  .system-section h2,
  .closing-section h2 {
    font-size: clamp(38px, 11vw, 58px);
  }

  .experience-panel,
  .system-section {
    grid-template-columns: 1fr;
  }

  .experience-panel {
    min-height: 88vh;
  }

  .experience-panel h3 {
    font-size: clamp(48px, 15vw, 78px);
  }

  .experience-panel p {
    font-size: clamp(24px, 7vw, 38px);
  }

  .floating-preview {
    display: none;
  }

  .experience-panel > img {
    display: block;
    width: min(100%, 290px);
    margin-top: 34px;
    border: 8px solid #15151d;
    border-radius: 28px;
    box-shadow: 0 24px 64px rgba(5, 5, 9, 0.2);
  }

  .experience-panel:nth-of-type(even) > img {
    border-color: rgba(255, 255, 255, 0.14);
  }

  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
