/* ==========================================================================
   에필굿 부스 (EFG BOOTH) — 랜딩 페이지
   디자인 기준: 에필굿 부스 브로셔 (주식회사 퐁, 2026.10)
   - 따뜻한 크림 바탕, 에스프레소 잉크, 굵은 브라운 룰 + 얇은 헤어라인 그리드
   - 서체: Pretendard (본문·제목), 워드마크는 브로셔 원본 벡터
   ========================================================================== */

/* 0. 글꼴 -----------------------------------------------------------------
   EFG Text = 이 페이지에 쓰인 글자만 담은 Pretendard Variable 서브셋(약 90KB).
   여기에 없는 글자는 다음 순서의 "Pretendard Variable"(필요한 묶음만 내려받음)이 채웁니다.
   문구를 바꾸면 README의 '글꼴 서브셋 다시 만들기'를 실행해 주세요. */
@font-face {
  font-family: "EFG Text";
  src: url("../fonts/efg-text.woff2") format("woff2");
  font-weight: 45 930;
  font-style: normal;
  font-display: swap;
}

/* 1. 토큰 ---------------------------------------------------------------- */
:root {
  /* 브로셔에서 샘플링한 색 */
  --ink: #321F12;          /* 제목·굵은 룰 */
  --ink-2: #3D2B23;        /* 본문 (브로셔 본문색) */
  --ink-3: #6B5A4E;        /* 보조 텍스트 (AA 6.0:1) */
  --ink-4: #78665A;        /* 메타 텍스트 (크림 5.0:1, 샌드 4.7:1) */
  --accent: #7C5B34;       /* 브라운 포인트 (표 머리, 도넛 차트) */
  --accent-2: #5F4425;
  --ring: #877059;         /* 원형 아이콘 테두리 (브로셔 단계 연결 화살표) */
  --sand: #CDBB9E;
  --cream: #F9F5F0;        /* 페이지 바탕 */
  --cream-2: #F3EDE2;      /* 면 채움 */
  --cream-3: #F8EEDF;      /* 따뜻한 바탕 (브로셔 5쪽) */
  --line: #D7CABD;         /* 헤어라인 */
  --on-dark: #FBF7F1;
  --glow: 255 205 140;     /* 부스 LED 빛 */
  --glow-core: 255 247 230;

  --font: "EFG Text", "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "맑은 고딕", sans-serif;

  --container: 1280px;
  --gutter: clamp(20px, 4.4vw, 56px);
  --header-h: 72px;
  --sec-pad: clamp(96px, 11vw, 168px);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

/* 2. 기본 ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  background: var(--cream);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  min-width: 320px;
  background: var(--cream);
  color: var(--ink-2);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: -0.011em;
  word-break: keep-all;
  overflow-wrap: break-word;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}
@media (max-width: 767px) { body { font-size: 16px; } }

h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
strong, b { font-weight: 700; }
main:focus { outline: none; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(124, 91, 52, .2); color: var(--ink); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.nowrap { white-space: nowrap; }

.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 100;
  padding: 12px 18px; border-radius: 999px;
  background: var(--ink); color: var(--cream); font-size: 15px; font-weight: 600;
  transform: translateY(-160%); transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
}

.br-sm { display: none; }
@media (max-width: 599px) { .br-sm { display: inline; } }

/* 3. 공통 요소 ----------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; line-height: 1.4;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%;
  background: currentColor; box-shadow: 0 0 0 4px rgba(124, 91, 52, .12);
}

.btn {
  --h: 56px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 28px;
  border: 0; border-radius: 999px;
  font-size: 16px; font-weight: 650; line-height: 1.2; letter-spacing: -0.01em;
  white-space: nowrap; cursor: pointer;
  transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease), border-color .35s var(--ease);
}
.btn--ink {
  background: var(--ink); color: var(--on-dark);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 12px 28px -14px rgba(50, 31, 18, .6);
}
.btn--ink:active { background: #4A3121; }
.btn--ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, .42);
  box-shadow: inset 0 0 0 1.5px rgba(50, 31, 18, .82);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.btn--ghost:active { background: rgba(255, 255, 255, .8); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: 14.5px; }
.btn--lg { --h: 64px; padding: 0 34px; font-size: 17px; }
.btn--block { width: 100%; }
.btn-icon { flex: none; width: 20px; height: 20px; transition: transform .4s var(--ease-out); }
@media (hover: hover) {
  .btn--ink:hover { background: #4A3121; transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 18px 34px -16px rgba(50, 31, 18, .7); }
  .btn--ink:active { transform: none; }
  .btn--ghost:hover { background: rgba(255, 255, 255, .78); }
  .btn:hover .btn-icon:not(.btn-icon--lead) { transform: translateX(3px); }
}

.todo {
  padding: 0 .38em; border-radius: 6px;
  background: rgba(124, 91, 52, .08); color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(124, 91, 52, .45);
  font-size: .94em; font-weight: 600;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* 원형 아이콘 (브로셔의 단계 연결 화살표 형태: 1.2px 테두리 + 잉크 기호) */
.ring-icon {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: 50%;
  color: var(--ink); box-shadow: inset 0 0 0 1.2px var(--ring);
  transition: background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease), transform .5s var(--ease-out);
}
.ring-icon svg { width: 17px; height: 17px; }

