/* ============================================================
   SJ징크지붕공사 — ZINC & CRAFT
   design.md 팔레트: Ink/Zinc/Steel/Bone/Paper/Burnt Copper
   ============================================================ */

:root {
  --ink: #1A1917;
  --zinc: #8E8B84;
  --line: #D8D4CC;
  --bone: #F4F1EB;
  --paper: #FBF9F5;
  --copper: #B4552D;
  --dark: #211F1C;
  /* 접근성 파생색 (design.md '접근성 파생색' 참조) */
  --zinc-deep: #6E6B64;
  --copper-bright: #C96B3F;
  --ink-soft: #3A3835;
  --copper-deep: #9C4825;
  --sans: 'Pretendard Variable', Pretendard, -apple-system, 'Apple SD Gothic Neo', sans-serif;
  --serif: 'Noto Serif KR', serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(20px, 4vw, 64px);
}

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

html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--sans);
  background: var(--bone);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
em { font-style: normal; }

::selection { background: var(--copper); color: var(--paper); }

:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}

/* ---------- 공통 ---------- */
.label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--zinc-deep);
}

.section { padding: clamp(90px, 14vh, 180px) var(--pad); position: relative; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-bottom: clamp(40px, 7vh, 90px);
}
.head-index {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--zinc-deep);
}

.section-title {
  font-size: clamp(2.2rem, 5.5vw, 4.6rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: clamp(36px, 6vh, 72px);
}
.section-title em {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--copper);
}

.img-frame {
  overflow: hidden;
  background: var(--line);
}

