/* Cracker Labs Company — 홈페이지 스타일
   외부 폰트·라이브러리 없음. 색상·간격은 brand/guide.md 기준. */

:root {
  --ink: #0B0D12;
  --graphite: #12151C;
  --slate: #181C25;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --amber: #F5B544;
  --toast: #E0952B;
  --violet: #9B8CFF;
  --mint: #5EE6C1;
  --paper: #F2F0EA;
  --mist: #A6ADBB;

  --font: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Consolas, "Liberation Mono", monospace;

  --radius: 20px;
  --pad-x: 24px;
  --section-y: clamp(80px, 12vw, 140px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
.mono { font-family: var(--mono); letter-spacing: 0; }

.icon {
  width: 22px; height: 22px;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--amber); color: var(--ink);
  padding: 10px 16px; border-radius: 10px; font-weight: 700;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
main[tabindex="-1"]:focus, section[tabindex="-1"]:focus { outline: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--pad-x); }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 700; font-size: 16px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s, background .25s;
}
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--amber); color: var(--ink); box-shadow: 0 8px 30px -10px rgba(245, 181, 68, .6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -12px rgba(245, 181, 68, .8); }
.btn-primary:active { background: var(--toast); transform: translateY(0); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--paper); }
.btn-ghost:hover { border-color: var(--amber); transform: translateY(-2px); }

/* ---------- 헤더 ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(11, 13, 18, .78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-name { font-weight: 800; font-size: 18px; letter-spacing: -0.01em; line-height: 1.1; }
.brand-sub { display: block; font-weight: 500; font-size: 11px; color: var(--mist); letter-spacing: .22em; text-transform: uppercase; }

.site-nav ul { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  display: inline-block; padding: 8px 14px; border-radius: 999px;
  color: var(--mist); font-size: 15px; font-weight: 600;
  transition: color .2s, background .2s;
}
.site-nav a:hover, .site-nav a.is-active { color: var(--paper); background: rgba(255, 255, 255, .06); }
.site-nav a.nav-cta { color: var(--ink); background: var(--amber); margin-left: 8px; }
.site-nav a.nav-cta:hover { background: #ffc65e; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  background: transparent; border: 1px solid var(--line-strong); color: var(--paper);
  align-items: center; justify-content: center; cursor: pointer;
}

/* ---------- 히어로 ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 120px 0 96px; overflow: hidden; isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(155, 140, 255, .12), transparent 70%),
    url("assets/hero-grid.svg");
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 40%, transparent 100%);
          mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 40%, transparent 100%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.orb-a { width: 420px; height: 420px; background: #F5B544; top: 8%; right: 6%; opacity: .22; animation: drift 18s ease-in-out infinite; }
.orb-b { width: 360px; height: 360px; background: #9B8CFF; bottom: 0; left: -6%; opacity: .25; animation: drift 22s ease-in-out infinite reverse; }
.orb-c { width: 240px; height: 240px; background: #5EE6C1; top: 40%; left: 45%; opacity: .12; animation: drift 26s ease-in-out infinite; }
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -40px) scale(1.08); }
}

.hero-inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px; border: 1px solid var(--line-strong); border-radius: 999px;
  font-family: var(--mono); font-size: 13px; color: var(--mist);
  background: rgba(255, 255, 255, .03);
}
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(94, 230, 193, .6); animation: pulse 2.4s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(94, 230, 193, .55); }
  70% { box-shadow: 0 0 0 10px rgba(94, 230, 193, 0); }
  100% { box-shadow: 0 0 0 0 rgba(94, 230, 193, 0); }
}

.hero-title {
  margin-top: 24px;
  font-size: clamp(40px, 6.4vw, 80px);
  line-height: 1.1; letter-spacing: -0.035em; font-weight: 800;
}
.grad {
  background: linear-gradient(100deg, var(--amber) 0%, #FFD9A0 45%, var(--violet) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { margin-top: 24px; max-width: 34em; color: var(--mist); font-size: clamp(16px, 1.6vw, 19px); }
.hero-actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }

/* 히어로 그래픽 */
.hero-visual { position: relative; }
.flow-card {
  position: relative;
  background: linear-gradient(180deg, rgba(24, 28, 37, .92), rgba(18, 21, 28, .92));
  border: 1px solid var(--line-strong); border-radius: 24px;
  padding: 22px 24px 24px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06);
  transform: perspective(1200px) rotateY(-8deg) rotateX(4deg);
}
.flow-head { display: flex; align-items: center; gap: 14px; color: var(--mist); font-size: 13px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.flow-dots { display: inline-flex; gap: 6px; }
.flow-dots i { width: 10px; height: 10px; border-radius: 50%; background: #2a2f3b; }
.flow-dots i:first-child { background: var(--amber); }
.flow-label { margin-left: auto; font-size: 11px; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--mist); }
.flow-steps { position: relative; margin: 18px 0; display: grid; gap: 6px; }
.flow-steps::before { content: ""; position: absolute; left: 9px; top: 18px; bottom: 18px; width: 2px; background: var(--line-strong); }
.flow-steps li {
  position: relative; display: flex; align-items: center; gap: 14px;
  padding: 10px 12px 10px 0; font-weight: 700; font-size: 16px; color: var(--mist);
}
.flow-steps em { margin-left: auto; font-style: normal; font-weight: 500; font-size: 13px; color: var(--mist); font-family: var(--mono); }
.step-dot { position: relative; z-index: 1; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-strong); background: var(--slate); }
.flow-steps li.done { color: var(--paper); }
.flow-steps li.done .step-dot { background: var(--mint); border-color: var(--mint); box-shadow: inset 0 0 0 4px var(--slate); }
.flow-steps li.active { color: var(--amber); background: rgba(245, 181, 68, .08); border-radius: 12px; margin-left: -8px; padding-left: 8px; }
.flow-steps li.active .step-dot { border-color: var(--amber); animation: ring 1.8s infinite; }
@keyframes ring { 0%,100% { box-shadow: 0 0 0 0 rgba(245,181,68,.5); } 50% { box-shadow: 0 0 0 7px rgba(245,181,68,0); } }
.flow-foot { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--line); }
.chip { font-family: var(--mono); font-size: 12px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--mist); }
.chip-mint { color: var(--mint); border-color: rgba(94, 230, 193, .35); background: rgba(94, 230, 193, .08); }

