/* ecoTrans — 야간 물류 보드 */

.et-root {
  --et-bg:          #0a0c0b;
  --et-bg-2:        #0f1211;
  --et-surface:     #151918;
  --et-surface-2:   #1c2120;
  --et-fg:          #edefee;
  --et-mute:        #a3a8a5;
  --et-dim:         #868c89;
  --et-line:        rgba(255,255,255,0.08);
  --et-line-2:      rgba(255,255,255,0.14);
  --et-line-3:      rgba(255,255,255,0.24);
  --et-accent:      #35d08a;
  --et-accent-soft: rgba(53,208,138,0.12);
  --et-ink:         #0a0c0b;

  --et-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --et-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  --et-ease-out:  cubic-bezier(0.22,1,0.36,1);
  --et-ease-slow: cubic-bezier(.16,.84,.3,1);
  --et-spring:    cubic-bezier(0.34,1.56,0.64,1);

  --nav-h: 64px;
  --pad: 32px;
  --dock-h: 64px;
  --focus: rgba(53,208,138,0.7);
}

@media (prefers-contrast: more) {
  .et-root {
    --et-mute: #c2c7c4;
    --et-dim: #a8aeab;
    --et-line: rgba(255,255,255,0.2);
    --et-line-2: rgba(255,255,255,0.3);
    --et-line-3: rgba(255,255,255,0.4);
  }
}

/* 기본 */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: #0a0c0b;
  overflow-x: clip;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  min-width: 0;
  background: var(--et-bg);
  color: var(--et-mute);
  font-family: var(--et-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }
svg { display: block; max-width: 100%; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
p, h1, h2, h3, li, legend, label, span, a, button, figcaption {
  word-break: keep-all;
  overflow-wrap: anywhere;
}
::selection { background: rgba(53,208,138,0.3); color: var(--et-fg); }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
:focus:not(:focus-visible) { outline: none; }

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

.skip {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 100;
  display: inline-flex; align-items: center;
  height: 44px; padding: 0 18px;
  border-radius: 999px;
  background: var(--et-fg); color: var(--et-ink);
  font-weight: 600; font-size: .9375rem;
  transform: translateY(-160%);
  transition: transform 240ms var(--et-ease-out);
}
.skip:focus { transform: none; }

main:focus { outline: none; }

.ico {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ico-fill { fill: currentColor; }

.container {
  width: 100%;
  max-width: calc(1200px + var(--pad) * 2);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* 글자 */
.h1 {
  margin: 0;
  font-weight: 700;
  font-size: clamp(2.25rem, 7.2vw, 5.25rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--et-fg);
}
.h2 {
  margin: 0;
  font-weight: 600;
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: var(--et-fg);
}
.h1 .l1, .h1 .l2, .h2 .l1, .h2 .l2 { display: block; }
.l2 { color: var(--et-dim); }
.h3 {
  margin: 0;
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--et-fg);
}
.eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin: 0 0 24px;
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--et-mute);
}
.eyebrow .num { font-family: var(--et-mono); color: var(--et-accent); }
.eyebrow .sep { font-family: var(--et-mono); color: var(--et-dim); }
.lead {
  margin: 24px 0 0;
  max-width: 36em;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  color: var(--et-mute);
}
.label {
  font-family: var(--et-mono);
  font-weight: 500;
  font-size: .75rem;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--et-dim);
}

/* 버튼 */
.btn {
  --h: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  height: var(--h);
  padding: 0 22px;
  border: 1px solid var(--et-fg);
  border-radius: 999px;
  background: var(--et-fg);
  color: var(--et-ink);
  font-weight: 600;
  font-size: .9375rem;
  line-height: 1;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: transform 120ms var(--et-ease-out), background-color 240ms var(--et-ease-out), border-color 240ms var(--et-ease-out), color 240ms var(--et-ease-out);
}
.btn:hover { background: #ffffff; border-color: #ffffff; }
.btn:active { transform: scale(0.97); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn__arrow { transition: transform 240ms var(--et-ease-out); }
.btn:hover .btn__arrow, .btn:active .btn__arrow { transform: translateX(4px); }
.btn--ghost {
  background: transparent;
  color: var(--et-fg);
  border-color: var(--et-line-2);
}
.btn--ghost:hover { background: var(--et-surface-2); border-color: var(--et-line-3); }
.btn--sm { --h: 40px; padding: 0 16px; font-size: .875rem; }
.btn--block { width: 100%; }

/* 로고 */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--et-fg);
  white-space: nowrap;
}
.logo svg { width: 14px; height: 14px; flex: none; }
.logo b { font-weight: 700; font-size: 1.125rem; letter-spacing: -0.02em; }
.logo small { font-size: .8125rem; font-weight: 500; color: var(--et-dim); }