/* ============================================================
   0. PRELOADER
   ============================================================ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--ink);
  color: var(--bone);
  display: flex;
  align-items: center;
  justify-content: center;
}
.preloader-inner { text-align: center; }
.preloader-logo {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.preloader-logo span {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--zinc);
  margin-top: 10px;
}
.preloader-count {
  position: fixed;
  right: var(--pad);
  bottom: calc(var(--pad) + 20px);
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 200;
  letter-spacing: -0.02em;
  color: var(--zinc);
  font-variant-numeric: tabular-nums;
}
.preloader-bar {
  position: fixed;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: rgba(244, 241, 235, 0.12);
}
.preloader-bar span {
  display: block;
  width: 0%; height: 100%;
  background: var(--copper);
}

/* ============================================================
   CURSOR
   ============================================================ */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--copper);
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(26, 25, 23, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width 0.4s var(--ease), height 0.4s var(--ease),
              background-color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.cursor-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--paper);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.cursor-ring.is-view {
  width: 76px; height: 76px;
  background: rgba(180, 85, 45, 0.92);
  border-color: transparent;
}
.cursor-ring.is-view .cursor-label { opacity: 1; }
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--pad);
  color: var(--paper);
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease),
              box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
}
.site-header.scrolled {
  background: rgba(244, 241, 235, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
  padding: 12px var(--pad);
}
.brand { display: flex; align-items: baseline; gap: 10px; }
.brand-mark {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}
.brand-name { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; }
.site-nav { display: flex; gap: clamp(16px, 3vw, 40px); }
.site-nav a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  position: relative;
  padding: 4px 0;
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-tel {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 1px solid currentColor;
  border-radius: 100px;
  padding: 9px 20px;
  display: inline-block;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.header-tel:hover {
  background: var(--copper);
  border-color: var(--copper);
  color: var(--paper) !important;
}

/* ============================================================
   1. HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--paper);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { transform: scale(1.15); }
.hero-shade {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(26,25,23,0.45) 0%, rgba(26,25,23,0.15) 40%, rgba(26,25,23,0.72) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 var(--pad) clamp(28px, 5vh, 56px);
}
.hero-eyebrow { color: rgba(251, 249, 245, 0.75); margin-bottom: clamp(16px, 3vh, 32px); }
.hero-title {
  font-size: clamp(3rem, 9vw, 8.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.hero-line { display: block; overflow: hidden; }
.hero-line-inner { display: inline-block; will-change: transform; }
.hero-title em {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--copper);
}
.hero-sub { margin-top: clamp(24px, 4vh, 44px); }
.hero-sub-main {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.hero-sub-desc {
  margin-top: 8px;
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  color: rgba(251, 249, 245, 0.72);
}
.hero-foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 var(--pad) 26px;
}
.hero-foot .label { color: rgba(251, 249, 245, 0.55); }
.scroll-line {
  flex: 0 0 72px;
  height: 1px;
  background: rgba(251, 249, 245, 0.3);
  overflow: hidden;
}
.scroll-line span {
  display: block;
  width: 100%; height: 100%;
  background: var(--paper);
  animation: scrollHint 2.2s var(--ease) infinite;
  transform-origin: left;
}
@keyframes scrollHint {
  0% { transform: scaleX(0); transform-origin: left; }
  45% { transform: scaleX(1); transform-origin: left; }
  55% { transform: scaleX(1); transform-origin: right; }
  100% { transform: scaleX(0); transform-origin: right; }
}

/* ============================================================
   2. MARQUEE
   ============================================================ */
.marquee {
  background: var(--ink);
  color: var(--bone);
  overflow: hidden;
  padding: 20px 0;
  border-top: 1px solid rgba(244,241,235,0.08);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 36s linear infinite;
  transition: color 0.4s var(--ease);
}
.marquee:hover .marquee-track {
  animation-duration: 90s;
  color: var(--copper);
}
.marquee-track span {
  font-size: clamp(0.9rem, 1.6vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  white-space: nowrap;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   3. ABOUT
   ============================================================ */
.about { background: var(--bone); }
.about-quote {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6.5vw, 5.6rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: clamp(50px, 9vh, 110px);
  max-width: 20ch;
}
.about-quote em { color: var(--copper); }
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  margin-bottom: clamp(60px, 10vh, 120px);
}
.about-copy p {
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: 1.6em;
  max-width: 56ch;
}
.about-fig .img-frame { aspect-ratio: 3 / 4; }
.about-fig figcaption { margin-top: 12px; }
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.stat {
  padding: clamp(28px, 4vh, 48px) clamp(16px, 2vw, 32px) 0;
  border-top: 2px solid var(--ink);
  margin-top: -1px;
}
.stat + .stat { border-left: 1px solid var(--line); }
.stat-num {
  display: block;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-unit { font-size: 0.45em; font-weight: 700; margin-left: 2px; }
.stat-label {
  display: block;
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--zinc-deep);
  letter-spacing: 0.02em;
}

/* ============================================================
   4. SERVICES
   ============================================================ */
.services { background: var(--paper); }
.svc-list { border-top: 1px solid var(--line); }
.svc-item { border-bottom: 1px solid var(--line); }
.svc-link {
  display: grid;
  grid-template-columns: 80px 1fr 60px;
  align-items: center;
  gap: clamp(16px, 3vw, 48px);
  padding: clamp(28px, 4.5vh, 48px) 0;
  transition: padding-left 0.4s var(--ease);
}
.svc-item:hover .svc-link { padding-left: clamp(8px, 1.5vw, 24px); }
.svc-num {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--zinc-deep);
  transition: color 0.4s var(--ease);
}
.svc-item:hover .svc-num { color: var(--copper); }
.svc-name {
  display: block;
  font-size: clamp(1.5rem, 3.4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.svc-en {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 0.42em;
  color: var(--zinc);
  letter-spacing: 0.02em;
  margin-left: 12px;
  vertical-align: middle;
}
.svc-tag {
  display: block;
  margin-top: 8px;
  font-size: 0.95rem;
  color: var(--zinc-deep);
}
.svc-detail {
  display: block;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 62ch;
  transition: max-height 0.5s var(--ease), opacity 0.5s var(--ease), margin-top 0.5s var(--ease);
}
.svc-item:hover .svc-detail {
  max-height: 200px;
  opacity: 1;
  margin-top: 12px;
}
.svc-arrow {
  font-size: 1.6rem;
  color: var(--zinc);
  transform: translateX(-8px);
  opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease), color 0.4s var(--ease);
}
.svc-item:hover .svc-arrow {
  transform: translateX(0);
  opacity: 1;
  color: var(--copper);
}
.svc-mobile-fig { display: none; }

/* floating preview */
.svc-preview {
  position: fixed;
  top: 0; left: 0;
  width: clamp(220px, 22vw, 340px);
  aspect-ratio: 4 / 3;
  z-index: 90;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
  transition: opacity 0.35s var(--ease);
  box-shadow: 0 24px 60px rgba(26, 25, 23, 0.28);
}
.svc-preview.on { opacity: 1; }

/* ============================================================
   5. WORKS
   ============================================================ */
.works { background: var(--dark); color: var(--bone); }
.works-pin {
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.works-track {
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  padding: 0 var(--pad);
  will-change: transform;
}
.works-intro {
  flex: 0 0 auto;
  width: clamp(300px, 34vw, 480px);
}
.works-intro .label { color: var(--zinc); margin-bottom: 24px; display: block; }
.works-intro .section-title { color: var(--bone); margin-bottom: 24px; }
.works-intro-desc {
  font-size: 0.95rem;
  color: rgba(244, 241, 235, 0.6);
  line-height: 1.8;
}
.works-hint { display: block; margin-top: 40px; color: var(--copper-bright); }
.work-card {
  flex: 0 0 auto;
  width: clamp(300px, 42vw, 620px);
}
.work-card.work-tall { width: clamp(260px, 30vw, 440px); }
.work-card .img-frame {
  height: clamp(320px, 62vh, 600px);
}
.work-card figcaption {
  display: flex;
  gap: 18px;
  margin-top: 16px;
  align-items: baseline;
}
.work-index {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--copper-bright);
  font-weight: 700;
}
.work-cap { font-size: 0.85rem; color: rgba(244, 241, 235, 0.6); line-height: 1.6; }
.work-cap strong {
  display: block;
  font-size: 1.02rem;
  color: var(--bone);
  font-weight: 600;
  margin-bottom: 2px;
}

/* ============================================================
   5-2. BEFORE / AFTER
   ============================================================ */
.ba { background: var(--bone); }
.ba-desc { color: var(--zinc-deep); margin: -16px 0 36px; font-size: 0.95rem; }
.ba-slider {
  position: relative;
  width: 100%;
  max-width: 1100px;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  background: var(--line);
}
.ba-before, .ba-after { position: absolute; inset: 0; }
.ba-before { clip-path: inset(0 50% 0 0); will-change: clip-path; }
.ba-tag {
  position: absolute;
  top: 20px;
  padding: 7px 14px;
  background: rgba(26, 25, 23, 0.72);
  color: var(--paper);
  backdrop-filter: blur(6px);
}
.ba-tag-before { left: 20px; }
.ba-tag-after { right: 20px; background: rgba(180, 85, 45, 0.9); }
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 0;
  z-index: 3;
}
.ba-handle-line {
  position: absolute;
  top: 0; bottom: 0; left: -1px;
  width: 2px;
  background: var(--copper);
}
.ba-handle-knob {
  position: absolute;
  top: 50%; left: 0;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--copper);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 8px 24px rgba(26, 25, 23, 0.35);
}

/* ============================================================
   6. PROCESS
   ============================================================ */
.process { background: var(--paper); }
.process-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}
.process-sticky {
  position: sticky;
  top: 16vh;
}
.process-bignum {
  font-size: clamp(7rem, 16vw, 15rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--line);
  margin-top: 24px;
  font-variant-numeric: tabular-nums;
}
.process-steps { border-top: 1px solid var(--line); }
.p-step {
  display: flex;
  gap: clamp(20px, 3vw, 44px);
  padding: clamp(32px, 5vh, 56px) 0;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.4s var(--ease);
}
.p-num {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--zinc);
  padding-top: 6px;
}
.p-step.active .p-num { color: var(--copper); }
.p-body h3 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.p-body p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 52ch;
}
.p-step-dark {
  background: var(--dark);
  color: var(--bone);
  padding-left: clamp(16px, 2.5vw, 36px);
  padding-right: clamp(16px, 2.5vw, 36px);
  margin-left: calc(clamp(16px, 2.5vw, 36px) * -1);
}
.p-step-dark .p-body p { color: rgba(244, 241, 235, 0.65); }
.p-step-dark .p-num { color: var(--copper); }