.float-badge {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 14px;
  background: rgba(18, 21, 28, .9); border: 1px solid var(--line-strong);
  font-size: 13px; color: var(--mist); font-weight: 600;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  animation: bob 6s ease-in-out infinite;
}
.float-badge .mono { color: var(--amber); font-size: 18px; font-weight: 700; }
.badge-a { top: -22px; right: -10px; }
.badge-b { bottom: -24px; left: -18px; animation-delay: -3s; }
.badge-b .mono { color: var(--violet); }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.scroll-hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--line-strong); border-radius: 14px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--amber); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- 공통 섹션 ---------- */
.section { padding: var(--section-y) 0; position: relative; }
.section-alt { background: var(--graphite); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.kicker { font-family: var(--mono); font-size: 13px; color: var(--amber); letter-spacing: .08em; text-transform: uppercase; }
.section-title { margin-top: 12px; font-size: clamp(30px, 4.2vw, 50px); line-height: 1.15; letter-spacing: -0.03em; font-weight: 800; }
.section-lead { margin-top: 18px; color: var(--mist); font-size: 18px; }

/* 회사 소개 */
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.about-body > p { font-size: 20px; color: var(--paper); line-height: 1.75; }
.pillars { margin-top: 40px; display: grid; gap: 4px; }
.pillar { display: flex; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.pillar:last-child { border-bottom: 1px solid var(--line); }
.pillar-num {
  flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(245, 181, 68, .1); color: var(--amber); font-weight: 700;
}
.pillar h3 { font-size: 19px; letter-spacing: -0.01em; }
.pillar p { margin-top: 4px; color: var(--mist); font-size: 16px; }

/* 일하는 방식 */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; position: relative; }
.process::before {
  content: ""; position: absolute; top: 44px; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 10%, var(--line-strong) 90%, transparent);
}
.process-step {
  position: relative; padding: 24px 22px 26px; border-radius: var(--radius);
  background: var(--slate); border: 1px solid var(--line);
}
.step-no {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--ink); border: 1px solid var(--line-strong); font-size: 13px; color: var(--mist); font-weight: 700;
}
.process-step h3 { margin-top: 18px; font-size: 19px; }
.process-step p { margin-top: 8px; color: var(--mist); font-size: 15px; line-height: 1.6; }
.process-step.is-ceo { border-color: rgba(245, 181, 68, .45); background: linear-gradient(180deg, rgba(245, 181, 68, .1), var(--slate) 70%); }
.process-step.is-ceo .step-no { background: var(--amber); color: var(--ink); border-color: var(--amber); }