/* 4. 헤더 ---------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: calc(var(--header-h) + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: rgba(249, 245, 240, .8);
  -webkit-backdrop-filter: saturate(1.4) blur(18px); backdrop-filter: saturate(1.4) blur(18px);
  box-shadow: 0 1px 0 rgba(50, 31, 18, .08);
  transition: opacity .45s var(--ease);
}
.site-header.is-scrolled::before,
.menu-open .site-header::before,
html:not(.js) .site-header::before,
.no-main .site-header::before { opacity: 1; }
.menu-open .site-header::before { background: var(--cream); box-shadow: none; }

.header-bar { height: var(--header-h); display: flex; align-items: center; gap: 20px; }

.brand { display: flex; align-items: center; gap: 14px; margin-right: auto; min-width: 0; }
.brand-efg { display: block; color: var(--ink); padding: 6px 0; }
.brand-efg svg { width: calc(19px * 5.4395); height: 19px; fill: currentColor; }
@media (min-width: 1024px) { .brand-efg { flex: none; } }

.nav { display: none; }
@media (min-width: 1024px) { .nav { display: block; } }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-list a {
  position: relative; display: inline-flex; align-items: center;
  height: 40px; padding: 0 13px; border-radius: 999px;
  font-size: 15px; font-weight: 550; color: var(--ink-2); white-space: nowrap;
  transition: color .3s var(--ease), background-color .3s var(--ease);
}
.nav-list a::after {
  content: ""; position: absolute; left: 50%; bottom: 3px;
  width: 4px; height: 4px; border-radius: 50%; background: var(--accent);
  transform: translateX(-50%) scale(0); transition: transform .4s var(--ease-out);
}
.nav-list a[aria-current="true"] { color: var(--ink); }
.nav-list a[aria-current="true"]::after { transform: translateX(-50%) scale(1); }

.header-actions { display: flex; align-items: center; gap: 8px; }

.menu-toggle {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(50, 31, 18, .07); color: var(--ink); cursor: pointer;
  transition: background-color .3s var(--ease);
}
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.menu-toggle-lines { position: relative; width: 18px; height: 10px; }
.menu-toggle-lines i {
  position: absolute; left: 0; right: 0; height: 1.6px; border-radius: 2px; background: currentColor;
  transition: transform .45s var(--ease-out), top .45s var(--ease-out);
}
.menu-toggle-lines i:first-child { top: 0; }
.menu-toggle-lines i:last-child { top: 8.4px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines i:first-child { top: 4.2px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines i:last-child { top: 4.2px; transform: rotate(-45deg); }

@media (hover: hover) {
  .nav-list a:hover { color: var(--ink); background: rgba(50, 31, 18, .06); }
  .menu-toggle:hover { background: rgba(50, 31, 18, .12); }
}

.header-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; overflow: hidden; pointer-events: none; opacity: 0; transition: opacity .45s var(--ease); }
.is-scrolled .header-progress { opacity: 1; }
.menu-open .header-progress { opacity: 0; }
.header-progress span {
  display: block; height: 100%; transform: scaleX(0); transform-origin: left center;
  background: linear-gradient(90deg, rgba(124, 91, 52, .35), var(--accent) 60%, rgb(var(--glow)));
}

/* JS가 없거나 실패했을 때: 동작하지 않는 버튼은 숨김 */
html:not(.js) .menu-toggle, html:not(.js) .copy-btn, html:not(.js) .journey-toggle,
.no-main .menu-toggle, .no-main .copy-btn, .no-main .journey-toggle { display: none; }

/* 모바일 메뉴 */
.mobile-menu {
  position: fixed; inset: 0; z-index: 40;
  padding-top: calc(var(--header-h) + env(safe-area-inset-top));
  background: var(--cream);
  overflow-y: auto; overscroll-behavior: contain;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu-inner { display: flex; flex-direction: column; gap: 32px; padding-top: 20px; padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
.mobile-nav { list-style: none; border-top: 2px solid var(--ink); }
.mobile-nav a {
  display: flex; align-items: baseline; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  font-size: 24px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink);
}
.mobile-nav-num { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--accent); font-variant-numeric: tabular-nums; }
.mobile-nav a[aria-current="true"] .mobile-nav-num::after { content: " ●"; font-size: 8px; vertical-align: middle; }
.menu-open, .menu-open body { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .mobile-menu.is-open { animation: menu-in .55s var(--ease-out) both; }
  .mobile-menu.is-open .mobile-nav li { animation: rise .7s var(--ease-out) both; }
  .mobile-menu.is-open .mobile-nav li:nth-child(2) { animation-delay: .04s; }
  .mobile-menu.is-open .mobile-nav li:nth-child(3) { animation-delay: .08s; }
  .mobile-menu.is-open .mobile-nav li:nth-child(4) { animation-delay: .12s; }
  .mobile-menu.is-open .mobile-nav li:nth-child(5) { animation-delay: .16s; }
  .mobile-menu.is-open .mobile-nav li:nth-child(6) { animation-delay: .2s; }
}
@keyframes menu-in { from { opacity: 0; } to { opacity: 1; } }

