/* ============ TOKENS ============ */
:root {
  --white: #ffffff;
  --ink: #0e1120;
  --blue: #0a33ff;
  --blue-deep: #0726c9;
  --navy: #0b1026;
  --line: rgba(14, 17, 32, 0.12);

  --font-display: "Anton", sans-serif;
  --font-display-kr: "Black Han Sans", "Pretendard Variable", sans-serif;
  --font-body: "Pretendard Variable", Pretendard, sans-serif;
  --font-hand: "Nanum Pen Script", "Gaegu", cursive;
  --font-mono: "IBM Plex Mono", monospace;

  --space-section: clamp(5rem, 4rem + 6vw, 11rem);
  --pad-x: clamp(1.25rem, 4vw, 4.5rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem);
  line-height: 1.72;
  letter-spacing: -0.01em;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--blue); color: #fff; }

h1, h2, h3 { letter-spacing: -0.02em; }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.blue { color: var(--blue); }
.mono { font-family: var(--font-mono); }

/* ============ SCROLL PROGRESS ============ */
.progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  z-index: 100;
  pointer-events: none;
}

/* ============ REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.in { opacity: 1; transform: none; }

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem var(--pad-x);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-logo { display: flex; align-items: center; }
.nav-logo-img { height: 1.7rem; width: auto; display: block; }
.nav-menu {
  display: flex;
  gap: clamp(1rem, 2.5vw, 2.2rem);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.nav-menu a { position: relative; padding: 0.2rem 0; }
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.nav-menu a:hover::after,
.nav-menu a:focus-visible::after { transform: scaleX(1); }
.nav-cta {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: var(--blue);
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  transition: background 0.25s, transform 0.25s var(--ease-out);
  white-space: nowrap;
}
.nav-cta:hover { background: var(--blue-deep); transform: translateY(-2px); }

@media (max-width: 760px) {
  .nav-menu { display: none; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: clamp(1.5rem, 4vh, 3rem) var(--pad-x) var(--space-section);
  overflow: hidden;
}
/* blueprint grid */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 51, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 51, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(120% 90% at 35% 15%, #000 35%, transparent 78%);
  mask-image: radial-gradient(120% 90% at 35% 15%, #000 35%, transparent 78%);
  pointer-events: none;
}
.hero > * { position: relative; }
.hero-glow {
  position: absolute !important;
  top: 0; left: 0;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 51, 255, 0.1), transparent 65%);
  transform: translate(30vw, -140px);
  pointer-events: none;
  will-change: transform;
}
.hero-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(14, 17, 32, 0.55);
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(1.6rem, 3.5vw, 3rem);
}
.hero-hand {
  font-family: var(--font-hand);
  font-weight: 400;
  font-size: clamp(1.9rem, 1.4rem + 2.2vw, 3.4rem);
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: clamp(1rem, 2vw, 2rem);
  animation: heroRise 0.9s var(--ease-out) both;
}
.hero-hand { min-height: 2.8em; }
.hero-hand .hh2 { display: block; color: var(--blue); }
.type-caret {
  display: inline-block;
  width: 3px;
  height: 0.95em;
  background: var(--blue);
  margin-left: 3px;
  vertical-align: -0.08em;
  animation: caretBlink 0.8s steps(1) infinite;
}
@keyframes caretBlink { 50% { opacity: 0; } }
.hero-title {
  animation: heroRise 0.9s var(--ease-out) 0.12s both;
}
/* real logo, wipe-reveal left → right (선이 이어지듯) */
.hero-logo-img {
  display: block;
  width: min(88%, 1080px);
  height: auto;
  clip-path: inset(0 100% 0 0);
  animation: wipeIn 1.2s var(--ease-out) 1s forwards;
}
@keyframes wipeIn { to { clip-path: inset(0 0 0 0); } }
@keyframes heroRise {
  from { opacity: 0; transform: translateY(44px); }
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 3rem;
  margin-top: clamp(2.5rem, 6vw, 5rem);
  flex-wrap: wrap;
}
.hero-copy p {
  max-width: 36rem;
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.35rem);
  font-weight: 600;
  line-height: 1.6;
}
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.3rem 0 1.8rem;
}
.hero-chips li {
  border: 1.5px solid var(--blue);
  border-radius: 999px;
  padding: 0.28rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue);
  transition: background 0.25s, color 0.25s;
}
.hero-chips li:hover { background: var(--blue); color: #fff; }
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.hero-tags {
  text-align: right;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  line-height: 2.2;
}

/* buttons */
.btn-primary {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.8rem 2.4rem;
  border-radius: 4px;
  transition: background 0.25s, transform 0.25s var(--ease-out), box-shadow 0.25s;
}
.btn-primary:hover {
  background: var(--blue-deep);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(10, 51, 255, 0.35);
}
.btn-primary.big { font-size: 1.1rem; padding: 1.1rem 3rem; }
.btn-line {
  display: inline-block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--blue);
  border: 2px solid var(--blue);
  padding: 0.7rem 2.2rem;
  border-radius: 4px;
  transition: background 0.25s, color 0.25s, transform 0.25s var(--ease-out);
}
.btn-line:hover { background: var(--blue); color: #fff; transform: translateY(-3px); }
.btn-line.big { font-size: 1.1rem; padding: 1rem 2.8rem; }

/* ============ MARQUEE ×2 ============ */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: var(--blue);
  color: #fff;
  padding: 0.85rem 0;
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: scroll 30s linear infinite;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.12em;
}
.marquee.alt {
  background: var(--white);
  color: var(--blue);
  border-top: none;
  border-bottom: 1px solid var(--line);
  padding: 0.7rem 0;
}
.marquee.alt .marquee-track {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  animation-direction: reverse;
  animation-duration: 38s;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ SECTION COMMON ============ */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.7rem;
}
.section-head h2 {
  font-size: clamp(2rem, 1.5rem + 2.5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.section-desc {
  max-width: 26rem;
  font-size: 0.95rem;
  color: rgba(14, 17, 32, 0.72);
}

/* ============ SERVICES ============ */
.services { padding: var(--space-section) var(--pad-x); }

.service-table { border-top: 2px solid var(--ink); }
.service-row {
  display: grid;
  grid-template-columns: 3.5rem 11rem 1fr 6rem 11rem;
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.6rem 0.4rem;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s, padding-left 0.3s var(--ease-out);
}
.service-row:not(.head):hover {
  background: rgba(10, 51, 255, 0.05);
  padding-left: 1.2rem;
}
.service-row.head {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(14, 17, 32, 0.5);
  padding: 0.8rem 0.4rem;
}
.service-row .num { font-size: 0.95rem; font-weight: 600; color: var(--blue); }
.service-row .name { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; }
.service-row .name .sub {
  display: block;
  font-style: normal;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0;
  color: rgba(14, 17, 32, 0.55);
  margin-top: 0.25rem;
}
.service-row .desc { font-size: 0.92rem; color: rgba(14, 17, 32, 0.75); }
.service-row .term { font-weight: 600; font-size: 0.9rem; }
.service-row .tag {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--blue);
  text-align: right;
}

@media (max-width: 900px) {
  .service-row { grid-template-columns: 2.5rem 1fr 6rem; }
  .service-row .desc { grid-column: 2 / -1; }
  .service-row .tag { display: none; }
  .service-row.head { display: none; }
}

/* ============ ABOUT ============ */
.about {
  padding: var(--space-section) var(--pad-x);
  border-top: 1px solid var(--line);
}
.about-title {
  font-size: clamp(2.2rem, 1.6rem + 3.4vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.18;
}
.about-sub {
  margin-top: 1rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  margin-top: clamp(3rem, 5vw, 5rem);
  align-items: center;
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 3rem + 3vw, 6rem);
  line-height: 1;
  letter-spacing: 0.01em;
}
.stat > span {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(14, 17, 32, 0.65);
}
.stat-row {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.2rem;
  padding-top: 2.2rem;
  border-top: 2px solid var(--ink);
}
.stat.small strong { font-size: clamp(2.2rem, 2rem + 1.4vw, 3.4rem); }

.about-visual { text-align: center; }
.sketch { width: 100%; max-width: 420px; }
.sk-line { stroke: var(--blue); stroke-width: 3; fill: none; stroke-linecap: round; }
.sk-fill { fill: var(--blue); opacity: 0.9; }
.sk-solid { fill: var(--blue); }
.sk-note {
  font-family: var(--font-hand);
  font-size: 22px;
  fill: var(--blue);
  text-anchor: middle;
}
.doodle-caption {
  font-family: var(--font-hand);
  font-size: 1.25rem;
  color: var(--blue);
  margin-top: 0.5rem;
}
.about-copy p { font-size: 0.95rem; color: rgba(14, 17, 32, 0.8); margin-bottom: 1.2rem; }

@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { order: -1; }
}

