:root {
  color-scheme: dark;
  --bg: #050505;
  --panel: rgba(255, 255, 255, 0.055);
  --panel-strong: rgba(255, 255, 255, 0.1);
  --text: #f6f2ea;
  --muted: #aaa39a;
  --line: rgba(246, 242, 234, 0.18);
  --line-strong: rgba(246, 242, 234, 0.42);
  --red: #ff4055;
  --cyan: #39e6dc;
  --lime: #d9ff5a;
  --font-sans: "Outfit", "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Cormorant Garamond", "Times New Roman", serif;
  --font-serif-kr: "Noto Serif KR", "Noto Sans KR", serif;
  --font-jp: "Noto Sans JP", "Noto Sans KR", system-ui, sans-serif;
  --section-pad: clamp(88px, 8vw, 130px);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    var(--bg);
  background-size: 48px 48px;
  color: var(--text);
  font-family: var(--font-sans);
  letter-spacing: 0;
}

body.modal-open {
  overflow: hidden;
}

body.is-intro {
  overflow: hidden;
}

body.is-intro .site-header,
body.is-intro .bottom-nav,
body.is-intro .snap-root {
  opacity: 0;
  transform: translateY(14px);
}

body.intro-done .site-header,
body.intro-done .bottom-nav,
body.intro-done .snap-root {
  opacity: 1;
  transform: none;
}

.site-header,
.bottom-nav,
.snap-root {
  transition: opacity 1200ms ease, transform 1200ms ease;
}

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

button {
  color: inherit;
  font: inherit;
}

::selection {
  background: var(--lime);
  color: #111;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 1000;
  transform: translateY(-140%);
  border: 1px solid var(--line);
  background: var(--text);
  color: #111;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.cursor,
.cursor-ring {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
}

.cursor {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--lime);
  mix-blend-mode: difference;
}

.cursor-ring {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(217, 255, 90, 0.72);
  border-radius: 999px;
  transition: width 160ms ease, height 160ms ease, border-color 160ms ease;
}

body.cursor-ready .cursor,
body.cursor-ready .cursor-ring {
  opacity: 1;
}

body.cursor-active .cursor-ring {
  width: 58px;
  height: 58px;
  border-color: var(--cyan);
}

.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background: #000;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 1100ms ease, visibility 1100ms ease;
}

.intro-screen.is-leaving {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-logo {
  display: grid;
  gap: 6px;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  transform: translateY(-1vh);
}

.intro-logo span {
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 200;
  line-height: 1;
}

.intro-logo strong {
  color: #fff;
  font-family: var(--font-serif);
  font-size: 9.5rem;
  font-weight: 700;
  line-height: 0.72;
  text-shadow: 0 0 34px rgba(255, 255, 255, 0.18);
}

.site-header,
.bottom-nav {
  position: fixed;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 16px;
  mix-blend-mode: difference;
}

.site-header {
  top: 24px;
  left: 28px;
  right: 28px;
  justify-content: space-between;
}

.bottom-nav {
  right: 28px;
  bottom: 24px;
}

.brand-link,
.nav-link,
.modal-close {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  backdrop-filter: blur(14px);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.brand-link {
  min-width: 74px;
  padding: 0 15px;
}

.top-nav,
.bottom-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  min-width: 112px;
  padding: 0 14px;
}

.brand-link:hover,
.nav-link:hover,
.brand-link:focus-visible,
.nav-link:focus-visible,
.contact-card:hover,
.contact-card:focus-visible,
.modal-close:hover,
.modal-close:focus-visible {
  border-color: var(--lime);
  background: rgba(217, 255, 90, 0.12);
  outline: none;
}

.snap-root {
  min-height: 100vh;
  scroll-snap-type: y proximity;
}

.section {
  position: relative;
  min-height: 100vh;
  padding: var(--section-pad) 0;
  scroll-snap-align: start;
  overflow: hidden;
}

.section-shell {
  width: min(100% - 48px, 1440px);
  min-height: calc(100vh - (var(--section-pad) * 2));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(26px, 4vw, 54px);
}

.split-shell {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  align-items: start;
  gap: clamp(34px, 7vw, 92px);
}

.experience-section .split-shell {
  grid-template-columns: minmax(280px, 0.68fr) minmax(520px, 1.32fr);
  gap: clamp(28px, 5vw, 72px);
}

.hero-section {
  display: grid;
  place-items: center;
  isolation: isolate;
  padding: 0;
}

.hero-video,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  z-index: -4;
  overflow: hidden;
  background:
    linear-gradient(rgba(5, 5, 5, 0.28), rgba(5, 5, 5, 0.28)),
    url("https://i.ytimg.com/vi/r7LLudyl5p8/maxresdefault.jpg") center / cover no-repeat,
    #050505;
}