/* 5. 섹션 공통 ------------------------------------------------------------ */
.sec { position: relative; padding-block: var(--sec-pad); }
.sec--sand { background: var(--cream-2); }
/* 브로셔 각 장 상단의 흰 안개 */
.sec--mist { background: linear-gradient(180deg, #FFFFFF 0, var(--cream) clamp(240px, 32vw, 420px)); }

.sec-head {
  display: grid; gap: 24px 64px; align-items: end;
  margin-bottom: clamp(28px, 3.4vw, 48px);
}
@media (min-width: 1024px) { .sec-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.sec-head-main { display: grid; gap: 18px; justify-items: start; }
.sec-title {
  font-size: clamp(30px, 1.15rem + 2.6vw, 54px);
  line-height: 1.27; font-weight: 700; letter-spacing: -0.038em;
  color: var(--ink); text-wrap: balance;
}
.sec-lead {
  max-width: 33em;
  font-size: clamp(16px, .95rem + .25vw, 18.5px); line-height: 1.78; font-weight: 500;
  color: var(--ink-2); text-wrap: balance;
}
@media (min-width: 1024px) { .sec-lead { padding-bottom: 8px; } }

.rule { height: 2px; background: var(--ink); transform-origin: left center; }

/* 브로셔식 표 그리드: 세로 헤어라인으로 칸을 나누고 아래에 가는 선 */
.cells { display: grid; list-style: none; }
.cell { position: relative; min-width: 0; padding: 30px 0 34px; border-bottom: 1px solid var(--line); }
.cell-title { font-size: clamp(19px, 1.05rem + .3vw, 22px); line-height: 1.42; font-weight: 700; letter-spacing: -0.028em; color: var(--ink); }
.cell-text { margin-top: 10px; font-size: 16px; line-height: 1.72; color: var(--ink-2); text-wrap: pretty; }

@media (min-width: 640px) {
  .cells--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .cells--4 > .cell:nth-child(2n+1) { padding-right: 28px; }
  .cells--4 > .cell:nth-child(2n) { padding-left: 28px; border-left: 1px solid var(--line); }
}
@media (min-width: 1024px) {
  .cells--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cells--4 > .cell { padding: 34px 27px 42px; }
  .cells--4 > .cell:first-child { padding-left: 0; }
  .cells--4 > .cell:last-child { padding-right: 0; }
  .cells--4 > .cell + .cell { border-left: 1px solid var(--line); }
}
@media (min-width: 768px) {
  .cells--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cells--3 > .cell { padding-inline: 32px; }
  .cells--3 > .cell:first-child { padding-left: 0; }
  .cells--3 > .cell:last-child { padding-right: 0; }
  .cells--3 > .cell + .cell { border-left: 1px solid var(--line); }
}

/* 6. 첫 화면 ------------------------------------------------------------- */
.hero {
  --ar: 1.41332;   /* 1443 / 1021 */
  --px: .5;
  --py: .62;
  --led-1: 79.97%;
  --led-2: 89.81%;
  position: relative; isolation: isolate; overflow: hidden; overflow: clip;
  display: flex; align-items: center;
  min-height: max(660px, 100vh);
  min-height: max(660px, 100svh);
  padding: calc(var(--header-h) + 40px) 0 104px;
  background: var(--cream);
}
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; container-type: size; }
.hero-frame { position: absolute; inset: 0; }
.hero-frame picture, .hero-frame img { width: 100%; height: 100%; }
.hero-frame img { object-fit: cover; object-position: 50% 62%; }
.hero-glow { display: none; }

@supports (width: 1cqw) {
  .hero-frame {
    inset: auto;
    width: max(100cqw, 100cqh * var(--ar));
    aspect-ratio: var(--ar);
    left: calc(min(0px, 100cqw - 100cqh * var(--ar)) * var(--px));
    top: calc(min(0px, 100cqh - 100cqw / var(--ar)) * var(--py));
    transform-origin: 70% 62%;
  }
  .hero-frame img { object-fit: fill; }
  .hero-glow { display: block; position: absolute; inset: 0; pointer-events: none; }
}

/* 부스 LED 스트립: 사진 속 실제 위치에 맞춘 빛 — 천천히 '숨쉬듯' 밝아졌다 어두워짐 */
.led {
  position: absolute; top: 33.4%; height: 50.6%;
  width: 4.6%; transform: translateX(-50%);
  background:
    linear-gradient(90deg, transparent 0 45.5%, rgb(var(--glow-core) / .95) 48.8% 51.2%, transparent 54.5% 100%),
    radial-gradient(50% 50% at 50% 50%, rgb(var(--glow) / .62), rgb(var(--glow) / 0) 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 6%, #000 94%, transparent);
  mix-blend-mode: screen;
  filter: blur(1.2px);
  opacity: .5;
}
.led--1 { left: var(--led-1); }
.led--2 { left: var(--led-2); }
.led-pool {
  position: absolute; top: 83.6%; height: 15%; width: 7%; transform: translateX(-50%);
  background: radial-gradient(50% 40% at 50% 0%, rgb(var(--glow) / .55), rgb(var(--glow) / 0) 100%);
  mix-blend-mode: screen; opacity: .45; filter: blur(4px);
}
.led-pool--1 { left: var(--led-1); }
.led-pool--2 { left: var(--led-2); }

.hero-fog {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .62) 15%, rgba(255, 255, 255, .16) 32%, rgba(255, 255, 255, 0) 44%),
    linear-gradient(90deg, rgba(249, 245, 240, .95) 0%, rgba(249, 245, 240, .86) 24%, rgba(249, 245, 240, .5) 38%, rgba(249, 245, 240, 0) 54%),
    linear-gradient(0deg, rgba(248, 238, 223, .62) 0%, rgba(248, 238, 223, 0) 18%);
}

.hero-content { position: relative; z-index: 1; }
.hero-title {
  margin-top: 22px;
  font-size: clamp(40px, 5.2vw, 76px);
  line-height: 1.17; font-weight: 700; letter-spacing: -0.045em;
  color: var(--ink);
}
.hero-line { display: block; }
.hero-desc {
  max-width: min(24em, 36vw); margin-top: 28px;
  font-size: clamp(16px, .9rem + .35vw, 19px); line-height: 1.78; font-weight: 500;
  color: var(--ink-2); text-wrap: balance;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* 글 뒤의 옅은 안개: 사진의 밝기와 관계없이 글이 읽히도록 (넓은 화면 오버레이 구성) */
@media (min-width: 1024px) and (min-aspect-ratio: 1251/1000) {
  .hero-content::before {
    content: ""; position: absolute; z-index: -1; pointer-events: none;
    left: calc(var(--gutter) - 12vw); top: -14%;
    width: min(980px, 72vw); height: 128%;
    background: radial-gradient(closest-side, rgba(249, 245, 240, .78), rgba(249, 245, 240, .5) 55%, rgba(249, 245, 240, 0));
  }
}
@media (min-width: 1700px) and (min-aspect-ratio: 1251/1000) {
  .hero-content::before { left: calc(var(--gutter) - 200px); width: 1180px; }
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; z-index: 1;
  width: 1px; height: 56px; transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(50, 31, 18, 0), rgba(50, 31, 18, .28));
  overflow: hidden;
}
.scroll-cue-line {
  position: absolute; left: 0; top: 0; width: 100%; height: 40%;
  transform: translateY(-100%);
  background: linear-gradient(180deg, transparent, var(--ink));
}

/* 가로 화면 640–1023px: 넓은 화면과 같은 오버레이 구성을 크기만 줄여서 */
@media (min-width: 640px) and (max-width: 1023px) and (min-aspect-ratio: 1251/1000) {
  .hero {
    min-height: max(540px, 100vh);
    min-height: max(540px, 100svh);
    padding: calc(var(--header-h) + 28px) 0 64px;
  }
  .hero-title { font-size: clamp(32px, 5vw, 76px); }
  .hero-desc { max-width: min(24em, 46vw); }
  .scroll-cue { display: none; }
  .hero-content::before {
    content: ""; position: absolute; z-index: -1; pointer-events: none;
    left: calc(var(--gutter) - 10vw); top: -10%;
    width: min(600px, 60vw); height: 120%;
    background: radial-gradient(closest-side, rgba(249, 245, 240, .78), rgba(249, 245, 240, .5) 55%, rgba(249, 245, 240, 0));
  }
}
@media (min-width: 640px) and (max-width: 799px) and (min-aspect-ratio: 1251/1000) {
  .hero-actions { gap: 8px; }
  .hero-actions .btn { padding-inline: 20px; }
}

/* 세로·좁은 화면: 텍스트 아래에서 안개 속으로 부스가 떠오르는 브로셔 표지 구성 */
@media (max-width: 639px), (max-aspect-ratio: 5/4) {
  .hero {
    --ar: .73751;   /* 753 / 1021 */
    --px: .5;
    --py: .4;
    --led-1: 61.62%;
    --led-2: 80.48%;
    display: flex; flex-direction: column; align-items: stretch;
    min-height: 0;
    padding: calc(var(--header-h) + clamp(28px, 6vw, 56px)) 0 0;
  }
  .hero-media {
    position: relative; inset: auto; z-index: 0; order: 1;
    height: min(calc(100vw / .73751), 82vh);
    height: min(calc(100vw / .73751), 82svh);
    margin-top: clamp(-200px, -34vw, -56px);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .55) 16%, #000 34%);
    mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .55) 16%, #000 34%);
  }
  .hero-fog { background: linear-gradient(0deg, rgba(248, 238, 223, .6), rgba(248, 238, 223, 0) 22%); }
  .hero-content { order: 0; }
  .hero-title { font-size: clamp(min(36px, 10.5vw), 8.4vw, 64px); }
  .hero-desc { max-width: 34em; }
  .scroll-cue { display: none; }
}
/* 휴대폰: 첫 화면에 부스가 더 많이 보이도록 간격을 줄이고 버튼을 한 줄로 */
@media (max-width: 599px) {
  .hero { padding-top: calc(var(--header-h) + 14px); }
  .hero-title { margin-top: 14px; }
  .hero-desc { margin-top: 16px; line-height: 1.66; }
  .hero-actions { margin-top: 24px; gap: 8px; }
}
@media (max-width: 359px) { .hero-actions .btn { flex: 1 1 100%; } }
@media (min-width: 360px) and (max-width: 479px) {
  .hero-actions { flex-wrap: nowrap; }
  .hero-actions .btn { flex: 1 1 auto; --h: 52px; padding-inline: 14px; gap: 6px; }
  .hero-actions .btn-icon { width: 18px; height: 18px; }
}
/* 세로 구성이면서 높이가 낮은 가로 화면(작은 휴대폰 가로, 정사각형에 가까운 창) */
@media (max-width: 639px) and (orientation: landscape) and (max-height: 720px),
       (max-width: 1023px) and (max-aspect-ratio: 5/4) and (orientation: landscape) and (max-height: 720px) {
  .hero-media {
    height: min(calc(100vw / .73751), 150vh);
    height: min(calc(100vw / .73751), 150svh);
    margin-top: -72px;
  }
}
@media (max-width: 639px) and (orientation: landscape) and (max-height: 540px) {
  .hero-title { font-size: clamp(30px, 5.2vw, 44px); }
}

