/* ==================================================================
 * BSION CREATIVE — style
 * ================================================================== */
:root {
  --brand: #003399;          /* 비션 딥블루 */
  --brand-bright: #3366FF;   /* 어두운 배경 위 글자용으로 밝힌 딥블루 */
  --nav: #080808;
  --nav-dim: var(--muted);
  --bg: #141414;
  --fg: #F3F3F0;
  --card: #050505;
  --media-empty: #202020;
  --muted: #8C8C87;
  --body: #C9C9C4;
  --border: rgba(243, 243, 240, 0.12);
  --font: 'Helvetica Neue', Helvetica, Arial, 'Pretendard', 'Pretendard Variable', sans-serif;
  --sidebar-w: 124px;
  --pad: 56px;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; font-family: var(--font); scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--fg); color: var(--bg); }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
:focus-visible { outline: 2px solid rgba(243,243,240,.5); outline-offset: 2px; }
#player:focus, #detail:focus { outline: none; }

.no-scrollbar { scrollbar-width: none; -ms-overflow-style: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- utilities ---------- */
.muted { color: var(--muted); }
.muted-2 { color: var(--muted); }
.small { font-size: .82rem; }
.small-2 { font-size: .9rem; }
.xs { font-size: .8rem; letter-spacing: .06em; }
.mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mt-10 { margin-top: 40px; }
.pad-x { padding-left: var(--pad); padding-right: var(--pad); }
.eyebrow { display: block; color: var(--muted); font-size: .72rem; letter-spacing: .14em; }
/* 섹션 타이틀 — 딥블루 포인트 */
.h-xl, .h-lg, .work-head h3, .h-about .title-brand { color: var(--brand-bright); }

.h-xl { font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -.02em; font-weight: 700; line-height: 1.15; }
.h-lg { font-size: clamp(1.6rem, 3.5vw, 2.4rem); letter-spacing: -.02em; font-weight: 700; line-height: 1.15; }

/* ---------- sidebar (PC) ---------- */
.sidebar {
  position: fixed; top: 0; left: 0; z-index: 40;
  width: var(--sidebar-w); height: 100vh;
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--nav); padding: 32px 24px;
}
.sidebar__logo { width: 100%; max-width: 64px; object-fit: contain; }
/* 로고 ↔ 심볼 교차 전환 */
.sidebar__brand { position: relative; display: block; width: 64px; height: 44px; }
.brand-swap { position: absolute; left: 0; top: 50%; transform: translateY(-50%); opacity: 0; transition: opacity 1s ease; }
.brand-swap.is-on { opacity: 1; }
.sidebar__symbol { height: 40px; width: auto; }
.sidebar__symbol.is-missing { display: none; }
.sidebar__nav { margin-top: 42px; display: flex; flex-direction: column; gap: 16px; }
.nav-btn { display: block; color: var(--nav-dim); font-size: .82rem; letter-spacing: .02em; transition: color .3s; }
.nav-btn:hover { color: var(--fg); }
.nav-btn.is-active { color: var(--brand-bright); font-weight: 600; }
.nav-gap { height: 24px; }

.lang { display: flex; color: var(--nav-dim); }
.lang--col { flex-direction: column; gap: 16px; }
.lang--lg { flex-direction: row; gap: 12px; margin-top: 48px; }
.lang button { font-size: 12px; letter-spacing: .02em; transition: color .3s; }
.lang--lg button { min-height: 44px; }
.lang button:hover, .lang button.is-active { color: var(--fg); }

/* ---------- mobile bar ---------- */
.mobile-bar, .mobile-menu { display: none; }

/* ---------- main ---------- */
.main { margin-left: var(--sidebar-w); }