/* 영상 iframe이 로드되면 뒤에 깔린 썸네일 배경을 제거해 겹침(고스팅)을 방지 */
.hero-video.hero-video-ready {
  background: #050505;
}

.hero-video-frame {
  position: absolute;
  inset: 0;
}

.hero-video iframe {
  position: absolute;
  left: 50%;
  top: 50%;
  width: max(100vw, 177.78vh);
  height: max(100vh, 56.25vw);
  border: 0;
  opacity: 1;
  pointer-events: none;
  transform: translate(-50%, -50%);
  filter: saturate(0.9) contrast(1.05) brightness(0.6) blur(3px);
  transition: opacity 1400ms ease, filter 1400ms ease;
}

body.is-intro .hero-video iframe {
  opacity: 0;
  filter: saturate(0.82) contrast(1.02) brightness(0.42) blur(6px);
}

body.intro-done .hero-video iframe {
  opacity: 1;
}

.hero-shade {
  z-index: -2;
  background:
    radial-gradient(circle at center, rgba(5, 5, 5, 0.04) 0 30%, rgba(5, 5, 5, 0.66) 70%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.94), rgba(5, 5, 5, 0.18) 36%, rgba(5, 5, 5, 0.92)),
    linear-gradient(90deg, rgba(5, 5, 5, 0.72), transparent 45%, rgba(5, 5, 5, 0.62));
}

.hero-layout {
  width: min(100% - 44px, 1180px);
  text-align: center;
  transform: translateY(2vh);
}

.hero-kicker,
.hero-copy,
.eyebrow {
  color: var(--muted);
  font-size: clamp(12px, 1.2vw, 15px);
  font-weight: 800;
  text-transform: uppercase;
}

.hero-kicker {
  margin-bottom: clamp(14px, 2.8vw, 30px);
}

.hero-title {
  margin: 0;
  color: #fff;
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 0.72;
  text-transform: uppercase;
  text-shadow: 0 24px 86px rgba(0, 0, 0, 0.62);
}

.hero-title span,
.hero-title-studio,
.hero-title-name {
  display: block;
}

.hero-title-studio {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 200;
  line-height: 1;
}

.hero-title-name {
  font-size: 12rem;
}

.hero-copy {
  margin: clamp(18px, 2.8vw, 34px) 0 0;
  color: var(--text);
}