.rule-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rule-card { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.rule-card h3 { margin-top: 16px; font-size: 20px; }
.rule-card p { margin-top: 8px; color: var(--mist); font-size: 15.5px; }
.rule-tag { display: inline-block; font-family: var(--mono); font-size: 12px; padding: 4px 10px; border-radius: 999px; font-weight: 700; }
.tag-mint { color: var(--mint); background: rgba(94, 230, 193, .1); }
.tag-amber { color: var(--amber); background: rgba(245, 181, 68, .1); }
.tag-violet { color: var(--violet); background: rgba(155, 140, 255, .12); }

/* 팀 */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.team-card {
  --c: var(--amber); --mx: 50%; --my: 0%;
  position: relative; overflow: hidden;
  padding: 28px 24px 30px; border-radius: var(--radius);
  background: var(--slate); border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.team-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(260px circle at var(--mx) var(--my), color-mix(in srgb, var(--c) 22%, transparent), transparent 70%);
  transition: opacity .35s;
}
.team-card:hover, .team-card:focus-within {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--c) 55%, transparent);
  box-shadow: 0 24px 50px -28px color-mix(in srgb, var(--c) 70%, transparent);
}
.team-card:hover::before { opacity: 1; }
.team-icon {
  position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
  transition: transform .35s var(--ease);
}
.team-card:hover .team-icon { transform: rotate(-6deg) scale(1.06); }
.team-card h3 { position: relative; margin-top: 20px; font-size: 19px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.team-card p { position: relative; margin-top: 8px; color: var(--mist); font-size: 15px; line-height: 1.6; }
.new-tag { font-family: var(--mono); font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; color: var(--c); border: 1px dashed color-mix(in srgb, var(--c) 50%, transparent); }
.team-card.is-new { border-style: dashed; border-color: var(--line-strong); }
/* 경영본부: 다른 팀 위에 한 줄 전체를 쓰는 가로형 카드 */
.team-card.team-hq {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 24px;
  background: linear-gradient(90deg, rgba(245, 181, 68, .08), var(--slate) 60%);
  border-color: rgba(245, 181, 68, .3);
}
.team-hq .team-icon { flex: none; color: var(--amber); }
.team-hq h3 { margin-top: 0; }
.team-hq .new-tag { color: var(--amber); border-color: rgba(245, 181, 68, .5); }

/* 작업물 */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work-card {
  display: flex; flex-direction: column; border-radius: 24px; overflow: hidden;
  background: var(--slate); border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .35s;
}
.work-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.work-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--line); display: grid; place-items: center; }
.thumb-label { position: absolute; left: 14px; bottom: 12px; font-size: 11.5px; color: var(--mist); background: rgba(11, 13, 18, .7); padding: 4px 10px; border-radius: 999px; }
.work-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.work-meta { font-size: 12px; color: var(--mist); }
.work-body h3 { margin-top: 8px; font-size: 22px; letter-spacing: -0.01em; }
.work-body > p:not(.work-meta) { margin-top: 10px; color: var(--mist); font-size: 15.5px; }
.work-tags { margin-top: auto; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 6px; }
.work-tags li { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .05); color: var(--paper); }