/* 내비 */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: height 240ms var(--et-ease-out), background-color 240ms var(--et-ease-out), border-color 240ms var(--et-ease-out);
}
.nav.is-scrolled {
  height: 54px;
  background: rgb(10,12,11);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--et-line);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
}
.nav__inner > * { min-width: 0; }
.nav__menu { flex: 1; }
.nav__menu ul { display: flex; justify-content: center; gap: 4px; }
.nav__menu a {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: .9375rem;
  color: var(--et-mute);
  transition: color 120ms var(--et-ease-out), background-color 120ms var(--et-ease-out);
}
.nav__menu a:hover { color: var(--et-fg); background: var(--et-surface-2); }
.nav__toggle {
  display: none;
  flex: none;
  position: relative;
  width: 44px; height: 44px;
  margin-left: auto;
  margin-right: -8px;
  border-radius: 999px;
}
.nav__toggle span {
  position: absolute;
  left: 13px; right: 13px;
  height: 1.5px;
  background: var(--et-fg);
  border-radius: 2px;
}
.nav__toggle span:first-child { top: 18px; }
.nav__toggle span:last-child { top: 25px; }

/* 모바일 메뉴 */
.mnav {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  padding: 0 var(--pad) calc(24px + env(safe-area-inset-bottom));
  background: rgba(10,12,11,0.97);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  opacity: 0;
  overflow-y: auto;
  transition: opacity 240ms var(--et-ease-out);
}
.mnav[hidden] { display: none; }
.mnav[data-open] { opacity: 1; }
.mnav__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  flex: none;
}
.mnav__close {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  margin-right: -8px;
  border-radius: 999px;
  color: var(--et-fg);
}
.mnav__close svg { width: 22px; height: 22px; }
.mnav__list { margin-top: 24px; border-top: 1px solid var(--et-line); }
.mnav__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  border-bottom: 1px solid var(--et-line);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--et-fg);
  transform: translateY(8px);
  opacity: 0;
  transition: transform 420ms var(--et-ease-slow), opacity 420ms var(--et-ease-slow);
}
.mnav[data-open] .mnav__list a { transform: none; opacity: 1; }
.mnav[data-open] .mnav__list li:nth-child(2) a { transition-delay: 40ms; }
.mnav[data-open] .mnav__list li:nth-child(3) a { transition-delay: 80ms; }
.mnav[data-open] .mnav__list li:nth-child(4) a { transition-delay: 120ms; }
.mnav__num { font-family: var(--et-mono); font-size: .75rem; font-weight: 500; letter-spacing: 0.12em; color: var(--et-dim); }
.mnav__cta { margin-top: auto; flex: none; }
.mnav__list + .mnav__cta { margin-top: max(40px, auto); }

