:root {
  color-scheme: dark;
  --bg: #050706;
  --panel: #0a0f0d;
  --panel-soft: #101612;
  --text: #f2efe4;
  --muted: #a9aca2;
  --line: rgba(242, 239, 228, 0.14);
  --yellow: #d0a125;
  --green: #43af70;
  --red: #9e2334;
  --shadow: rgba(0, 0, 0, 0.78);
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(67, 175, 112, 0.14), transparent 30rem),
    linear-gradient(180deg, #020303 0%, var(--bg) 46%, #080b09 100%);
  color: var(--text);
  overflow-wrap: anywhere;
}

html[lang="ko"] body,
html[lang="ja"] body,
html[lang="zh"] body {
  line-break: strict;
  overflow-wrap: break-word;
  word-break: keep-all;
}

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

a {
  color: inherit;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  opacity: 0.16;
  mix-blend-mode: screen;
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.06) 0,
      rgba(255, 255, 255, 0.06) 1px,
      transparent 1px,
      transparent 4px
    );
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem clamp(1rem, 3vw, 2.5rem);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.78), transparent);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  width: 0.7rem;
  height: 1.55rem;
  border: 1px solid rgba(242, 239, 228, 0.9);
  border-top-color: var(--yellow);
  border-bottom-color: var(--green);
  box-shadow: 0.18rem 0 0 rgba(158, 35, 52, 0.8);
  transform: skew(-6deg);
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.75rem, 2.4vw, 1.8rem);
}

nav a {
  color: rgba(242, 239, 228, 0.78);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

nav a:hover {
  color: var(--text);
}

.language-switcher {
  display: grid;
  grid-template-columns: repeat(4, 2.15rem);
  gap: 1px;
  padding: 1px;
  border: 1px solid rgba(242, 239, 228, 0.18);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.44);
}

.language-switcher button {
  min-width: 0;
  height: 1.75rem;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: rgba(242, 239, 228, 0.64);
  cursor: pointer;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 900;
}

.language-switcher button[aria-pressed="true"] {
  background: rgba(208, 161, 37, 0.88);
  color: #070806;
}

.language-switcher button:hover {
  color: var(--text);
}

.language-switcher button[aria-pressed="true"]:hover {
  color: #070806;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 6.2rem clamp(1rem, 5vw, 4.5rem) 3.4rem;
  border-bottom: 1px solid var(--line);
}

.hero-bg,
.hero-vignette {
  position: absolute;
  inset: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: auto;
  filter: saturate(0.85) contrast(1.12) brightness(0.72);
}

.hero-vignette {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.18) 48%, rgba(0, 0, 0, 0.7)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.12) 42%, rgba(0, 0, 0, 0.88));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(47rem, 100%);
}

.hero-logo {
  display: none;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2,
h3,
p,
a,
button {
  overflow-wrap: break-word;
}

html[lang="ko"] h1,
html[lang="ko"] h2,
html[lang="ko"] h3,
html[lang="ko"] p,
html[lang="ko"] a,
html[lang="ko"] button,
html[lang="ja"] h1,
html[lang="ja"] h2,
html[lang="ja"] h3,
html[lang="ja"] p,
html[lang="ja"] a,
html[lang="ja"] button,
html[lang="zh"] h1,
html[lang="zh"] h2,
html[lang="zh"] h3,
html[lang="zh"] p,
html[lang="zh"] a,
html[lang="zh"] button {
  word-break: keep-all;
}

h1 {
  max-width: 46rem;
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 5.7vw, 4.55rem);
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 0.3rem 1.5rem var(--shadow);
}

.hero-copy {
  max-width: 42rem;
  margin-bottom: 1.6rem;
  color: rgba(242, 239, 228, 0.84);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.72;
}

.creator {
  margin-bottom: 1.2rem;
  color: rgba(242, 239, 228, 0.68);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-actions,
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button,
.contact-links a {
  min-height: 2.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.05rem;
  border: 1px solid rgba(242, 239, 228, 0.32);
  border-radius: 4px;
  background: rgba(3, 5, 4, 0.62);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 0.8rem 1.7rem rgba(0, 0, 0, 0.28);
}

.button.primary {
  border-color: rgba(208, 161, 37, 0.78);
  background: linear-gradient(180deg, #d6b443, #9f7715);
  color: #080806;
}

.button:hover,
.contact-links a:hover,
.text-link:hover {
  transform: translateY(-1px);
}

.scroll-cue {
  position: absolute;
  right: clamp(1rem, 3vw, 2.5rem);
  bottom: 2rem;
  z-index: 3;
  width: 1.4rem;
  height: 2.4rem;
  border: 1px solid rgba(242, 239, 228, 0.44);
  border-radius: 999px;
}

.scroll-cue span {
  position: absolute;
  top: 0.55rem;
  left: 50%;
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 50%;
  background: var(--text);
  transform: translateX(-50%);
  animation: drop 1.3s infinite;
}

@keyframes drop {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  40% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 0.85rem);
  }
}