/* ---------- hero ---------- */
.hero__media {
  position: relative; width: 100%; overflow: hidden; background: #000;
  height: 86vh; min-height: 820px;
}
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,.82), rgba(0,0,0,.35) 55%, rgba(0,0,0,.25));
}
.hero__text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; padding: 0 var(--pad) 80px; }
.hero__title { color: var(--fg); font-size: clamp(2.4rem, 7vw, 5.5rem); line-height: .98; letter-spacing: -.02em; font-weight: 700; }
.hero__lead { margin-top: 24px; max-width: 36rem; color: var(--body); font-size: .95rem; line-height: 1.7; }
.hero__gauges { position: absolute; left: 0; right: 0; bottom: 0; z-index: 10; display: flex; gap: 8px; padding: 0 var(--pad) 24px; }
.gauge { flex: 1; display: flex; align-items: center; min-height: 44px; }
.gauge:disabled { cursor: default; }
.gauge__track { position: relative; display: block; width: 100%; height: 2px; background: rgba(243,243,240,.25); overflow: hidden; }
.gauge__fill { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: var(--brand-bright); transition: width .15s linear; }
.hero__play.is-focusable:focus { position: absolute; right: 20px; top: 20px; z-index: 10; width: auto; height: auto; clip: auto; padding: 8px 12px; color: var(--fg); font-size: .72rem; letter-spacing: .08em; }
.hero__meta {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 20px var(--pad); border-bottom: 1px solid var(--border);
}
.hero__meta .eyebrow { letter-spacing: .16em; }

/* ---------- work ---------- */
.work-intro { padding-top: 72px; padding-bottom: 72px; }
.work-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; column-gap: 56px; }
.work-intro__art { margin: 0; justify-self: end; width: 100%; max-width: 640px; }
@media (min-width: 700px) and (max-width: 1240px) { .work-intro { grid-template-columns: minmax(0, 1fr); } .work-intro__art { justify-self: start; max-width: 560px; margin-top: 36px; } }
.work-intro__art img { width: 100%; height: auto; display: block; }
.work-intro p { font-size: .98rem; line-height: 1.75; word-break: keep-all; }
.section { padding-top: 80px; padding-bottom: 80px; border-top: 1px solid var(--border); }
.section__head { margin-bottom: 48px; }
.work-head .eyebrow, .detail__body .eyebrow { font-size: .64rem; }
.work-head h3 { margin-top: 12px; font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -.02em; font-weight: 700; line-height: 1; }
.work-items { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.work-items li { font-size: .8rem; color: var(--fg); padding: 6px 14px; border: 1px solid rgba(243,243,240,.22); border-radius: 999px; }
.work-head p { margin-top: 8px; color: var(--body); font-size: .9rem; line-height: 1.6; }
.work-head .work-lead { margin-top: 2px; color: var(--muted); }

.grid { display: grid; align-items: start; column-gap: 20px; row-gap: 40px; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); }
@media (min-width: 1101px) and (max-width: 1400px) { .grid[style*="--cols:5"] { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 700px) and (max-width: 1100px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .contact { grid-template-columns: 1fr; gap: 56px; } }

.card { display: block; width: 100%; }
.card.reveal { opacity: 0; transition: opacity .7s; }
.card.reveal.is-in { opacity: 1; }
.card__media { position: relative; width: 100%; overflow: hidden; background: var(--media-empty); }
.card__media img, .card__media video { width: 100%; height: 100%; object-fit: cover; transition: transform .9s ease-out; }
.card:hover .card__media img, .card:hover .card__media video { transform: scale(1.03); }
.card__info { background: var(--card); padding: 20px; }
.card__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.card__title { font-size: 1rem; font-weight: 500; }
.card__meta { margin-top: 4px; color: var(--muted); font-size: .8rem; }
.card__more { flex-shrink: 0; color: var(--muted); font-size: .8rem; transition: color .3s; }
.card:hover .card__more { color: var(--fg); }
.arrow { display: inline-block; transition: transform .3s; }
.card:hover .arrow, .btn-primary:hover .arrow { transform: translate(2px, -2px); }

.card--empty .card__media { display: flex; align-items: center; justify-content: center; }
.plus { font-size: 1.875rem; line-height: 1; color: rgba(140,140,135,.5); transition: transform .3s, color .3s; }
.card--empty:hover .plus { transform: rotate(90deg); color: var(--fg); }
.card--empty .card__info p { color: var(--muted); font-size: .85rem; }

.btn-more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 32px;
  background: var(--fg); color: var(--bg); padding: 12px 26px; min-height: 44px; border-radius: 999px;
  font-size: .875rem; letter-spacing: .06em; font-weight: 600; transition: opacity .3s;
}
.btn-more:hover { opacity: .9; }
.btn-more .plus-sm { font-size: 1rem; line-height: 1; transition: transform .3s; }
.btn-more:hover .plus-sm { transform: rotate(90deg); }

