/* ============ YEOUN STUDIO — 포트폴리오 + 제작 의뢰 ============ */
:root {
  --bg: #09090b;
  --bg-2: #0e0e11;
  --surface: #16161a;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .18);
  --text: #f3f2ef;
  --soft: #cfcdd2;
  --muted: #9a98a0;
  --dim: #6d6b72;
  --accent: #8acbeb;          /* 로고 점 색 (YEOUN STUDIO.) */
  --accent-hover: #a9daf2;
  --accent-ink: #06131b;
  --glow: rgba(138, 203, 235, .38);
  --danger: #ff6b6b;
  --ok: #8fe0a0;
  --radius: 16px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
html:has(dialog[open]) { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
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; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- 공통 타이포 ---------- */
.eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow span { color: var(--accent); margin-right: 12px; letter-spacing: .08em; }
.section-title {
  margin: 0;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.04;
  font-weight: 750;
  letter-spacing: -.04em;
}
.lead { margin: 20px 0 0; font-size: clamp(16px, 1.4vw, 18px); color: var(--muted); line-height: 1.7; max-width: 520px; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px;
  border-radius: 999px;
  font-size: 16px; font-weight: 600; letter-spacing: -.01em;
  white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn:active { transform: scale(.97); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: var(--accent-hover); box-shadow: 0 0 0 6px rgba(138, 203, 235, .16); }
.btn-light { background: var(--text); color: var(--bg); }
.btn-light:hover { background: #fff; }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--text); background: rgba(9, 9, 11, .25); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--text); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- 헤더 ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; gap: 32px;
  height: 72px; padding-inline: var(--gutter);
  border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s, height .3s;
}
.site-header.scrolled {
  height: 64px;
  background: rgba(9, 9, 11, .72);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-color: var(--line);
}
.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { width: auto; height: 38px; }
.site-header.scrolled .logo img { height: 34px; }
.nav { display: flex; gap: 32px; margin-left: auto; font-size: 14px; font-weight: 600; letter-spacing: .06em; color: var(--muted); }
.nav a { position: relative; transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: -8px; width: 5px; height: 5px; margin-left: -2.5px;
  border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--glow);
}
@media (max-width: 760px) {
  .nav { gap: 18px; font-size: 14px; }
  .logo img { height: 32px; }
}

/* ---------- 히어로 ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
}
.hero-video {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  opacity: .6;
  /* 쇼릴 속 자막이 헤드라인과 겹쳐 읽히지 않도록 살짝 흐리게 */
  filter: blur(3px) saturate(1.15);
  transform: scale(1.06);
}
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, var(--bg) 0%, rgba(9, 9, 11, .78) 32%, rgba(9, 9, 11, .2) 68%, rgba(9, 9, 11, .55) 100%),
    radial-gradient(90% 70% at 10% 100%, rgba(9, 9, 11, .7), transparent 70%);
}
.hero-inner { padding-top: 140px; padding-bottom: clamp(72px, 13vh, 128px); }
.hero-title {
  margin: 0;
  font-size: clamp(44px, 10.4vw, 150px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -.05em;
}
.hero-title em {
  font-style: normal; color: var(--accent);
  text-shadow: 0 0 40px var(--glow), 0 0 120px rgba(138, 203, 235, .28);
}
.hero-lead { max-width: 540px; margin: 32px 0 0; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.7; color: var(--soft); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.reel-toggle {
  position: absolute; right: var(--gutter); bottom: clamp(72px, 13vh, 128px);
  display: inline-flex; align-items: center; gap: 10px;
  height: 36px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--line-strong);
  background: rgba(9, 9, 11, .4); backdrop-filter: blur(8px);
  font-size: 13px; color: var(--soft);
  transition: border-color .2s, color .2s;
}
.reel-toggle:hover { border-color: var(--text); color: var(--text); }
.reel-icon { width: 10px; height: 10px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.reel-toggle[aria-pressed="true"] .reel-icon {
  border: 0; width: 0; height: 0;
  border-left: 9px solid currentColor; border-top: 5.5px solid transparent; border-bottom: 5.5px solid transparent;
}
@media (max-width: 760px) {
  .reel-toggle { bottom: 20px; }
  .reel-toggle .label { display: none; }
  .reel-toggle { width: 36px; padding: 0; justify-content: center; }
}

/* ---------- 마키 ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee-track span {
  display: inline-flex; align-items: center;
  padding-right: 40px;
  font-size: clamp(20px, 2.4vw, 30px); font-weight: 600; letter-spacing: -.025em;
  color: var(--muted); white-space: nowrap;
}
.marquee-track span::after {
  content: ""; width: 8px; height: 8px; margin-left: 40px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 10px var(--glow);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 섹션 ---------- */
.section { padding-block: clamp(96px, 12vw, 168px); }
.section-tight { padding-top: clamp(16px, 3vw, 40px); }

/* ---------- 메인: 솔루션 / 소개 ---------- */
.center-title {
  margin: 0; text-align: center;
  font-size: clamp(26px, 3.4vw, 46px); line-height: 1.3; font-weight: 750; letter-spacing: -.035em;
}
.center-eyebrow { margin: 0 0 14px; text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .22em; color: var(--accent); }
.br-m { display: none; }
@media (max-width: 600px) { .br-m { display: inline; } }

.solution {
  position: relative; overflow: hidden;
  padding: clamp(64px, 7vw, 104px) 0 clamp(96px, 12vw, 160px);
  background:
    var(--bg);
}
.sol-services { margin-top: clamp(48px, 6vw, 80px); text-align: left; }
.sol-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); margin-top: clamp(48px, 6vw, 80px); }
.sol-box {
  padding: clamp(28px, 3vw, 40px) 24px;
  border-radius: 16px; border: 1px solid rgba(138, 203, 235, .45);
  background: rgba(14, 16, 20, .7);
  box-shadow: 0 0 24px rgba(138, 203, 235, .14), inset 0 0 24px rgba(138, 203, 235, .06);
  text-align: center;
}
.sol-box h3 { margin: 0; font-size: clamp(22px, 2.2vw, 28px); font-weight: 750; letter-spacing: -.02em; color: var(--accent); text-shadow: 0 0 18px var(--glow); }
.sol-ko { margin: 6px 0 22px; font-size: 14px; color: var(--muted); }
.sol-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; color: var(--soft); }
@media (max-width: 860px) { .sol-grid { grid-template-columns: minmax(0, 1fr); max-width: 460px; margin-inline: auto; } }

