/* =========================================================
   DRAGON ROAD — 홈페이지 2차 시안 (영상형 첫 화면)
   ========================================================= */
:root {
  --bg: #060a12;
  --glass: rgba(10, 16, 28, .55);
  --text: #f2f5fa;
  --mute: #9aa6b8;
  --ember: #ff6b3d;
  --ice: #9fd8e8;
  --line: rgba(255, 255, 255, .12);

  --radius: 16px;
  --font-en: "Sora", "Pretendard Variable", Pretendard, sans-serif;
  --font-ko: "Pretendard Variable", Pretendard, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --header-h: 72px;
  --side: 7vw;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
html, body { overflow-x: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ko);
  font-size: 16px;
  line-height: 1.65;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; }

.btn-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 0 22px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; text-decoration: none; white-space: nowrap;
  transition: transform .2s, background-color .2s, box-shadow .2s;
}
.btn-pill:hover { transform: translateY(-1px); }
.btn-white { background: #fff; color: #0a0f1a; }
.btn-ember { background: var(--ember); color: #1a0702; box-shadow: 0 8px 30px -8px rgba(255, 107, 61, .7); }
.btn-ember:hover { background: #ff8257; }

/* ---------- 상단 메뉴 ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--side);
  transition: background-color .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; color: #fff; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-name { font-family: var(--font-en); font-weight: 700; letter-spacing: .02em; font-size: 1.05rem; }
.site-nav { display: flex; align-items: center; flex: 1; justify-content: space-between; margin-left: 48px; }
.site-nav ul { display: flex; gap: 36px; list-style: none; margin: 0 auto; padding: 0; }
.site-nav ul a { text-decoration: none; font-size: .95rem; color: rgba(242, 245, 250, .85); }
.site-nav ul a:hover { color: #fff; }
.nav-toggle { display: none; }

/* ---------- 첫 화면 ---------- */
.hero {
  position: relative;
  height: 100vh; height: 100svh;
  min-height: 640px;
  overflow: hidden;
  isolation: isolate;
  background: #0a1022 url("assets/hero-poster.jpg?v=86f4fdb3") 15% 50% / cover no-repeat;
}
.hero-video {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 15% 50%; /* ② 컷: 주둥이를 제목에서 떼어 냄 */
}
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(0deg, rgba(6, 10, 18, .9), transparent 35%),
    linear-gradient(90deg, rgba(6, 10, 18, .85) 0%, rgba(6, 10, 18, .4) 40%, transparent 65%),
    linear-gradient(180deg, rgba(6, 10, 18, .45), transparent 18%);
}
.hero-copy {
  position: absolute; left: var(--side); top: 24%;
  max-width: min(46vw, 760px);
}
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .2em; color: var(--ice);
  margin-bottom: 22px;
}
.eyebrow-line { width: 40px; height: 1px; background: var(--ice); opacity: .7; }
.hero-title {
  font-family: var(--font-en); font-weight: 700;
  font-size: clamp(4rem, min(8.6vw, 15.5vh), 10rem); /* 16:9 화면에서도 주둥이(50.5%)보다 왼쪽에서 끝나도록 */
  line-height: .88; letter-spacing: -.03em;
  text-shadow: 0 4px 40px rgba(0, 0, 0, .35);
}
.hero-title span { display: block; }
.hero-sub { margin-top: 26px; font-size: 20px; font-weight: 700; }
.hero-desc { margin-top: 10px; max-width: 36ch; color: var(--mute); font-size: 1rem; }

.field-bar {
  position: absolute; left: var(--side); bottom: 6vh;
  width: min(760px, calc(100% - var(--side) * 2));
  min-height: 64px;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 8px 8px 8px;
  background: var(--glass);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.field-list { display: flex; flex: 1; list-style: none; margin: 0; padding: 0; }
.field-list li { flex: 1; }
.field-list li + li { border-left: 1px solid var(--line); }
.field-list a {
  display: flex; flex-direction: column; justify-content: center;
  padding: 4px 16px; min-height: 46px; text-decoration: none; border-radius: 10px;
  transition: background-color .2s;
}
.field-list a:hover { background: rgba(255, 255, 255, .06); }
.field-list small { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; color: var(--mute); line-height: 1.2; }
.field-list b { font-size: 15px; line-height: 1.35; }
.field-cta { flex: none; min-height: 48px; border-radius: 12px; }

.video-toggle {
  position: absolute; right: var(--side); bottom: calc(6vh + 108px);
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--glass); border: 1px solid var(--line); color: #fff; cursor: pointer;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.video-toggle svg { width: 18px; height: 18px; fill: currentColor; }
.video-toggle .i-play { display: none; }
.video-toggle[aria-pressed="true"] .i-pause { display: none; }
.video-toggle[aria-pressed="true"] .i-play { display: block; }
html:not(.js) .video-toggle { display: none; }

.gauges {
  position: absolute; right: var(--side); bottom: 6vh; margin: 0;
  display: grid; grid-template-columns: repeat(2, auto); gap: 10px 40px;
  font-family: var(--font-mono); text-align: right;
}
.gauges dt { font-size: 10.5px; letter-spacing: .18em; color: var(--mute); }
.gauges dd { margin: 0; font-size: 17px; color: var(--ice); }

/* ---------- 섹션 공통 ---------- */
.wrap { width: min(1280px, 100% - var(--side) * 2); margin-inline: auto; }
.section { padding: clamp(80px, 11vw, 160px) 0; }
.section-head { margin-bottom: clamp(48px, 7vw, 96px); }
.kicker { font-family: var(--font-mono); font-size: 13px; letter-spacing: .2em; color: var(--ice); margin-bottom: 12px; }
.section-head h2, .contact h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }

/* ---------- 작품 (지그재그 포트폴리오) ---------- */
.work {
  --accent: var(--ice);
  display: grid; grid-template-columns: 60fr 40fr; align-items: center;
  gap: clamp(32px, 5vw, 80px);
}
.work + .work { margin-top: clamp(72px, 9vw, 140px); }
.work:nth-of-type(even) { grid-template-columns: 40fr 60fr; }
.work:nth-of-type(even) .work-media { order: 2; }
.work-media { min-width: 0; }
.work-text { min-width: 0; }
.work-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 18px; }
.work-num { font-family: var(--font-en); font-size: 2.6rem; line-height: 1; color: var(--accent); }
.work-field { font-family: var(--font-mono); font-size: 13px; letter-spacing: .1em; color: var(--mute); }
.badge {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .02em;
  padding: 4px 10px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent, var(--ice)) 60%, transparent);
  color: var(--accent, var(--ice));
  background: color-mix(in srgb, var(--accent, var(--ice)) 10%, transparent);
}
.work-text h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 800; line-height: 1.3; letter-spacing: -.01em; margin-bottom: 14px; }
.work-text p:last-child { color: var(--mute); }