/* ============================================================
   7. WHY SJ
   ============================================================ */
.why { background: var(--bone); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.why-item {
  background: var(--bone);
  padding: clamp(32px, 5vh, 60px) clamp(24px, 3.5vw, 52px);
  transition: background-color 0.4s var(--ease);
}
.why-item:hover { background: var(--paper); }
.why-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--copper);
}
.why-item h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 18px 0 12px;
}
.why-item p {
  font-size: 0.93rem;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 46ch;
}

/* ============================================================
   8. CTA
   ============================================================ */
.section-dark { background: var(--dark); color: var(--bone); }
.cta { padding: clamp(110px, 18vh, 220px) var(--pad); text-align: center; }
.cta-inner { max-width: 1200px; margin: 0 auto; }
.cta-label { color: var(--zinc); margin-bottom: 36px; }
.cta-serif {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.01em;
  margin-bottom: clamp(36px, 7vh, 72px);
}
.cta-tel { display: inline-block; }
.cta-tel-num {
  display: inline-block;
  font-size: clamp(2.6rem, 9.5vw, 9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--bone);
  transition: color 0.4s var(--ease);
  font-variant-numeric: tabular-nums;
}
.cta-tel:hover .cta-tel-num { color: var(--copper); }
.cta-sub {
  margin-top: clamp(28px, 5vh, 52px);
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  color: rgba(244, 241, 235, 0.65);
  line-height: 1.9;
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: clamp(36px, 6vh, 60px);
}
.btn {
  display: inline-block;
  max-width: 100%;
  text-align: center;
  padding: 18px 36px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.btn-solid { background: var(--copper); color: var(--paper); border: 1px solid var(--copper); }
.btn-solid:hover { background: var(--copper-deep); border-color: var(--copper-deep); }
.btn-ghost { border: 1px solid rgba(244, 241, 235, 0.35); color: var(--bone); }
.btn-ghost:hover { border-color: var(--bone); background: rgba(244, 241, 235, 0.06); }
.cta-sns {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 4vw, 48px);
  margin-top: clamp(48px, 9vh, 90px);
  padding-top: 32px;
  border-top: 1px solid rgba(244, 241, 235, 0.12);
  flex-wrap: wrap;
}
.cta-sns a {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(244, 241, 235, 0.75);
  transition: color 0.4s var(--ease);
}
.cta-sns a span { color: var(--zinc); font-weight: 400; margin-left: 6px; }
.cta-sns a:hover { color: var(--copper); }