.hero-meta {
  position: absolute;
  left: 28px;
  bottom: 24px;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-meta span,
.tag-strip span,
.work-tag,
.archive-category {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  padding: 9px 11px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.section-heading {
  max-width: 720px;
}

.sticky-heading {
  position: sticky;
  top: 130px;
}

.experience-section .section-heading {
  max-width: 500px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--lime);
}

h2 {
  margin: 0;
  font-size: clamp(38px, 7.8vw, 108px);
  font-weight: 900;
  line-height: 0.88;
  text-transform: uppercase;
}

.experience-section h2 {
  max-width: 100%;
  font-size: clamp(48px, 4.5vw, 74px);
}

.section-copy,
.contact-copy,
.contact-note,
.experience-item p,
.work-card p,
.archive-card p,
.modal-body p {
  color: var(--muted);
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.65;
}

/* 한글 본문·제목은 어절(띄어쓰기) 단위로만 줄바꿈 — 단어가 중간에 갈라지지 않게 (사이트 전체) */
.section-copy,
.contact-copy,
.contact-note,
.contact-message,
.contact-message-en,
.work-card p,
.archive-card p,
.experience-item p,
.modal-body p,
.work-card h3,
.archive-card h3,
.experience-item h3,
.modal-body h2,
.rotating-title,
.footer-tagline-kr {
  word-break: keep-all;
}

.section-copy {
  max-width: 680px;
  margin: 20px 0 0;
}

.experience-section .section-copy {
  max-width: 430px;
  font-size: clamp(14px, 1vw, 16px);
}

.muted {
  color: #c9c1b6;
}

.tag-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.work-card,
.archive-card,
.experience-item,
.contact-card,
.modal-panel {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(22px);
}

.work-card,
.archive-card {
  position: relative;
  overflow: hidden;
  min-height: 430px;
}

.work-card {
  cursor: pointer;
}

.work-card:first-child {
  min-height: 430px;
}

.work-card::before,
.archive-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 64, 85, 0.42), transparent 28%),
    linear-gradient(315deg, rgba(57, 230, 220, 0.28), transparent 40%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.09) 0 1px, transparent 1px 16px);
  opacity: 0.82;
  transform: scale(1.02);
  transition: transform 360ms ease, opacity 360ms ease;
}

.work-card::after,
.archive-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0 34%, rgba(5, 5, 5, 0.88) 100%);
}

.work-card:hover::before,
.work-card:focus-visible::before,
.archive-card:hover::before,
.archive-card:focus-visible::before {
  opacity: 1;
  transform: scale(1.08);
}

.work-visual {
  position: absolute;
  inset: 12px;
  z-index: 1;
  border: 1px solid rgba(246, 242, 234, 0.16);
}

.work-visual span {
  position: absolute;
  border: 1px solid rgba(246, 242, 234, 0.22);
  background: rgba(5, 5, 5, 0.28);
}

.work-visual span:nth-child(1) {
  left: 9%;
  top: 12%;
  width: 45%;
  height: 30%;
}

.work-visual span:nth-child(2) {
  right: 10%;
  top: 19%;
  width: 22%;
  height: 42%;
}

.work-visual span:nth-child(3) {
  left: 18%;
  bottom: 17%;
  width: 58%;
  height: 20%;
}

.work-media {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.03) brightness(0.82);
  transform: scale(1.02);
  transition: transform 480ms ease, filter 480ms ease;
}

.work-card:hover .work-media img,
.work-card:focus-visible .work-media img {
  transform: scale(1.07);
  filter: saturate(1.06) contrast(1.05) brightness(0.92);
}

.work-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.12) 0 36%, rgba(5, 5, 5, 0.9) 100%);
}

.work-cta {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  background: rgba(5, 5, 5, 0.5);
  backdrop-filter: blur(6px);
  color: var(--text);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 240ms ease, transform 240ms ease, border-color 240ms ease;
}

.work-cta::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent var(--lime);
}

.work-card:hover .work-cta,
.work-card:focus-visible .work-cta {
  opacity: 1;
  transform: none;
  border-color: var(--lime);
}

@media (hover: none) {
  .work-cta {
    opacity: 1;
    transform: none;
  }
}

.work-logo {
  position: absolute;
  right: 24px;
  top: 24px;
  z-index: 4;
  width: 112px;
  min-height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(246, 242, 234, 0.14);
  background: rgba(0, 0, 0, 0.36);
  padding: 12px;
}

.work-logo img {
  display: block;
  width: 100%;
  max-height: 36px;
  object-fit: contain;
}

.work-body,
.archive-body {
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  padding: 24px;
}