/* 7. 왜 필요한가 ---------------------------------------------------------- */
.why { background: var(--cream-3); overflow: hidden; overflow: clip; isolation: isolate; }
.why-ambient {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 70% at 92% 0%, rgb(var(--glow) / .22), transparent 70%),
    radial-gradient(45% 55% at 0% 100%, rgba(255, 255, 255, .55), transparent 70%);
}
.stats .cell { padding-block: 40px 46px; }
.stat-num {
  display: flex; align-items: baseline; gap: .08em;
  font-size: clamp(68px, 2.6rem + 5vw, 132px); line-height: 1; font-weight: 600;
  letter-spacing: -0.055em; color: var(--ink);
  font-variant-numeric: normal;
}
.stat-unit { font-size: .3em; font-weight: 650; letter-spacing: -0.02em; color: var(--accent); }
.stat-label { margin-top: 20px; font-size: 16px; font-weight: 500; color: var(--ink-2); }

/* 칸 사이 세로선을 부스 LED 처럼 빛나게 */
.stat-strip { display: none; }
@media (min-width: 768px) {
  .stat + .stat .stat-strip {
    display: block; position: absolute; left: -1.5px; top: 10%; bottom: 10%; width: 2px; border-radius: 2px;
    background: linear-gradient(180deg, rgb(var(--glow) / 0), rgb(var(--glow) / .9) 18%, rgb(var(--glow-core)) 50%, rgb(var(--glow) / .9) 82%, rgb(var(--glow) / 0));
    box-shadow: 0 0 12px 2px rgb(var(--glow) / .55), 0 0 36px 6px rgb(var(--glow) / .18);
    transform-origin: 50% 0;
  }
}