/* 히어로 */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 112px) 0 128px;
  overflow: hidden;
  text-align: center;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero__img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 40%;
  filter: saturate(0.85);
  animation: et-hero-img 1600ms var(--et-ease-slow) both;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 32%, rgba(10,12,11,0.55), transparent 75%),
    linear-gradient(to bottom, rgba(10,12,11,0.72) 0%, rgba(10,12,11,0.6) 30%, rgba(10,12,11,0.78) 62%, var(--et-bg) 96%);
}
@keyframes et-hero-img {
  from { opacity: 0; transform: scale(1.04); }
  to   { opacity: 1; transform: none; }
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--et-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--et-line) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center -1px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,0.55) 38%, transparent 78%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,0.55) 38%, transparent 78%);
  pointer-events: none;
}
.hero__arc {
  position: absolute;
  top: calc(var(--nav-h) + 12px);
  left: 50%;
  width: min(1320px, 150%);
  max-width: none;
  transform: translateX(-50%);
  pointer-events: none;
}
.hero__arc-text {
  font-family: var(--et-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  fill: rgba(255,255,255,0.16);
}
.hero__inner { position: relative; }
.hero .eyebrow { justify-content: center; }
.hero .lead { margin-left: auto; margin-right: auto; max-width: 38em; color: #b6bbb8; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}
.hero__note { margin: 16px 0 0; font-size: .875rem; color: var(--et-dim); }
.hero .btn--ghost { background: rgba(10,12,11,0.4); }
.hero .btn--ghost:hover { background: var(--et-surface-2); }

@keyframes et-focus {
  from { opacity: 0; transform: translateY(16px); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: none; }
}
@keyframes et-rise {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}
[data-hero] {
  animation: et-focus 900ms var(--et-ease-slow) both;
  animation-delay: calc(var(--i, 0) * 80ms + 60ms);
}
[data-hero-rise] {
  animation: et-rise 1000ms var(--et-ease-slow) both;
  animation-delay: 560ms;
}

/* 합포장 보드 */
.board {
  position: relative;
  max-width: 960px;
  margin: 72px auto 0;
  text-align: left;
  border: 1px solid var(--et-line-2);
  border-radius: 14px;
  background: var(--et-bg-2);
  box-shadow: 0 40px 120px -40px rgba(53,208,138,0.18);
  overflow: hidden;
}
.board__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 6px 8px 6px 20px;
  border-bottom: 1px solid var(--et-line);
}
.board__label { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.board__label::before {
  content: "";
  flex: none;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--et-line-2);
  transition: background-color 240ms, box-shadow 240ms;
}
.board.is-running .board__label::before {
  background: var(--et-accent);
  box-shadow: 0 0 8px var(--et-accent);
}
.replay {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--et-line-2);
  border-radius: 999px;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--et-fg);
  transition: background-color 240ms var(--et-ease-out), border-color 240ms var(--et-ease-out), transform 120ms var(--et-ease-out);
}
.replay:hover { background: var(--et-surface-2); border-color: var(--et-line-3); }
.replay:active { transform: scale(0.97); }
.replay svg { width: 14px; height: 14px; }

.board__stage {
  position: relative;
  height: 360px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 36px;
  padding: 32px 40px;
  background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1.5px);
  background-size: 24px 24px;
  background-position: 12px 12px;
}
.board__stage > * { min-width: 0; }

.src__cap { margin: 0 0 12px; font-size: .8125rem; color: var(--et-dim); }
.pkgs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