/* 썸네일: 음원 파형 */
.thumb-music { background: radial-gradient(ellipse at 50% 60%, rgba(185, 166, 255, .22), transparent 70%), #141824; }
.wave { display: flex; align-items: center; gap: 5px; height: 60%; }
.wave i { width: 6px; border-radius: 3px; background: linear-gradient(180deg, var(--violet), var(--amber)); height: 30%; animation: eq 1.4s ease-in-out infinite; }
.wave i:nth-child(3n) { animation-duration: 1.1s; }
.wave i:nth-child(4n+1) { animation-duration: 1.7s; }
.wave i:nth-child(5n+2) { animation-duration: .9s; }
.wave i:nth-child(odd) { animation-delay: -.4s; }
.wave i:nth-child(2) { height: 55%; } .wave i:nth-child(5) { height: 80%; } .wave i:nth-child(8) { height: 65%; }
.wave i:nth-child(11) { height: 90%; } .wave i:nth-child(14) { height: 50%; } .wave i:nth-child(17) { height: 70%; }
@keyframes eq { 0%,100% { transform: scaleY(.45); } 50% { transform: scaleY(1); } }

/* 썸네일: 아이소메트릭 사무실 */
.thumb-office { background: radial-gradient(ellipse at 50% 70%, rgba(94, 230, 193, .15), transparent 70%), #121722; }
.iso { width: 88%; height: auto; }
.iso-floor path { fill: #1c2230; stroke: rgba(255, 255, 255, .14); }
.iso-lines path { stroke: rgba(255, 255, 255, .06); fill: none; }
.iso-desk path { fill: #2a3142; stroke: rgba(255, 255, 255, .18); }
.iso-agents circle { fill: var(--amber); }
.iso-agents circle:nth-child(2) { fill: var(--violet); }
.iso-agents circle:nth-child(3) { fill: var(--mint); }
.iso-agents circle:nth-child(4) { fill: #FF8F70; }
.iso-agents .walk { animation: walk 5s ease-in-out infinite; }
.iso-agents .walk2 { animation: walk2 7s ease-in-out infinite; }
@keyframes walk { 0%,100% { transform: translate(0, 0); } 50% { transform: translate(-30px, 15px); } }
@keyframes walk2 { 0%,100% { transform: translate(0, 0); } 50% { transform: translate(40px, -20px); } }

/* 썸네일: 결재함 */
.thumb-inbox { background: radial-gradient(ellipse at 50% 40%, rgba(245, 181, 68, .16), transparent 70%), #15171f; }
.inbox { width: 80%; display: grid; gap: 8px; margin-bottom: 18px; }
.inbox-row {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px;
  background: rgba(24, 28, 37, .95); border: 1px solid var(--line); font-size: 13px;
}
.inbox-row b { font-weight: 700; }
.inbox-row .mono { margin-left: auto; font-size: 11px; color: var(--mist); }
.inbox-row.dim { opacity: .5; }
.st { width: 8px; height: 8px; border-radius: 50%; background: var(--mist); flex: none; }
.st-amber { background: var(--amber); } .st-violet { background: var(--violet); } .st-mint { background: var(--mint); }

/* 숫자 */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { padding: 30px 26px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .03), transparent); }
.stat dt { font-size: 15px; color: var(--mist); font-weight: 600; }
.stat dd { margin: 0; }
.stat .stat-value { margin-top: 10px; display: flex; align-items: baseline; gap: 4px; }
.stat .count { font-size: clamp(44px, 5vw, 64px); font-weight: 700; line-height: 1; color: var(--paper); letter-spacing: -0.04em; }
.stat .unit { font-size: 22px; font-weight: 700; color: var(--amber); }
.stat .unit.pre { margin-right: 2px; }
.stat .stat-desc { margin-top: 14px; color: var(--mist); font-size: 14.5px; line-height: 1.6; }

/* 연락처 */
.contact { padding-top: 0; }
.contact-card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end;
  padding: clamp(36px, 6vw, 72px); border-radius: 32px;
  background:
    radial-gradient(600px circle at 100% 0%, rgba(245, 181, 68, .18), transparent 60%),
    radial-gradient(500px circle at 0% 100%, rgba(155, 140, 255, .16), transparent 60%),
    var(--slate);
  border: 1px solid var(--line-strong);
}
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; justify-self: end; }
.contact-note { font-size: 12.5px; color: var(--mist); }

/* 푸터 */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 48px; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; }
.footer-copy { color: var(--paper); font-weight: 600; font-size: 15px; }
.footer-legal { color: var(--mist); font-size: 13.5px; }

/* ---------- 스크롤 등장 (JS가 켜졌을 때만) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero-visual.reveal { transform: translateY(24px) scale(.98); }
.js .hero-visual.reveal.is-in { transform: none; }

/* ---------- 반응형 ---------- */
@media (min-width: 900px) { :root { --pad-x: 40px; } }

@media (max-width: 1080px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); }
  .process::before { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid .work-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; top: 72px; left: 0; right: 0;
    background: rgba(11, 13, 18, .97); border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    padding: 12px var(--pad-x) 24px;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility 0s .25s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .25s; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-nav a { display: block; padding: 14px 12px; font-size: 17px; border-radius: 12px; }
  .site-nav a.nav-cta { margin: 10px 0 0; text-align: center; }
  .site-header.menu-open { background: rgba(11, 13, 18, .97); }

  .hero { padding-top: 112px; }
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 460px; margin: 0 auto; width: 100%; }
  .flow-card { transform: none; }
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .rule-grid { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 1fr; align-items: start; }
  .contact-actions { justify-self: start; }
  .footer-inner { grid-template-columns: 1fr; gap: 12px; }
  .scroll-hint { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .team-grid, .work-grid, .process { grid-template-columns: 1fr; }
  .team-card.team-hq { flex-direction: column; align-items: flex-start; gap: 20px; }
  .work-grid .work-card:last-child { grid-column: auto; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 22px 18px; }
  .about-body > p { font-size: 18px; }
  .section-lead { font-size: 16px; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .badge-a { right: 0; } .badge-b { left: 0; }
}

@media (max-width: 380px) {
  .stats { grid-template-columns: 1fr; }
}

/* ---------- 움직임 줄이기 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .hero-visual.reveal { opacity: 1; transform: none; }
  .team-card:hover, .work-card:hover, .btn:hover { transform: none; }
  .team-card::before { display: none; }
}

/* 공개 서버 CSP(인라인 스타일·스크립트 금지)에 맞춰 옮김 — products/home/README.md */
.svg-sprite { position: absolute; }
.team-card.tc-f2f0ea { --c: #F2F0EA; }
.team-card.tc-f5b544 { --c: #F5B544; }
.team-card.tc-9b8cff { --c: #9B8CFF; }
.team-card.tc-5ee6c1 { --c: #5EE6C1; }
.team-card.tc-ff8f70 { --c: #FF8F70; }
.team-card.tc-7cc4ff { --c: #7CC4FF; }
.team-card.tc-f07cb0 { --c: #F07CB0; }
.team-card.tc-ffd36e { --c: #FFD36E; }
.team-card.tc-b9a6ff { --c: #B9A6FF; }
