/* =========================================================
   더나은복원 — Design tokens
   ========================================================= */
:root {
  --bg: #F6F2EC;
  --bg-alt: #EFE9E0;
  --surface: #FFFFFF;
  --ink: #1E1C1A;
  --ink-2: #3A3632;
  --muted: #7A726A;
  --line: #E2DACF;
  --accent: #9C7A55;
  --accent-light: #C9A77C;
  --dark: #171513;
  --dark-2: #221F1C;

  --font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-serif: "Cormorant Garamond", "Times New Roman", serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(88px, 12vw, 160px);
  --radius: 4px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 76px;
}

/* =========================================================
   Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  letter-spacing: -0.01em;
  font-variant-numeric: lining-nums;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
/* 글·사진 드래그 복사 방지 */
body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
img { -webkit-user-drag: none; user-drag: none; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
strong { font-weight: 600; }
::selection { background: var(--accent); color: #fff; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.br-pc { display: none; }
.br-m { display: none; }
@media (max-width: 600px) { .br-m { display: inline; } }
@media (min-width: 768px) { .br-pc { display: inline; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-serif);
  font-size: 15px; font-weight: 500; letter-spacing: .22em;
  color: var(--accent);
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--accent-light); }

.h2 {
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.035em;
}
.accent { color: var(--accent); font-weight: 800; background: linear-gradient(transparent 64%, rgba(201,167,124,.32) 64%, rgba(201,167,124,.32) 92%, transparent 92%) no-repeat; background-size: 0% 100%; padding: 0 .06em; transition: background-size 1s .5s var(--ease-out); }
.reveal.is-in .accent, .accent.is-in { background-size: 100% 100%; }

.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.section-head__desc { margin-top: 18px; color: var(--muted); font-size: 17px; }
.section-head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }

.note { margin-top: 20px; font-size: 12px; color: var(--muted); opacity: .8; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 28px;
  font-size: 16px; font-weight: 600; letter-spacing: -0.01em;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .4s var(--ease-out), background-color .3s, color .3s, border-color .3s, box-shadow .4s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { height: 42px; padding: 0 20px; font-size: 14px; }
.btn--lg { height: 64px; padding: 0 36px; font-size: 17px; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--accent); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--accent-light); color: var(--dark); box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.btn--ghost-light { color: #fff; border-color: rgba(255,255,255,.45); backdrop-filter: blur(6px); background: rgba(255,255,255,.06); }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.14); }

.tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px; font-weight: 600;
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  border-radius: 999px;
}

/* =========================================================
   Header
   ========================================================= */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background-color .4s, box-shadow .4s, color .4s, backdrop-filter .4s;
  color: #fff;
}
.header__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.header.is-scrolled, .header.is-open {
  background: rgba(246, 242, 236, .86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
  color: var(--ink);
}

.logo { display: flex; align-items: center; gap: 13px; margin-right: auto; }
.logo__mark, .footer__mark {
  width: 40px; height: 44px; flex: none; overflow: visible;
  --lg1: #F1DDB5; --lg2: #C9A77C; --lg3: #9C7A55; --lgc1: #F6E6C8; --lgc2: #B8915F;
  transition: transform .6s var(--ease-out);
}
.header.is-scrolled .logo__mark, .header.is-open .logo__mark {
  --lg1: #CFAA78; --lg2: #A8845A; --lg3: #7A5C3A; --lgc1: #E3C597; --lgc2: #9C7A55;
}
.logo:hover .logo__mark { transform: translateY(-2px); }
.lm-line { stroke-dasharray: 100; stroke-dashoffset: 100; animation: lmDrawLoop 5.5s var(--ease-out) infinite; }
.lm-1 { animation-delay: .2s; }
.lm-2 { animation-delay: .45s; }
.lm-3 { animation-delay: .7s; }
.lm-core { opacity: 0; transform: scale(.6); transform-box: fill-box; transform-origin: center; animation: lmCoreLoop 5.5s .2s var(--ease-out) infinite; }
/* 그려짐(0~20%) → 유지 → 그려진 방향으로 지워짐(82~94%) → 반복 */
@keyframes lmDrawLoop {
  0% { stroke-dashoffset: 100; }
  20% { stroke-dashoffset: 0; }
  80% { stroke-dashoffset: 0; }
  94%, 100% { stroke-dashoffset: -100; }
}
@keyframes lmCoreLoop {
  0%, 17% { opacity: 0; transform: scale(.6); }
  32% { opacity: 1; transform: none; }
  80% { opacity: 1; transform: none; }
  90%, 100% { opacity: 0; transform: scale(.6); }
}
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__text strong { font-size: 21px; font-weight: 500; letter-spacing: -0.045em; }
.logo__text strong b, .footer__logo b {
  font-weight: 800;
  background: linear-gradient(115deg, #F3E0BD 0%, #C9A77C 50%, #A9845A 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.header.is-scrolled .logo__text strong b, .header.is-open .logo__text strong b { background-image: linear-gradient(115deg, #B8915F 0%, #9C7A55 55%, #6F5236 100%); }
.logo__text em { font-family: var(--font-serif); font-style: normal; font-size: 11.5px; font-weight: 600; letter-spacing: .3em; color: var(--accent-light); margin-top: 4px; }
.header.is-scrolled .logo__text em, .header.is-open .logo__text em { color: var(--accent); }

.nav { display: flex; gap: 32px; font-size: 15px; font-weight: 500; }
.nav a { position: relative; opacity: .85; transition: opacity .3s; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
.nav a:hover, .nav a.is-current { opacity: 1; }
.nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav__call-mobile { display: none; }

.header__cta svg { width: 15px; height: 15px; }
.header:not(.is-scrolled):not(.is-open) .header__cta { background: #fff; color: var(--ink); }
.header:not(.is-scrolled):not(.is-open) .header__cta:hover { background: var(--accent-light); }

.menu-btn { display: none; width: 44px; height: 44px; position: relative; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease-out), top .4s var(--ease-out); }
.menu-btn span:nth-child(1) { top: 17px; }
.menu-btn span:nth-child(2) { top: 26px; }
.header.is-open .menu-btn span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.header.is-open .menu-btn span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .menu-btn { display: block; }
  .header__cta { display: none; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100dvh - var(--header-h));
    flex-direction: column; gap: 0; padding: 24px var(--gutter);
    background: var(--bg); color: var(--ink);
    font-size: 22px; font-weight: 600;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .4s, transform .5s var(--ease-out), visibility .4s;
  }
  .nav a { padding: 18px 0; border-bottom: 1px solid var(--line); opacity: 1; }
  .nav a::after { display: none; }
  .nav__call-mobile { display: block; color: var(--accent); border-bottom: 0 !important; }
  .nav a.is-current { color: var(--accent); }
  .header.is-open .nav { opacity: 1; visibility: visible; transform: none; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 40px) 0 clamp(96px, 14vh, 150px);
  color: #fff;
  overflow: hidden;
  background: var(--dark);
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); animation: kenburns 18s var(--ease) forwards; }
@keyframes kenburns { to { transform: scale(1); } }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,17,14,.55) 0%, rgba(20,17,14,.15) 35%, rgba(20,17,14,.72) 100%),
    linear-gradient(90deg, rgba(20,17,14,.55) 0%, rgba(20,17,14,0) 65%);
}
@media (max-width: 640px) {
  .hero__shade {
    background:
      linear-gradient(180deg, rgba(20,17,14,.5) 0%, rgba(20,17,14,.35) 30%, rgba(20,17,14,.62) 55%, rgba(20,17,14,.82) 100%);
  }
}
.hero__content { position: relative; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 18px;
  font-family: var(--font-serif); font-size: 14px; font-weight: 600; letter-spacing: .2em;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
}
.badge__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-light); box-shadow: 0 0 0 0 rgba(201,167,124,.7); animation: pulse 2.4s infinite; }
@media (max-width: 420px) { .badge { font-size: 12px; letter-spacing: .12em; padding: 8px 14px; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(201,167,124,.6); } 70% { box-shadow: 0 0 0 10px rgba(201,167,124,0); } 100% { box-shadow: 0 0 0 0 rgba(201,167,124,0); } }