/* 8. 이용 과정 ------------------------------------------------------------ */
.journey-media {
  --fx: 50%; --fy: 50%; --z: 1;
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 16 / 7;
  background: var(--cream-2);
}
@media (max-width: 1023px) { .journey-media { aspect-ratio: 16 / 10; } }
@media (max-width: 599px) { .journey-media { aspect-ratio: 4 / 3.6; } }
.journey-frame { position: absolute; inset: 0; }
.journey-frame picture, .journey-frame img { width: 100%; height: 100%; }
.journey-frame img {
  object-fit: cover; object-position: 50% 46%;
  transform-origin: 50% 50%;
  scale: var(--z);
  translate:
    clamp(calc((1 - var(--z)) * 50%), calc(var(--z) * (50% - var(--fx))), calc((var(--z) - 1) * 50%))
    clamp(calc((1 - var(--z)) * 50%), calc(var(--z) * (50% - var(--fy))), calc((var(--z) - 1) * 50%));
}
.journey-media::after {
  content: ""; position: absolute; inset: auto 0 0; height: 60%; pointer-events: none;
  background: linear-gradient(0deg, rgba(34, 22, 13, .76) 0%, rgba(34, 22, 13, .52) 34%, rgba(34, 22, 13, 0) 100%);
}
.journey-caption {
  position: absolute; left: clamp(18px, 2.4vw, 32px); bottom: clamp(16px, 2.2vw, 28px); z-index: 1;
  display: flex; align-items: baseline; gap: 8px;
  color: var(--on-dark); font-weight: 650;
}
.journey-caption-num { font-size: clamp(30px, 1.2rem + 1.6vw, 44px); line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.journey-caption-total { font-size: 14px; opacity: .92; font-variant-numeric: tabular-nums; }
.journey-caption-title { margin-left: 10px; font-size: clamp(15px, .9rem + .3vw, 18px); letter-spacing: -0.02em; }

/* 자동 넘김 일시정지 (WCAG 2.2.2) */
.journey-toggle {
  position: absolute; right: clamp(14px, 2.2vw, 28px); bottom: clamp(14px, 2.2vw, 26px); z-index: 2;
  display: grid; place-items: center;
  width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(34, 22, 13, .42); color: var(--on-dark);
  box-shadow: inset 0 0 0 1px rgba(251, 247, 241, .45);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.journey-toggle svg { width: 18px; height: 18px; fill: currentColor; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.journey-toggle .i-pause { fill: none; }
.journey-toggle .i-play, .journey-toggle[aria-pressed="true"] .i-pause { display: none; }
.journey-toggle[aria-pressed="true"] .i-play { display: block; }
.journey-toggle:focus-visible { outline: 2px solid var(--on-dark); outline-offset: 2px; }
@media (hover: hover) { .journey-toggle:hover { background: var(--on-dark); color: var(--ink); } }
@media (prefers-reduced-motion: reduce) { .journey-toggle { display: none; } }

.steps { display: grid; list-style: none; }
.step {
  position: relative; min-width: 0;
  padding: 26px 0 30px;
  border-bottom: 1px solid var(--line);
  -webkit-tap-highlight-color: transparent;
}
.step::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.step-head { display: flex; align-items: center; justify-content: space-between; min-height: 30px; }
.step-num { font-size: 15px; font-weight: 700; letter-spacing: .02em; color: var(--ink-4); font-variant-numeric: tabular-nums; transition: color .5s var(--ease); }
.step-arrow {
  display: none; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--cream-2); color: var(--ink);
  box-shadow: inset 0 0 0 1.2px var(--ring);
}
.step-arrow svg { width: 15px; height: 15px; }
.step-title { margin-top: 14px; font-size: clamp(19px, 1.05rem + .35vw, 22px); line-height: 1.4; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.step-desc { margin-top: 8px; font-size: 15.5px; line-height: 1.68; color: var(--ink-2); text-wrap: pretty; }
.step-bar {
  position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 1;
  background: var(--ink); transform: scaleX(0); transform-origin: left center;
}
.step.is-active .step-bar, .step.is-done .step-bar { transform: scaleX(1); }
.step.is-active.is-running .step-bar { animation: step-bar var(--step-dur, 4.8s) linear both; }
.step.is-active .step-num { color: var(--accent); }
@keyframes step-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 1023px) {
  .step:not(:last-child) { border-bottom: 0; }
}
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .step { padding: 26px 24px 36px; }
  .step:first-child { padding-left: 0; }
  .step:last-child { padding-right: 0; }
  .step + .step { border-left: 1px solid var(--line); }
  .step-arrow { display: grid; position: absolute; right: -15px; top: 26px; z-index: 2; }
  .step .step-title, .step .step-desc { transition: color .6s var(--ease); }
  /* 지금 단계가 아닌 칸은 색으로만 한 단계 낮춤 (명도 대비 AA 유지) */
  .js:not(.no-main) .step:not(.is-active) .step-title { color: var(--ink-3); }
  .js:not(.no-main) .step:not(.is-active) .step-desc { color: var(--ink-4); }
}

/* 9. 에필굿 AI ------------------------------------------------------------ */
.listen {
  position: relative; height: clamp(56px, 6vw, 84px);
  margin: clamp(8px, 1.5vw, 20px) 0 clamp(20px, 2.4vw, 32px);
}
.listen-wave { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 2px; }
.listen-wave i {
  flex: 1 1 0; max-width: 3px; height: 100%; border-radius: 3px;
  background: linear-gradient(180deg, rgba(124, 91, 52, .25), rgba(124, 91, 52, .85) 50%, rgba(124, 91, 52, .25));
  transform: scaleY(var(--h, .3));
}
@media (max-width: 599px) { .listen-wave i:nth-child(even) { display: none; } }

.feature-icon {
  display: grid; place-items: center;
  width: 56px; height: 56px; margin-bottom: 26px; border-radius: 50%;
  color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--ring);
  background: rgba(255, 255, 255, .5);
}
.feature-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* 10. 대상별 -------------------------------------------------------------- */
.audience { display: flex; flex-direction: column; }
.audience-index { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--ink-4); font-variant-numeric: tabular-nums; }
.tag {
  align-self: flex-start; margin: 36px 0 12px;
  display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px;
  font-size: 13px; font-weight: 650; letter-spacing: -0.005em;
  color: var(--accent); background: rgba(124, 91, 52, .08);
}
@media (min-width: 1024px) { .tag { margin-top: 44px; } }