/* ---------- partners ---------- */
#partners { padding-top: 96px; padding-bottom: 96px; }
#partners .section__head { margin-bottom: 56px; }
#partners .eyebrow { letter-spacing: .16em; }
.partners { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.partners__track { display: flex; width: max-content; animation: partnersFlow var(--marquee-dur, 40s) linear infinite; }
.partners__set { display: flex; flex-shrink: 0; }
.partners:hover .partners__track { animation-play-state: paused; }
@keyframes partnersFlow { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.partner {
  flex: 0 0 auto; width: 168px; margin-right: 40px; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: .9rem; transition: color .3s;
}
@media (prefers-reduced-motion: reduce) { .partners { -webkit-mask-image: none; mask-image: none; } .partners__track { animation: none; width: auto; } .partners__set { flex-wrap: wrap; } .partners__set[aria-hidden] { display: none; } }
a.partner:hover { color: var(--fg); }
.partner img { width: 76%; height: 76%; object-fit: contain; opacity: .62; transition: opacity .3s; }
.partners .partner { background: none; border: 0; }
.partner:hover img { opacity: 1; }

/* ---------- about ---------- */
#about { padding-top: 96px; padding-bottom: 96px; }
.about { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.about__left { grid-column: span 5; }
.about__right { grid-column: span 7; }
.h-about { font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -.02em; font-weight: 700; line-height: 1.05; }
.about__intro { display: flex; align-items: flex-start; gap: 20px; }
.about__symbol { flex-shrink: 0; width: 56px; height: 56px; margin-top: 2px; }
.about__loop { margin: 72px 0 0; border-top: 1px solid var(--border); padding-top: 24px; }
.about__loop img { width: 100%; height: auto; display: block; }
.loop-list { display: none; }
.loop-list__eyebrow { display: block; color: var(--muted); font-size: .7rem; letter-spacing: .24em; }
.loop-list__title { margin-top: 6px; font-size: 1.1rem; font-weight: 500; }
.loop-list ol { list-style: none; margin: 28px 0 0; padding: 0 0 0 22px; border-left: 1px solid rgba(243,243,240,.5); display: flex; flex-direction: column; gap: 28px; }
.loop-list li { position: relative; display: flex; flex-direction: column; gap: 4px; }
.loop-list li::before { content: ""; position: absolute; left: -27px; top: 4px; width: 9px; height: 9px; border-radius: 50%; background: var(--brand-bright); }
.loop-list li::before { opacity: .45; animation: spot 10s linear infinite; }
.loop-list li:nth-child(2)::before { animation-delay: 2.5s; }
.loop-list li:nth-child(3)::before { animation-delay: 5s; }
.loop-list li:nth-child(4)::before { animation-delay: 7.5s; }
@keyframes spot { 0%, 16%, 100% { opacity: .45; box-shadow: 0 0 0 0 rgba(51,102,255,0); } 3% { opacity: 1; box-shadow: 0 0 0 7px rgba(51,102,255,.3); } }
@media (prefers-reduced-motion: reduce) { .loop-list li::before { animation: none; opacity: 1; } }
.loop-list b { color: var(--brand-bright); font-size: .7rem; letter-spacing: .2em; font-weight: 600; }
.loop-list strong { font-size: 1.05rem; letter-spacing: .14em; font-weight: 500; }
.loop-list em { font-style: normal; font-size: .85rem; opacity: .85; }
.loop-list span { color: var(--muted); font-size: .88rem; line-height: 1.5; }
.loop-list__back { margin-top: 20px; color: var(--brand-bright); font-size: .72rem; letter-spacing: .2em; font-weight: 600; }
.about__motto { margin-top: 20px; color: var(--muted); font-size: .9rem; line-height: 1.6; word-break: keep-all; }
.about__body { max-width: 36rem; color: var(--body); font-size: 1.02rem; line-height: 1.75; word-break: keep-all; }
.history { min-width: 0; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); }
.history__bar { display: flex; align-items: center; gap: 20px; }
.history__ticker { position: relative; flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); }
.history__track { display: inline-flex; white-space: nowrap; animation: historyFlow 48s linear infinite; }
.history__ticker:hover .history__track { animation-play-state: paused; }
.history__item { display: inline-flex; align-items: center; gap: 10px; padding-right: 40px; color: var(--muted); font-size: .8rem; }
.history__item i { font-style: normal; color: var(--brand-bright); font-size: .72rem; letter-spacing: .04em; }
@keyframes historyFlow { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.history__toggle { flex: none; font-size: .75rem; letter-spacing: .04em; padding: 7px 14px; border: 1px solid rgba(243,243,240,.25); border-radius: 999px; color: var(--fg); transition: border-color .3s, color .3s; }
.history__toggle:hover, .history__toggle[aria-expanded="true"] { border-color: var(--brand-bright); color: var(--brand-bright); }
.history__toggle span { display: inline-block; width: .8em; text-align: center; }
.history__list { list-style: none; margin: 20px 0 0; padding: 0; opacity: 0; transform: translateY(-6px); transition: opacity .4s, transform .4s; }
.history__list.is-open { opacity: 1; transform: none; }
.history__list li { display: grid; grid-template-columns: 72px 88px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 11px 0; border-top: 1px solid var(--border); font-size: .85rem; }
.history__date { color: var(--muted); font-size: .76rem; letter-spacing: .04em; }
.history__type { color: var(--brand-bright); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }
.history__title { color: var(--body); }
@media (prefers-reduced-motion: reduce) { .history__track { animation: none; } }
.about__flow { margin-top: 24px; color: rgba(243,243,240,.8); font-size: .85rem; letter-spacing: .02em; }

/* ---------- contact ---------- */
.section--contact { padding-top: 112px; padding-bottom: 112px; }
.section--contact { position: relative; overflow: hidden; isolation: isolate; min-height: 560px; display: flex; align-items: center; }
.section--contact > .contact { width: 100%; }
.contact__bg { position: absolute; inset: 0; z-index: -1; background: #0d1a4d; }
.contact__bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; }
.contact__shade { position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(20,20,20,.92) 0%, rgba(20,20,20,.72) 32%, rgba(20,20,20,.18) 62%, rgba(20,20,20,.08) 100%),
    linear-gradient(180deg, rgba(20,20,20,.55) 0%, rgba(20,20,20,0) 22%, rgba(20,20,20,0) 78%, rgba(20,20,20,.55) 100%); }
.section--contact .contact__side { display: none; }
.section--contact .contact__lead { color: var(--body); }
.section--contact .contact__email { margin-top: 2px; }
.contact__lead { font-size: 1rem; line-height: 1.7; }
.contact__email { display: inline-block; margin-top: 16px; font-size: clamp(1.4rem, 3.5vw, 2.4rem); letter-spacing: -.01em; font-weight: 500; transition: color .3s; word-break: break-all; }
.contact__email:hover { color: var(--muted); }
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 580px); gap: 48px; align-items: center; }
.contact__side { display: flex; justify-content: center; }
.talk { width: 100%; max-width: 580px; height: auto; display: block; }
.contact__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact__steps li { display: flex; gap: 14px; }
.contact__steps b { color: var(--brand-bright); font-size: .72rem; letter-spacing: .08em; font-weight: 600; padding-top: 3px; }
.contact__steps strong { display: block; font-size: .95rem; font-weight: 600; color: var(--fg); }
.contact__steps span { display: block; margin-top: 2px; color: var(--muted); font-size: .82rem; line-height: 1.5; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--fg); color: var(--bg); padding: 16px 34px; border-radius: 999px;
  font-size: 1rem; letter-spacing: .04em; font-weight: 600; transition: opacity .3s;
}
.btn-primary:hover { opacity: .9; }