.hero__title {
  margin-top: 28px;
  font-size: clamp(46px, 9vw, 116px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.05em;
}
.hero__title em {
  position: relative; display: inline-block;
  font-style: normal; font-weight: 800; letter-spacing: -0.055em;
  padding-right: .06em;
  background: linear-gradient(100deg, #E9C995 0%, #D4AE7A 30%, #FFF3DC 48%, #D4AE7A 62%, #E9C995 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: #E9C995;
  filter: drop-shadow(0 6px 22px rgba(0,0,0,.45));
  animation: heroShine 5.5s 1.6s linear infinite;
}
.hero__title em::after {
  content: ""; position: absolute; left: .02em; right: .12em; bottom: .02em; height: .075em;
  border-radius: 99px;
  background: linear-gradient(90deg, #E9C995, rgba(233,201,149,.15));
  transform: scaleX(0); transform-origin: left;
  animation: heroUnderline 1.1s 1.25s var(--ease-out) forwards;
}
@keyframes heroShine { from { background-position: 120% 0; } to { background-position: -120% 0; } }
@keyframes heroUnderline { to { transform: scaleX(1); } }
.line { display: block; overflow: hidden; padding-bottom: .1em; }
.line > span { display: inline-block; transform: translateY(105%); animation: lineUp 1.1s var(--ease-out) var(--d, 0s) forwards; }
@keyframes lineUp { to { transform: none; } }

.hero__sub { margin-top: 28px; max-width: 620px; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.75; color: rgba(255,255,255,.86); }
.hero__sub strong { color: #fff; }
.hero__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }

.anim-up { opacity: 0; transform: translateY(24px); animation: fadeUp 1s var(--ease-out) var(--d, 0s) forwards; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

.hero__scroll {
  position: absolute; right: var(--gutter); bottom: 40px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: var(--font-serif); font-size: 11px; letter-spacing: .3em; color: rgba(255,255,255,.7);
  writing-mode: vertical-rl;
}
.hero__scroll i { position: relative; width: 1px; height: 64px; background: rgba(255,255,255,.25); overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: #fff; animation: scrollLine 2.2s var(--ease) infinite; }
@keyframes scrollLine { to { top: 100%; } }

/* =========================================================
   Marquee
   ========================================================= */
.marquee { background: var(--dark); color: rgba(255,255,255,.82); overflow: hidden; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.08); }
.marquee__track { display: flex; width: max-content; align-items: center; gap: 36px; animation: marquee 38s linear infinite; }
.marquee__track span { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; }
.marquee__track i { font-style: normal; color: var(--accent-light); font-size: 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   Intro & stats
   ========================================================= */
.intro__lead { margin-top: 18px; font-size: 17px; color: var(--muted); }
.howto { margin-top: clamp(32px, 4vw, 48px); max-width: 720px; }
.howto__q { font-size: clamp(18px, 1.8vw, 21px); font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.howto__list { margin-top: 14px; border-top: 1px solid var(--ink); }
.howto__list li { display: grid; grid-template-columns: 112px 1fr; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.howto__list b { font-size: 17px; font-weight: 700; color: var(--accent); letter-spacing: -0.02em; }
.howto__list span { font-size: 16.5px; color: var(--ink-2); line-height: 1.6; }
.howto__a { margin-top: 20px; font-size: clamp(17px, 1.7vw, 19px); font-weight: 500; color: var(--ink); }
.howto__a strong { color: var(--accent); font-weight: 700; }
@media (max-width: 600px) {
  .intro__lead { font-size: 15.5px; }
  .howto__list li { grid-template-columns: 84px 1fr; gap: 10px; padding: 14px 0; }
  .howto__list b { font-size: 15.5px; }
  .howto__list span { font-size: 15px; }
}
.intro__pains { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.pain { position: relative; display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 18px; padding: 22px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .4s, translate .6s var(--ease-out), box-shadow .6s var(--ease-out), opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: 0s, 0s, 0s, var(--d, 0s), var(--d, 0s); }
.pain:hover { border-color: var(--accent-light); translate: 0 -4px; box-shadow: 0 18px 40px rgba(23,21,19,.07); }
.pain__num { grid-row: span 2; font-family: var(--font-serif); font-size: 20px; font-weight: 600; letter-spacing: .04em; font-variant-numeric: lining-nums; color: var(--accent); }
.pain strong { display: block; font-size: clamp(20px, 1.9vw, 24px); font-weight: 700; letter-spacing: -0.03em; color: var(--ink); line-height: 1.3; }
.pain p { margin-top: 4px; font-size: 15px; color: var(--muted); }
.intro__close { margin-top: clamp(32px, 4vw, 48px); padding-top: clamp(28px, 3.4vw, 40px); border-top: 1px solid var(--line); }
.intro__text { font-size: 16px; line-height: 1.7; color: var(--muted); }
.intro__answer { margin-top: 10px; font-size: clamp(18px, 1.9vw, 22px); font-weight: 500; line-height: 1.65; letter-spacing: -0.02em; color: var(--ink); }
.intro__answer strong { color: var(--accent); font-weight: 700; }
@media (max-width: 760px) {
  .intro__pains { grid-template-columns: 1fr; gap: 10px; }
  .pain { padding: 18px 22px; }
  .pain strong { font-size: 20px; }
  .pain p { font-size: 14.5px; }
}
.stats { margin-top: clamp(56px, 8vw, 96px); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.stat { padding: 32px 24px 8px 0; border-right: 1px solid var(--line); padding-left: 24px; }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--font-serif); font-size: clamp(44px, 5.6vw, 72px); font-weight: 500; line-height: 1; letter-spacing: -0.02em; }
.stat sup { font-family: var(--font-sans); font-size: .32em; font-weight: 600; vertical-align: top; margin-left: 4px; position: relative; top: .5em; color: var(--accent); }
.stat > span { display: block; margin-top: 14px; font-size: 15px; color: var(--muted); }

@media (max-width: 860px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 28px 0 24px; border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:nth-child(odd) { padding-right: 16px; border-right: 1px solid var(--line); }
  .stat:nth-child(even) { padding-left: 20px; }
}

/* =========================================================
   About
   ========================================================= */
.about { background: var(--surface); }
.about__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about__visual { position: relative; }
.about__photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--bg-alt); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out); }
.about__visual:hover .about__photo img { transform: scale(1.04); }
.about__photo-label {
  position: absolute; left: 16px; top: 16px;
  padding: 6px 12px; font-size: 12px; font-weight: 600;
  background: rgba(255,255,255,.88); color: var(--ink-2); border-radius: 999px;
}
.about__card {
  position: absolute; right: -24px; bottom: 36px;
  padding: 24px 28px;
  background: var(--dark); color: #fff;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(23,21,19,.25);
}
.about__card p { font-size: 14px; color: rgba(255,255,255,.75); }
.about__card strong { color: #fff; }
.script { font-family: var(--font-serif); font-style: italic; font-size: 26px !important; color: var(--accent-light) !important; line-height: 1.2; margin-bottom: 6px !important; }

.about__lead { margin-top: 24px; font-size: 18px; line-height: 1.75; color: var(--ink-2); }
.points { margin-top: 36px; border-top: 1px solid var(--line); }
.point { display: flex; align-items: baseline; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.point__num { font-family: var(--font-serif); font-size: 20px; font-weight: 600; font-variant-numeric: lining-nums; color: var(--accent); line-height: 1.4; min-width: 28px; }
.point h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.point p { margin-top: 4px; color: var(--muted); font-size: 15px; }

@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__card { right: 16px; bottom: -28px; }
  .about__body { margin-top: 24px; }
}

/* =========================================================
   Compare
   ========================================================= */
.compare .section-head { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cmp { max-width: 960px; margin: 0 auto; }
.cmp table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.cmp th, .cmp td { padding: 22px clamp(14px, 2.4vw, 32px); text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); }
.cmp thead th { padding-top: 18px; padding-bottom: 18px; font-size: clamp(15px, 1.5vw, 18px); font-weight: 700; border-bottom: 2px solid var(--ink); }
.cmp thead th:first-child { width: 22%; }
.cmp thead .cmp__old { color: var(--muted); }
.cmp thead .cmp__new { background: var(--dark); color: #fff; border-radius: 12px 12px 0 0; border-bottom-color: var(--dark); }
.cmp tbody th { font-size: clamp(14px, 1.4vw, 16px); font-weight: 700; color: var(--ink); }
.cmp td strong { display: block; font-size: clamp(17px, 2vw, 24px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.3; }
.cmp td span { display: block; margin-top: 4px; font-size: clamp(12.5px, 1.2vw, 14px); line-height: 1.5; }
.cmp td.cmp__old strong { color: #9A9088; font-weight: 600; }
.cmp td.cmp__old span { color: #ADA398; }
.cmp td.cmp__new { background: var(--dark); border-bottom-color: rgba(255,255,255,.1); }
.cmp td.cmp__new strong { color: var(--accent-light); }
.cmp td.cmp__new span { color: rgba(255,255,255,.72); }
.cmp tbody tr:last-child td.cmp__new { border-radius: 0 0 12px 12px; border-bottom: 0; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td.cmp__old { border-bottom: 0; }
@media (max-width: 640px) {
  .cmp thead th:first-child { width: 20%; }
  .cmp th, .cmp td { padding: 16px 10px; }
  .cmp thead th { padding: 14px 10px; }
}

/* =========================================================
   Works & before/after
   ========================================================= */
.works { background: var(--bg); }
.works .section-head { margin-bottom: clamp(20px, 3vw, 32px); }
.filters-bar {
  position: sticky; top: var(--header-h); z-index: 20;
  margin: 0 calc(var(--gutter) * -1) clamp(28px, 4vw, 48px);
  padding: 12px var(--gutter);
  background: rgba(246, 242, 236, .92);
  backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  transition: box-shadow .3s;
}
.filters-bar.is-stuck { box-shadow: 0 1px 0 var(--line), 0 10px 24px rgba(23,21,19,.06); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  height: 40px; padding: 0 18px;
  font-size: 14px; font-weight: 500;
  border: 1px solid var(--line); border-radius: 999px;
  background: transparent;
  transition: background-color .3s, color .3s, border-color .3s;
}
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter-link {
  display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 18px;
  font-size: 14px; font-weight: 600; color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); border-radius: 999px;
  white-space: nowrap;
  transition: background-color .3s, color .3s, border-color .3s;
}
.filter-link span { transition: transform .4s var(--ease-out); }
.filter-link:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.filter-link:hover span { transform: translate(2px, -2px); }

.works__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(48px, 6vw, 80px) clamp(16px, 2vw, 28px); }
.work { transition: opacity .5s var(--ease), transform .6s var(--ease-out); }
.work { display: flex; flex-direction: column; }
.work .work__info { flex: 1; }
.work.is-hidden { display: none; }
.js .work.reveal.is-filtering { opacity: 0; transform: translateY(40px); transition: none; }

.work__info { padding-bottom: 18px; }
.work .tag { transition: background-color .4s, color .4s, border-color .4s; }
.work.is-match .tag { background: var(--accent); border-color: var(--accent); color: #fff; }
.work__info h3 { margin-top: 12px; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.45; }
.work__info p { margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.7; }

.ba { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--bg-alt); isolation: isolate; user-select: none; -webkit-user-select: none; }
.ba__layer { position: absolute; inset: 0; }
.ba__layer img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__label {
  position: absolute; top: 14px; z-index: 3;
  padding: 5px 11px;
  font-family: var(--font-serif); font-size: 12px; font-weight: 600; letter-spacing: .18em;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  transition: opacity .4s;
  pointer-events: none;
}
.ba__label--before { left: 14px; background: rgba(23,21,19,.72); color: #fff; }
.ba__label--after { right: 14px; background: rgba(255,255,255,.88); color: var(--ink); }
@media (max-width: 600px) {
  .ba__label { top: 10px; padding: 4px 8px; font-size: 10px; letter-spacing: .12em; }
  .ba__label--before { left: 10px; }
  .ba__label--after { right: 8px; }
}

/* --- sample damage effect (실제 사진 사용 시 클래스 제거) --- */
.sample-damage img { filter: saturate(.55) sepia(.28) brightness(.86) contrast(.92); }
.sample-damage::before, .sample-damage::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.sample-damage::before {
  background:
    radial-gradient(ellipse 7% 5% at var(--dx, 40%) var(--dy, 60%), rgba(35, 24, 15, .78), rgba(35,24,15,.35) 55%, transparent 72%),
    radial-gradient(ellipse 4% 3% at calc(var(--dx, 40%) + 18%) calc(var(--dy, 60%) - 14%), rgba(35, 24, 15, .6), transparent 70%),
    radial-gradient(ellipse 30% 22% at calc(var(--dx, 40%) - 6%) calc(var(--dy, 60%) + 8%), rgba(120, 95, 60, .28), transparent 70%);
  mix-blend-mode: multiply;
}
.sample-damage::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300' preserveAspectRatio='none'%3E%3Cg stroke='white' stroke-opacity='.7' stroke-width='1.3' fill='none' stroke-linecap='round'%3E%3Cpath d='M70 205 L196 140'/%3E%3Cpath d='M84 226 L214 160'/%3E%3Cpath d='M98 240 L170 204'/%3E%3Cpath d='M250 92 L338 58'/%3E%3Cpath d='M262 104 L322 82'/%3E%3Cpath d='M136 262 Q200 244 268 252'/%3E%3Cpath d='M40 120 L90 98'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mix-blend-mode: screen;
  opacity: .75;
}

/* slider */
.ba--slider .ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 4;
  width: 2px; margin-left: -1px; background: #fff;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(0,0,0,.25);
}
.ba__handle span {
  position: absolute; top: 50%; left: 50%;
  width: 52px; height: 52px; transform: translate(-50%, -50%);
  display: grid; place-items: center;
  font-size: 18px; font-weight: 600; color: var(--ink); letter-spacing: 2px;
  background: #fff; border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0,0,0,.22);
  transition: transform .35s var(--ease-out);
}
.ba--slider:hover .ba__handle span, .ba--slider.is-dragging .ba__handle span { transform: translate(-50%, -50%) scale(1.1); }
.ba__range {
  position: absolute; inset: 0; z-index: 5;
  width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize;
  -webkit-appearance: none; appearance: none;
  touch-action: pan-y;
}
.ba__range::-webkit-slider-thumb { -webkit-appearance: none; width: 52px; height: 100vh; }
.ba--slider:focus-within .ba__handle span { outline: 2px solid var(--accent); outline-offset: 3px; }

/* hover card */
.ba--hover { cursor: pointer; }
.ba--hover .ba__layer img { transition: transform 1.2s var(--ease-out); }
.ba--hover .ba__before { transition: clip-path .9s var(--ease-out); clip-path: inset(0 0 0 0); }
.ba--hover .ba__label--after { opacity: 0; }
.ba--hover:hover .ba__before, .ba--hover:focus-visible .ba__before, .ba--hover.is-after .ba__before { clip-path: inset(0 0 0 100%); }
.ba--hover:hover .ba__label--after, .ba--hover:focus-visible .ba__label--after, .ba--hover.is-after .ba__label--after { opacity: 1; }
.ba--hover:hover .ba__label--before, .ba--hover:focus-visible .ba__label--before, .ba--hover.is-after .ba__label--before { opacity: 0; }
.ba--hover:hover .ba__layer img, .ba--hover.is-after .ba__layer img { transform: scale(1.05); }
.ba--hover:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.works__empty { text-align: center; color: var(--muted); padding: 48px 0; }

@media (max-width: 960px) {
  .works__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .works__grid { grid-template-columns: 1fr; }
  .filters-bar { padding: 10px var(--gutter); }
  .filters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; width: 100%; }
  .filter { height: 36px; padding: 0 4px; font-size: 13px; }
  .filters .filter-link { grid-column: span 2; justify-content: center; height: 36px; padding: 0 8px; font-size: 13px; }
}

/* =========================================================
   Services
   ========================================================= */
.services { background: var(--surface); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service {
  position: relative;
  padding: clamp(28px, 3.4vw, 44px);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background-color .5s var(--ease), color .5s var(--ease);
  overflow: hidden;
}
.service::before {
  content: ""; position: absolute; inset: 0; background: var(--dark);
  transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease-out); z-index: 0;
}
.service > * { position: relative; z-index: 1; }
.service:hover::before { transform: scaleY(1); }
.service:hover { color: #fff; }
.service:hover p { color: rgba(255,255,255,.7); }
.service__icon { width: 44px; height: 44px; fill: none; stroke: var(--accent); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s, transform .6s var(--ease-out); }
.service:hover .service__icon { stroke: var(--accent-light); transform: translateY(-4px); }
.service h3 { margin-top: 36px; font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
.service p { margin-top: 10px; font-size: 15px; color: var(--muted); transition: color .4s; }
@media (max-width: 860px) { .services__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .services__grid { grid-template-columns: 1fr; } .service h3 { margin-top: 20px; } }

/* =========================================================
   Partners (B2B)
   ========================================================= */
.pt-kicker { font-size: clamp(16px, 1.6vw, 20px); font-weight: 600; letter-spacing: -0.01em; color: var(--accent-light); }
.pt-title { margin-top: 14px; font-size: clamp(30px, 4.9vw, 68px); font-weight: 800; line-height: 1.18; letter-spacing: -0.045em; color: #fff; }
.pt-title em {
  position: relative; display: inline-block; font-style: normal;
  background: linear-gradient(100deg, #E9C995 0%, #D4AE7A 30%, #FFF3DC 48%, #D4AE7A 62%, #E9C995 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #E9C995;
  animation: heroShine 5.5s 1.4s linear infinite;
}
.pt-title em::after {
  content: ""; position: absolute; left: .02em; right: .1em; bottom: -.02em; height: .07em; border-radius: 99px;
  background: linear-gradient(90deg, #E9C995, rgba(233,201,149,.12));
  transform: scaleX(0); transform-origin: left; transition: transform 1.1s .6s var(--ease-out);
}
.pt-title.is-in em::after { transform: scaleX(1); }
.partners--page .partners__lead { margin: 26px 0 36px; font-size: clamp(16px, 1.5vw, 18px); line-height: 1.85; }
.partners--page .partners__inner { grid-template-columns: 1fr; gap: clamp(40px, 6vw, 72px); }
.partners--page .partners__list { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: clamp(20px, 3vw, 40px); }
.partners--page .partners__list li { border-top: 1px solid rgba(255,255,255,.14); border-bottom: 0; }
@media (max-width: 860px) {
  .partners--page .partners__list { grid-template-columns: 1fr; }
  .partners--page .partners__list li:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
  .partners--page .partners__lead br { display: none; }
}
.partners--page { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-top: calc(var(--header-h) + clamp(56px, 8vw, 110px)); }
.text-link { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.partners { position: relative; color: #fff; background: var(--dark); overflow: hidden; }
.partners__bg { position: absolute; inset: 0; opacity: .22; }
.partners__bg img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.partners::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--dark) 20%, rgba(23,21,19,.6) 100%); }
.partners__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.partners__lead { margin: 28px 0 40px; font-size: 17px; line-height: 1.9; color: rgba(255,255,255,.75); }
.partners__lead strong { color: var(--accent-light); }
.partners__list li { display: flex; gap: 24px; padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.partners__list li:first-child { border-top: 1px solid rgba(255,255,255,.14); }
.partners__list span { font-family: var(--font-serif); font-size: 22px; color: var(--accent-light); line-height: 1.3; }
.partners__list h3 { font-size: 20px; font-weight: 600; }
.partners__list p { margin-top: 6px; font-size: 15px; color: rgba(255,255,255,.62); }
@media (max-width: 860px) { .partners__inner { grid-template-columns: 1fr; } }

/* =========================================================
   Partner page sections
   ========================================================= */
.b2b-pains__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.b2b-pain { padding: clamp(24px, 2.6vw, 32px); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; transition: border-color .4s, box-shadow .6s var(--ease-out), translate .6s var(--ease-out), opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: 0s, 0s, 0s, var(--d, 0s), var(--d, 0s); }
.b2b-pain:hover { border-color: var(--accent-light); box-shadow: 0 18px 40px rgba(23,21,19,.07); translate: 0 -4px; }
.b2b-pain__num { font-family: var(--font-serif); font-size: 20px; font-weight: 600; color: var(--accent); }
.b2b-pain h3 { margin-top: 14px; font-size: 20px; font-weight: 700; letter-spacing: -0.03em; }
.b2b-pain p { margin-top: 8px; font-size: 15px; color: var(--muted); line-height: 1.6; }
.b2b-scope { background: var(--surface); }
.b2b-scope__inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.b2b-scope__inner .section-head { margin-bottom: 0; }
.b2b-scope__list { border-top: 1px solid var(--ink); }
.b2b-scope__list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.b2b-scope__list strong { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.b2b-scope__list span { font-size: 15px; color: var(--muted); text-align: right; }
.b2b-scope__list li.b2b-scope__more { display: block; padding: 0; border-bottom: 0; margin-top: 14px; }
.b2b-scope__more a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; border-radius: 12px;
  background: var(--bg); border: 1px dashed color-mix(in srgb, var(--accent) 55%, transparent);
  transition: background-color .35s, border-color .35s, color .35s;
}
.b2b-scope__more-text { display: flex; flex-direction: column; gap: 4px; text-align: left !important; color: inherit !important; }
.b2b-scope__more-text strong { font-size: 17px; color: var(--ink); }
.b2b-scope__more-text em { font-style: normal; font-size: 14px; color: var(--muted); }
.b2b-scope__more-cta { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: 14px !important; font-weight: 700; color: var(--accent) !important; white-space: nowrap; }
.b2b-scope__more-cta b { transition: transform .35s var(--ease-out); }
.b2b-scope__more a:hover { background: var(--accent); border-color: var(--accent); }
.b2b-scope__more a:hover strong, .b2b-scope__more a:hover em, .b2b-scope__more a:hover .b2b-scope__more-cta { color: #fff !important; }
.b2b-scope__more a:hover .b2b-scope__more-cta b { transform: translateX(4px); }
@media (max-width: 600px) {
  .b2b-scope__more a { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 18px; }
}
.b2b-stats { padding: clamp(56px, 7vw, 88px) 0; background: var(--dark); color: #fff; }
.b2b-stats__title { text-align: center; font-size: clamp(18px, 1.8vw, 22px); font-weight: 600; color: rgba(255,255,255,.75); }
.b2b-stats__list { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); }
.b2b-stats__list li { text-align: center; padding: 8px 12px; border-left: 1px solid rgba(255,255,255,.12); }
.b2b-stats__list li:first-child { border-left: 0; }
.b2b-stats__list strong { display: block; font-size: clamp(30px, 4vw, 48px); font-weight: 800; letter-spacing: -0.03em; color: var(--accent-light); }
.b2b-stats__list span { display: block; margin-top: 6px; font-size: clamp(13px, 1.3vw, 15px); color: rgba(255,255,255,.7); }
@media (max-width: 960px) {
  .b2b-pains__grid { grid-template-columns: 1fr 1fr; }
  .b2b-scope__inner { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .b2b-pains__grid { grid-template-columns: 1fr; }
  .b2b-pain { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: baseline; padding: 18px 22px; }
  .b2b-pain__num { grid-row: span 2; }
  .b2b-pain h3 { margin-top: 0; font-size: 18px; }
  .b2b-pain p { margin-top: 4px; }
  .b2b-stats__list strong { font-size: 24px; }
  .b2b-stats__list li { padding: 6px 4px; }
}

/* =========================================================
   Process
   ========================================================= */
.process__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 36px; }
.step::before { content: ""; position: absolute; top: 0; left: 0; right: -24px; height: 1px; background: var(--line); }
.step::after {
  content: ""; position: absolute; top: -5px; left: 0; width: 11px; height: 11px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--accent);
  transition: background-color .4s;
}
.step.is-in::after { background: var(--accent); transition-delay: calc(var(--d, 0s) + .4s); }
.step:last-child::before { right: 0; }
.step__num { font-family: var(--font-serif); font-size: 14px; font-weight: 600; letter-spacing: .16em; color: var(--accent); }
.step h3 { margin-top: 12px; font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
.step p { margin-top: 10px; font-size: 15px; color: var(--muted); }
@media (max-width: 860px) {
  .process__list { grid-template-columns: 1fr; gap: 0; }
  .step { padding: 0 0 36px 32px; }
  .step::before { top: 6px; bottom: 0; left: 5px; right: auto; width: 1px; height: auto; }
  .step::after { top: 1px; }
  .step:last-child::before { display: none; }
}

/* =========================================================
   FAQ
   ========================================================= */
.faq { background: var(--surface); }
.faq__grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__grid .section-head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq__list { border-top: 1px solid var(--ink); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 0;
  font-size: 18px; font-weight: 600; letter-spacing: -0.02em;
  transition: color .3s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before { content: "Q."; font-family: var(--font-serif); font-size: 22px; color: var(--accent); font-weight: 500; margin-right: -8px; }
.qa summary::after {
  content: ""; flex: none; margin-left: auto;
  width: 14px; height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat;
  transition: transform .4s var(--ease-out);
}
.qa[open] summary::after { transform: rotate(45deg); }
.qa summary:hover { color: var(--accent); }
.qa__a { overflow: hidden; }
.qa__a p { padding: 0 0 28px 34px; color: var(--ink-2); font-size: 16px; line-height: 1.85; }
@media (max-width: 860px) {
  .faq__grid { grid-template-columns: 1fr; }
  .faq__grid .section-head { position: static; }
  .qa summary { font-size: 16px; padding: 22px 0; }
}

/* =========================================================
   Contact CTA
   ========================================================= */
.contact {
  position: relative; overflow: hidden;
  padding: clamp(110px, 14vw, 180px) 0;
  background: radial-gradient(ellipse at 50% 120%, #3A2F24 0%, var(--dark) 60%);
  color: #fff; text-align: center;
}
.contact::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; margin: -450px 0 0 -450px;
  border: 1px solid rgba(201,167,124,.14); border-radius: 50%;
  animation: ring 14s linear infinite;
}
.contact::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 620px; height: 620px; margin: -310px 0 0 -310px;
  border: 1px dashed rgba(201,167,124,.12); border-radius: 50%;
  animation: ring 22s linear infinite reverse;
}
@keyframes ring { to { transform: rotate(360deg); } }
.contact__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.contact__title { font-size: clamp(34px, 5.6vw, 68px); font-weight: 600; line-height: 1.25; letter-spacing: -0.04em; }
.contact__accent { background: linear-gradient(100deg, #E9C995, #F6E3C0 50%, #C9A77C); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #E9C995; }
@media (max-width: 640px) { .contact__title { font-size: 28px; } }
.contact__phone {
  margin-top: 36px;
  font-family: var(--font-serif); font-size: clamp(44px, 7.4vw, 92px); font-weight: 500; letter-spacing: .01em; line-height: 1;
  color: var(--accent-light);
  background: linear-gradient(90deg, var(--accent-light), #F3DDBB, var(--accent-light));
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: shine 5s linear infinite;
}
@keyframes shine { to { background-position: -200% 0; } }
.contact__hours { margin-top: 18px; color: rgba(255,255,255,.6); font-size: 15px; }
.contact__actions { margin-top: 44px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* =========================================================
   Footer
   ========================================================= */
.footer { background: #0F0E0D; color: rgba(255,255,255,.55); padding: 56px 0 64px; font-size: 14px; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.footer__logo { display: flex; align-items: center; gap: 12px; color: #fff; font-size: 19px; font-weight: 500; letter-spacing: -0.03em; }
.footer__logo em { font-family: var(--font-serif); font-style: normal; font-size: 12px; letter-spacing: .26em; color: var(--accent-light); margin-left: 8px; font-weight: 600; }
.footer__mark { width: 36px; height: 40px; }
.footer__slogan { margin-top: 8px; }
.footer__info { text-align: right; line-height: 1.9; }
.footer__info a { color: #fff; }
.footer__copy { margin-top: 10px; font-size: 12px; opacity: .7; }
@media (max-width: 640px) { .footer__info { text-align: left; } .footer { padding-bottom: 110px; } }

/* =========================================================
   Quick contact (floating / mobile bar)
   ========================================================= */
.quick {
  position: fixed; right: 24px; bottom: 24px; z-index: 40;
  display: flex; flex-direction: column; gap: 10px;
  opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity .5s, transform .6s var(--ease-out);
}
.quick.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.quick__btn {
  display: flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 22px 0 18px;
  border-radius: 999px;
  font-size: 15px; font-weight: 600;
  box-shadow: 0 12px 32px rgba(23,21,19,.22);
  transition: transform .4s var(--ease-out), background-color .3s;
}
.quick__btn:hover { transform: translateY(-3px); }
.quick__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.quick__btn--call { background: var(--accent); color: #fff; }
.quick__btn--call:hover { background: var(--ink); }
.quick__btn--sms { background: #fff; color: var(--ink); }

@media (max-width: 640px) {
  .quick {
    left: 0; right: 0; bottom: 0; flex-direction: row; gap: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(246,242,236,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    opacity: 1; transform: none; pointer-events: auto;
  }
  .quick__btn { flex: 1; justify-content: center; height: 50px; box-shadow: none; border-radius: 10px; }
  .quick__btn + .quick__btn { margin-left: 8px; }
  .quick__btn--sms { border: 1px solid var(--line); }
}

/* =========================================================
   Case popup (lightbox)
   ========================================================= */
.work__info, .ba--hover { cursor: pointer; }
.work__info h3 { transition: color .3s; }
.work__info:hover h3 { color: var(--accent); }
.ba__zoom {
  position: absolute; right: 12px; bottom: 12px; z-index: 6;
  display: inline-flex; align-items: center; gap: 6px;
  height: 34px; padding: 0 12px;
  font-size: 12.5px; font-weight: 600; color: var(--ink);
  background: rgba(255,255,255,.92); border-radius: 999px;
  box-shadow: 0 6px 18px rgba(23,21,19,.18);
  transition: transform .35s var(--ease-out), background-color .3s, color .3s;
}
.ba__zoom svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ba__zoom:hover { background: var(--ink); color: #fff; translate: 0 -2px; }

.lb { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.lb[hidden] { display: none; }
.lb__backdrop { position: absolute; inset: 0; background: rgba(15,13,12,.82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s var(--ease); }
.lb__panel {
  position: relative; width: min(920px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto;
  padding: clamp(14px, 2vw, 22px); background: var(--surface); border-radius: 18px;
  box-shadow: 0 40px 80px rgba(0,0,0,.35);
  opacity: 0; transform: translateY(28px) scale(.97);
  transition: opacity .4s var(--ease-out), transform .5s var(--ease-out);
}
.lb.is-open .lb__backdrop { opacity: 1; }
.lb.is-open .lb__panel { opacity: 1; transform: none; }
.lb__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.lb__count { font-family: var(--font-serif); font-size: 16px; font-weight: 600; letter-spacing: .08em; color: var(--accent); }
.lb__close { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--bg-alt); color: var(--ink); transition: background-color .3s, color .3s; }
.lb__close:hover { background: var(--ink); color: #fff; }
.lb__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.lb__ba { width: 100%; aspect-ratio: 4 / 3; max-height: 62vh; max-height: 62dvh; border-radius: 12px; }
.lb__info { padding: 18px 4px 4px; }
.lb__info h3 { margin-top: 10px; font-size: clamp(19px, 2.2vw, 24px); font-weight: 700; letter-spacing: -0.03em; }
.lb__info p { margin-top: 6px; font-size: 15px; color: var(--muted); }
.lb__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.lb__nav[hidden] { display: none; }
.lb__btn { height: 48px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; font-weight: 600; transition: background-color .3s, color .3s, border-color .3s; }
.lb__btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (max-width: 600px) {
  .lb { padding: 10px; align-items: end; }
  .lb__panel { border-radius: 16px; padding: 12px; }
  .lb__ba { max-height: 56vh; max-height: 56dvh; }
  .ba__zoom span { display: none; }
  .ba__zoom { width: 34px; padding: 0; justify-content: center; }
}

/* =========================================================
   Mobile spacing tune-up
   ========================================================= */
@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
  .works .section-head { margin-bottom: 20px; }
  .contact { padding: 80px 0; }
  .b2b-stats { padding: 48px 0; }
  .eyebrow { font-size: 12px; letter-spacing: .12em; gap: 10px; margin-bottom: 14px; }
  .eyebrow::before { width: 20px; }
  .hero__scroll { display: none; }
  .intro__pains { margin-top: 28px; }
  .intro__close { margin-top: 24px; padding-top: 22px; }
}

/* =========================================================
   Scroll reveal
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
}

/* ---------- 사진 워터마크 ---------- */
.ba::after, .about__photo::after {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; pointer-events: none;
  width: 150px; height: 27px; opacity: .78;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 124 22%22%3E%3Cg fill=%22none%22 stroke=%22%23fff%22 stroke-width=%221.3%22%3E%3Cpath d=%22M9.5 1 18.5 8.4V21H.5V8.4Z%22/%3E%3Cpath d=%22M9.5 5.6 14.6 9.8V17H4.4V9.8Z%22/%3E%3C/g%3E%3Ctext x=%2225%22 y=%2215.6%22 fill=%22%23fff%22 font-family=%22Segoe UI,Helvetica Neue,Arial,sans-serif%22 font-size=%2213.5%22 textLength=%2297%22 lengthAdjust=%22spacingAndGlyphs%22 letter-spacing=%22-.2%22%3E%3Ctspan font-weight=%22700%22%3Ethenaeun%3C/tspan%3E%3Ctspan font-weight=%22400%22%3Erepair%3C/tspan%3E%3C/text%3E%3C/svg%3E");
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.45));
}
.lb__ba::after { width: 186px; height: 33px; }
@media (max-width: 600px) {
  .ba::after, .about__photo::after { width: 124px; height: 22px; }
  .lb__ba::after { width: 146px; height: 26px; }
}

/* ---------- 언어 전환 (KO / EN) ---------- */
.lang-switch { display: flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .08em; line-height: 1; }
.lang-switch a { padding: 6px 9px; border-radius: 999px; opacity: .7; transition: opacity .3s, background-color .3s; }
.lang-switch a:hover { opacity: 1; }
.lang-switch a.is-current { opacity: 1; background: rgba(255,255,255,.2); }
.header.is-scrolled .lang-switch, .header.is-open .lang-switch { border-color: rgba(23,21,19,.16); }
.header.is-scrolled .lang-switch a.is-current, .header.is-open .lang-switch a.is-current { background: var(--ink); color: #fff; }
@media (max-width: 960px) { .header__inner { gap: 10px; } }

/* 영어 페이지: 영문에 맞게 자간 조정 */
html[lang="en"] .hero__title, html[lang="en"] .h2, html[lang="en"] .pt-title, html[lang="en"] .contact__title { letter-spacing: -0.025em; }
html[lang="en"] .howto__list li { grid-template-columns: 80px 1fr; }
.nav a, .logo__text strong, .logo__text em, .header__cta { white-space: nowrap; }
@media (min-width: 961px) and (max-width: 1200px) {
  .header__inner { gap: 20px; }
  .nav { gap: 20px; font-size: 14.5px; }
}

/* 영문 로고 이름: the(세리프 이탤릭) + naeun + repair(골드) */
.wm-en { letter-spacing: -0.03em; }
.wm-en i { font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: 1.12em; letter-spacing: 0; margin-right: .06em; opacity: .9; }
.logo__text strong.wm-en { font-size: 21px; font-weight: 500; }
.logo__text strong.wm-en b { font-weight: 800; }
.footer__logo .wm-en b { font-weight: 800; }
@media (max-width: 600px) {
  .logo__text strong.wm-en { font-size: 19px; }
  .logo__text strong.wm-en + em { font-size: 9.5px; letter-spacing: .17em; }
}

/* 크게 보기 팝업 아래 '더 많은 사례 보기' 링크 */
.lb__more { display: flex; align-items: center; justify-content: center; gap: 6px; height: 48px; margin-top: 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 600; transition: background-color .3s, transform .3s var(--ease-out); }
.lb__more span { transition: transform .3s var(--ease-out); }
.lb__more:hover { background: var(--accent); }
.lb__more:hover span { transform: translate(2px, -2px); }

/* 업체 협업 페이지: '더 많은 작업 보기' 버튼을 눈에 띄게 */
.b2b-cases .filter-link { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 10px 24px -12px rgba(23,21,19,.55); transition: background-color .3s, color .3s, border-color .3s, translate .3s, opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.b2b-cases .filter-link span { color: var(--accent-light); }
.b2b-cases .filter-link:hover { background: var(--accent); border-color: var(--accent); color: #fff; translate: 0 -2px; }
.b2b-cases .filter-link:hover span { color: #fff; }

/* 모바일 메뉴 버튼(두 줄)이 좁은 휴대폰에서 찌그러져 안 보이던 문제 수정 */
.menu-btn { flex: none; }
.lang-switch { flex: none; }
.logo { min-width: 0; }
@media (max-width: 420px) {
  .logo { gap: 9px; }
  .logo__mark { width: 34px; height: 38px; }
  .logo__text strong { font-size: 19px; }
  .logo__text em { font-size: 9.5px; letter-spacing: .16em; }
  .lang-switch { font-size: 11px; }
  .lang-switch a { padding: 5px 7px; }
  .menu-btn { margin-right: -8px; }
}
