/* 앱스타 — 명함의 흰 바탕 · 진남색 글자 · 파랑→보라 그라데이션(로고와 가장자리 띠에만). 레퍼런스 구역만 어두운 전시장.
   모바일 먼저, 미디어쿼리는 min-width 만. 근거: docs/design.md */
@font-face { font-family: 'Pretendard Variable'; src: url('/assets/fonts/PretendardVariable.woff2') format('woff2-variations'); font-weight: 45 920; font-display: swap; }

:root {
  --ink: #1C1A4A;
  --ink-2: #3A3868;
  --muted: #5D6079;
  --line: #E3E4EE;
  --bg: #FFFFFF;
  --bg-soft: #F5F6FB;
  --brand: #5B5CF0;
  --brand-deep: #4338CA;
  --brand-tint: #EEEEFE;
  --g1: #2F8DF0;
  --g3: #8B35E6;
  --night: #0F0E26;
  --night-2: #19183A;
  --night-line: #2C2B52;
  --night-text: #E9E9F6;
  --night-muted: #A5A6C4;
  --live: #10B981;
  --radius: 18px;
  --radius-sm: 12px;
  --gutter: clamp(16px, 4.5vw, 40px);
  --sec: clamp(72px, 11vw, 140px);
  --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --latin: 'Poppins', var(--font);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.65; word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1.25; letter-spacing: -0.02em; overflow-wrap: anywhere; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.num { font-family: var(--latin); font-variant-numeric: tabular-nums; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

/* 버튼 */
.btn { display: inline-flex; min-width: 0; max-width: 100%; overflow-wrap: anywhere; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border-radius: 14px; font-size: 16px; font-weight: 700; text-decoration: none; border: 1.5px solid transparent; text-align: center; transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease; }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 15px; border-radius: 12px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -12px rgba(91, 92, 240, .8); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--brand-deep); transform: translateY(-1px); }
.btn-line { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-line:hover, .btn-line:focus-visible { border-color: var(--ink); transform: translateY(-1px); }
.btn-line-dark { border-color: var(--night-line); background: transparent; color: var(--night-text); }
.btn-line-dark:hover, .btn-line-dark:focus-visible { border-color: var(--night-text); }

.eyebrow { font-family: var(--latin); font-weight: 600; font-size: 13px; letter-spacing: .32em; color: var(--brand); }

/* 머리 */
.top { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.top.scrolled { border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; gap: 12px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font-family: var(--latin); font-weight: 700; font-size: 22px; letter-spacing: -0.01em; color: var(--ink); flex: none; }
.logo img { width: 36px; height: 36px; }
.nav { display: none; }
.menu { position: relative; flex: none; }
.menu summary { list-style: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; }
.menu[open] summary { background: var(--bg-soft); }
.menu-panel { position: absolute; right: 0; top: calc(100% + 8px); width: min(260px, calc(100vw - 32px)); display: grid; padding: 8px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 48px -20px rgba(28, 26, 74, .35); }
.menu-panel a { display: flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.menu-panel a:hover, .menu-panel a:focus-visible { background: var(--bg-soft); }
.top-cta { margin-left: auto; flex: 0 1 auto; }

/* 히어로 */
.hero { position: relative; padding-top: clamp(40px, 8vw, 96px); overflow: hidden; }
.hero::before, .hero::after { content: ''; position: absolute; top: 0; bottom: 0; width: 6px; background: linear-gradient(var(--g1), var(--g3)); }
.hero::before { left: 0; }
.hero::after { right: 0; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 7vw, 72px); align-items: center; }
.hero-copy { min-width: 0; }
.hero h1 { margin-top: 18px; font-size: clamp(2.6rem, 9vw, 4.5rem); font-weight: 820; line-height: 1.2; letter-spacing: -0.035em; }
.lede { margin-top: 22px; max-width: 34em; font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--muted); line-height: 1.75; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 40px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); }
.stats div { min-width: 0; }
.stats dt { font-size: 13px; color: var(--muted); }
.stats dd { margin: 2px 0 0; font-size: 15px; font-weight: 700; }
.stats .num { font-size: clamp(1.9rem, 5vw, 2.6rem); font-weight: 700; letter-spacing: -0.03em; margin-right: 2px; color: var(--ink); }