.about { padding: clamp(72px, 9vw, 130px) 0; border-top: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.about-media { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: 0 0 60px rgba(138, 203, 235, .12); }
.about-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-text h2 { margin: 0 0 24px; font-size: clamp(24px, 2.8vw, 36px); line-height: 1.35; font-weight: 750; letter-spacing: -.03em; }
.about-text p { margin: 0 0 14px; font-size: clamp(15px, 1.3vw, 17px); line-height: 1.75; color: var(--soft); }
@media (max-width: 860px) { .about-grid { grid-template-columns: minmax(0, 1fr); } }
#process .center-title { margin-bottom: clamp(48px, 6vw, 72px); }

/* 하위 페이지 머리 */
.page-head-center { text-align: center; background: none; padding-bottom: clamp(24px, 3vw, 40px); }
.page-title-en {
  margin: 0;
  font-size: clamp(34px, 4.6vw, 60px); line-height: 1.1; font-weight: 800; letter-spacing: .02em;
  color: var(--accent); text-shadow: 0 0 30px var(--glow);
}
.contact-intro .page-title-en { margin-bottom: 4px; }
.page-head {
  padding: calc(72px + clamp(64px, 10vw, 140px)) 0 clamp(32px, 4vw, 56px);
  background: radial-gradient(60% 80% at 0% 0%, rgba(138, 203, 235, .10), transparent 70%);
}
.page-title {
  margin: 0;
  font-size: clamp(44px, 7.4vw, 104px);
  line-height: 1.02; font-weight: 800; letter-spacing: -.05em;
}
.page-head .lead { max-width: 620px; }
.page-head + .section-tight .filters { margin-bottom: clamp(32px, 4vw, 48px); }

/* 메인: 더 보기 링크, 스튜디오 요약 */
.more-link { font-size: 15px; font-weight: 600; color: var(--soft); border-bottom: 1px solid var(--line-strong); padding-bottom: 4px; transition: color .2s, border-color .2s; }
.more-link:hover { color: var(--accent); border-color: var(--accent); }
.teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.teaser-btn { margin-top: 32px; }
.teaser-list { list-style: none; margin: 0; padding: 0; }
.teaser-list li {
  display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 2px 8px;
  padding: 24px 0; border-top: 1px solid var(--line-strong);
}
.teaser-list li:last-child { border-bottom: 1px solid var(--line-strong); }
.teaser-list span { grid-row: span 2; font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--accent); padding-top: 6px; }
.teaser-list b { font-size: clamp(20px, 2vw, 26px); font-weight: 650; letter-spacing: -.025em; }
.teaser-list small { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .teaser { grid-template-columns: minmax(0, 1fr); } }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 24px 40px; margin-bottom: clamp(40px, 5vw, 64px);
}