/* 기본 상태 = 완성 상태 (JS 없음·움직임 줄임) */
.pkg {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  height: 56px;
  padding: 0 12px;
  border: 1px dashed var(--et-line-2);
  border-radius: 10px;
  background: transparent;
  transition: opacity 420ms var(--et-ease-out), transform 420ms var(--et-ease-out), background-color 420ms var(--et-ease-out);
  transition-delay: calc(var(--n) * 150ms);
}
.pkg__cube {
  position: relative;
  z-index: 2;
  flex: none;
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  color: var(--et-fg);
  transform: translate(var(--dx, 0px), var(--dy, 0px)) scale(0.45);
  opacity: 0;
  transition:
    transform 700ms var(--et-ease-slow) calc(var(--n) * 120ms),
    opacity 240ms linear calc(var(--n) * 120ms + 520ms);
}
.pkg__cube svg { width: 22px; height: 22px; }
.pkg__name {
  flex: 1;
  min-width: 0;
  font-size: .875rem;
  font-weight: 500;
  color: var(--et-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  overflow-wrap: normal;
  transition: color 420ms var(--et-ease-out);
}
.pkg__check {
  flex: none;
  display: grid;
  place-items: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  color: var(--et-accent);
  background: var(--et-accent-soft);
  transition: transform 240ms var(--et-spring), opacity 240ms var(--et-ease-out);
  transition-delay: calc(var(--n) * 150ms);
}
.pkg__check svg { width: 12px; height: 12px; stroke-width: 2; }

.crate {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.crate__box {
  position: relative;
  width: min(100%, 176px);
  aspect-ratio: 4 / 3;
  border: 1.5px solid var(--et-accent);
  border-radius: 10px;
  background: rgba(53,208,138,0.04);
  box-shadow: 0 0 0 5px var(--et-accent-soft), 0 0 48px -10px rgba(53,208,138,0.4);
  transition: border-color 420ms var(--et-ease-out) 600ms, box-shadow 420ms var(--et-ease-out) 600ms, background-color 420ms var(--et-ease-out) 600ms;
}
.crate__box::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 26%;
  border-top: 1px solid var(--et-line-2);
}
.crate__box::after {
  content: "";
  position: absolute;
  left: 50%; top: 0;
  height: 26%;
  border-left: 1px solid var(--et-line-2);
}
.crate__cells {
  position: absolute;
  left: 16%; right: 16%; top: 38%; bottom: 13%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.crate__cells i {
  border: 1px solid rgba(53,208,138,0.5);
  border-radius: 3px;
  background: var(--et-accent-soft);
  transition: background-color 240ms var(--et-ease-out), border-color 240ms var(--et-ease-out);
  transition-delay: calc(var(--n) * 120ms + 640ms);
}
.crate__name {
  margin: 0;
  font-size: .875rem;
  font-weight: 600;
  color: var(--et-fg);
  text-align: center;
}

.route {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-top: 30px;
}
.route__end {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--et-fg);
  white-space: nowrap;
}
.route__dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 1.5px solid var(--et-accent);
  background: var(--et-accent);
  box-shadow: 0 0 0 5px var(--et-accent-soft);
  transition: background-color 240ms var(--et-ease-out), border-color 240ms var(--et-ease-out), box-shadow 240ms var(--et-ease-out);
}
.route__end--to .route__dot { transition-delay: 1100ms; }
.route__track {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 2px;
  margin-top: 5px;
  background: repeating-linear-gradient(90deg, var(--et-line-2) 0 6px, transparent 6px 12px);
}
.route__fill {
  position: absolute;
  inset: 0;
  background: var(--et-accent);
  box-shadow: 0 0 10px rgba(53,208,138,0.6);
  transform-origin: left center;
  transform: scaleX(1);
  transition: transform 1200ms var(--et-ease-slow);
}
.route__ems {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  white-space: nowrap;
}

.board__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 14px 16px;
  border-top: 1px solid var(--et-line);
}
.bstep {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(53,208,138,0.42);
  border-radius: 999px;
  background: var(--et-accent-soft);
  font-size: .8125rem;
  font-weight: 500;
  color: var(--et-fg);
  white-space: nowrap;
  transition: background-color 240ms var(--et-ease-out), border-color 240ms var(--et-ease-out), color 240ms var(--et-ease-out);
}
.bstep::before {
  content: "";
  flex: none;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--et-accent);
  box-shadow: 0 0 8px var(--et-accent);
  transition: background-color 240ms, box-shadow 240ms;
}

/* 시연 단계 0~3 (4 = 기본 완성 상태) */
.board[data-stage="0"] .pkg { opacity: 0; transform: translateY(10px); }
.board[data-stage="0"] .pkg,
.board[data-stage="1"] .pkg,
.board[data-stage="2"] .pkg { border-style: solid; background: var(--et-surface); }
.board[data-stage="0"] .pkg__name,
.board[data-stage="1"] .pkg__name,
.board[data-stage="2"] .pkg__name { color: var(--et-fg); }
.board[data-stage="0"] .pkg__cube,
.board[data-stage="1"] .pkg__cube,
.board[data-stage="2"] .pkg__cube { transform: none; opacity: 1; }
.board[data-stage="0"] .pkg__check,
.board[data-stage="1"] .pkg__check { transform: scale(0); opacity: 0; }
.board[data-stage="0"] .crate__box,
.board[data-stage="1"] .crate__box,
.board[data-stage="2"] .crate__box { border-color: var(--et-line-2); background: transparent; box-shadow: none; }
.board[data-stage="0"] .crate__cells i,
.board[data-stage="1"] .crate__cells i,
.board[data-stage="2"] .crate__cells i { border-color: var(--et-line); background: transparent; }
.board[data-stage="0"] .route__fill,
.board[data-stage="1"] .route__fill,
.board[data-stage="2"] .route__fill,
.board[data-stage="3"] .route__fill { transform: scaleX(0); }
.board[data-stage="0"] .route__dot,
.board[data-stage="1"] .route__dot,
.board[data-stage="2"] .route__dot,
.board[data-stage="3"] .route__end--to .route__dot { background: var(--et-bg-2); border-color: var(--et-line-2); box-shadow: none; }
.board[data-stage="0"] .bstep,
.board[data-stage="1"] .bstep:nth-child(n+2),
.board[data-stage="2"] .bstep:nth-child(n+3),
.board[data-stage="3"] .bstep:nth-child(n+4) { border-color: var(--et-line-2); background: transparent; color: var(--et-dim); }
.board[data-stage="0"] .bstep::before,
.board[data-stage="1"] .bstep:nth-child(n+2)::before,
.board[data-stage="2"] .bstep:nth-child(n+3)::before,
.board[data-stage="3"] .bstep:nth-child(n+4)::before { background: var(--et-line-2); box-shadow: none; }