.hero-art { position: relative; min-width: 0; padding: 0 9% 12% 0; }
.frame { position: relative; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 1px 0 rgba(28, 26, 74, .06), 0 30px 60px -28px rgba(28, 26, 74, .45); border: 1px solid var(--line); }
.frame .bar { display: flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.frame .bar i { width: 7px; height: 7px; border-radius: 50%; background: #CDD0DE; flex: none; }
.frame .bar b { margin-left: 8px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--latin); font-size: 12px; font-weight: 500; color: var(--muted); }
.frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.phone { position: absolute; right: 0; bottom: 0; width: 26%; border-radius: 22px; padding: 5px; background: #0F0E26; box-shadow: 0 30px 60px -24px rgba(28, 26, 74, .6); }
.phone img { width: 100%; aspect-ratio: 9 / 18; object-fit: cover; object-position: top; border-radius: 17px; }

.ticker { margin-top: clamp(56px, 9vw, 110px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 0; }
.ticker-in { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 22px; }
.ticker span { display: inline-flex; align-items: center; gap: 22px; min-width: 0; font-size: clamp(1rem, 1.8vw, 1.2rem); font-weight: 700; color: var(--ink-2); }
.ticker span:not(:last-child)::after { content: ''; flex: none; width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); background: linear-gradient(135deg, var(--g1), var(--g3)); }

/* 구역 공통 */
.sec-head { max-width: 760px; }
.sec-head h2 { margin-top: 14px; font-size: clamp(1.85rem, 4.6vw, 3rem); font-weight: 800; letter-spacing: -0.03em; }
.sec-sub { margin-top: 16px; font-size: clamp(1rem, 1.4vw, 1.1rem); color: var(--muted); line-height: 1.75; max-width: 40em; }

/* 만드는 것 */
.services { padding: var(--sec) 0; }
.svc-grid { list-style: none; margin: clamp(36px, 6vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.svc { min-width: 0; position: relative; padding: 28px 26px 24px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid transparent; transition: border-color .2s ease, background-color .2s ease; }
.svc:hover, .svc:focus-within { background: #fff; border-color: var(--line); }
.svc-k { font-family: var(--latin); font-weight: 700; font-size: 13px; letter-spacing: .24em; background: linear-gradient(90deg, var(--g1), var(--g3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.svc h3 { margin-top: 12px; font-size: 1.5rem; font-weight: 800; }
.svc > p:not(.svc-k):not(.svc-ex) { margin-top: 10px; color: var(--muted); }
.svc-ex { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.svc-ex span { font-size: 13px; color: var(--muted); margin-right: 4px; }
.svc-ex button { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 600; }
.svc-ex button:hover, .svc-ex button:focus-visible { border-color: var(--brand); color: var(--brand-deep); }

/* 레퍼런스 — 어두운 전시장 */
.works { padding: var(--sec) 0; background: var(--night); color: var(--night-text); }
.works .eyebrow { color: #9DA2FF; }
.works .sec-sub { color: var(--night-muted); }
.filters { display: grid; gap: 10px; margin-top: clamp(32px, 5vw, 48px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.chips button { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--night-line); background: transparent; color: var(--night-muted); font-size: 14px; font-weight: 600; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.chips button .num { margin-left: 4px; opacity: .8; }
.chips button:hover, .chips button:focus-visible { color: var(--night-text); border-color: #4A4980; }
.chips button[aria-pressed="true"] { background: var(--night-text); color: var(--night); border-color: var(--night-text); }
.result { margin-top: 26px; font-size: 14px; color: var(--night-muted); }
.result .num { color: var(--night-text); font-weight: 600; margin-right: 2px; }
.work-grid { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px 20px; }
.work { min-width: 0; }
.work[hidden] { display: none; }
.work-btn { display: flex; flex-direction: column; gap: 0; width: 100%; padding: 0; border: 0; background: none; text-align: left; color: inherit; border-radius: var(--radius); }
.work-shot { display: block; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--night-2); border: 1px solid var(--night-line); }
.work-shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.work-btn:hover .work-shot img, .work-btn:focus-visible .work-shot img { transform: scale(1.03); }
.work-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 16px; font-size: 13px; color: var(--night-muted); }
.work-no { font-family: var(--latin); font-weight: 600; font-size: 13px; color: var(--night-text); }
.st { display: inline-flex; align-items: center; gap: 6px; min-height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.st-live { background: rgba(16, 185, 129, .14); color: #6EE7B7; }
.st-live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-mock { background: rgba(157, 162, 255, .14); color: #C4C6FF; }
.work-cat { min-width: 0; }
.work-name { display: block; margin-top: 8px; font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; }
.work-one { display: block; margin-top: 4px; color: var(--night-muted); font-size: 15px; }
.work-desc, .work-tags, .work-more { display: none; }
.empty { margin-top: 30px; padding: 40px 24px; border: 1px dashed var(--night-line); border-radius: var(--radius); text-align: center; color: var(--night-muted); }
.empty .btn { margin-top: 16px; }

/* 홍보영상 */
.reels { padding: var(--sec) 0; background: var(--bg-soft); }
.reel-grid { list-style: none; margin: clamp(36px, 6vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px 16px; }
.reel { min-width: 0; }
.reel-btn { display: flex; flex-direction: column; width: 100%; padding: 0; border: 0; background: none; text-align: left; border-radius: var(--radius-sm); }
.reel-shot { position: relative; display: block; border-radius: var(--radius-sm); overflow: hidden; background: #DADCEA; }
.reel-shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.reel-btn:hover .reel-shot img, .reel-btn:focus-visible .reel-shot img { transform: scale(1.04); }
.reel-dur { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 12px; border-radius: 999px; background: rgba(15, 14, 38, .78); color: #fff; font-family: var(--latin); font-size: 13px; font-weight: 600; }
.reel-dur svg { width: 9px; height: 11px; fill: currentColor; }
.reel-kind { display: block; margin-top: 12px; font-size: 12px; font-weight: 700; color: var(--brand); }
.reel-name { display: block; margin-top: 2px; font-weight: 800; font-size: 1.05rem; }
.reel-sub { display: block; color: var(--muted); font-size: 14px; }

/* 진행 방식 */
.process { padding: var(--sec) 0; }
.steps { list-style: none; margin: clamp(36px, 6vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; counter-reset: s; }
.steps li { min-width: 0; position: relative; padding: 24px 0 24px 64px; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.step-no { position: absolute; left: 0; top: 24px; font-family: var(--latin); font-weight: 700; font-size: 1.15rem; background: linear-gradient(135deg, var(--g1), var(--g3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps h3 { font-size: 1.2rem; font-weight: 800; }
.steps p { margin-top: 6px; color: var(--muted); }

/* 문의 — 명함 */
.contact { padding: var(--sec) 0; background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
.contact-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.ct-copy { min-width: 0; }
.ct-copy h2 { margin-top: 14px; font-size: clamp(1.85rem, 4.6vw, 3rem); font-weight: 800; letter-spacing: -0.03em; }
.ct-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.ct-list { margin: 0; min-width: 0; display: grid; gap: 0; border-top: 2px solid var(--ink); }
.ct-list div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ct-list dt { font-size: 13px; color: var(--muted); }
.ct-list dd { margin: 0; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 1.08rem; font-weight: 600; overflow-wrap: anywhere; }
.ct-list a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.ct-list a:hover { color: var(--brand-deep); text-decoration: underline; text-underline-offset: 4px; }
.copy { min-height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-size: 13px; font-weight: 600; color: var(--muted); }
.copy:hover, .copy:focus-visible { border-color: var(--brand); color: var(--brand-deep); }

/* 바닥 */
.foot { padding: 44px 0 52px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.foot-in { display: grid; gap: 14px; }
.foot .logo { font-size: 18px; }
.foot .logo img { width: 28px; height: 28px; }
.foot a { text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.foot a:hover { color: var(--ink); }
.foot-c { font-size: 13px; }
.biz-legal { margin: 0; display: flex; flex-wrap: wrap; gap: 0 18px; min-width: 0; }
.biz-legal div { display: flex; flex-wrap: wrap; align-items: center; gap: 0 6px; min-width: 0; min-height: 44px; }
.biz-legal dt { color: #8A8DA6; }
.biz-legal dd { margin: 0; min-width: 0; overflow-wrap: anywhere; color: var(--ink-2); }
.biz-legal dd a { text-decoration: underline; text-underline-offset: 3px; }

/* 상세 · 영상 창 */
.dlg { width: min(1080px, 100%); max-width: 100%; max-height: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: #fff; color: var(--ink); overflow: hidden; }
.dlg::backdrop { background: rgba(15, 14, 38, .62); backdrop-filter: blur(4px); }
.dlg[open] { animation: dlg-in .28s cubic-bezier(.2, .7, .2, 1); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(16px); } }
.dlg-in { position: relative; height: 100%; overflow-y: auto; overscroll-behavior: contain; }
.dlg-x { position: sticky; top: 10px; float: right; margin: 10px 10px -54px 0; z-index: 3; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .92); }
.dlg-x svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; }
.d-media { position: relative; background: var(--night); padding: 24px 16px 0; }
.d-shot { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 12px 12px 0 0; }
.d-phone { display: none; }
.d-body { padding: 26px var(--gutter) 34px; display: grid; gap: 14px; }
.d-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; color: var(--muted); }
.d-meta .work-no { color: var(--ink); }
.d-meta .st-live { background: #DCFCEB; color: #047857; }
.d-meta .st-mock { background: var(--brand-tint); color: var(--brand-deep); }
.d-name { font-size: clamp(1.7rem, 4vw, 2.3rem); font-weight: 800; }
.d-one { font-size: 1.08rem; font-weight: 600; color: var(--ink-2); }
.d-desc { color: var(--muted); line-height: 1.8; }
.d-points { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.d-points li { position: relative; padding-left: 20px; line-height: 1.6; }
.d-points li::before { content: ''; position: absolute; left: 0; top: .62em; width: 10px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--g1), var(--g3)); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px; background: var(--bg-soft); font-size: 13px; color: var(--ink-2); }
.d-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.d-note { font-size: 14px; color: var(--muted); padding: 12px 14px; border-radius: 12px; background: var(--bg-soft); }
.d-host { font-family: var(--latin); font-size: 13px; color: var(--muted); }

.dlg-video { background: var(--night); color: var(--night-text); }
.dlg-video .dlg-x { background: rgba(25, 24, 58, .9); border-color: var(--night-line); color: #fff; }
.v-stage { position: relative; background: #000; padding-top: 64px; }
.v-stage video { width: 100%; aspect-ratio: 16 / 9; display: block; background: #000; }
.v-err { position: absolute; inset: 64px 0 0; display: grid; place-items: center; padding: 20px; text-align: center; color: var(--night-muted); }
.v-body { padding: 22px var(--gutter) 32px; display: grid; gap: 8px; }
.v-body h3 { font-size: 1.5rem; font-weight: 800; }
.v-body p:last-child { color: var(--night-muted); }
.dlg-video .reel-kind { margin: 0; color: #9DA2FF; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 12px 18px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; transition: opacity .2s ease, transform .2s ease; max-width: calc(100% - 32px); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* 나타나기 (스크립트가 켜졌을 때만) */
.js .reveal { opacity: 0; transition: opacity .7s ease; }
.js .reveal.in { opacity: 1; }

@media (min-width: 640px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dlg { width: min(1080px, calc(100% - 48px)); height: auto; max-height: calc(100% - 48px); margin: auto; border-radius: 22px; }
  .dlg-in { max-height: calc(100vh - 48px); }
  .d-media { padding: 32px 32px 0; }
  .d-shot { width: 84%; }
  .d-phone { display: block; position: absolute; right: 24px; bottom: -28px; width: 22%; border-radius: 18px; border: 5px solid var(--night); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .6); aspect-ratio: 9 / 18; object-fit: cover; object-position: top; }
  .d-body { padding-top: 40px; }
}
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
  .steps li { padding: 24px 0 0; border-top: 2px solid var(--ink); }
  .steps li:last-child { border-bottom: 0; }
  .step-no { position: static; display: block; margin-bottom: 14px; }
  .filters { grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 12px 20px; }
}
@media (min-width: 1024px) {
  .hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
  .svc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 24px; }
  .work-big { grid-column: span 3; }
  .work-big:nth-child(n+2) { grid-column: span 1; }
  .work-grid > .work-big:first-child .work-btn { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); grid-template-rows: auto auto auto auto auto 1fr; column-gap: 40px; align-content: start; }
  .work-grid > .work-big:first-child .work-shot { grid-row: 1 / span 7; }
  .work-grid > .work-big:first-child .work-meta { margin-top: 6px; }
  .work-grid > .work-big:first-child .work-name { font-size: 2.4rem; margin-top: 14px; }
  .work-grid > .work-big:first-child .work-one { font-size: 1.1rem; margin-top: 10px; color: var(--night-text); }
  .work-grid > .work-big:first-child .work-desc { display: block; margin-top: 14px; color: var(--night-muted); font-size: 15px; line-height: 1.75; }
  .work-grid > .work-big:first-child .work-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
  .work-tags span { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--night-line); font-size: 13px; color: var(--night-muted); }
  .work-grid > .work-big:first-child .work-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; align-self: start; font-weight: 700; color: #C4C6FF; }
  .work-more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
  .work-btn:hover .work-more svg, .work-btn:focus-visible .work-more svg { transform: translateX(4px); }
  .reel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 64px; }
  .foot-in { grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 8px 40px; }
  .foot-c { grid-column: 2; }
  .ct-list div { grid-template-columns: 180px minmax(0, 1fr); align-items: center; gap: 16px; }
}
@media (min-width: 1280px) {
  .nav { display: flex; align-items: center; gap: 4px; margin-left: 28px; min-width: 0; }
  .nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-2); }
  .nav a:hover, .nav a:focus-visible { background: var(--bg-soft); color: var(--ink); }
  .menu { display: none; }
  .reel-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; }
}