/* ============================================================
   9. FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: var(--bone);
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 12vh, 140px) var(--pad) 28px;
}
.footer-bg-text {
  position: absolute;
  left: 50%;
  bottom: -0.18em;
  transform: translateX(-50%);
  font-size: clamp(4rem, 14vw, 13rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 241, 235, 0.1);
  pointer-events: none;
  user-select: none;
}
.footer-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 60px);
  padding-bottom: clamp(48px, 8vh, 90px);
}
.footer-tagline {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 18px;
}
.footer-name { font-size: 0.95rem; font-weight: 600; }
.footer-name span { color: var(--zinc); font-weight: 400; }
.footer-col .label { display: block; margin-bottom: 14px; color: var(--zinc); }
.footer-col p { font-size: 0.9rem; line-height: 1.8; color: rgba(244, 241, 235, 0.8); }
.footer-col a { transition: color 0.4s var(--ease); }
.footer-col a:hover { color: var(--copper); }
.footer-dim { color: var(--zinc); }
.footer-sns { margin-top: 8px; color: var(--zinc); }
.footer-bottom {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(244, 241, 235, 0.12);
  padding-top: 24px;
  font-size: 0.8rem;
  color: var(--zinc);
}

/* ============================================================
   반응형 — 모바일 (~768px)
   ============================================================ */