/* ---------- 작업물 ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--line-strong);
  font-size: 14px; color: var(--muted);
  transition: color .2s, border-color .2s, background-color .2s;
}
.filter:hover { color: var(--text); border-color: var(--text); }
.filter .count { font-size: 12px; color: var(--dim); font-variant-numeric: tabular-nums; }
.filter[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); font-weight: 600; }
.filter[aria-pressed="true"] .count { color: rgba(9, 9, 11, .5); }

.works-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 5vw, 64px) clamp(16px, 2vw, 28px);
}
.work.is-featured { grid-column: 1 / -1; }
.works-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(12px, 1.4vw, 20px); }
.works-grid-3 .work.is-featured { grid-column: auto; }
.works-grid-3 .is-featured .work-title { font-size: clamp(18px, 1.6vw, 22px); }
@media (max-width: 1024px) { .works-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .works-grid-3 { grid-template-columns: minmax(0, 1fr); } }
.work[hidden] { display: none; }
@media (max-width: 760px) { .works-grid { grid-template-columns: minmax(0, 1fr); } }

.work-link { display: block; }
.work-link:focus-visible { outline: none; }
.work-link:focus-visible .work-media { outline: 2px solid var(--accent); outline-offset: 4px; }
.work-media {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 9; border-radius: var(--radius);
  background: var(--surface);
}
.work-media::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
}
.work-media img, .work-media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s var(--ease), opacity .45s;
}
.work-media video { opacity: 0; }
.work.is-playing .work-media video { opacity: 1; }
.work-link:hover .work-media img, .work-link:hover .work-media video { transform: scale(1.03); }

.work-play {
  position: absolute; left: 16px; bottom: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 16px 0 14px;
  border-radius: 999px;
  background: rgba(10, 10, 12, .62); backdrop-filter: blur(10px);
  font-size: 14px; font-weight: 600;
  opacity: 0; transform: translateY(6px);
  transition: opacity .3s, transform .3s var(--ease), background-color .2s, color .2s;
}
.work-link:hover .work-play, .work-link:focus-visible .work-play { opacity: 1; transform: none; }
.work-link:hover .work-play { background: var(--accent); color: var(--accent-ink); }
@media (hover: none) { .work-play { opacity: 1; transform: none; } }
.work-badge {
  position: absolute; left: 14px; top: 14px;
  display: inline-flex; align-items: center; height: 28px; padding: 0 11px;
  border-radius: 999px;
  background: rgba(10, 10, 12, .62); backdrop-filter: blur(10px);
  font-size: 12px; font-weight: 600; color: #e9e7ec;
}

.work-info { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-top: 18px; }
.work-title { margin: 0; font-size: clamp(18px, 1.6vw, 22px); font-weight: 650; letter-spacing: -.025em; line-height: 1.35; }
.is-featured .work-title { font-size: clamp(22px, 2.4vw, 32px); }
.work-line { margin: 4px 0 0; font-size: 15px; color: var(--muted); }
.work-meta { flex: none; margin: 4px 0 0; font-size: 13px; color: var(--dim); text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- 서비스 ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
@media (max-width: 760px) { .service-grid { grid-template-columns: minmax(0, 1fr); row-gap: 48px; } }
.service-card { display: flex; flex-direction: column; padding-top: 28px; border-top: 1px solid var(--line-strong); }
.service-no { font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--accent); }
.service-card h3 { margin: 18px 0 10px; font-size: 22px; font-weight: 650; letter-spacing: -.025em; }
.service-card h3:first-child { margin-top: 0; }
.service-card p { margin: 0; font-size: 15px; color: var(--muted); }
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 20px 0 0; padding: 0; list-style: none; }
.service-tags li { padding: 4px 10px; border-radius: 999px; background: var(--surface); font-size: 12px; color: var(--soft); }
.service-ex { margin-top: auto; padding-top: 24px; font-size: 14px; font-weight: 600; transition: color .2s; }
.service-ex:hover { color: var(--accent); }

.split {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  margin-top: clamp(96px, 11vw, 150px);
}
.split-head { grid-column: 1 / -1; margin-bottom: clamp(16px, 2vw, 24px); }
.split.split-flush { margin-top: 0; }
.split-title { margin: 0; font-size: clamp(32px, 4.6vw, 60px); line-height: 1.1; font-weight: 750; letter-spacing: -.04em; }
.split-col {
  padding: clamp(28px, 3vw, 44px);
  border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--surface);
}
.split-col.human {
  border-color: rgba(138, 203, 235, .35);
  background: linear-gradient(155deg, rgba(138, 203, 235, .17), rgba(138, 203, 235, .03) 60%), var(--surface);
}
.split-label { margin: 0 0 22px; font-size: 13px; font-weight: 600; letter-spacing: .14em; color: var(--muted); }
.human .split-label { color: #c2e5f6; }
.split-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.split-col li { display: flex; gap: 12px; font-size: 16px; color: var(--soft); }
.split-col li::before {
  content: ""; flex: none; width: 6px; height: 6px; margin-top: 10px; border-radius: 50%;
  background: var(--dim);
}
.human li::before { background: var(--accent); box-shadow: 0 0 8px var(--glow); }
@media (max-width: 760px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 진행 과정 ---------- */
.process {
  --gap: clamp(16px, 2vw, 28px);
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: var(--gap);
}
.process li { position: relative; padding-top: 36px; }
.process li::before {
  content: ""; position: absolute; top: 6px; left: 0; right: calc(-1 * var(--gap));
  height: 1px; background: var(--line-strong);
}
.process li:last-child::before { right: 0; }
.process li::after {
  content: ""; position: absolute; top: 2px; left: 0;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--accent);
}
.process li:first-child::after { background: var(--accent); box-shadow: 0 0 10px var(--glow); }
.step-no { font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--accent); font-variant-numeric: tabular-nums; }
.process h3 { margin: 10px 0; font-size: 20px; font-weight: 650; letter-spacing: -.02em; }
.process p { margin: 0; font-size: 15px; color: var(--muted); }
@media (max-width: 1024px) {
  .process h3 { font-size: 17px; }
  .process p { font-size: 14px; }
}
@media (max-width: 680px) {
  .process { grid-template-columns: minmax(0, 1fr); }
  .process li { padding: 0 0 36px 36px; }
  .process li:last-child { padding-bottom: 0; }
  .process li::before { top: 16px; bottom: 0; left: 4px; right: auto; width: 1px; height: auto; }
  .process li:last-child::before { display: none; }
  .process li::after { top: 4px; }
  .process h3 { margin-top: 4px; }
}