.work-index,
.archive-category {
  display: inline-flex;
  margin-bottom: 16px;
}

.work-card h3,
.archive-card h3,
.experience-item h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(22px, 2.4vw, 38px);
  font-weight: 900;
  line-height: 1.02;
}

.work-card p,
.archive-card p,
.experience-item p {
  margin: 12px 0 0;
  font-size: 14px;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.work-tag {
  padding: 8px 9px;
  color: var(--text);
}

.archive-head {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1.2fr);
  gap: 28px;
  align-items: end;
}

.archive-note {
  justify-self: end;
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 800;
  line-height: 1.5;
  text-align: right;
  text-transform: uppercase;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.archive-card {
  display: block;
  min-height: 320px;
}

.archive-card::before {
  background:
    linear-gradient(145deg, rgba(57, 230, 220, 0.2), transparent 42%),
    linear-gradient(315deg, rgba(217, 255, 90, 0.14), transparent 48%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 24px);
}

.archive-hub-card {
  min-height: 380px;
}

.archive-orbit {
  position: absolute;
  inset: 24px;
  z-index: 1;
  border: 1px solid rgba(246, 242, 234, 0.12);
}

.archive-orbit span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72%;
  height: 34%;
  border: 1px solid rgba(246, 242, 234, 0.18);
  transform: translate(-50%, -50%) rotate(-16deg);
}

.archive-orbit span:nth-child(2) {
  border-color: rgba(57, 230, 220, 0.2);
  transform: translate(-50%, -50%) rotate(18deg);
}