.section {
  width: min(72rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-heading {
  max-width: 47rem;
  margin-bottom: 2rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.55rem);
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin-bottom: 0.75rem;
  font-size: 1.18rem;
}

p {
  color: var(--muted);
  line-height: 1.74;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.feature-grid article {
  min-height: 19rem;
  padding: 1.3rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    var(--panel);
}

.feature-number {
  display: block;
  margin-bottom: 3rem;
  color: rgba(208, 161, 37, 0.72);
  font-size: 0.75rem;
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(17rem, 0.75fr) minmax(0, 1fr);
  gap: clamp(2rem, 7vw, 5rem);
  align-items: center;
}

.capsule-frame {
  border: 1px solid var(--line);
  background: #020302;
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.28);
}

.capsule-frame img {
  width: 100%;
}

.split-copy {
  max-width: 34rem;
}

.text-link {
  color: var(--text);
  font-weight: 900;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35rem;
}

.updates {
  overflow-x: clip;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.updates-list {
  display: grid;
  width: 100%;
  max-width: 100%;
}

.updates-list article {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 13.75rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(16, 22, 18, 0.82);
}

.updates-list article p {
  display: -webkit-box;
  overflow: hidden;
  overflow-wrap: anywhere;
  white-space: pre-line;
  word-break: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.carousel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: -0.5rem 0 1rem;
}

.carousel-status {
  margin: 0;
  color: rgba(242, 239, 228, 0.62);
  font-size: 0.78rem;
  font-weight: 900;
}

.carousel-controls {
  display: flex;
  gap: 0.5rem;
}

.carousel-controls button {
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid rgba(242, 239, 228, 0.26);
  border-radius: 4px;
  background: rgba(3, 5, 4, 0.7);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 1.4rem;
  font-weight: 900;
}

.carousel-controls button:hover {
  border-color: rgba(208, 161, 37, 0.8);
  color: var(--yellow);
}

.more-button {
  min-height: 2.6rem;
  margin-top: 1rem;
  padding: 0.72rem 0.95rem;
  border: 1px solid rgba(242, 239, 228, 0.26);
  border-radius: 4px;
  background: rgba(3, 5, 4, 0.7);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.more-button:hover,
.more-button.is-open {
  border-color: rgba(208, 161, 37, 0.8);
  color: var(--yellow);
}

.expanded-panel {
  margin-top: 1rem;
}

.expanded-list {
  display: grid;
  gap: 0.85rem;
}

.expanded-list article {
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(16, 22, 18, 0.66);
}

.expanded-list article p {
  overflow-wrap: anywhere;
  white-space: pre-line;
  word-break: normal;
}

.expanded-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.expanded-gallery img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #020302;
}

time {
  display: block;
  margin-bottom: 1.1rem;
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gallery-grid {
  display: grid;
  align-items: stretch;
}

.gallery-grid img {
  width: 100%;
  height: min(60vw, 34rem);
  min-height: 18rem;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #020302;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
  padding-bottom: 5rem;
}

.contact h2,
.contact p {
  max-width: 42rem;
}

.contact-links {
  justify-content: flex-end;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem clamp(1rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line);
  color: rgba(242, 239, 228, 0.62);
  font-size: 0.8rem;
}

footer img {
  width: 8rem;
  opacity: 0.86;
}

footer .studio-logo {
  width: min(10rem, 46vw);
}

@media (max-width: 900px) {
  .feature-grid,
  .updates-list,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    background: transparent;
    gap: 0.75rem;
    border: 0;
  }

  .feature-grid article {
    min-height: auto;
    border: 1px solid var(--line);
  }

  .feature-number {
    margin-bottom: 1.6rem;
  }

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

  .expanded-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-header {
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
  }

  .language-switcher {
    grid-template-columns: repeat(4, 1.92rem);
  }

  .hero {
    min-height: 100svh;
    padding-top: 8.25rem;
    padding-bottom: 2.6rem;
  }

  .hero-bg {
    object-position: center;
  }

  .hero-logo {
    width: 104vw;
    max-width: none;
    margin-left: -5vw;
  }

  h1 {
    font-size: clamp(2.15rem, 13vw, 3.6rem);
  }

  .scroll-cue {
    display: none;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .expanded-gallery {
    grid-template-columns: 1fr;
  }
}