.board.is-instant, .board.is-instant * { transition: none !important; }
.board.is-measure .pkg, .board.is-measure .pkg__cube { transform: none !important; }

/* 사진 */
.photo { margin: 0; min-width: 0; }
.photo__frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--et-line-2);
  border-radius: 14px;
  background: var(--et-bg-2);
}
.photo__frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.92);
}
.photo--how .photo__frame img { aspect-ratio: 4 / 5; }
.photo--place .photo__frame img { aspect-ratio: 3 / 2; }
.photo__tag {
  position: absolute;
  top: 12px; left: 12px;
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border: 1px solid var(--et-line-2);
  border-radius: 999px;
  background: rgba(10,12,11,0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--et-fg);
}
.credit {
  margin: 10px 0 0;
  font-size: .75rem;
  line-height: 1.5;
  color: var(--et-dim);
}
.credit a {
  text-decoration: underline;
  text-decoration-color: var(--et-line-3);
  text-underline-offset: 2px;
  transition: color 120ms var(--et-ease-out);
}
.credit a:hover { color: var(--et-fg); }

/* 섹션 */
.section {
  padding: 128px 0;
  border-top: 1px solid var(--et-line);
  scroll-margin-top: 54px;
}
.section--alt { background: var(--et-bg-2); }
.hero { scroll-margin-top: 0; }

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--et-ease-slow), transform 700ms var(--et-ease-slow);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js [data-reveal][data-in] { opacity: 1; transform: none; }

.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: end;
  gap: 32px 64px;
  margin-bottom: 64px;
}
.sec-head > * { min-width: 0; }
.sec-head .lead { margin: 0; }
.sec-head__side .lead { margin-top: 24px; }

