:root {
  color-scheme: light;
  --bg: #f6f6f3;
  --paper: #ffffff;
  --ink: #050505;
  --muted: #6f6f6a;
  --line: #111111;
  --soft: #ececea;
  --dark: #030303;
  --dark-2: #171717;
  --glow: #d7f2ff;
  --gutter: clamp(22px, 3vw, 48px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.dark-mode {
  --bg: #060606;
  --paper: #0d0d0d;
  --ink: #f7f7f2;
  --muted: #abab9f;
  --line: #f2f2ec;
  --soft: #151515;
}

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

button {
  font: inherit;
}

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

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  padding: 26px var(--gutter);
  pointer-events: none;
}

.site-header > * {
  pointer-events: auto;
}

.brand-mark {
  font-size: clamp(26px, 2.2vw, 38px);
  font-weight: 900;
  line-height: 0.9;
}

.menu-line {
  display: grid;
  gap: 8px;
  place-items: center;
  min-width: 116px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}

.menu-line span {
  display: block;
  width: 100%;
  height: 3px;
  background: currentColor;
}

.theme-toggle {
  justify-self: end;
  width: 52px;
  height: 25px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  cursor: pointer;
  padding: 3px;
}

.theme-toggle span {
  display: block;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--paper);
  transition: margin 180ms ease;
}

body.dark-mode .theme-toggle span {
  margin-left: 27px;
}

.menu-panel {
  position: fixed;
  z-index: 30;
  top: 82px;
  left: 50%;
  display: flex;
  gap: 22px;
  padding: 12px 18px;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px);
  opacity: 0;
  transform: translate(-50%, -12px);
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.menu-panel.is-open {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.menu-panel a {
  font-size: 11px;
  font-weight: 800;
}

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

.section-soft {
  background: var(--soft);
}

.hero {
  min-height: 100svh;
  padding: 120px var(--gutter) 26px;
  display: grid;
  grid-template-rows: 1fr auto auto;
  overflow: hidden;
}

@supports (height: 100dvh) {
  .hero {
    min-height: 100dvh;
  }
}

.hero-word {
  align-self: center;
  justify-self: end;
  font-size: clamp(92px, 20vw, 330px);
  font-weight: 950;
  line-height: 0.76;
  letter-spacing: -0.045em;
}

.hero-cue {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  border-top: 2px solid var(--line);
  padding-top: 16px;
  font-size: 12px;
  font-weight: 900;
}

.hero-title {
  max-width: 1180px;
  margin: clamp(44px, 7vw, 100px) 0 52px;
  font-size: clamp(34px, 5.25vw, 94px);
  line-height: 1.24;
  letter-spacing: -0.006em;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-title::after,
.big-statement span::after {
  content: "";
  display: inline-block;
  width: 0.42em;
  height: 0.42em;
  margin-left: 0.08em;
  background: #c9c9c9;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.black-gate {
  height: clamp(330px, 55vw, 640px);
  background:
    radial-gradient(circle at 50% 50%, rgba(215, 242, 255, 0.4), transparent 2%),
    linear-gradient(90deg, transparent 48%, rgba(255, 255, 255, 0.12), transparent 52%),
    #000;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.light-beam {
  width: 8px;
  height: 130%;
  background: linear-gradient(180deg, transparent, #f8fbff, #6dd6ff, transparent);
  filter: blur(7px);
  opacity: 0.8;
}

.axis {
  min-height: 440px;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr minmax(180px, 34vw) 1fr;
  gap: 48px;
  align-items: center;
}

.axis h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 82px);
  line-height: 1.1;
  font-weight: 500;
}

.axis h2:last-child {
  justify-self: end;
}

.axis-meter {
  align-self: center;
}

.axis-meter span {
  display: block;
  margin-bottom: 6px;
  font-size: 9px;
  text-transform: uppercase;
}

.axis-meter i {
  display: block;
  height: 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ink) 0 18%, transparent 18%);
}

.manifesto {
  padding: clamp(150px, 18vw, 260px) var(--gutter) clamp(100px, 12vw, 180px);
}

.section-kicker {
  margin-bottom: 34px;
  font-size: clamp(24px, 3vw, 44px);
  font-weight: 900;
}

.intro-copy {
  max-width: 1140px;
  margin: 0 0 120px;
  font-size: clamp(16px, 1.45vw, 25px);
  line-height: 1.78;
}