/* ============ PROCESS ============ */
.process {
  padding: var(--space-section) var(--pad-x);
  background: #f6f7fc;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
/* 확정 일러스트 + 영상 오버레이 */
.process-stage {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
}
.process-base { width: 100%; height: auto; display: block; }
.pv {
  position: absolute;
  top: 22.48%;
  width: 13.4375%;
  aspect-ratio: 1;
  mix-blend-mode: multiply;   /* 흰 배경은 투명처럼 — 원본 위 심리스 합성 */
  pointer-events: none;
  object-fit: cover;
}
.pv1 { left: 0.39%; }
.pv2 { left: 15.2%; }
.pv3 { left: 28.59%; }
.pv4 { left: 43.28%; }
.pv5 { left: 57.11%; }
.pv6 { left: 71.88%; }
.pv7 { left: 86.17%; }

/* 데스크톱: 일러스트 스테이지 / 모바일: 기존 스텝 카드 */
@media (min-width: 701px) {
  .process-steps { display: none; }
}
@media (max-width: 700px) {
  .process-stage { display: none; }
}

.process-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1.4rem 0.8rem;
  flex-wrap: wrap;
}

/* elastic pop entrance (staggered) */
.process-steps .reveal { transition: none; }
.process-steps .pstep.in {
  animation: popIn 0.75s var(--ease-pop) both;
  animation-delay: calc(var(--i, 0) * 90ms);
}
@keyframes popIn {
  0% { opacity: 0; transform: translateY(36px) scale(0.5); }
  70% { opacity: 1; transform: translateY(-6px) scale(1.05); }
  100% { opacity: 1; transform: none; }
}
/* arrows draw themselves */
.step-arrow .draw {
  stroke-dasharray: 150;
  stroke-dashoffset: 150;
}
.step-arrow.in { opacity: 1; transform: none; }
.step-arrow.in .draw {
  animation: drawline 0.7s ease forwards;
  animation-delay: calc(var(--i, 0) * 90ms);
}
@keyframes drawline { to { stroke-dashoffset: 0; } }