/* 01 서비스 격자 */
.grid {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--et-line);
  border: 1px solid var(--et-line);
  border-radius: 14px;
  overflow: hidden;
}
.grid::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.32), transparent 70%);
  opacity: 0;
  transition: opacity 240ms var(--et-ease-out);
  pointer-events: none;
}
.grid.is-lit::before { opacity: 1; }
.cell {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "num icon"
    "title title"
    "desc desc";
  align-content: start;
  align-items: center;
  column-gap: 12px;
  min-height: 256px;
  padding: 32px 28px 36px;
  background: var(--et-bg);
  transition: background-color 240ms var(--et-ease-out);
}
.cell:hover { background: #0d100f; }
.cell__num {
  grid-area: num;
  font-family: var(--et-mono);
  font-weight: 500;
  font-size: .75rem;
  letter-spacing: 0.12em;
  color: var(--et-accent);
}
.cell__icon {
  grid-area: icon;
  width: 24px; height: 24px;
  color: var(--et-dim);
  transition: color 240ms var(--et-ease-out);
}
.cell:hover .cell__icon { color: var(--et-fg); }
.cell .h3 { grid-area: title; margin-top: 64px; }
.cell p { grid-area: desc; margin: 10px 0 0; font-size: .9375rem; line-height: 1.6; }
.fineprint { margin: 24px 0 0; font-size: .875rem; color: var(--et-dim); }

/* 02 이용 방법 */
.how {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
  gap: 64px 96px;
}
.how > * { min-width: 0; }
.how__head { position: sticky; top: 120px; }
.how__cta { margin-top: 40px; }
.photo--how { margin-top: 40px; width: min(100%, 300px); }
@media (min-width: 1001px) and (max-height: 860px) {
  .how__head { position: static; }
}
.tl { position: relative; padding-top: 8px; }
.tl__rail {
  position: absolute;
  left: 7px;
  top: 19px;
  bottom: 40px;
  width: 1px;
  background: var(--et-line-2);
}
.tl__fill {
  position: absolute;
  inset: 0;
  background: var(--et-accent);
  box-shadow: 0 0 12px rgba(53,208,138,0.6);
  transform-origin: top center;
  transform: scaleY(var(--draw, 1));
}
.tl__step {
  position: relative;
  padding: 0 0 64px 56px;
}
.tl__step:last-child { padding-bottom: 0; }
.tl__dot {
  position: absolute;
  left: 0; top: 4px;
  width: 15px; height: 15px;
  border-radius: 50%;
  border: 1.5px solid var(--et-line-2);
  background: var(--et-bg-2);
  transition: background-color 240ms var(--et-ease-out), border-color 240ms var(--et-ease-out), box-shadow 240ms var(--et-ease-out);
}
.tl__step.is-on .tl__dot,
html:not(.js) .tl__dot {
  background: var(--et-accent);
  border-color: var(--et-accent);
  box-shadow: 0 0 0 5px var(--et-accent-soft);
}
.tl__num {
  margin: 0 0 10px;
  font-family: var(--et-mono);
  font-weight: 500;
  font-size: .75rem;
  line-height: 1.4;
  letter-spacing: 0.12em;
  color: var(--et-dim);
  transition: color 240ms var(--et-ease-out);
}
.tl__step.is-on .tl__num,
html:not(.js) .tl__num { color: var(--et-accent); }
.tl__body p:last-child { margin: 10px 0 0; max-width: 34em; }

/* 03 이용 대상 */
.who {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  align-items: start;
  gap: 48px 64px;
}
.who > * { min-width: 0; }
.who__photos {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.rows { border-top: 1px solid var(--et-line); }
.row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.25fr);
  align-items: baseline;
  gap: 8px 24px;
  padding: 32px 20px;
  border-bottom: 1px solid var(--et-line);
  transition: background-color 240ms var(--et-ease-out);
}
.row > * { min-width: 0; }
.row:hover { background: var(--et-surface); }
.row__num {
  font-family: var(--et-mono);
  font-size: 1.75rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--et-dim);
}
.row p { margin: 0; }

/* 04 견적 문의 */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
  gap: 64px 80px;
}
.contact > * { min-width: 0; }
.notice {
  margin: 40px 0 0;
  padding: 20px 22px;
  background: var(--et-surface);
  border-left: 2px solid var(--et-line-2);
  border-radius: 0 10px 10px 0;
}
.notice .label { display: block; margin-bottom: 8px; }
.notice p { margin: 0; }
.contact__body { margin: 28px 0 0; }
.contact__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}
.copy {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
  height: 48px;
  padding: 0 5px 0 18px;
  border: 1px solid var(--et-line-2);
  border-radius: 999px;
  transition: border-color 240ms var(--et-ease-out), transform 120ms var(--et-ease-out);
}
.copy:hover { border-color: var(--et-line-3); }
.copy:active { transform: scale(0.97); }
.copy__url {
  min-width: 0;
  font-family: var(--et-mono);
  font-size: .8125rem;
  color: var(--et-mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  overflow-wrap: normal;
}
.copy__tag {
  flex: none;
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--et-surface-2);
  color: var(--et-fg);
  font-size: .8125rem;
  font-weight: 600;
  transition: background-color 240ms var(--et-ease-out), color 240ms var(--et-ease-out), border-color 240ms var(--et-ease-out);
}
.copy.is-done .copy__tag { background: var(--et-fg); color: var(--et-ink); }
.copy.is-fail .copy__tag { background: transparent; border-color: var(--et-line-3); }
.copy-msg { margin: 12px 0 0; min-height: 1.5em; font-size: .875rem; color: var(--et-dim); }