.big-statement {
  display: grid;
  gap: 4px;
  margin-bottom: 88px;
  font-size: clamp(50px, 9vw, 160px);
  line-height: 0.99;
  letter-spacing: -0.01em;
  font-weight: 900;
}

.big-statement span:nth-child(2) {
  text-align: right;
}

.big-statement span:nth-child(3) {
  color: #bfbfbf;
}

.image-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 56px;
}

.image-pair img {
  aspect-ratio: 1.38 / 1;
  object-fit: cover;
}

.body-copy {
  max-width: 1180px;
  margin: 0 0 56px;
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.78;
}

.outline-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 900;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.outline-cta:hover,
.outline-cta:focus-visible {
  background: var(--ink);
  color: var(--paper);
}

.outline-cta::before,
.outline-cta::after {
  content: "";
  position: absolute;
  top: 7px;
  width: 15px;
  height: 15px;
  background: currentColor;
  clip-path: polygon(0 0, 0 100%, 100% 0);
}

.outline-cta::before {
  left: 8px;
}

.outline-cta::after {
  right: 8px;
  rotate: 180deg;
}

.works {
  padding: clamp(70px, 9vw, 140px) var(--gutter);
}

.works-head {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: end;
  gap: clamp(36px, 8vw, 110px);
  margin-bottom: 54px;
}

.counter {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  font-size: clamp(42px, 5vw, 78px);
  font-weight: 300;
}

.counter i {
  height: 1px;
  background: var(--line);
  transform: rotate(-45deg);
}

.works h2,
.lab h2 {
  margin: 0;
  text-align: right;
  font-size: clamp(54px, 9vw, 150px);
  line-height: 0.95;
  font-weight: 900;
}

.work-card {
  max-width: 980px;
  margin-left: auto;
  margin-bottom: clamp(88px, 12vw, 155px);
}

.work-card img {
  aspect-ratio: 1.9 / 1;
  object-fit: cover;
}

.work-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
}

.work-meta h3 {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 42px);
  line-height: 1.3;
}

.work-meta a {
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 20px 0;
}

.tag-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 800;
}

.work-card p {
  margin: 0;
  max-width: 910px;
  color: color-mix(in srgb, var(--ink) 74%, transparent);
  font-size: 15px;
  line-height: 1.78;
}

.dark-studio {
  padding: 100px var(--gutter) 92px;
  background:
    linear-gradient(180deg, transparent 65%, rgba(255, 255, 255, 0.05)),
    var(--dark);
  color: white;
}

.dark-copy {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 80px;
}

.dark-copy h2 {
  margin: 0;
  font-size: clamp(52px, 10vw, 172px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  font-weight: 950;
}

.dark-copy p {
  margin: 0;
  max-width: 540px;
  justify-self: end;
  font-size: clamp(17px, 1.5vw, 24px);
  line-height: 1.58;
  text-align: right;
}

.wide-visual {
  width: calc(100% + var(--gutter) * 2);
  max-width: none;
  margin-left: calc(var(--gutter) * -1);
  aspect-ratio: 2.45 / 1;
  object-fit: cover;
}

.studio-rail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 56px 0 70px;
}

.news-strip,
.schedule-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 34px;
  background: #1b1b1b;
  color: white;
}

.news-strip {
  gap: 20px;
}

.news-strip strong,
.schedule-strip strong {
  margin-right: auto;
  font-size: 21px;
}

.news-strip span,
.schedule-strip a {
  border-radius: 999px;
  background: #050505;
  padding: 9px 14px;
  font-size: 11px;
  font-weight: 900;
}

.artist-board {
  padding: 22px 24px 28px;
  border-radius: 18px;
  background: #1b1b1b;
}

.window-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 9px;
  border-radius: 50%;
  background: white;
}

.artist-board p {
  margin: 28px 0 32px;
  color: #4f4f4f;
  font-size: clamp(38px, 6vw, 92px);
  line-height: 0.9;
  font-weight: 500;
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 3vw, 48px);
}

.mode-grid figure {
  margin: 0;
}

.mode-grid img,
.coming {
  aspect-ratio: 0.9 / 1;
  object-fit: cover;
}