.pstep {
  width: clamp(140px, 12.5vw, 170px);
  text-align: center;
}
.pchar {
  width: 76%;
  max-width: 124px;
  margin: 0 auto;
  display: block;
  transition: transform 0.3s var(--ease-out);
}
.pstep:hover .pchar { transform: rotate(-4deg) scale(1.06); }

/* character parts */
.ch-body { fill: #fff; stroke: var(--blue); stroke-width: 5; stroke-linejoin: round; }
.ch-line { fill: none; stroke: var(--blue); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.ch-line.thin { stroke-width: 3.2; }
.ch-fill { fill: var(--blue); stroke: none; }
.ch-fillsolid { fill: var(--blue); stroke: none; }
.ch-blush { fill: rgba(10, 51, 255, 0.16); }
.ch-bubble { fill: #fff; stroke: var(--blue); stroke-width: 3.2; stroke-linejoin: round; }
.ch-soft { fill: rgba(10, 51, 255, 0.12); stroke: var(--blue); stroke-width: 3.2; }

/* micro animations — each character "works" */
.pdot { animation: blink 1.3s infinite; }
.pdot.p1 { animation-delay: 0s; }
.pdot.p2 { animation-delay: 0.18s; }
.pdot.p3 { animation-delay: 0.36s; }
@keyframes blink {
  0%, 55%, 100% { opacity: 0.25; }
  25% { opacity: 1; }
}
.wline { stroke-dasharray: 16; animation: write 2.4s infinite; }
.wline.w1 { animation-delay: 0s; }
.wline.w2 { animation-delay: 0.35s; }
.wline.w3 { animation-delay: 0.7s; }
@keyframes write {
  0% { stroke-dashoffset: 16; opacity: 1; }
  45% { stroke-dashoffset: 0; opacity: 1; }
  85% { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
.bulb {
  transform-box: fill-box;
  transform-origin: center;
  animation: glowPulse 2s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.45; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.08); }
}
.check { stroke-dasharray: 26; animation: drawcheck 2.6s infinite; }
@keyframes drawcheck {
  0% { stroke-dashoffset: 26; }
  40% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 0; }
}
.spark {
  transform-box: fill-box;
  transform-origin: center;
  animation: twinkle 1.8s ease-in-out infinite;
}
.spark.s2 { animation-delay: 0.5s; }
@keyframes twinkle {
  0%, 100% { transform: scale(0.5); opacity: 0.3; }
  50% { transform: scale(1.15); opacity: 1; }
}
.refresh {
  transform-box: fill-box;
  transform-origin: center;
  animation: spin 3s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.zipl { animation: zip 1.4s infinite; transform-box: fill-box; }
.zipl.z1 { animation-delay: 0s; }
.zipl.z2 { animation-delay: 0.15s; }
.zipl.z3 { animation-delay: 0.3s; }
@keyframes zip {
  0% { opacity: 0; transform: translateX(-3px); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateX(3px); }
}

.pstep h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.92rem;
  font-weight: 800;
  white-space: nowrap;
  margin: 0.75rem 0 0.4rem;
}
.pstep-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
}
.pstep p { font-size: 0.78rem; color: rgba(14, 17, 32, 0.68); line-height: 1.55; }
.step-arrow {
  width: clamp(26px, 2.8vw, 50px);
  flex-shrink: 0;
  margin-top: 3.2rem;
}

@media (max-width: 1240px) {
  .step-arrow { display: none; }
}
@media (max-width: 900px) {
  .process-steps { gap: 2rem 1.2rem; }
  .pstep { width: 46%; max-width: 190px; }
}

/* ============ WORK ============ */
.work { padding: var(--space-section) var(--pad-x); }

.work-item {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: clamp(1.5rem, 3vw, 3.5rem);
  align-items: start;
  padding: clamp(1.8rem, 3vw, 3rem) 0;
  border-top: 1px solid var(--line);
}
.work-item:last-of-type { border-bottom: 1px solid var(--line); }

.work-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 7.5;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.work-visual::before {
  content: attr(data-idx);
  position: absolute;
  top: 0.9rem;
  left: 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.65);
}
/* shine sweep on hover */
.work-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.22) 50%, transparent 60%);
  transform: translateX(-130%);
  transition: transform 0.7s ease;
}
.work-visual:hover::after { transform: translateX(130%); }
.work-visual:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(11, 16, 38, 0.28);
}
.wv-1 { background: linear-gradient(120deg, #0b1026 0%, #16204d 55%, #0a33ff 130%); }
.wv-2 { background: linear-gradient(135deg, #101322 0%, #2a1a4d 60%, #6a3df0 140%); }
.wv-3 { background: linear-gradient(115deg, #071a12 0%, #0e3b2a 60%, #17b978 150%); }
.work-logo {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.92);
  border: 3px solid rgba(255, 255, 255, 0.5);
  padding: 0.2em 0.6em;
}
.work-info h3 {
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--blue);
  line-height: 1.2;
}
.work-sub { font-weight: 600; margin: 0.35rem 0 1.4rem; }
.work-tags {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(14, 17, 32, 0.65);
  line-height: 1.9;
  margin-bottom: 1.6rem;
}
.btn-explore {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.45rem 1.5rem;
  border-radius: 999px;
  transition: background 0.25s, transform 0.25s var(--ease-out);
}
.btn-explore:hover { background: var(--blue-deep); transform: translateX(4px); }

/* portfolio slideshow */
.work-more { margin-top: clamp(3rem, 5vw, 5rem); }
.work-more-label {
  font-family: var(--font-hand);
  font-size: clamp(1.2rem, 1rem + 0.8vw, 1.7rem);
  color: var(--blue);
  margin-bottom: 1.4rem;
}
.work-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.work-marquee-track {
  display: flex;
  gap: 1.2rem;
  width: max-content;
  animation: scroll 45s linear infinite;
}
.work-marquee:hover .work-marquee-track { animation-play-state: paused; }
.pcard {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: clamp(200px, 22vw, 260px);
  flex-shrink: 0;
}
.pcard-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 1.9rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.9);
  transition: transform 0.35s var(--ease-out);
}
.pcard:hover .pcard-thumb { transform: translateY(-5px); }
.pc1 { background: linear-gradient(125deg, #0a33ff, #0b1026); }
.pc2 { background: linear-gradient(125deg, #0e7a6a, #06231f); }
.pc3 { background: linear-gradient(125deg, #b8541c, #2b1206); }
.pc4 { background: linear-gradient(125deg, #6a3df0, #170b38); }
.pc5 { background: linear-gradient(125deg, #d81b60, #33061a); }
.pc6 { background: linear-gradient(125deg, #37474f, #0c1114); }
.pc7 { background: linear-gradient(125deg, #f4a300, #4a3100); }
.pc8 { background: linear-gradient(125deg, #8d1c1c, #260707); }
.pcard-meta {
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.4;
}
.pcard-meta em {
  display: block;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.66rem;
  font-weight: 500;
  color: rgba(14, 17, 32, 0.5);
  letter-spacing: 0.1em;
}

@media (max-width: 900px) {
  .work-item { grid-template-columns: 1fr; }
}

/* ============ CONTACT ============ */
.contact {
  padding: var(--space-section) var(--pad-x) clamp(4rem, 8vw, 8rem);
  text-align: center;
  border-top: 1px solid var(--line);
}
.contact-eyebrow {
  font-family: var(--font-hand);
  font-size: clamp(1.3rem, 1.1rem + 1vw, 2rem);
  color: var(--blue);
  margin-bottom: 0.5rem;
}
.contact-title {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 14vw, 13rem);
  line-height: 0.95;
  color: var(--ink);
  letter-spacing: 0.005em;
  white-space: nowrap;
}
/* Right now!! → hover 시 화살표로 변신 */
.rn { position: relative; display: inline-block; }
.rn .t1 {
  display: inline-block;
  transition: opacity 0.3s, transform 0.5s var(--ease-out);
}
.rn .t2 {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 800;
  color: var(--blue);
  opacity: 0;
  transform: translateX(-70px);
  transition: opacity 0.3s, transform 0.5s var(--ease-out);
}
.rn:hover .t1,
.rn:focus-visible .t1 { opacity: 0; transform: translateX(70px); }
.rn:hover .t2,
.rn:focus-visible .t2 { opacity: 1; transform: translateX(0); }
.contact-sub {
  margin-top: 0.8rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--blue);
}
.contact-actions {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: clamp(2rem, 4vw, 3.5rem);
}
.contact-note {
  margin-top: 1.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(14, 17, 32, 0.55);
}

/* ============ FOOTER ============ */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1.4rem var(--pad-x);
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: rgba(14, 17, 32, 0.6);
}
.footer nav { display: flex; gap: 1.5rem; font-weight: 600; }
.footer nav a:hover { color: var(--blue); }
.footer-mark {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--blue);
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track,
  .work-marquee-track { animation: none !important; }
  .hero-hand, .hero-title { animation: none; }
  .hero-logo-img { clip-path: none; animation: none; }
  .process-steps .pstep.in { animation: none; opacity: 1; }
  .step-arrow .draw { stroke-dashoffset: 0; animation: none !important; }
  .pdot, .wline, .bulb, .check, .spark, .refresh, .zipl { animation: none !important; }
}