.form {
  border: 1px solid var(--et-line-2);
  border-radius: 14px;
  background: var(--et-bg);
  overflow: hidden;
}
.form__head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--et-line);
}
.form__title { font-size: 1.25rem; }
.field {
  min-width: 0;
  margin: 0;
  padding: 22px 24px;
  border: 0;
  border-bottom: 1px solid var(--et-line);
}
.field legend,
.field__label {
  display: block;
  float: left;
  width: 100%;
  padding: 0;
  margin: 0 0 14px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--et-fg);
}
.chips { clear: both; display: flex; flex-wrap: wrap; gap: 8px; }
.input { clear: both; }
.chip-in { position: relative; display: inline-flex; min-width: 0; max-width: 100%; }
.chip-in input {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.chip-in span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--et-line-2);
  border-radius: 999px;
  font-size: .875rem;
  line-height: 1.35;
  color: var(--et-mute);
  transition: border-color 120ms var(--et-ease-out), background-color 120ms var(--et-ease-out), color 120ms var(--et-ease-out);
}
.chip-in span::before {
  content: "";
  flex: none;
  width: 9px; height: 9px;
  border: 1px solid var(--et-dim);
  border-radius: 50%;
  transition: background-color 120ms, border-color 120ms;
}
.chip-in--box span::before { border-radius: 2px; }
.chip-in:hover span { color: var(--et-fg); border-color: var(--et-line-3); }
.chip-in input:checked + span {
  border-color: var(--et-fg);
  background: var(--et-surface-2);
  color: var(--et-fg);
}
.chip-in input:checked + span::before { background: var(--et-fg); border-color: var(--et-fg); }
.chip-in input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }

.input {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  background: var(--et-surface);
  border: 1px solid var(--et-line-2);
  border-radius: 10px;
  color: var(--et-fg);
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color 120ms var(--et-ease-out);
  -webkit-appearance: none;
  appearance: none;
}
.input::placeholder { color: var(--et-dim); opacity: 1; }
.input:hover { border-color: var(--et-line-3); }
.input:focus { border-color: rgba(255,255,255,0.4); }
textarea.input { min-height: 132px; resize: vertical; line-height: 1.6; }

.form__foot { padding: 24px; }
.form__note { margin: 14px 0 0; font-size: .875rem; color: var(--et-dim); }

.receipt {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  transition: grid-template-rows 420ms var(--et-ease-out), opacity 420ms var(--et-ease-out), visibility 0s linear 420ms;
}
.receipt[data-open] {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
  transition: grid-template-rows 420ms var(--et-ease-out), opacity 420ms var(--et-ease-out), visibility 0s;
}
.receipt__clip { min-height: 0; overflow: hidden; }
.receipt__inner {
  padding: 24px;
  border-top: 1px solid var(--et-line);
  background: var(--et-surface);
}
.receipt__title { margin-top: 8px; }
.receipt__title:focus { outline: none; }
.receipt__title:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: 4px; }
.receipt__inner p { margin: 8px 0 0; }
.receipt__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* 푸터 */
.footer {
  padding: 80px 0 0;
  border-top: 1px solid var(--et-line);
  overflow: hidden;
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
}
.footer__top > * { min-width: 0; }
.footer__brand p { margin: 12px 0 0; font-size: .9375rem; max-width: 30em; }
.footer__col .label { display: block; margin-bottom: 10px; }
.footer__col a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .9375rem;
  color: var(--et-mute);
  transition: color 120ms var(--et-ease-out);
}
.footer__col a:hover { color: var(--et-fg); }
.footer__bottom {
  margin-top: 64px;
  padding: 20px 0;
  border-top: 1px solid var(--et-line);
  font-family: var(--et-mono);
  font-size: .75rem;
  letter-spacing: 0.04em;
  color: var(--et-dim);
}
.footer__mark {
  margin: 0 0 -0.14em;
  font-weight: 700;
  font-size: clamp(64px, 19vw, 264px);
  line-height: 1;
  letter-spacing: -0.05em;
  text-align: center;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px var(--et-line-2);
  user-select: none;
  overflow-wrap: normal;
}

/* 모바일 고정 바 */
.dock { display: none; }