.coming {
  display: grid;
  place-items: center;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    #090909;
  background-size: 24px 24px;
  color: #5f5f5f;
  font-weight: 900;
}

.mode-grid figcaption {
  display: inline-block;
  margin-top: 12px;
  border: 1px solid white;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 10px;
}

.lab {
  padding: clamp(90px, 12vw, 170px) var(--gutter);
}

.lab h2 {
  margin-bottom: 70px;
  text-align: center;
}

.lab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.lab-card img {
  aspect-ratio: 1.7 / 1;
  object-fit: cover;
  filter: grayscale(1);
}

.lab-card span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  font-size: clamp(25px, 3vw, 42px);
  font-weight: 900;
}

.lab-card span::after {
  content: "→";
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--soft);
  font-size: 22px;
  font-weight: 400;
}

.site-footer {
  position: relative;
  padding: 94px var(--gutter) 22px;
  background: var(--soft);
  color: var(--ink);
}

.site-footer > div,
.site-footer address {
  font-style: normal;
  font-size: 13px;
  line-height: 1.5;
}

.site-footer address {
  margin-top: 60px;
  text-align: right;
}

.footer-word {
  margin: 100px 0 20px;
  font-size: clamp(58px, 13vw, 220px);
  line-height: 0.82;
  letter-spacing: -0.055em;
  font-weight: 950;
}

.back-top {
  position: absolute;
  top: 40px;
  right: var(--gutter);
  width: 52px;
  height: 52px;
  border: 0;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  font-size: 28px;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 640ms ease,
    transform 640ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 900px) {
  .site-header {
    padding-top: 18px;
  }

  .menu-line {
    min-width: 80px;
  }

  .hero {
    padding-top: 96px;
  }

  .hero-word {
    justify-self: end;
    font-size: clamp(84px, 28vw, 150px);
  }

  .hero-cue {
    grid-template-columns: 1fr 1fr;
  }

  .axis {
    min-height: 360px;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .axis h2:last-child {
    justify-self: start;
  }

  .image-pair,
  .studio-rail,
  .dark-copy,
  .lab-grid {
    grid-template-columns: 1fr;
  }

  .dark-copy p {
    justify-self: start;
    text-align: left;
  }

  .works-head {
    grid-template-columns: 1fr;
  }

  .works h2,
  .lab h2 {
    text-align: left;
  }

  .counter {
    max-width: 170px;
  }

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

  .news-strip,
  .schedule-strip {
    padding: 18px;
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  :root {
    --gutter: 16px;
  }

  .brand-mark {
    font-size: 26px;
  }

  .menu-line strong {
    font-size: 13px;
  }

  .theme-toggle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
  }

  .theme-toggle span {
    width: 20px;
    height: 20px;
    margin: 5px;
  }

  body.dark-mode .theme-toggle span {
    margin-left: 5px;
  }

  .menu-panel {
    top: 74px;
    left: var(--gutter);
    right: var(--gutter);
    transform: translateY(-12px);
    flex-direction: column;
  }

  .menu-panel.is-open {
    transform: translateY(0);
  }

  .hero {
    min-height: 100svh;
    padding-bottom: 48px;
  }

  .hero-word {
    align-self: end;
    margin-bottom: 36px;
  }

  .hero-title {
    margin-top: 52px;
    margin-bottom: 24px;
    font-size: clamp(33px, 8.6vw, 48px);
    line-height: 1.36;
  }

  .hero-cue {
    font-size: 13px;
  }

  .black-gate {
    height: 360px;
  }

  .manifesto {
    padding-top: 120px;
  }

  .intro-copy {
    margin-bottom: 80px;
  }

  .big-statement {
    margin-bottom: 52px;
    font-size: clamp(44px, 14vw, 70px);
    line-height: 1.08;
  }

  .big-statement span:nth-child(2) {
    text-align: left;
  }

  .big-statement span::after {
    display: none;
  }

  .work-card {
    margin-bottom: 92px;
  }

  .work-card img,
  .wide-visual {
    aspect-ratio: 1.15 / 1;
  }

  .work-meta {
    align-items: flex-start;
  }

  .dark-studio {
    padding-top: 72px;
  }

  .artist-board {
    border-radius: 12px;
    padding: 18px;
  }

  .mode-grid {
    gap: 16px;
  }

  .site-footer address {
    text-align: left;
  }
}