.mock {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(90% 80% at 70% 0%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 70%),
    linear-gradient(160deg, #0d1424, #070b14);
  display: flex; align-items: center; justify-content: center;
  padding: 6%;
  box-shadow: 0 40px 80px -40px color-mix(in srgb, var(--accent) 45%, transparent);
}

/* 1. 채팅 */
.mock-chat { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 12px; padding: 5% 8%; }
.mock-chat { aspect-ratio: auto; min-height: clamp(300px, 34vw, 480px); }
.chat-top { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: .9rem; }
.chat-avatar { width: 34px; height: 34px; border-radius: 50%; flex: none; background: linear-gradient(135deg, #ff8a4c, #b8261a 50%, #2a0a08); box-shadow: 0 0 0 2px var(--accent); }
.chat-name { font-weight: 700; }
.chat-status { color: var(--accent); font-size: .75rem; }
.chat-body { display: flex; flex-direction: column; gap: 10px; flex: 1; justify-content: center; }
.bubble { max-width: 72%; padding: 10px 16px; font-size: .95rem; line-height: 1.5; border-radius: 16px; }
.bubble.them { align-self: flex-start; background: rgba(255, 255, 255, .07); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.bubble.me { align-self: flex-end; background: var(--accent); color: #04211c; font-weight: 700; border-bottom-right-radius: 4px; }
.typing { display: flex; gap: 5px; padding: 14px 16px; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: typing 1.2s infinite ease-in-out; }
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }
.chat-input { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: .82rem; color: var(--mute); }
.chat-send { color: var(--accent); }

/* 2. 동인지 */
.book { position: relative; width: 100%; height: 100%; display: grid; grid-template-columns: 1fr 1fr; transform: perspective(1000px) rotateX(10deg); box-shadow: 0 24px 40px -12px rgba(0, 0, 0, .8); border-radius: 6px; overflow: hidden; }
.book::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 16%; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(0, 0, 0, .35) 42%, rgba(0, 0, 0, .55) 50%, rgba(0, 0, 0, .35) 58%, transparent); pointer-events: none; }
.page { position: relative; background: #f1ece2; padding: 7% 7% 11%; }
.page-left { display: grid; grid-template-rows: 1fr 1fr; grid-template-columns: 1fr 1fr; gap: 6%; }
.page-left .p1 { grid-column: span 2; }
.page-right { display: flex; }
.panel { border: 2px solid #12141c; background: #fff; position: relative; overflow: hidden; }
.p1 { background: linear-gradient(160deg, #fff 55%, #ffc3a3 55%); }
.p2 { background: repeating-linear-gradient(45deg, #fff 0 4px, #e3ddd2 4px 5px); }
.p3 { background: radial-gradient(circle at 50% 70%, var(--accent) 0 18%, #fff 19%); }
.p-big { flex: 1; background: linear-gradient(180deg, #151a33 0 60%, var(--accent) 60% 63%, #151a33 63%); }
.panel-moon { position: absolute; right: 14%; top: 14%; width: 22%; aspect-ratio: 1; border-radius: 50%; background: #f1ece2; box-shadow: 0 0 18px #f1ece2; }
.balloon { position: absolute; left: 8%; bottom: 10%; max-width: 72%; background: #fff; color: #12141c; font-size: clamp(.6rem, 1vw, .8rem); font-weight: 700; line-height: 1.35; padding: 6px 10px; border: 2px solid #12141c; border-radius: 50% / 40%; text-align: center; }
.folio { position: absolute; bottom: 3%; font-size: .6rem; color: #8a8478; }
.page-left .folio { left: 8%; }
.page-right .folio { right: 8%; }

/* 3. CG집 */
.mock-cg { flex-direction: column; gap: 12px; }
.cg-frame { width: 100%; flex: 1; min-height: 0; padding: 6px; border-radius: 10px; background: linear-gradient(135deg, #c6b5ff, #2e2a66); box-shadow: 0 18px 36px -12px rgba(169, 139, 255, .55); }
.cg-art { width: 100%; height: 100%; border-radius: 6px; }
.cg-caption { width: 100%; display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: .78rem; color: #cfc4ff; }

/* 4. 영상 */
.player { width: 100%; background: #000; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.scene { position: relative; width: 100%; aspect-ratio: 21 / 9; overflow: hidden; background: linear-gradient(180deg, #1c0f2e, #c8365a 70%, #ff9a6a); border-block: 10px solid #000; }
.scene-sun { position: absolute; left: 50%; top: 58%; width: 24%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: #ffd9a0; opacity: .85; }
.scene-ridge { position: absolute; inset: auto 0 0 0; height: 38%; background: #12060c; clip-path: polygon(0 60%, 18% 20%, 32% 55%, 52% 5%, 70% 50%, 86% 25%, 100% 55%, 100% 100%, 0 100%); }
.play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; display: grid; place-items: center; padding-left: 3px; border-radius: 50%; background: rgba(0, 0, 0, .5); border: 2px solid #fff; color: #fff; }
.subtitle { position: absolute; left: 0; right: 0; bottom: 6%; text-align: center; font-size: .75rem; color: #fff; text-shadow: 0 1px 2px #000; }
.controls { display: flex; align-items: center; gap: 12px; padding: 10px 14px; font-family: var(--font-mono); font-size: .75rem; color: #ddd; background: #0b0d12; }
.progress { flex: 1; height: 4px; background: #333; position: relative; border-radius: 2px; }
.progress-fill { position: absolute; inset: 0 69% 0 0; background: var(--accent); border-radius: 2px; }
.progress-fill::after { content: ""; position: absolute; right: -6px; top: -4px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.time { white-space: nowrap; }

/* 5. 게임 */
.game { position: relative; width: 100%; height: 100%; border-radius: 8px; overflow: hidden; background: linear-gradient(180deg, #121a3a 0 55%, #222c54 55%); border: 2px solid var(--accent); font-family: var(--font-mono); }
.terrain {
  position: absolute; inset: auto 0 0 0; height: 48%;
  background:
    linear-gradient(90deg, transparent 0 12.5%, rgba(0,0,0,.18) 12.5% 25%, transparent 25% 37.5%, rgba(0,0,0,.18) 37.5% 50%, transparent 50% 62.5%, rgba(0,0,0,.18) 62.5% 75%, transparent 75% 87.5%, rgba(0,0,0,.18) 87.5%) 0 0 / 100% 25%,
    linear-gradient(180deg, #3f8a5c 0 25%, #5b4a3a 25% 50%, #4a3c30 50% 75%, #3a2f26 75%);
  clip-path: polygon(0 25%, 12.5% 25%, 12.5% 0, 37.5% 0, 37.5% 25%, 62.5% 25%, 62.5% 12%, 87.5% 12%, 87.5% 25%, 100% 25%, 100% 100%, 0 100%);
}
.hero-sprite { position: absolute; left: 22%; bottom: 48%; width: 6%; aspect-ratio: 1 / 1.4; background: linear-gradient(180deg, #ffc24a 0 30%, #ff6b3d 30% 75%, #3a2a20 75%); box-shadow: 0 0 0 2px #060a12; }
.hud { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 5px; width: 42%; }
.bar { display: flex; align-items: center; gap: 6px; font-size: .65rem; font-weight: 700; color: #fff; }
.bar-label { width: 18px; }
.bar-track { flex: 1; height: 9px; background: #000; border: 1px solid #fff; padding: 1px; }
.bar-fill { display: block; height: 100%; }
.hp { width: 78%; background: repeating-linear-gradient(90deg, #ff5d5d 0 6px, #c43a3a 6px 8px); }
.mp { width: 52%; background: repeating-linear-gradient(90deg, #5d9bff 0 6px, #3a6fc4 6px 8px); }
.minimap { position: absolute; top: 10px; right: 10px; width: 18%; aspect-ratio: 1; background: rgba(0, 0, 0, .6); border: 2px solid var(--accent); background-image: linear-gradient(rgba(255,194,74,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(255,194,74,.25) 1px, transparent 1px); background-size: 25% 25%; }
.mm-dot { position: absolute; left: 30%; top: 60%; width: 14%; aspect-ratio: 1; background: var(--ember); }
.dialog { position: absolute; left: 8px; right: 8px; bottom: 8px; background: #060a12; border: 2px solid #fff; color: #fff; font-size: .8rem; padding: 8px 12px; font-family: var(--font-ko); border-radius: 4px; }

/* ---------- 제작 방식 ---------- */
.process { border-top: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 32px 28px 36px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(159, 216, 232, .06), rgba(255, 255, 255, .01)); }
.step-num { display: block; font-family: var(--font-mono); color: var(--ice); font-size: 13px; letter-spacing: .2em; margin-bottom: 40px; }
.step h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 8px; }
.step p { color: var(--mute); }

/* ---------- 게임 유통 ---------- */
.publish-box {
  padding: clamp(40px, 6vw, 72px);
  border: 1px solid var(--line); border-radius: calc(var(--radius) + 8px);
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(255, 107, 61, .16), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, .03), transparent);
}
.badge-later { --accent: var(--ember); margin-bottom: 22px; font-family: var(--font-mono); }
.publish-box h2 { font-size: clamp(1.7rem, 3.6vw, 2.8rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.25; margin-bottom: 16px; max-width: 20ch; }
.publish-box p { color: var(--mute); max-width: 58ch; margin-bottom: 26px; }
.text-link { color: var(--ice); text-decoration: none; border-bottom: 1px solid rgba(159, 216, 232, .4); padding-bottom: 2px; }

/* ---------- 문의 ---------- */
.contact { text-align: center; padding-bottom: clamp(100px, 12vw, 180px); background: radial-gradient(50% 70% at 50% 100%, rgba(255, 107, 61, .14), transparent 70%); }
.contact h2 { margin-bottom: 32px; }
.mail { display: inline-block; font-family: var(--font-en); font-size: clamp(1rem, 3vw, 1.6rem); color: var(--text); text-decoration: none; padding: 16px 30px; border: 1px solid var(--line); border-radius: 999px; background: var(--glass); overflow-wrap: anywhere; transition: background-color .2s, color .2s; }
.mail:hover { background: #fff; color: #0a0f1a; }
.mail.is-pending { color: var(--mute); cursor: default; font-family: var(--font-ko); font-weight: 600; }
.mail.is-pending:hover { background: var(--glass); color: var(--mute); }

.site-footer { border-top: 1px solid var(--line); padding: 32px var(--side) 40px; text-align: center; font-size: .85rem; color: var(--mute); }
.footer-note { font-size: .78rem; margin-top: 6px; opacity: .85; }

/* =========================================================
   반응형
   ========================================================= */
@media (max-width: 1100px) {
  .gauges { display: none; }
  .video-toggle { bottom: calc(6vh + 10px); }
  .field-bar { width: calc(100% - var(--side) * 2 - 60px); }
}

@media (max-width: 900px) {
  .work, .work:nth-of-type(even) { grid-template-columns: 1fr; }
  .work:nth-of-type(even) .work-media { order: 0; }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; --side: 20px; }
  .site-header { background: linear-gradient(180deg, rgba(6, 10, 18, .6), transparent); }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 12px 11px;
    background: var(--glass); border: 1px solid var(--line); border-radius: 12px; cursor: pointer;
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  }
  .nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav {
    position: absolute; top: calc(var(--header-h) - 4px); left: 12px; right: 12px; margin: 0;
    flex-direction: column; align-items: stretch; gap: 12px; padding: 12px;
    background: rgba(10, 16, 28, .92); border: 1px solid var(--line); border-radius: var(--radius);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  }
  .site-nav ul { flex-direction: column; gap: 0; margin: 0; }
  .site-nav ul a { display: block; padding: 14px 8px; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: flex; }
  html:not(.js) .site-nav { position: static; display: none; }
  html:not(.js) .nav-toggle { display: none; }

  /* 영상은 화면 위쪽 74%에만 깔아 용 머리를 글자 위로 올림 */
  .hero { background: var(--bg) url("assets/hero-poster-mobile.jpg?v=f3ae30c7") 50% 0 / 100% auto no-repeat; }
  .hero-video { height: 74%; object-position: 62% 30%; }
  .hero-video.is-mobile { object-position: center 30%; }
  .hero-shade {
    background:
      linear-gradient(0deg, var(--bg) 0%, var(--bg) 26%, rgba(6, 10, 18, .7) 40%, rgba(6, 10, 18, .15) 56%, transparent 66%),
      linear-gradient(180deg, rgba(6, 10, 18, .5), transparent 16%);
  }
  .hero-copy { left: var(--side); right: var(--side); top: auto; bottom: 214px; max-width: none; }
  .eyebrow { font-size: 11px; margin-bottom: 14px; gap: 10px; }
  .eyebrow-line { width: 28px; }
  .hero-title { font-size: clamp(3.5rem, 19vw, 6rem); }
  .hero-sub { margin-top: 16px; font-size: 17px; }
  .hero-desc { font-size: .92rem; }

  .field-bar {
    left: 0; right: 0; bottom: 24px; width: auto;
    flex-direction: column; align-items: stretch; gap: 12px;
    padding: 0; background: none; border: 0; border-radius: 0;
    backdrop-filter: none; -webkit-backdrop-filter: none;
  }
  .field-list { gap: 8px; overflow-x: auto; padding: 2px var(--side); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .field-list::-webkit-scrollbar { display: none; }
  .field-list li { flex: none; }
  .field-list li + li { border-left: 0; }
  .field-list a {
    flex-direction: row; align-items: baseline; gap: 6px; min-height: 40px; padding: 8px 16px;
    background: var(--glass); border: 1px solid var(--line); border-radius: 999px;
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  }
  .field-list small { font-size: 9.5px; }
  .field-list b { font-size: 14px; white-space: nowrap; }
  .field-cta { margin: 0 var(--side); }

  .video-toggle { top: calc(var(--header-h) + 8px); bottom: auto; right: var(--side); }

  .mock-chat { min-height: 0; padding: 6% 6%; }
  .bubble { font-size: .88rem; max-width: 82%; }
}

@media (max-width: 380px) {
  .hero-copy { bottom: 206px; }
  .hero-desc { font-size: .86rem; }
  .eyebrow { font-size: 10px; letter-spacing: .12em; white-space: nowrap; }
}
/* 낮은 모바일 화면: 설명 문장을 숨기고 영상을 위로 올려 용 머리를 비움 */
@media (max-width: 768px) and (max-height: 720px) {
  .hero-desc { display: none; }
  .hero-copy { bottom: 196px; }
  .hero-video { height: 66%; }
  .hero-video.is-mobile { object-position: center 18%; }
}

@media (max-height: 700px) and (min-width: 769px) {
  .hero-copy { top: 18%; }
  .hero-title { font-size: clamp(3.5rem, 8vw, 8rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