.deliver {
  display: grid; grid-template-columns: 180px repeat(4, minmax(0, 1fr)); align-items: center;
  gap: 20px 24px;
  margin-top: clamp(56px, 6vw, 88px);
  padding: 28px 32px;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--surface);
}
.deliver-label { margin: 0; font-weight: 650; }
.deliver-item span { display: block; font-size: 13px; color: var(--dim); }
.deliver-item b { font-size: 16px; font-weight: 600; }
@media (max-width: 1024px) {
  .deliver { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .deliver-label { grid-column: 1 / -1; }
}
@media (max-width: 480px) { .deliver { grid-template-columns: minmax(0, 1fr); padding: 24px; } }

/* ---------- 제작 의뢰 ---------- */
.contact {
  background:
    radial-gradient(60% 50% at 0% 0%, rgba(138, 203, 235, .11), transparent 70%),
    var(--bg);
  border-top: 1px solid var(--line);
}
.contact-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px); align-items: start;
}
.contact-page { padding: calc(72px + clamp(56px, 8vw, 120px)) 0 clamp(96px, 12vw, 160px); border-top: 0; }
.contact-intro { position: sticky; top: 112px; }
.contact-points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; }
.contact-points li { display: flex; gap: 12px; font-size: 15px; color: var(--soft); }
.contact-points li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--glow); }
/* 문의 페이지: 가운데 정렬 + 단계 타임라인 */
.contact-timeline .contact-grid { grid-template-columns: minmax(0, 1fr); max-width: 820px; gap: clamp(40px, 5vw, 56px); }
.contact-timeline .contact-intro { position: static; text-align: center; }
.contact-timeline .contact-intro .lead { margin-inline: auto; }
.contact-timeline .form { position: relative; padding: 0 0 0 52px; background: none; border: 0; gap: 22px; }
.contact-timeline .form-step { margin-left: -52px; gap: 26px; font-size: 20px; }
.contact-timeline .form-step span { width: 28px; height: 28px; box-shadow: 0 0 14px var(--glow); }
.contact-timeline .field input, .contact-timeline .field textarea { background: var(--surface); border-color: transparent; }
.contact-timeline .btn-block { width: auto; justify-self: start; padding: 0 44px; }
@media (max-width: 600px) {
  .contact-timeline .form { padding-left: 36px; }
  .contact-timeline .form-step { margin-left: -36px; gap: 12px; font-size: 17px; }
  .contact-timeline .form-step span { width: 24px; height: 24px; }
  .contact-timeline .btn-block { width: 100%; }
}