/* 11. 서비스 -------------------------------------------------------------- */
.services { list-style: none; }
.service {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px 24px;
  padding: 30px 0; border-bottom: 1px solid var(--line); color: var(--ink);
}
.service::before {
  content: ""; position: absolute; z-index: -1; inset: 0 calc(var(--gutter) * -.5);
  background: rgba(255, 255, 255, .55); border-radius: 18px;
  opacity: 0; transform: scaleY(.9); transition: opacity .45s var(--ease), transform .55s var(--ease-out);
}
.service-num { display: none; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--ink-4); font-variant-numeric: tabular-nums; }
.service-body { display: grid; gap: 6px; min-width: 0; }
.service-name { font-size: clamp(20px, 1.05rem + .75vw, 28px); line-height: 1.35; font-weight: 700; letter-spacing: -0.032em; }
.service-desc { font-size: 16px; line-height: 1.7; color: var(--ink-2); text-wrap: pretty; }
.service-cta { display: inline-flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 650; color: var(--accent); white-space: nowrap; }
.service-cta-icon { width: 44px; height: 44px; }
@media (hover: hover) {
  .service:hover::before { opacity: 1; transform: none; }
  .service:hover .service-cta-icon { background: var(--ink); color: var(--on-dark); box-shadow: inset 0 0 0 1.2px var(--ink); transform: translateX(4px); }
}
@media (max-width: 767px) {
  .service { grid-template-columns: minmax(0, 1fr); }
  .service-cta { margin-top: 4px; }
  .service-cta-icon { width: 36px; height: 36px; }
}
@media (min-width: 1024px) {
  .service { grid-template-columns: 64px minmax(0, 1fr) 11.5em; align-items: first baseline; padding: 36px 0; gap: 24px 32px; }
  .service-num { display: block; }
  .service-body { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: baseline; gap: 40px; }
  .service-cta { justify-content: flex-end; }
}

/* 12. 도입 사례 ----------------------------------------------------------- */
.kpi-label { font-size: 15px; font-weight: 600; color: var(--ink-2); }
.kpi-num {
  margin-top: 16px;
  font-size: clamp(54px, 2.2rem + 3.2vw, 92px); line-height: 1; font-weight: 600;
  letter-spacing: -0.055em; color: var(--ink);
  font-variant-numeric: normal; white-space: nowrap;
}
.kpi-value.is-counting { font-variant-numeric: tabular-nums; }
.kpi-unit { margin-left: .06em; font-size: .34em; font-weight: 650; letter-spacing: -0.02em; color: var(--accent); }
.kpi-note { margin-top: 16px; font-size: 14px; line-height: 1.6; color: var(--ink-4); }