@media (max-width: 768px) {
  .site-nav { display: none; }
  .brand-name { display: none; }
  .site-header { gap: 10px; }
  .header-tel {
    padding: 8px 14px;
    font-size: 0.78rem;
    letter-spacing: 0;
    flex-shrink: 0;
    white-space: nowrap;
  }
  /* 히어로 eyebrow 우측 잘림 방지 — 두 줄 허용 + 자간 축소 */
  .hero-eyebrow {
    font-size: 10px;
    letter-spacing: 0.08em;
    line-height: 1.7;
    overflow-wrap: anywhere;
  }

  .about-grid { grid-template-columns: 1fr; }
  .about-fig { max-width: 420px; }
  .stats { grid-template-columns: 1fr; }
  .stat { padding: 24px 0; }
  .stat + .stat { border-left: none; }

  .svc-link { grid-template-columns: 44px 1fr; }
  .svc-arrow { display: none; }
  .svc-item .svc-detail,
  .svc-item:hover .svc-detail { max-height: none; opacity: 1; margin-top: 10px; }
  .svc-mobile-fig {
    display: block;
    aspect-ratio: 4 / 3;
    margin: 0 0 28px 44px;
  }
  .svc-item:hover .svc-link { padding-left: 0; }
  .svc-preview { display: none; }

  /* 가로 갤러리 → 세로 스택 */
  .works-pin { height: auto; display: block; padding: clamp(80px, 12vh, 140px) 0; }
  .works-track {
    flex-direction: column;
    align-items: stretch;
    gap: 56px;
    transform: none !important;
  }
  .works-intro, .work-card, .work-card.work-tall { width: 100%; }
  .work-card .img-frame { height: auto; aspect-ratio: 4 / 3; }
  .work-card.work-tall .img-frame { aspect-ratio: 3 / 4; }
  .works-hint { display: none; }

  .process-grid { grid-template-columns: 1fr; }
  .process-sticky { position: static; }
  .process-bignum { display: none; }

  .why-grid { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .ba-slider { aspect-ratio: 4 / 3; }
}

/* ============================================================
   반응형 — 소형 모바일 (~480px): 헤더 버튼 잘림 방지
   ============================================================ */
@media (max-width: 480px) {
  .brand-mark { font-size: 1.15rem; }
  .header-tel { padding: 7px 12px; font-size: 0.72rem; }
}

/* ============================================================
   반응형 — 태블릿 (769~1024px): 여백/그리드 확보
   ============================================================ */
@media (min-width: 769px) and (max-width: 1024px) {
  .about-grid { gap: 48px; }
  .about-copy p { max-width: none; }
  .stats .stat { padding-right: 20px; padding-left: 20px; }
  .footer-inner { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .works-intro { width: clamp(280px, 38vw, 400px); }
}

/* ============================================================
   터치 디바이스 (태블릿 포함): 호버 의존 콘텐츠 상시 노출
   ============================================================ */
@media (hover: none) {
  .svc-item .svc-detail,
  .svc-item:hover .svc-detail {
    max-height: none;
    opacity: 1;
    margin-top: 10px;
  }
  .svc-mobile-fig {
    display: block;
    aspect-ratio: 4 / 3;
    margin: 0 0 28px;
  }
  .svc-preview { display: none; }
  .svc-arrow { display: none; }
}

/* ============================================================
   접근성 — skip-link
   ============================================================ */
.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 1100;
  background: var(--ink);
  color: var(--bone);
  padding: 12px 20px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: top 0.3s var(--ease);
}
.skip-link:focus-visible {
  top: 16px;
  outline: 2px solid var(--copper);
  outline-offset: 2px;
}

/* ============================================================
   reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .marquee-track { animation: none; }
  .scroll-line span { animation: none; }
  .hero-bg img { transform: none; }
}