.form-step { display: flex; align-items: center; gap: 12px; margin: 8px 0 -4px; font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.form-step:first-child { margin-top: 0; }
.form-step span {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); font-size: 13px; font-weight: 700;
}
.contact-info { margin: 40px 0 0; }
.contact-info dt { font-size: 13px; color: var(--dim); }
.contact-info dd { margin: 4px 0 0; font-size: clamp(18px, 1.8vw, 22px); font-weight: 600; }
.contact-info a { border-bottom: 1px solid var(--line-strong); transition: border-color .2s, color .2s; }
.contact-info a:hover { color: var(--accent); border-color: var(--accent); }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-intro { position: static; }
}

.form {
  display: grid; gap: 24px;
  padding: clamp(24px, 3vw, 40px);
  border-radius: 20px; border: 1px solid var(--line);
  background: var(--surface);
}
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form legend, .field > span {
  display: block; padding: 0; margin-bottom: 10px;
  font-size: 14px; font-weight: 600; color: var(--soft);
}
.form legend small, .field > span small { margin-left: 6px; font-size: 12px; font-weight: 400; color: var(--dim); }
.req { margin-left: 3px; color: var(--accent); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center;
  height: 40px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--line-strong);
  font-size: 14px; color: var(--muted); cursor: pointer;
  transition: color .2s, border-color .2s, background-color .2s;
}
.chip:hover span { color: var(--text); border-color: var(--text); }
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 600px) { .field-row { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.field { display: block; }
.field input, .field textarea {
  width: 100%; height: 52px; padding: 0 16px;
  border-radius: 12px; border: 1px solid var(--line-strong);
  background: var(--bg); color: var(--text);
  font: inherit; font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { height: auto; min-height: 140px; padding: 14px 16px; line-height: 1.6; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(138, 203, 235, .16); }
.was-validated .field :invalid { border-color: var(--danger); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); }
.was-validated .check input:invalid + span { color: #ff9a9a; }
.form-note { margin: -8px 0 0; min-height: 1.5em; font-size: 14px; color: var(--muted); }
.form-note.ok { color: var(--ok); }
.form-note.err { color: #ff9a9a; }

/* ---------- 푸터 ---------- */
.site-footer { padding: clamp(88px, 11vw, 150px) 0 40px; border-top: 1px solid var(--line); }
.footer-big {
  display: inline-block;
  font-size: clamp(44px, 8vw, 120px); line-height: 1.02; font-weight: 800; letter-spacing: -.05em;
  transition: color .3s;
}
.footer-arrow { display: inline-block; color: var(--accent); transition: transform .4s var(--ease); }
.footer-big:hover .footer-arrow { transform: translateX(.15em); }
.footer-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
  margin-top: clamp(56px, 8vw, 96px); padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 14px; color: var(--muted);
}
.footer-row .logo img { height: 52px; }
.site-footer-info { padding: 56px 0 44px; }
.site-footer-cta { padding-top: clamp(88px, 11vw, 150px); }
.footer-cta { text-align: center; }
.footer-cta p { margin: 0 0 14px; font-size: clamp(15px, 1.4vw, 18px); color: var(--muted); }
.footer-cta .footer-big { position: relative; font-size: clamp(30px, 4vw, 52px); font-weight: 750; letter-spacing: -.035em; }
/* 화살표는 글자 바깥에 붙여서, 글자만 정중앙에 오게 */
.footer-cta .footer-arrow { position: absolute; left: 100%; top: 0; margin-left: .28em; }
.footer-cta .footer-big:hover .footer-arrow { transform: translateX(.12em); }
.footer-bottom { margin-top: clamp(56px, 8vw, 96px); padding-top: 32px; border-top: 1px solid var(--line); }
.site-footer-info .logo img { height: 44px; }
.footer-info { display: flex; flex-wrap: wrap; gap: 6px 28px; margin: 24px 0 0; font-size: 14px; }
.footer-info div { display: flex; gap: 10px; }
.footer-info dt { color: var(--dim); }
.footer-info dd { margin: 0; color: var(--soft); }
.footer-info a:hover { color: var(--accent); }
.footer-copy { margin: 20px 0 0; font-size: 13px; color: var(--dim); }
.site-footer-slim { padding-top: 0; }
.site-footer-slim .footer-row { margin-top: 0; }
.footer-row a[data-email]:hover { color: var(--text); }
.footer-legal { margin: 20px 0 0; max-width: 720px; font-size: 12px; color: var(--dim); }

/* ---------- 영상 플레이어 ---------- */
.player {
  /* 영상과 설명이 스크롤 없이 한 화면에 들어오도록 화면 높이에 맞춰 폭을 줄임 */
  width: min(1120px, calc(100% - 32px), calc((100vh - 250px) * 16 / 9)); max-width: none;
  max-height: calc(100% - 32px);
  margin: auto; padding: 0;
  border: 1px solid var(--line); border-radius: 20px;
  background: #0e0e11; color: var(--text);
  overflow: auto;
}
.player::backdrop { background: rgba(4, 4, 6, .84); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.player[open] { animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.985); } }
.player-media { position: relative; aspect-ratio: 16 / 9; background: #000; }
.player-media video { width: 100%; height: 100%; object-fit: contain; }
.player-close {
  position: absolute; top: 12px; right: 12px;
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(10, 10, 12, .7); backdrop-filter: blur(8px);
  transition: background-color .2s, color .2s;
}
.player-close:hover { background: var(--text); color: var(--bg); }
.player-info {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start;
  gap: 20px 40px; padding: 24px 28px 28px;
}
.player-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.pill { padding: 4px 10px; border-radius: 999px; background: var(--surface); font-size: 12px; color: var(--soft); }
.pill.accent { background: rgba(138, 203, 235, .15); color: #c2e5f6; }
.player h3 { margin: 0 0 10px; font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; letter-spacing: -.03em; line-height: 1.3; }
.player p { margin: 0; max-width: 680px; color: var(--muted); }
.player .player-note { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.player-nav { display: flex; gap: 8px; }
.player-nav button {
  height: 44px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--line-strong);
  font-size: 14px; white-space: nowrap;
  transition: border-color .2s;
}
.player-nav button:hover { border-color: var(--text); }
@media (max-width: 700px) {
  .player { width: 100%; max-height: 100%; border-radius: 0; border: 0; }
  .player-info { grid-template-columns: minmax(0, 1fr); padding: 20px var(--gutter) 28px; }
}

/* ---------- 등장 애니메이션 ---------- */
.js .reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .player[open] { animation: none; }
}