/* ---------- footer ---------- */
.footer { padding-top: 64px; padding-bottom: 40px; border-top: 1px solid var(--brand-bright); }
.footer__cols { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 40px; }
.footer__studio, .footer__col { grid-column: span 4; }
.footer__logo { width: 76px; height: auto; margin-bottom: 8px; }
.footer__name { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; }
.footer__small { font-size: .82rem; line-height: 1.7; }
.footer__head { display: block; color: var(--fg); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.footer__sitemap { margin-top: 16px; display: grid; grid-template-columns: max-content max-content; grid-template-rows: repeat(4, auto); grid-auto-flow: column; column-gap: 48px; row-gap: 10px; }
.footer__sitemap button, .footer__link { color: var(--muted); font-size: .82rem; transition: color .3s; word-break: break-all; }
.footer__sitemap button:hover, .footer__link:hover { color: var(--fg); }
.footer__wordmark { margin-top: 64px; text-align: center; line-height: 1; user-select: none; color: rgba(243, 243, 240, 0.07); font-size: clamp(2.4rem, 11vw, 9rem); letter-spacing: -.03em; font-weight: 700; white-space: nowrap; }
.footer__bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.footer__tiny, .footer__totop { font-size: .76rem; }
.footer__totop { color: var(--muted); transition: color .3s; }
.footer__totop:hover { color: var(--fg); }

/* ---------- detail modal ---------- */
.detail { position: fixed; inset: 0; z-index: 100; overflow-y: auto; background: var(--bg); animation: fadeIn .3s ease; }
.detail[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.detail__bar {
  position: sticky; top: 0; z-index: 10; height: 56px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(20,20,20,.95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.detail__crumb { color: var(--muted); font-size: .75rem; letter-spacing: .1em; }
.detail__close { font-size: .8rem; letter-spacing: .06em; min-height: 44px; }
.detail__body { max-width: 56rem; margin: 0 auto; padding-top: 80px; padding-bottom: 80px; }
.detail__title { margin-top: 12px; font-size: clamp(2rem, 5vw, 3.6rem); letter-spacing: -.02em; font-weight: 700; line-height: 1.02; }
.detail__desc { margin-top: 24px; max-width: 42rem; color: var(--body); font-size: 1.05rem; line-height: 1.7; word-break: keep-all; }
.detail__meta { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--border); display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.detail__meta dt { color: var(--muted); font-size: .72rem; letter-spacing: .1em; }
.detail__meta dd { margin-top: 4px; font-size: .95rem; }
.detail__media { margin-top: 48px; display: flex; flex-direction: column; gap: 32px; }
.detail__media img, .detail__media video { width: 100%; background: var(--media-empty); }
.detail__media figcaption { margin-top: 8px; color: var(--muted); font-size: .8rem; }
.detail__empty { margin-top: 40px; padding: 64px 0 32px; border-top: 1px solid var(--border); text-align: center; color: var(--muted); line-height: 1.7; }
.detail__nav { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.detail__nav button { color: var(--muted); font-size: .85rem; min-height: 44px; transition: color .3s; }
.detail__nav button:hover:not(:disabled) { color: var(--fg); }
.detail__nav button:disabled { opacity: .3; cursor: default; }

/* ---------- video player ---------- */
.player { position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center; gap: 28px; animation: fadeIn .25s ease; }
.player[hidden] { display: none; }
.player__backdrop { position: absolute; inset: 0; background: rgba(5,5,5,.94); }
.player__panel { position: relative; z-index: 1; display: grid; grid-template-columns: auto minmax(260px, 380px); gap: 56px; height: min(86vh, 900px); max-width: calc(100vw - 96px); }
.player__stage { margin: 0; height: 100%; aspect-ratio: 9 / 16; min-height: 0; }
.player__stage video { display: block; width: 100%; height: 100%; background: #000; object-fit: contain; border-radius: 6px; }
.player__info { display: flex; flex-direction: column; min-height: 0; padding: 8px 0 0; }
.player__title { margin: 14px 0 0; font-size: clamp(1.4rem, 2.1vw, 1.9rem); font-weight: 700; line-height: 1.3; word-break: keep-all; }
.player__meta { margin: 10px 0 0; color: var(--muted); font-size: .8rem; letter-spacing: .04em; }
.player__desc { flex: 0 1 auto; min-height: 0; overflow-y: auto; margin-top: 28px; color: var(--body); font-size: .95rem; line-height: 1.8; word-break: keep-all; }
.player__desc { overflow-x: hidden; overflow-wrap: anywhere; }
.player__desc p { margin: 0; }
.player__desc p + p { margin-top: 1em; }
.player__usage { margin: 20px 0 24px; }
.player__links { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 24px; }
.player__link { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; padding: 8px 16px; border-radius: 999px; background: var(--brand-bright); color: #fff; transition: opacity .3s; }
.player__link:hover { opacity: .85; }
.player__usage .work-items { margin-top: 0; }
.player__navrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--border); }
.player__navrow button { font-size: .8rem; padding: 10px 16px; min-height: 40px; border: 1px solid rgba(243,243,240,.25); border-radius: 999px; transition: border-color .3s, color .3s; }
.player__navrow button:hover { border-color: var(--brand-bright); color: var(--brand-bright); }
.player__count { color: var(--muted); font-size: .78rem; letter-spacing: .08em; }
/* 이미지 묶음(앱·웹) 보기 */
.player__stage--gallery { position: relative; display: flex; flex-direction: column; height: 100%; aspect-ratio: auto !important; width: calc((min(86vh, 900px) - 44px) * 760 / 1559); }
.gallery__view { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.gallery__track { display: flex; height: 100%; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.gallery__slide { flex: 0 0 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.gallery__slide img { max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.gallery__nav { position: absolute; top: calc(50% - 22px); z-index: 2; display: flex; align-items: center; justify-content: center; padding: 0 0 3px; width: 44px; height: 44px; border-radius: 50%; background: rgba(8,8,8,.72); border: 1px solid rgba(243,243,240,.25); font-size: 1.4rem; line-height: 1; transform: translateY(-50%); transition: border-color .3s, color .3s, opacity .3s; }
.gallery__nav--prev { left: -64px; } .gallery__nav--next { right: -64px; }
.gallery__nav:hover:not(:disabled) { border-color: var(--brand-bright); color: var(--brand-bright); }
.gallery__nav:disabled { opacity: .25; cursor: default; }
.gallery__bar { display: flex; align-items: center; justify-content: center; gap: 14px; height: 44px; }
.gallery__dots { display: flex; gap: 8px; }
.gallery__dot { width: 7px; height: 7px; padding: 0; border-radius: 50%; background: rgba(243,243,240,.28); transition: background .3s, transform .3s; }
.gallery__dot.is-on { background: var(--brand-bright); transform: scale(1.25); }
.gallery__count { color: var(--muted); font-size: .72rem; letter-spacing: .08em; min-width: 40px; }
.player__panel--gallery { gap: 120px; }
/* 가로형(웹) 보기 */
.player__panel--wide { grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: 56px; height: auto; width: min(1320px, calc(100vw - 96px)); align-items: center; }
.player__panel--wide .player__stage--gallery { width: min(100%, calc((86vh - 44px) * var(--fr, 1.4453))); height: auto; justify-self: center; }
.player__panel--wide .gallery__view { flex: none; aspect-ratio: var(--fr, 1.4453); border-radius: 6px; background: #0d0d0d; }
.player__panel--wide .gallery__slide img { width: 100%; height: 100%; object-fit: contain; }
.player__panel--wide .gallery__nav--prev { left: 16px; } .player__panel--wide .gallery__nav--next { right: 16px; }
.player__panel--wide .player__info { max-height: 86vh; }
.gallery__slide--scroll { overflow-y: auto; align-items: flex-start; overscroll-behavior: contain; }
.gallery__slide--scroll img, .player__panel--wide .gallery__slide--scroll img { width: 100%; height: auto; max-height: none; }
.card__media--contain { background: #1b1b1b; padding: 18px 0 0; }
.card__media--contain img { object-fit: contain; object-position: center top; }
.player__close { position: absolute; top: 20px; right: 24px; z-index: 2; font-size: .8rem; letter-spacing: .06em; min-height: 44px; }
@media (min-width: 700px) and (max-width: 1100px) {
  .player__panel { gap: 32px; height: min(78vh, 900px); grid-template-columns: auto minmax(220px, 320px); }
  .player__panel--gallery { gap: 88px; }
  .player__stage--gallery { width: calc((min(78vh, 900px) - 44px) * 760 / 1559); }
  .gallery__nav--prev { left: -54px; } .gallery__nav--next { right: -54px; }
  .player__panel--wide { grid-template-columns: minmax(0, 1fr) minmax(240px, 300px); gap: 32px; width: calc(100vw - 64px); height: auto; }
  .player__panel--wide .player__stage--gallery { width: 100%; }
  .player__panel--wide .player__info { max-height: 80vh; }
  .player__panel--wide .gallery__nav--prev { left: 12px; } .player__panel--wide .gallery__nav--next { right: 12px; }
}

/* ==================================================================
 * Mobile (< 700px)
 * ================================================================== */
@media (max-width: 699px) {
  :root { --pad: 24px; }
  .sidebar { display: none; }
  .main { margin-left: 0; padding-top: 100px; }

  .mobile-bar { display: block; position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: var(--nav); }
  .mobile-bar__head { display: flex; align-items: center; justify-content: space-between; height: 56px; padding: 0 20px; }
  .mobile-bar__logo { height: 24px; width: auto; object-fit: contain; }
  .mobile-bar__toggle { min-height: 44px; min-width: 44px; margin-right: -10px; display: flex; align-items: center; justify-content: center; }
  .burger { position: relative; display: block; width: 22px; height: 14px; }
  .burger i { position: absolute; left: 0; width: 100%; height: 1.5px; border-radius: 2px; background: var(--fg); transition: transform .3s ease, opacity .2s ease, top .3s ease; }
  .burger i:nth-child(1) { top: 0; }
  .burger i:nth-child(2) { top: 6.25px; }
  .burger i:nth-child(3) { top: 12.5px; }
  .is-open .burger i:nth-child(1) { top: 6.25px; transform: rotate(45deg); }
  .is-open .burger i:nth-child(2) { opacity: 0; }
  .is-open .burger i:nth-child(3) { top: 6.25px; transform: rotate(-45deg); }
  .mobile-tabs { display: flex; gap: 4px; overflow-x: auto; border-top: 1px solid var(--border); padding: 0 12px; }
  .mobile-tabs[hidden] { display: none; }
  .tab { flex-shrink: 0; white-space: nowrap; padding: 0 10px; min-height: 44px; font-size: .8rem; letter-spacing: .02em; color: var(--nav-dim); border-bottom: 2px solid transparent; transition: color .3s; text-align: center; }
  .tab:hover { color: var(--fg); }
  .tab.is-active { color: var(--brand-bright); border-bottom-color: var(--brand-bright); }

  .mobile-menu { display: block; position: fixed; inset: 0; z-index: 40; background: var(--nav); padding: 80px 24px 40px; overflow-y: auto; animation: fadeIn .25s ease; }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu__nav { display: flex; flex-direction: column; gap: 20px; }
  .mobile-menu__nav .nav-btn { font-size: 1.6rem; font-weight: 500; min-height: 44px; }
  .mobile-menu__nav .nav-gap { height: 16px; }
  .mobile-menu .lang--lg { gap: 10px; margin-top: 56px; }
  .mobile-menu .lang--lg button { min-width: 64px; min-height: 44px; padding: 0 18px; border: 1px solid var(--border); border-radius: 999px; font-size: 15px; letter-spacing: 0; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; text-align: center; }
  .mobile-menu .lang--lg button.is-active { border-color: var(--fg); color: var(--fg); }

  .hero__media { height: 620px; min-height: 0; }
  .hero__text { padding-bottom: 64px; }
  .hero__meta { flex-direction: column; align-items: flex-start; }

  .work-intro { padding-top: 80px; grid-template-columns: 1fr; }
  .work-intro__art { margin-top: 28px; }

  .section { padding-top: 56px; padding-bottom: 56px; scroll-margin-top: 100px; }
  .section__head { margin-bottom: 32px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card__info { padding: 16px; }
  .card__row { flex-direction: column; gap: 8px; }

  #partners, #about { padding-top: 64px; padding-bottom: 64px; }
  #partners .section__head { margin-bottom: 40px; }
  .partner { width: 120px; margin-right: 24px; }
  .about { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .about__left, .about__right { grid-column: auto; }
  .about__intro { gap: 14px; }
  .about__loop { margin-top: 48px; padding-top: 32px; }
  .about__loop img { display: none; }
  .loop-list { display: block; }
  .about__symbol { width: 44px; height: 44px; }
  .section--contact { padding-top: 80px; padding-bottom: 80px; }
  .section--contact { min-height: 520px; align-items: flex-end; }
  .contact__bg video { object-position: 40% 0%; }
  .contact__shade { background: linear-gradient(180deg, rgba(20,20,20,.35) 0%, rgba(20,20,20,.15) 35%, rgba(20,20,20,.82) 68%, rgba(20,20,20,.95) 100%); }
  .contact { grid-template-columns: 1fr; gap: 48px; }
  .contact__side { gap: 20px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__studio, .footer__col { grid-column: span 2; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .detail__body { padding-top: 56px; padding-bottom: 56px; }
  .detail__meta { grid-template-columns: 1fr; }
  .player { align-items: stretch; }
  .player__panel { display: block; width: 100vw; max-width: none; height: 100%; overflow-y: auto; padding: 64px 0 32px; }
  .player__stage { height: auto; width: min(100%, calc(70vh * 9 / 16)); margin: 0 auto; }
  .player__stage video { height: auto; aspect-ratio: 9 / 16; border-radius: 4px; }
  .player__info { padding: 24px 20px 0; }
  .player__desc { overflow: visible; margin-top: 20px; }
  .player__stage--gallery { width: min(76%, calc(66vh * 760 / 1559)); height: auto; margin: 0 auto; }
  .gallery__view { aspect-ratio: 760 / 1559; flex: none; }
  .gallery__nav { width: 38px; height: 38px; font-size: 1.2rem; }
  .gallery__nav--prev { left: -46px; } .gallery__nav--next { right: -46px; }
  .player__panel--wide { width: 100vw; }
  .player__panel--wide .player__stage--gallery { width: calc(100% - 32px); margin: 0 auto; }
  .player__panel--wide .gallery__nav--prev { left: 8px; } .player__panel--wide .gallery__nav--next { right: 8px; }
}

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

/* 일본어·영어: 띄어쓰기 없는 일본어가 keep-all 때문에 줄바꿈이 안 되는 문제 방지 */
html[lang="ja"] body, html[lang="ja"] body * { word-break: normal !important; line-break: strict; }
