:root {
  color-scheme: dark;
  --ink: #050507;
  --paper: #f4eee3;
  --muted: #a9a29a;
  --gold: #ddb387;
  --gutter: clamp(24px, 4.1vw, 80px);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #514333 #050507;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family:
    "Pretendard Variable", Pretendard, "Helvetica Neue",
    "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  font-weight: 400;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 7px;
}
::selection {
  background: #d2a373;
  color: #050507;
}
.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  top: 80px;
  left: 30px;
  z-index: 100;
  background: #111;
  padding: 20px;
}
.universe,
.atmosphere,
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
}
.universe {
  z-index: -3;
  overflow: hidden;
  /* A frame of the real render, shown until the GPU scene takes over and
     kept as the static scene if 3D is unavailable. */
  background:
    url("assets/poster-desktop.webp") center / cover no-repeat,
    radial-gradient(ellipse at 60% 40%, #1c130c 0%, #080708 45%, #050507 80%);
}
canvas {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 0.7s;
}
.gpu-ready canvas {
  opacity: 1;
}
.atmosphere {
  z-index: -2;
  background:
    linear-gradient(
      180deg,
      rgba(5, 5, 7, 0.4),
      transparent 22%,
      transparent 65%,
      rgba(5, 5, 7, 0.5)
    ),
    radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.5));
}
.grain {
  z-index: 10;
  opacity: 0.047;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.94' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' opacity='.7' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
}
.masthead {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: 110px;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -1px;
  display: flex;
  align-items: center;
}
.wordmark > span:first-child {
  padding: 0 2px;
}
.wordmark-star {
  font-size: 27px;
  color: var(--gold);
  margin-left: 13px;
  font-weight: 300;
}
.masthead-note {
  font-size: 11px;
  letter-spacing: 2.3px;
  color: #b4aea4;
}
.masthead-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}
.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  letter-spacing: 2px;
  min-height: 44px;
  min-width: 44px;
  color: #b4aea4;
  transition: color 0.3s;
}
.lang-toggle:hover {
  color: var(--gold);
}
.menu-toggle,
.close-menu {
  font-size: 12px;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 44px;
}
.menu-icon {
  width: 23px;
  height: 7px;
  border-top: 1px solid;
  border-bottom: 1px solid;
}
.chapter {
  height: 135svh;
  min-height: 720px;
  position: relative;
  padding: 0 var(--gutter);
  display: flex;
  align-items: flex-start;
}
.chapter-opening {
  height: 125svh;
}
.chapter-end {
  height: 100svh;
  min-height: 650px;
}
.chapter-copy {
  position: relative;
  top: 38svh;
  max-width: 85%;
  will-change: opacity, transform;
}
.opening-copy {
  top: 54svh;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 3.4px;
  font-weight: 500;
  margin: 0 0 25px;
  color: #c6b6a4;
}
h1 {
  font-size: clamp(80px, 12.3vw, 205px);
  letter-spacing: -0.07em;
  font-weight: 450;
  line-height: 0.85;
  margin: 0 0 28px;
}
.period {
  color: var(--gold);
}
.subtitle {
  font-size: 15px;
  letter-spacing: 0.12em;
  font-weight: 300;
  color: #c8c1b8;
  line-height: 1.9;
  margin: 0;
}
h2 {
  font-size: clamp(48px, 6.3vw, 100px);
  font-weight: 350;
  letter-spacing: -0.07em;
  line-height: 1.25;
  margin: 0 0 26px;
}
h2 em {
  font-style: normal;
  color: var(--gold);
}
.side-copy {
  left: 4%;
  top: 35svh;
}
.center-copy {
  width: 100%;
  max-width: 100%;
  text-align: center;
  top: 39svh;
}
.center-copy h2 {
  font-size: clamp(48px, 7.7vw, 128px);
}
.horizon-copy {
  top: 26svh;
  left: 4%;
}
.end-copy {
  width: 100%;
  max-width: 100%;
  top: 36svh;
  text-align: center;
}
.end-copy h2 {
  font-size: clamp(44px, 6.2vw, 96px);
}
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 58px;
  border-bottom: 1px solid #99836d;
  padding: 14px 0;
  font-size: 15px;
  letter-spacing: 1px;
}
.contact-link span {
  font-size: 24px;
  transition: transform 0.3s;
}
.contact-link:hover span {
  transform: translate(5px, -5px);
}
.scroll-invitation {
  position: absolute;
  top: 88svh;
  left: var(--gutter);
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  letter-spacing: 2.5px;
  min-height: 44px;
}
.scroll-line {
  height: 1px;
  width: 45px;
  background: #aa8c67;
}
.scroll-invitation > span:last-child {
  font-size: 18px;
  margin-left: 9px;
}
.opening-coordinate {
  position: absolute;
  right: var(--gutter);
  top: 83svh;
  font-size: 11px;
  line-height: 1.8;
  letter-spacing: 2px;
  color: #8f867c;
}
.chapter-nav {
  position: fixed;
  right: var(--gutter);
  top: 43%;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.chapter-nav a {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  height: 36px;
  width: 50px;
  font-size: 11px;
  color: #c2a582;
}
.chapter-nav span {
  opacity: 0;
  transition: opacity 0.3s;
}
.chapter-nav i {
  width: 10px;
  height: 1px;
  background: #675e54;
  transition:
    width 0.4s,
    background 0.4s;
}
.chapter-nav .active span,
.chapter-nav a:hover span {
  opacity: 1;
}
.chapter-nav .active i {
  width: 23px;
  background: #e9c69c;
}
.transport {
  position: fixed;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 24px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
.transport-controls {
  display: flex;
  gap: 24px;
  pointer-events: auto;
}
.transport button {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 1.6px;
}
.scene-label {
  font-size: 11px;
  letter-spacing: 2px;
  color: #9a9085;
}
.pause-icon {
  font-size: 13px;
}
.sound-bars {
  height: 14px;
  display: flex;
  align-items: center;
  gap: 2px;
}
.sound-bars i {
  height: 3px;
  width: 1px;
  background: var(--gold);
}
.sound-bars i:nth-child(2) {
  height: 11px;
}
.sound-bars i:nth-child(3) {
  height: 7px;
}
[aria-pressed="true"] .sound-bars i {
  animation: equalize 1.2s ease-in-out infinite alternate;
}
[aria-pressed="true"] .sound-bars i:nth-child(2) {
  animation-delay: -0.4s;
}
[aria-pressed="true"] .sound-bars i:nth-child(3) {
  animation-delay: -0.8s;
}
@keyframes equalize {
  to {
    height: 13px;
  }
  from {
    height: 3px;
  }
}
.progress-track {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 30;
  background: #ffffff09;
}
.progress-fill {
  height: 100%;
  width: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
}
footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 36px 0 110px;
  border-top: 1px solid #ffffff1a;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 28px;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: #a99c8b;
}
footer a:hover {
  color: var(--gold);
}
.studio-invitation {
  position: absolute;
  left: 50%;
  bottom: 110px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 13px;
  letter-spacing: 1px;
  color: #c6b6a4;
}
.studio-invitation span {
  font-size: 18px;
}
.studio {
  position: relative;
  padding: 18vh var(--gutter) 0;
  background: linear-gradient(
    180deg,
    rgba(5, 5, 7, 0) 0,
    rgba(5, 5, 7, 0.82) 16vh,
    rgba(5, 5, 7, 0.92) 100%
  );
}
.studio-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding-bottom: 16vh;
}
.studio h2 {
  font-size: clamp(40px, 5vw, 76px);
  margin-bottom: 36px;
}
.studio-lead {
  max-width: 640px;
  margin: 0 0 72px;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.85;
  color: #d6cec3;
  word-break: keep-all;
}
.studio-list {
  list-style: none;
  margin: 0 0 72px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 48px;
}
.studio-list li {
  border-top: 1px solid #ffffff24;
  padding-top: 26px;
}
.studio-index {
  display: block;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 22px;
}
.studio-list h3 {
  margin: 0 0 14px;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.studio-list p {
  margin: 0 0 18px;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: #bdb4a9;
  word-break: keep-all;
}
.services {
  margin: 0 0 72px;
}
.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 48px;
}
.service-list li {
  border-top: 1px solid #ffffff24;
}
.service-list a {
  display: block;
  padding: 22px 0 26px;
}
.service-domain {
  display: block;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 10px;
}
.service-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.service-desc {
  display: block;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
  color: #bdb4a9;
  word-break: keep-all;
}
.service-list a:hover strong {
  color: var(--gold);
}
.press {
  margin: 0 0 72px;
}
.press-stat {
  display: flex;
  align-items: baseline;
  gap: 24px;
  max-width: 760px;
  margin: 0 0 36px;
}
.press-stat strong {
  flex: none;
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--gold);
}
.press-stat span {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: #bdb4a9;
  word-break: keep-all;
}
.press-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
}
.press-list li {
  border-top: 1px solid #ffffff24;
}
.press-list a {
  display: block;
  padding: 22px 0 26px;
}
.press-meta {
  display: block;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 10px;
}
.press-list strong {
  display: block;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -0.01em;
  word-break: keep-all;
  transition: color 0.3s;
}
.press-list a:hover strong {
  color: var(--gold);
}
.studio-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 14px;
  color: var(--gold);
  border-bottom: 1px solid #99836d;
}
.studio-link:hover span {
  transform: translate(3px, -3px);
}
.studio-link span {
  transition: transform 0.3s;
}
.chapter-nav {
  transition:
    opacity 0.4s,
    visibility 0.4s;
}
.masthead {
  transition: background 0.4s;
}
.in-studio .masthead {
  background: linear-gradient(180deg, #050507 60%, #05050700);
}
.in-studio .chapter-nav {
  opacity: 0;
  visibility: hidden;
}
@media (max-width: 1000px) and (min-width: 701px) {
  .studio-list,
  .service-list {
    grid-template-columns: 1fr 1fr;
    gap: 44px 40px;
  }
}
dialog {
  position: fixed;
  inset: 0;
  max-width: none;
  max-height: none;
  width: 100%;
  height: 100dvh;
  margin: 0;
  padding: 38px var(--gutter);
  border: 0;
  background: #090909f5;
  color: var(--paper);
  backdrop-filter: blur(22px);
}
dialog::backdrop {
  background: #0009;
}
.index-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 2px;
}
.close-menu span {
  font-size: 27px;
}
dialog nav {
  max-width: 900px;
  margin: 7vh auto 3vh;
}
dialog nav a {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #ffffff20;
  padding: 22px 0;
  font-size: clamp(30px, 4.5vw, 60px);
  letter-spacing: -2px;
}
dialog nav a > span {
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--gold);
  margin-right: 40px;
}
dialog nav em {
  margin-left: auto;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 1px;
  color: #a59685;
}
dialog nav a:hover {
  color: var(--gold);
}
.index-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  max-width: 900px;
  margin: 30px auto;
  font-size: 14px;
  color: #b7a38c;
}
.index-contact a:hover {
  color: var(--gold);
}
html.menu-open {
  overflow: hidden;
}
@media (min-width: 1800px) {
  .opening-copy {
    top: 52svh;
  }
}
@media (max-width: 700px) {
  .universe {
    background-image:
      url("assets/poster-mobile.webp"),
      radial-gradient(ellipse at 60% 40%, #1c130c 0%, #080708 45%, #050507 80%);
  }
  .masthead {
    height: 84px;
  }
  .wordmark {
    font-size: 18px;
  }
  .wordmark-star {
    font-size: 23px;
    margin-left: 10px;
  }
  .masthead-note {
    display: none;
  }
  .menu-toggle {
    font-size: 11px;
    gap: 12px;
  }
  .masthead-actions {
    gap: 14px;
  }
  .lang-toggle {
    font-size: 11px;
  }
  .chapter {
    min-height: 650px;
    height: 130svh;
  }
  .chapter-opening {
    height: 120svh;
  }
  .chapter-end {
    height: 100svh;
    min-height: 620px;
  }
  .opening-copy {
    top: 59svh;
    max-width: 100%;
  }
  .eyebrow {
    font-size: 11px;
    letter-spacing: 2.2px;
    margin-bottom: 21px;
  }
  h1 {
    font-size: 19vw;
    letter-spacing: -0.075em;
    margin-bottom: 22px;
  }
  h2 {
    font-size: 12vw;
  }
  .subtitle {
    font-size: 14px;
    letter-spacing: 0.04em;
  }
  .scroll-invitation {
    top: 82svh;
    font-size: 11px;
    gap: 11px;
  }
  .scroll-line {
    width: 28px;
  }
  .opening-coordinate {
    display: none;
  }
  .chapter-nav {
    right: 15px;
    top: 39%;
  }
  .chapter-nav a {
    height: 36px;
    width: 35px;
  }
  .chapter-nav span {
    display: none;
  }
  .chapter-nav .active i {
    width: 17px;
  }
  .chapter-nav i {
    width: 6px;
  }
  .side-copy,
  .horizon-copy {
    left: 0;
  }
  .side-copy {
    top: 36svh;
  }
  .center-copy {
    top: 40svh;
  }
  .center-copy h2 {
    font-size: 12vw;
  }
  .horizon-copy {
    top: 25svh;
  }
  .end-copy {
    top: 34svh;
  }
  .end-copy h2 {
    font-size: 10.5vw;
  }
  .transport {
    bottom: 15px;
  }
  .transport-controls {
    gap: 15px;
  }
  .transport button {
    font-size: 11px;
    letter-spacing: 0.8px;
    gap: 7px;
  }
  .scene-label {
    display: none;
  }
  .transport {
    justify-content: flex-end;
  }
  .contact-link {
    font-size: 14px;
    gap: 40px;
  }
  .studio-invitation {
    bottom: 96px;
  }
  .studio {
    padding-top: 14vh;
  }
  .studio-lead {
    font-size: 16px;
    margin-bottom: 52px;
  }
  .studio-list {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 52px;
  }
  .service-list,
  .press-list {
    grid-template-columns: 1fr;
  }
  .press {
    margin-bottom: 52px;
  }
  .press-stat {
    flex-direction: column;
    gap: 8px;
  }
  .services {
    margin-bottom: 52px;
  }
  footer {
    flex-direction: column;
    gap: 10px;
    padding-bottom: 96px;
  }
  dialog {
    padding-top: 22px;
  }
  dialog nav {
    margin-top: 7vh;
  }
  dialog nav a {
    padding: 23px 0;
    font-size: 35px;
  }
  dialog nav a > span {
    margin-right: 22px;
  }
  dialog nav em {
    font-size: 11px;
    letter-spacing: 0;
  }
}
@media (max-height: 600px) and (min-width: 701px) {
  .masthead {
    height: 75px;
  }
  .chapter {
    min-height: 600px;
  }
  .opening-copy {
    top: 40svh;
  }
  h1 {
    font-size: 19vh;
  }
  .scroll-invitation {
    top: 76svh;
  }
  dialog nav {
    margin-top: 10px;
  }
  dialog nav a {
    padding: 9px 0;
    font-size: 32px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .chapter-copy {
    will-change: auto;
  }
}

[hidden] {
  display: none !important;
}

.side-copy h2,
.horizon-copy h2 {
  text-shadow:
    0 2px 35px #0009,
    0 1px 6px #0008;
}

@media (max-height: 600px) {
  .opening-coordinate { display: none; }
}
