:root {
  --bg: #0A0A0A;
  --panel: #141414;
  --line: #1F1F1F;
  --line2: #262626;
  --text: #E8E4DC;
  --sub: #A8A39A;
  --mute: #8A857C;
  --accent: #E0A458;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: 'Noto Sans KR', Inter, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--accent); }
button { font: inherit; }
.en { font-family: Inter, sans-serif; }
.display { font-family: 'Bebas Neue', sans-serif; font-weight: 400; }
.wrap { max-width: 1280px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.eyebrow { font-family: Inter, sans-serif; font-size: 13px; letter-spacing: 3px; color: var(--accent); }

/* header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(10,10,10,.88); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-nav { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; }
.logo { font-family: 'Bebas Neue', sans-serif; font-size: 34px; letter-spacing: 2px; line-height: 1; }
.menu { display: flex; flex-wrap: wrap; gap: 28px; font-size: 15px; }
.menu a[aria-current="page"] { color: var(--accent); }
.menu a { transition: text-shadow .3s ease, color .3s ease; }
@media (hover: hover) and (pointer: fine) {
  .menu a:hover { color: var(--accent); text-shadow: 0 0 10px rgba(224,164,88,.75), 0 0 26px rgba(224,164,88,.35); }
}

/* media frames */
.frame { position: relative; aspect-ratio: 16 / 9; background: var(--panel); border: 1px solid var(--line2); overflow: hidden; }
.frame video, .frame iframe, .frame img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; object-fit: cover; }
.placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 14px; align-items: center; justify-content: center; color: var(--mute); font-family: Inter, sans-serif; font-size: 12px; letter-spacing: 3px; }
.placeholder svg { stroke: currentColor; }
.placeholder.hot { color: var(--accent); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 24px; border: 1px solid var(--text); background: none; color: var(--text); cursor: pointer; font-size: 15px; }
.btn, .card { transition: box-shadow .3s ease, border-color .3s ease, color .3s ease, transform .3s ease; }
.btn.solid { background: var(--accent); border-color: var(--accent); color: #0A0A0A; font-family: Inter, sans-serif; font-weight: 600; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover, .card:hover { color: var(--accent); border-color: var(--accent); box-shadow: 0 0 12px rgba(224,164,88,.45), 0 0 32px rgba(224,164,88,.22); }
  .btn.solid:hover, .card.mail:hover { color: #0A0A0A; border-color: var(--accent); box-shadow: 0 0 16px rgba(224,164,88,.7), 0 0 48px rgba(224,164,88,.35); transform: translateY(-2px); }
}

/* home */
.hero { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between; padding-top: 96px; padding-bottom: 56px; }
.hero h1 { margin: 0; font-size: clamp(88px, 14vw, 200px); line-height: .85; letter-spacing: 4px; }
.hero { transform-origin: 50% 0; will-change: opacity, transform; }
.hero p { margin: 0; max-width: 480px; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.6; color: var(--sub); font-weight: 300; }
.compact-bar { position: absolute; top: 100%; left: 0; right: 0; background: rgba(10,10,10,.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); padding: 14px 24px; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 20px; text-align: center; opacity: 0; transform: translateY(-12px); pointer-events: none; transition: opacity .45s ease, transform .45s ease; }
.compact-bar .t { font-family: 'Bebas Neue', sans-serif; font-size: clamp(30px, 3.4vw, 44px); letter-spacing: 3px; line-height: 1; }
.compact-bar .t-ko { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; line-height: 1.2; }
.cat-head { transform-origin: 0 0; will-change: opacity, transform; }
.compact-bar .s { font-size: clamp(15px, 1.6vw, 21px); color: var(--sub); font-weight: 300; word-break: keep-all; }
body.compact .compact-bar { opacity: 1; transform: none; }
.cat-row { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 56px; border-top: 1px solid var(--line); }
.cat-text { flex: 1 1 300px; display: flex; flex-direction: column; gap: 20px; }
.cat-text h2 { margin: 0; font-size: 44px; font-weight: 700; line-height: 1.15; }
.cat-text p { margin: 0; font-size: 15px; color: var(--sub); }
.cat-text .btn { align-self: flex-start; }
.cat-media { flex: 2 1 560px; min-width: 0; }
.home-foot { border-top: 1px solid var(--line); padding-top: 64px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 32px; }
.home-foot h2 { margin: 0; font-size: clamp(56px, 7vw, 96px); letter-spacing: 3px; line-height: .9; }
.row { display: flex; flex-wrap: wrap; gap: 16px; }
.copyright { font-family: Inter, sans-serif; font-size: 13px; color: var(--mute); }

/* category */
.cat-head { padding-top: 72px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 16px; }
.cat-head h1 { margin: 0; font-size: 64px; font-weight: 700; line-height: 1.1; }
.cat-head p { margin: 0; max-width: 560px; font-size: 17px; line-height: 1.7; color: var(--sub); }
.featured { padding-bottom: 72px; display: flex; flex-direction: column; gap: 20px; }
.meta-line { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 15px; }
.meta-line span:last-child { color: var(--mute); }
.more { border-top: 1px solid var(--line); padding-top: 56px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 64px; }
.more > h2 { margin: 0; font-size: 28px; font-weight: 700; }
.work { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.work-media { flex: 3 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.stills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.still { position: relative; aspect-ratio: 16 / 9; background: var(--panel); border: 1px solid var(--line2); padding: 0; cursor: zoom-in; color: var(--mute); overflow: hidden; }
.still img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.still:hover img { transform: scale(1.03); }
.still .lbl { position: absolute; left: 12px; bottom: 10px; font-family: Inter, sans-serif; font-size: 11px; letter-spacing: 2px; }
.work-text { flex: 2 1 300px; display: flex; flex-direction: column; gap: 12px; }
.work-text h3 { margin: 0; font-size: 24px; font-weight: 700; }
.work-text .m { font-size: 14px; color: var(--mute); }
.work-text p { margin: 0; font-size: 15px; line-height: 1.8; color: #C9C4BB; white-space: pre-line; }
.sub-foot { border-top: 1px solid var(--line); }
.sub-foot .wrap { padding-top: 24px; padding-bottom: 24px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-family: Inter, sans-serif; font-size: 13px; color: var(--mute); }
.sub-foot a { color: var(--mute); }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.94); display: none; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 72px 16px 40px; }
.lb.open { display: flex; }
.lb-stage { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 1280px; }
.lb-img { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; }
.lb-img img { max-width: 100%; max-height: 78vh; display: block; }
.lb-img .ph { width: 100%; aspect-ratio: 16 / 9; background: var(--panel); border: 1px solid var(--line2); display: flex; align-items: center; justify-content: center; color: var(--mute); font-family: Inter, sans-serif; letter-spacing: 3px; font-size: 14px; }
.icon-btn { flex: none; width: 48px; height: 48px; background: none; border: 1px solid #3A3A3A; color: var(--text); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.icon-btn:hover { color: var(--accent); border-color: var(--accent); }
.lb-close { position: absolute; top: 16px; right: 16px; border: none; }
.lb-cap { display: flex; gap: 16px; font-size: 14px; color: var(--sub); }

/* contact */
.contact { padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 56px; }
.contact h1 { margin: 0; font-size: clamp(72px, 11vw, 160px); letter-spacing: 3px; line-height: .88; }
.contact .lead { margin: 0; max-width: 520px; font-size: 17px; line-height: 1.7; color: var(--sub); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; gap: 40px; padding: 32px; border: 1px solid #3A3A3A; background: #111; text-align: left; cursor: pointer; color: var(--text); width: 100%; }
.card.mail { background: var(--accent); border-color: var(--accent); color: #0A0A0A; }
.card-top { display: flex; justify-content: space-between; align-items: center; }
.card-body { display: flex; flex-direction: column; gap: 8px; }
.card-k { font-family: Inter, sans-serif; font-size: 12px; letter-spacing: 3px; color: var(--mute); }
.card.mail .card-k, .card.mail .card-h { color: #3A2A14; }
.card-v { font-family: Inter, sans-serif; font-size: 28px; font-weight: 600; overflow-wrap: anywhere; }
.card-h { font-size: 14px; color: var(--sub); }
.biz { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; padding: 28px 32px; border: 1px solid var(--line2); }
.biz-info { display: flex; flex-wrap: wrap; gap: 16px 48px; }
.biz-info div { display: flex; flex-direction: column; gap: 6px; }
.biz-info .k { font-size: 12px; letter-spacing: 3px; color: var(--mute); }
.biz-info .v { font-size: 17px; font-weight: 500; }
.tax { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border: 1.5px solid var(--accent); background: rgba(224,164,88,.12); color: var(--accent); font-size: 20px; font-weight: 700; }
.tax-sep { width: 1px; height: 18px; background: rgba(224,164,88,.5); }
.tax-sub { font-size: 15px; font-weight: 500; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 32px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 60; display: flex; align-items: center; gap: 10px; padding: 14px 22px; background: var(--text); color: #0A0A0A; font-size: 15px; font-weight: 500; box-shadow: 0 8px 24px rgba(0,0,0,.5); white-space: nowrap; transition: opacity .25s, transform .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 640px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .menu { gap: 18px; font-size: 14px; }
  .cat-head h1 { font-size: 44px; }
  .cat-text h2 { font-size: 34px; }
  .stills { gap: 8px; }
  .card-v { font-size: 19px; overflow-wrap: normal; }
  .tax { font-size: 18px; }
}