/* 1000px 이하 */
@media (max-width: 1000px) {
  .nav__menu { display: none; }
  .nav__toggle { display: inline-flex; margin-left: 0; }
  .nav__cta { margin-left: auto; }
  .sec-head { grid-template-columns: minmax(0, 1fr); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .how__head { position: static; }
  .photo--how { width: min(100%, 420px); }
  .photo--how .photo__frame img { aspect-ratio: 4 / 3; }
  .who { grid-template-columns: minmax(0, 1fr); }
  .who__photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
  .board__stage { padding: 28px; gap: 24px; }
}

/* 720px 이하 */
@media (max-width: 720px) {
  .et-root { --pad: 20px; }
  .section { padding: 80px 0; }
  .nav__cta { display: none; }
  .nav__toggle { margin-left: auto; }

  .hero { padding: calc(var(--nav-h) + 56px) 0 80px; text-align: left; }
  .hero .eyebrow { justify-content: flex-start; }
  .hero .lead { margin-left: 0; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .hero__arc { width: 200%; top: calc(var(--nav-h) + 4px); }
  .hero__img { object-position: 50% 30%; }
  .hero__media::after {
    background: linear-gradient(to bottom, rgba(10,12,11,0.7) 0%, rgba(10,12,11,0.66) 28%, rgba(10,12,11,0.84) 55%, var(--et-bg) 90%);
  }

  .board { margin-top: 48px; }
  .board__bar { padding-left: 16px; }
  .board__stage {
    height: 300px;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    align-content: space-between;
    align-items: stretch;
    gap: 0;
    padding: 16px;
  }
  .src__cap { margin-bottom: 8px; font-size: .75rem; }
  .pkgs { gap: 8px; }
  .pkg { height: 40px; padding: 0 8px; gap: 8px; border-radius: 8px; }
  .pkg__cube { width: 22px; height: 22px; }
  .pkg__cube svg { width: 18px; height: 18px; }
  .pkg__name { font-size: .8125rem; }
  .pkg__check { width: 16px; height: 16px; }
  .pkg__check svg { width: 10px; height: 10px; }
  .crate { flex-direction: row; justify-content: center; gap: 16px; }
  .crate__box { width: 96px; border-radius: 8px; }
  .crate__cells { gap: 4px; }
  .route { padding: 22px 4px 0; }
  .route__end { gap: 6px; font-size: .8125rem; }
  .route__ems { bottom: 10px; }
  .board__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 12px; }

  .sec-head { margin-bottom: 40px; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .cell {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "num title icon"
      ". desc desc";
    column-gap: 14px;
    min-height: 0;
    padding: 22px 20px;
  }
  .cell .h3 { margin-top: 0; }
  .cell__icon { width: 20px; height: 20px; }
  .cell p { margin-top: 6px; }

  .photo--how { margin-top: 32px; width: 100%; }
  .who__photos { margin-top: 32px; gap: 16px; }
  .photo__frame { border-radius: 12px; }

  .tl__step { padding: 0 0 48px 44px; }

  .row { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 24px 12px; }
  .row__num { font-size: 1.25rem; margin-bottom: 6px; }

  .notice { margin-top: 32px; }
  .contact__actions { flex-direction: column; align-items: stretch; }
  .contact__actions .btn, .copy { width: 100%; }
  .copy { justify-content: space-between; }
  .field, .form__head { padding-left: 20px; padding-right: 20px; }
  .form__foot, .receipt__inner { padding: 20px; }
  .receipt__actions .btn { flex: 1 1 100%; }

  .footer { padding-top: 64px; }
  .footer__top { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .footer__bottom { margin-top: 48px; }

  .dock {
    display: block;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 40;
    height: calc(var(--dock-h) + env(safe-area-inset-bottom));
    padding: 8px var(--pad) calc(8px + env(safe-area-inset-bottom));
    background: rgb(10,12,11);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--et-line);
    transition: transform 240ms var(--et-ease-out), opacity 240ms var(--et-ease-out), visibility 0s linear 0s;
  }
  .dock[data-hidden] {
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 240ms var(--et-ease-out), opacity 240ms var(--et-ease-out), visibility 0s linear 240ms;
  }
  body { padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom)); }
}

@media (max-width: 480px) {
  .who__photos { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 400px) {
  .et-root { --pad: 16px; }
  .board__stage { padding: 14px; }
  .bstep { padding: 0 8px; font-size: .75rem; }
}

/* 움직임 줄이기 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  [data-hero], [data-hero-rise], .hero__img { animation: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .mnav__list a { transform: none; opacity: 1; }
}

/* 사진 판 고르기용 감싸개 (optimize_images.py): 배치에 끼지 않음 */
picture{display:contents}