.records { display: grid; gap: 64px; margin-top: clamp(72px, 8vw, 120px); }
@media (min-width: 1024px) { .records { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 54px; } }
.record-head { padding-bottom: 16px; border-bottom: 2px solid var(--ink); }
.record-title { font-size: clamp(20px, 1.05rem + .4vw, 24px); font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.record-list { list-style: none; }
.record-row {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 20px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.record-name { font-size: 16.5px; font-weight: 550; color: var(--ink); text-wrap: pretty; }
.record-meta { font-size: 14px; color: var(--ink-4); white-space: nowrap; }
.record-meta--accent { color: var(--accent); font-weight: 700; }
.record-row--link {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 8px 20px;
  padding: 22px 0;
}
.record-row--link .record-name { grid-column: 1; line-height: 1.6; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 5px; text-decoration-thickness: 1px; transition: text-decoration-color .3s var(--ease), color .3s var(--ease); }
.record-row--link .record-meta { grid-column: 1; grid-row: 2; }
.record-icon { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
@media (hover: hover) {
  .record-row--link:hover .record-name { text-decoration-color: rgba(50, 31, 18, .45); }
  .record-row--link:hover .record-icon { background: var(--ink); color: var(--on-dark); box-shadow: inset 0 0 0 1.2px var(--ink); transform: translate(2px, -2px); }
}

/* 13. 자주 묻는 질문 ------------------------------------------------------ */
.faq-layout { display: grid; gap: 36px; }
@media (min-width: 1024px) {
  .faq-layout { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; }
  .faq-aside { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
}
.faq-aside { display: grid; gap: 18px; justify-items: start; }
.faq-list { border-top: 2px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0; cursor: pointer; list-style: none;
  font-size: clamp(17px, 1rem + .35vw, 20px); line-height: 1.5; font-weight: 650; letter-spacing: -0.022em;
  color: var(--ink);
  -webkit-tap-highlight-color: transparent;
  transition: color .3s var(--ease);
}
.faq-q > span:first-child { text-wrap: balance; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q::marker { content: ""; }
.faq-q:focus-visible { outline-offset: 2px; }
.faq-icon { position: relative; }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; border-radius: 1px;
  background: currentColor; transform: translate(-50%, -50%);
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open]:not(.is-closing) .faq-icon { transform: rotate(45deg); background: var(--ink); color: var(--on-dark); box-shadow: inset 0 0 0 1.2px var(--ink); }
@media (hover: hover) {
  .faq-q:hover { color: var(--accent-2); }
  .faq-q:hover .faq-icon { background: var(--ink); color: var(--on-dark); box-shadow: inset 0 0 0 1.2px var(--ink); }
}
.faq-a { overflow: hidden; }
.faq-a p { max-width: 44em; padding: 0 clamp(0px, 6vw, 64px) 30px 0; color: var(--ink-2); line-height: 1.8; text-wrap: pretty; }

/* 14. 도입 문의 ----------------------------------------------------------- */
.contact {
  position: relative; isolation: isolate; overflow: hidden; overflow: clip;
  display: flex;
  min-height: min(100vh, 960px);
  min-height: min(100svh, 960px);
  padding: clamp(120px, 13vw, 200px) 0 clamp(64px, 7vw, 104px);
}
.contact-media { position: absolute; inset: 0; z-index: -1; }
.contact-media picture, .contact-media img { width: 100%; height: 100%; }
.contact-media img { object-fit: cover; object-position: 38% 42%; filter: saturate(.92) blur(.6px); transform: scale(1.02); }
.contact-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--cream-2) 0, rgba(243, 237, 226, 0) 22%),
    linear-gradient(180deg, rgba(255, 255, 255, .7) 0%, rgba(249, 245, 240, .34) 26%, rgba(249, 245, 240, .22) 52%, rgba(249, 245, 240, .78) 80%, var(--cream) 100%),
    linear-gradient(90deg, rgba(249, 245, 240, .55) 0%, rgba(249, 245, 240, 0) 60%);
}
.contact-inner { display: flex; flex-direction: column; justify-content: space-between; gap: clamp(96px, 16vh, 220px); }
.contact-title {
  font-size: clamp(34px, 1.2rem + 3.6vw, 72px); line-height: 1.2; font-weight: 700; letter-spacing: -0.045em;
  color: var(--ink); text-wrap: balance;
}
.contact-lead { margin-top: 20px; font-size: clamp(16.5px, .95rem + .35vw, 20px); font-weight: 500; color: var(--ink-2); text-wrap: pretty; }
.contact-foot { display: grid; gap: 28px; justify-items: start; }
.contact-btn { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 22px 40px -18px rgba(50, 31, 18, .55); }
.contact-table { width: 100%; border-top: 2px solid var(--ink); }
.contact-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px;
  padding: 18px 0; border-bottom: 1px solid rgba(50, 31, 18, .2);
}
.contact-who { font-size: 17px; font-weight: 700; color: var(--ink); }
.contact-mail { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.contact-address {
  font-size: 17px; font-weight: 600; color: var(--ink);
  text-decoration: underline; text-decoration-color: rgba(50, 31, 18, .28); text-underline-offset: 5px; text-decoration-thickness: 1px;
  transition: text-decoration-color .3s var(--ease);
}
.copy-btn {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 36px; padding: 0 14px 0 11px; border: 0; border-radius: 999px;
  background: rgba(255, 255, 255, .6); color: var(--ink-2);
  box-shadow: inset 0 0 0 1px rgba(50, 31, 18, .18);
  font-size: 13.5px; font-weight: 600; cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.copy-btn svg { width: 16px; height: 16px; }
.copy-btn .copy-done { display: none; }
.copy-btn.is-copied { background: var(--ink); color: var(--on-dark); box-shadow: none; }
.copy-btn.is-copied .copy-icon { display: none; }
.copy-btn.is-copied .copy-done { display: block; }
.copy-btn.is-failed { color: var(--accent-2); box-shadow: inset 0 0 0 1px rgba(124, 91, 52, .55); }
@media (hover: hover) {
  .contact-address:hover { text-decoration-color: var(--ink); }
  .copy-btn:not(.is-copied):hover { background: #fff; box-shadow: inset 0 0 0 1px rgba(50, 31, 18, .35); }
}

/* 15. 푸터 ---------------------------------------------------------------- */
.site-footer {
  position: relative; overflow: hidden;
  padding-top: clamp(64px, 7vw, 96px);
  background: var(--ink); color: rgba(249, 245, 240, .66);
  font-size: 14.5px; line-height: 1.7;
}
.site-footer :focus-visible { outline-color: var(--sand); }
.footer-inner { display: grid; gap: 40px; }
@media (min-width: 1024px) { .footer-inner { grid-template-columns: minmax(0, 1fr) auto; align-items: start; } }
.footer-info { display: grid; gap: 4px; justify-items: start; }
.footer-logo { width: calc(17px * 3.069); height: 17px; fill: var(--on-dark); margin-bottom: 20px; }
.footer-name { margin-bottom: 6px; font-size: 16px; color: var(--on-dark); }
.footer-links { display: grid; gap: 2px; list-style: none; }
@media (min-width: 1024px) { .footer-links { justify-items: end; } }
.footer-links a {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 0;
  color: rgba(249, 245, 240, .88); transition: color .3s var(--ease);
}
.footer-links svg { width: 14px; height: 14px; opacity: .55; }
@media (hover: hover) { .footer-links a:hover { color: #fff; } }
.footer-bottom {
  margin-top: 48px; padding-bottom: 22px;
  font-size: 13px; color: rgba(249, 245, 240, .55);
}
.footer-bottom::before { content: ""; display: block; height: 1px; margin-bottom: 22px; background: rgba(249, 245, 240, .1); }
.footer-mark {
  max-width: calc(var(--container) + var(--gutter) * 2); margin: 12px auto 0;
  padding: 0 var(--gutter) clamp(20px, 3vw, 40px);
  pointer-events: none;
}
.footer-mark svg { width: 100%; height: auto; aspect-ratio: 245.43 / 45.12; fill: rgba(249, 245, 240, .06); }

/* 16. 모션 --------------------------------------------------------------- */
@keyframes rise { from { opacity: 0; transform: translate3d(0, 28px, 0); } to { opacity: 1; transform: none; } }
@keyframes settle { from { scale: 1.07; } to { scale: 1; } }
@keyframes breathe { 0%, 100% { opacity: .32; } 45% { opacity: .95; } }
@keyframes scroll-cue { 0% { transform: translateY(-100%); } 70%, 100% { transform: translateY(250%); } }
@keyframes strip-on { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }
@keyframes listen { 0% { scale: 1 .32; } 100% { scale: 1 1; } }

@media (prefers-reduced-motion: no-preference) {
  .motion .hero-in { opacity: 0; animation: rise 1.25s var(--ease-out) forwards; animation-delay: calc(.2s + var(--d, 0) * .1s); }
  .motion .hero-frame { animation: settle 3.2s var(--ease-out) both; }
  /* LED는 아주 느린 밝기 변화(움직임이 아님) */
  .led, .led-pool { animation: breathe 9s var(--ease-in-out) 1.2s infinite; }
  /* 스크롤 안내선·음성 파형은 5초 안에 멈춤 (WCAG 2.2.2) */
  .scroll-cue-line { animation: scroll-cue 2.2s var(--ease-in-out) 1.6s 2; }
  .listen.is-live .listen-wave i { animation: listen 1.6s var(--ease-in-out) var(--dl, 0s) 3 alternate both; }

  .journey-frame img { transition: scale 2.4s var(--ease-out), translate 2.4s var(--ease-out); }

  @media (min-width: 640px) and (min-aspect-ratio: 1251/1000) {
    .hero-frame { translate: 0 calc(var(--hero-p, 0) * 8%); }
  }

  .motion [data-reveal] {
    opacity: 0; transform: translate3d(0, 28px, 0);
    transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out);
    transition-delay: calc(var(--d, 0) * 90ms);
  }
  .motion [data-reveal].is-in { opacity: 1; transform: none; }

  .motion .rule { transform: scaleX(0); transition: transform 1.5s var(--ease-out) .1s; }
  .motion .rule.is-in { transform: none; }

  .motion .stat .stat-strip { opacity: 0; }
  .motion .stat.is-in .stat-strip { animation: strip-on 1.6s var(--ease-out) calc(.35s + var(--d, 0) * .15s) both; }

  .motion .feature .feature-icon path { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .motion .feature.is-in .feature-icon path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease-out) calc(.3s + var(--d, 0) * .12s); }
}

/* 17. 고대비 모드 (Windows 대비 테마) ------------------------------------- */
@media (forced-colors: active) {
  .menu-toggle { border: 1px solid ButtonText; }
  .menu-toggle-lines i { forced-color-adjust: none; background: ButtonText; }
  .faq-icon::before, .faq-icon::after { forced-color-adjust: none; background: ButtonText; }
  .ring-icon, .journey-toggle, .copy-btn { border: 1px solid ButtonText; }
}

/* 18. 인쇄 --------------------------------------------------------------- */
@media print {
  .site-header, .mobile-menu, .scroll-cue, .hero-glow, .listen, .footer-mark, .skip-link, .journey-toggle, .copy-btn { display: none !important; }
  .hero { min-height: 0; }
  [data-reveal], .rule, .hero-in { opacity: 1 !important; transform: none !important; animation: none !important; }
  .site-footer { background: #fff; color: #000; }
}