.archive-link-label {
  display: inline-flex;
  margin-top: 22px;
  color: var(--lime);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.experience-list {
  display: grid;
  gap: 12px;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.experience-item {
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  padding: clamp(20px, 2.5vw, 34px);
}

.experience-item:not(.has-logo) {
  grid-template-columns: 1fr;
}

.experience-logo {
  min-height: 96px;
  display: none;
  place-items: center;
  border: 1px solid rgba(246, 242, 234, 0.12);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent),
    rgba(255, 255, 255, 0.035);
  padding: 18px;
}

.experience-item.has-logo .experience-logo {
  display: grid;
}

.experience-logo img {
  display: block;
  width: 100%;
  max-height: 68px;
  object-fit: contain;
}

.experience-date,
.experience-role {
  color: var(--lime);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.experience-item h3 {
  margin-top: 12px;
  overflow-wrap: anywhere;
}

.experience-copy {
  min-width: 0;
}

.experience-role {
  margin: 8px 0 0;
  color: var(--text);
}

.experience-scope {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.experience-item p:last-child {
  margin-bottom: 0;
}

.contact-section {
  display: grid;
  place-items: center;
  isolation: isolate;
}

.contact-visual {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  opacity: 0.82;
}

.contact-visual span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(72vw, 880px);
  height: min(42vw, 420px);
  border: 1px solid rgba(246, 242, 234, 0.12);
  transform: translate(-50%, -50%) rotate(var(--angle));
}

.contact-visual span:nth-child(1) {
  --angle: -12deg;
}

.contact-visual span:nth-child(2) {
  --angle: 5deg;
  border-color: rgba(57, 230, 220, 0.2);
}

.contact-visual span:nth-child(3) {
  --angle: 19deg;
  border-color: rgba(255, 64, 85, 0.18);
}

.contact-visual span:nth-child(4) {
  --angle: 34deg;
  border-color: rgba(217, 255, 90, 0.18);
}

.contact-shell {
  align-items: center;
  text-align: center;
}

.contact-shell h2 {
  max-width: 1100px;
}

.contact-shell .rotating-title {
  max-width: 980px;
  font-size: clamp(34px, 4.4vw, 68px);
  line-height: 1.08;
}

.rotating-title span {
  display: inline-block;
  transition: opacity 420ms ease, transform 420ms ease, filter 420ms ease;
}

/* 일본어 표시(lang="ja")일 때만 히라가나·가타카나·한자를 모두 지원하는 Noto Sans JP 볼드 적용 */
.rotating-title:lang(ja) {
  font-family: var(--font-jp);
  font-weight: 900;
}

.rotating-title.is-switching span {
  opacity: 0;
  transform: translateY(10px);
  filter: blur(6px);
}

.contact-copy,
.contact-note {
  max-width: 760px;
  margin: 0;
}

.contact-message {
  max-width: 860px;
  color: var(--text);
  font-family: var(--font-serif-kr);
  font-weight: 400;
  line-height: 1.72;
}

.contact-message-en {
  max-width: 840px;
  margin-top: -14px;
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.5;
}

.contact-note {
  color: var(--text);
}

.contact-links {
  width: min(100%, 980px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.contact-card {
  display: grid;
  min-height: 126px;
  align-content: center;
  gap: 10px;
  padding: 22px;
  text-align: left;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.contact-card span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-card strong {
  overflow-wrap: anywhere;
  font-size: clamp(17px, 2vw, 24px);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: clamp(44px, 6vw, 80px) 0;
  background: rgba(0, 0, 0, 0.45);
}

.footer-inner {
  width: min(100% - 40px, 960px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.footer-mark {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
  color: #fff;
}

.footer-tagline {
  margin: 6px 0 0;
  font-size: clamp(12px, 1.2vw, 15px);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
}

.footer-tagline b {
  color: var(--lime);
  font-weight: 900;
}

.footer-tagline-kr {
  margin: 0;
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 400;
  line-height: 1.6;
}

.footer-copy {
  margin: 10px 0 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.work-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.work-modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
}

.modal-panel {
  position: relative;
  width: min(100%, 1160px);
  max-height: min(760px, calc(100vh - 48px));
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  overflow: hidden;
}

.modal-close {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 5;
  min-width: 72px;
  cursor: pointer;
}

.modal-video {
  min-height: 520px;
  background:
    linear-gradient(135deg, rgba(255, 64, 85, 0.34), transparent 34%),
    linear-gradient(315deg, rgba(57, 230, 220, 0.28), transparent 42%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 18px),
    #080808;
}

.modal-embed {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 520px;
}

.modal-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.modal-placeholder {
  min-height: 520px;
  display: grid;
  place-items: center;
  padding: 34px;
  color: var(--text);
  font-size: clamp(30px, 6vw, 76px);
  font-weight: 900;
  line-height: 0.92;
  text-align: center;
  text-transform: uppercase;
}

.modal-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: clamp(28px, 4vw, 58px);
}

.modal-body h2 {
  font-size: clamp(32px, 4.5vw, 72px);
}

.modal-body p {
  margin: 0;
}

.modal-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 16px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.modal-meta dt {
  color: var(--text);
  font-weight: 900;
  text-transform: uppercase;
}

.modal-meta dd {
  margin: 0;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.modal-actions a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  padding: 0 14px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

@media (max-width: 1180px) {
  .featured-grid,
  .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-card:first-child {
    grid-column: 1 / -1;
    min-height: 430px;
  }
}

@media (max-width: 860px) {
  .intro-logo strong {
    font-size: 4.6rem;
  }

  .hero-title-studio {
    font-size: 0.95rem;
  }

  .hero-title-name {
    font-size: 5.2rem;
  }

  .cursor,
  .cursor-ring {
    display: none;
  }

  .site-header {
    top: 14px;
    left: 14px;
    right: 14px;
    align-items: flex-start;
  }

  .top-nav {
    max-width: 62vw;
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .bottom-nav {
    right: 14px;
    bottom: 14px;
  }

  .nav-link {
    min-width: 0;
    min-height: 34px;
    padding: 0 10px;
    font-size: 10px;
  }

  .brand-link {
    min-height: 34px;
  }

  .section {
    min-height: auto;
    padding: 94px 0;
    scroll-snap-align: none;
  }

  .hero-section {
    min-height: 100svh;
  }

  .section-shell {
    width: min(100% - 30px, 1440px);
    min-height: auto;
  }

  .split-shell,
  .archive-head,
  .modal-panel {
    grid-template-columns: 1fr;
  }

  /* experience는 더 구체적인 선택자라 위 1fr 규칙에 안 먹힘 → 모바일에서 명시적으로 1단으로 */
  .experience-section .split-shell {
    grid-template-columns: 1fr;
  }

  .sticky-heading {
    position: static;
  }

  .hero-meta {
    left: 15px;
    right: 15px;
    bottom: 74px;
  }

  .featured-grid,
  .archive-grid,
  .contact-links {
    grid-template-columns: 1fr;
  }

  .work-card,
  .work-card:first-child,
  .archive-card {
    min-height: 360px;
  }

  .experience-item,
  .experience-item:not(.has-logo) {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .experience-logo {
    width: min(100%, 220px);
    min-height: 82px;
  }

  .archive-note {
    justify-self: start;
    text-align: left;
  }

  .modal-panel {
    overflow-y: auto;
  }

  .modal-video,
  .modal-embed,
  .modal-placeholder {
    min-height: 320px;
  }
}

@media (max-width: 520px) {
  .intro-logo strong {
    font-size: 3.3rem;
  }

  .top-nav {
    max-width: 64vw;
    flex-wrap: nowrap;
    overflow-x: auto;
    /* flex-end + 가로 스크롤이면 넘치는 첫 항목의 왼쪽이 잘려 스크롤로도 안 보임 → flex-start */
    justify-content: flex-start;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .top-nav::-webkit-scrollbar {
    display: none;
  }

  .top-nav .nav-link {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .bottom-nav {
    left: 14px;
    right: 14px;
    justify-content: space-between;
  }

  .bottom-nav .nav-link {
    flex: 1;
  }

  .hero-title-name {
    font-size: 3.4rem;
  }

  /* 모든 섹션 제목 동일 규칙 — 화면폭에 맞게 축소 (레이아웃 1단화로 잘림 해결) */
  h2 {
    font-size: clamp(25px, 8vw, 42px);
  }

  /* EXPERIENCE는 데스크톱 전용 규칙(clamp 48px)이 우선순위로 살아남아 컸음 → 다른 제목과 동일하게 */
  .experience-section h2 {
    font-size: clamp(25px, 8vw, 42px);
  }

  /* 카드/경력 항목 제목도 모바일에서 축소 */
  .work-card h3,
  .archive-card h3,
  .experience-item h3 {
    font-size: 18px;
  }

  /* 연락처 회전 문장: 더 축소 + 줄간격 확보 + 한글 어절 단위 줄바꿈 */
  .contact-shell .rotating-title {
    font-size: clamp(21px, 6vw, 30px);
    line-height: 1.25;
    word-break: keep-all;
  }

  /* 본문 메시지: 데스크톱용 강제 <br> 제거하고 자연스럽게 흐르도록 + 어절 단위 줄바꿈 */
  .contact-message br,
  .contact-message-en br {
    display: none;
  }

  .contact-message {
    word-break: keep-all;
  }

  /* 본문/카드/연락처 텍스트도 모바일에서 한 단계 축소 */
  .section-copy,
  .work-card p,
  .archive-card p,
  .experience-item p,
  .modal-body p,
  .contact-message {
    font-size: 14px;
  }

  .contact-card strong {
    font-size: 15px;
  }

  .work-body,
  .archive-body {
    padding: 18px;
  }

  .work-logo {
    right: 18px;
    top: 18px;
    width: 92px;
    min-height: 46px;
  }


  .modal-body {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  body.is-intro .site-header,
  body.is-intro .bottom-nav,
  body.is-intro .snap-root {
    transform: none;
  }
}
