:root {
  --ink: #171414;
  --muted: #6d6866;
  --line: #e7e1dc;
  --paper: #fffdf9;
  --cream: #f6efe5;
  --green: #2b9b55;
  --green-dark: #1f7040;
  --charcoal: #231f20;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif;
  line-height: 1.68;
  letter-spacing: 0;
}

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

p,
h1,
h2,
h3,
dl,
dd {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(28px, calc((100vw - 1180px) / 2));
  background: rgba(255, 253, 249, 0.9);
  border-bottom: 1px solid rgba(35, 31, 32, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  width: 154px;
  min-width: 132px;
}

.brand img,
.footer img {
  display: block;
  width: 100%;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
}

.nav a {
  position: relative;
  padding: 8px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.hero {
  min-height: calc(100svh - 78px);
  padding: 68px max(24px, calc((100vw - 1180px) / 2)) 40px;
  display: grid;
  align-content: center;
  gap: 46px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.76fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.overline,
.label,
.section-title p {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin-top: 32px;
  max-width: 680px;
  font-size: 62px;
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-korean {
  margin-top: 26px;
  max-width: 560px;
  color: var(--muted);
  font-size: 19px;
  font-weight: 650;
  word-break: keep-all;
}

.hero-showcase {
  position: relative;
  align-self: stretch;
  display: grid;
  align-content: center;
  min-height: 410px;
}

.hero-showcase::before {
  content: "";
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  right: -18%;
  top: 2%;
  border-radius: 50%;
  background: color-mix(in srgb, var(--green) 9%, transparent);
}

.showcase-image {
  position: relative;
  z-index: 1;
  min-height: 360px;
  padding: 46px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 72% 28%, rgba(41, 157, 84, 0.1), transparent 42%),
    linear-gradient(180deg, rgba(255, 253, 249, 0.94), rgba(246, 239, 229, 0.72));
  box-shadow: 0 20px 46px rgba(35, 31, 32, 0.08);
}

.showcase-logo {
  position: relative;
  z-index: 1;
  display: block;
  width: min(330px, 82%);
  height: auto;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--charcoal);
  border-bottom: 1px solid var(--line);
}

.stats div {
  min-width: 0;
  padding: 20px 24px 22px 0;
  border-right: 1px solid var(--line);
}

.stats div + div {
  padding-left: 26px;
}

.stats div:last-child {
  border-right: 0;
}

.stats strong {
  display: block;
  font-size: 38px;
  line-height: 1;
  font-weight: 800;
}

.stats span {
  display: block;
  margin-top: 10px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
}

.stats p {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
  word-break: keep-all;
}

.section {
  padding: 118px max(24px, calc((100vw - 1180px) / 2));
}

.studio-section {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: clamp(34px, 7vw, 110px);
  background: var(--cream);
}

.section-index {
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.studio-copy h2 {
  max-width: 940px;
  font-size: 54px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0;
  word-break: keep-all;
}

.studio-copy p {
  margin-top: 28px;
  max-width: 760px;
  color: var(--muted);
  font-size: 20px;
  font-weight: 750;
  word-break: keep-all;
}

.section-title {
  margin-bottom: 46px;
}

.section-title h2 {
  margin-top: 8px;
  font-size: 64px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
}

.games-section {
  background: var(--paper);
}

.game-feature {
  display: grid;
  grid-template-columns: 120px minmax(280px, 0.7fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.game-number {
  align-self: start;
  color: var(--green);
  font-size: 76px;
  line-height: 0.85;
  font-weight: 800;
}

.game-copy h3 {
  margin-top: 10px;
  font-size: 62px;
  line-height: 1;
  font-weight: 800;
}

.game-copy > p:not(.label) {
  margin-top: 24px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 750;
  word-break: keep-all;
}

.game-meta {
  margin-top: 34px;
  border-top: 2px solid var(--charcoal);
}

.game-meta div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.game-meta dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 950;
}

.game-meta dd {
  font-weight: 950;
}

.game-image {
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
  aspect-ratio: 16 / 10;
  isolation: isolate;
}

.game-image .feature-shot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  filter: saturate(1.16) contrast(1.08) brightness(0.9);
}

.game-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(4, 8, 14, 0.58), rgba(8, 18, 28, 0.08) 48%, rgba(4, 8, 14, 0.34)),
    radial-gradient(circle at 72% 34%, rgba(255, 95, 74, 0.3), transparent 32%),
    radial-gradient(circle at 32% 78%, rgba(41, 157, 84, 0.2), transparent 30%);
  pointer-events: none;
}

.game-image::before {
  content: "";
  position: absolute;
  inset: -16% -12%;
  z-index: 3;
  background:
    linear-gradient(116deg, transparent 33%, rgba(255, 104, 75, 0.74) 34%, rgba(255, 104, 75, 0) 39%),
    linear-gradient(124deg, transparent 48%, rgba(255, 218, 127, 0.72) 49%, rgba(255, 218, 127, 0) 53%),
    linear-gradient(132deg, transparent 60%, rgba(120, 75, 255, 0.46) 61%, rgba(120, 75, 255, 0) 66%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.game-boss,
.game-character,
.game-beast {
  position: absolute;
  display: block;
  max-width: none;
  height: auto;
  pointer-events: none;
}

.game-boss {
  z-index: 2;
  right: -16%;
  bottom: -26%;
  width: 88%;
  filter: drop-shadow(0 28px 34px rgba(0, 0, 0, 0.55));
}

.game-character {
  z-index: 4;
  left: 5%;
  bottom: -4%;
  width: 32%;
  filter: drop-shadow(0 20px 24px rgba(0, 0, 0, 0.46));
}

.game-beast {
  z-index: 3;
  left: 28%;
  bottom: -19%;
  width: 34%;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.4));
}

.game-promo {
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: 7%;
  z-index: 5;
  display: grid;
  gap: 4px;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
  pointer-events: none;
}

.game-promo span {
  color: #80d49d;
  font-size: 11px;
  font-weight: 950;
}

.game-promo strong {
  font-size: 24px;
  line-height: 1.05;
  font-weight: 900;
}

.values-section {
  background: var(--charcoal);
  color: #fff;
}

.values-section .section-title p {
  color: #80d49d;
}

.value-list {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.value-list article {
  display: grid;
  grid-template-columns: 110px minmax(220px, 0.5fr) minmax(260px, 1fr);
  gap: 30px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  align-items: baseline;
}

.value-list span {
  color: #80d49d;
  font-size: 26px;
  font-weight: 950;
}

.value-list h3 {
  font-size: 38px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0;
}

.value-list p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  font-weight: 750;
  word-break: keep-all;
}

.history-section {
  background: var(--paper);
}

.timeline {
  max-width: 820px;
  border-top: 2px solid var(--charcoal);
}

.timeline div {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 30px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.timeline time {
  font-size: 30px;
  line-height: 1;
  font-weight: 950;
}

.timeline p {
  color: var(--muted);
  font-size: 18px;
  font-weight: 800;
  word-break: keep-all;
}

.company-section {
  background: var(--cream);
}

.company-table {
  max-width: 780px;
  border-top: 2px solid var(--charcoal);
  background: var(--paper);
}

.company-table div {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 22px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.company-table dt {
  color: var(--muted);
  font-weight: 950;
}

.company-table dd {
  font-weight: 950;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.footer {
  padding: 50px 24px;
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.footer img {
  width: min(220px, 62vw);
}

.footer span {
  color: var(--muted);
  font-weight: 900;
}

.footer small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

@media (max-width: 940px) {
  .site-header {
    height: auto;
    min-height: 72px;
    padding: 14px 18px;
  }

  .brand {
    width: 142px;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: calc(100svh - 72px);
    padding: 56px 18px 28px;
  }

  .hero-grid,
  .game-feature,
  .studio-section {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 52px;
  }

  .hero-showcase {
    min-height: 0;
  }

  .showcase-image {
    min-height: 260px;
    padding: 34px;
  }

  .showcase-logo {
    width: min(260px, 86%);
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .stats div,
  .stats div + div {
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stats div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 82px 18px;
  }

  .section-index {
    writing-mode: horizontal-tb;
  }

  .studio-copy h2,
  .section-title h2 {
    font-size: 42px;
  }

  .game-copy h3 {
    font-size: 48px;
  }

  .game-image {
    aspect-ratio: 16 / 10.5;
  }

  .game-boss {
    right: -24%;
    bottom: -22%;
    width: 92%;
  }

  .game-character {
    left: 3%;
    bottom: -2%;
    width: 30%;
  }

  .game-beast {
    left: 24%;
    bottom: -18%;
    width: 34%;
  }

  .game-promo {
    left: 5%;
    bottom: 8%;
  }

  .game-promo span {
    font-size: 9px;
  }

  .game-promo strong {
    font-size: 18px;
  }

  .game-number {
    display: none;
  }

  .value-list article {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .timeline div,
  .company-table div,
  .game-meta div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: 38px;
  }

  .hero-korean,
  .studio-copy p,
  .game-copy > p:not(.label),
  .value-list p,
  .timeline p {
    font-size: 16px;
  }

  .game-promo strong {
    font-size: 16px;
  }

}
