:root {
  --bg: #faf9f6;
  --paper: #ffffff;
  --ink: #0c1220;
  --ink-2: #1b2236;
  --sub: #57607a;
  --mute: #8b93a8;
  --line: #e4e3dd;
  --gold: #a07a2c;
  --gold-bright: #caa04d;
  --gold-soft: rgba(160,122,44,0.08);
  --navy: #0a1a3d;
  --navy-2: #112a5c;
  --red: #b0321f;
  --ok: #1f7a4d;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 600ms;
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Pretendard Variable', Pretendard, system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; }
::selection { background: var(--navy); color: #fff; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.m-br { display: none; }
@media (max-width: 720px) { .m-br { display: inline; } }

/* ─────── Top bar ─────── */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 110;
  background: var(--navy);
  color: #e7e9f0;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar__inner {
  max-width: var(--container); margin: 0 auto;
  padding: 10px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.topbar__badge {
  display: inline-flex; align-items: center; gap: 8px;
  letter-spacing: 0.02em;
}
.topbar__badge .dot {
  width: 7px; height: 7px; border-radius: 999px;
  background: var(--gold-bright);
  box-shadow: 0 0 0 0 rgba(202,160,77,0.6);
  animation: pulse 1.6s var(--ease) infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(202,160,77,0.5); }
  70% { box-shadow: 0 0 0 8px rgba(202,160,77,0); }
  100% { box-shadow: 0 0 0 0 rgba(202,160,77,0); }
}
.topbar__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.topbar__cta {
  padding: 5px 14px;
  border: 1px solid rgba(255,255,255,0.18);
  transition: background 220ms var(--ease), color 220ms var(--ease), border-color 220ms var(--ease);
  white-space: nowrap;
}
.topbar__cta:hover { background: var(--gold-bright); color: var(--navy); border-color: var(--gold-bright); }
.topbar__cta--phone { color: var(--gold-bright); border-color: var(--gold-bright); }
.topbar__cta--phone:hover { background: var(--gold-bright); color: var(--navy); }
@media (max-width: 720px) {
  .topbar__inner { padding: 8px 16px; flex-wrap: wrap; gap: 8px; }
  .topbar__badge { font-size: 11px; }
  .topbar__cta { padding: 4px 10px; font-size: 12px; }
  .topbar__cta--book { display: none; }
}

/* ─────── Header ─────── */
.header {
  position: fixed; top: 41px; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: top 300ms var(--ease);
}
@media (max-width: 720px) {
  .header { top: 70px; }
}
.header__inner {
  max-width: var(--container); margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo__mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  background: var(--navy);
  color: var(--gold-bright);
  font-family: 'Playfair Display', serif;
  font-weight: 700; font-style: italic; font-size: 20px;
  letter-spacing: -0.04em;
}
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__ko { font-size: 15px; color: var(--ink); font-weight: 500; }
.logo__ko b { color: var(--gold); font-weight: 700; }
.logo__en {
  font-family: 'Playfair Display', serif;
  font-size: 11px; color: var(--sub); letter-spacing: 0.15em;
}
.gnb ul { display: flex; gap: 28px; align-items: center; }
.gnb a {
  font-size: 14px; color: var(--ink-2); font-weight: 500;
  position: relative; padding: 6px 2px;
  transition: color 220ms var(--ease);
}
.gnb a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 400ms var(--ease);
}
.gnb a:hover::after { transform: scaleX(1); }
.gnb a:hover { color: var(--gold); }
.gnb__cta {
  padding: 9px 18px !important;
  background: var(--navy); color: #fff !important;
  letter-spacing: 0.02em;
}
.gnb__cta::after { display: none; }
.gnb__cta:hover { background: var(--gold); color: var(--navy) !important; }

.burger { display: none; width: 40px; height: 40px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.burger span { width: 22px; height: 1.5px; background: var(--ink); transition: transform 300ms var(--ease), opacity 200ms var(--ease); }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 960px) {
  .gnb { display: none; }
  .burger { display: flex; }
}

/* Drawer */
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 200;
  width: min(86vw, 380px);
  background: var(--paper);
  transform: translateX(100%);
  transition: transform 400ms var(--ease);
  padding: 80px 28px 28px;
  display: flex; flex-direction: column; gap: 20px;
  box-shadow: -20px 0 60px rgba(10,26,61,0.08);
}
.drawer.is-open { transform: translateX(0); }
.drawer__item { font-size: 18px; color: var(--ink); border-bottom: 1px solid var(--line); padding: 14px 0; }
.drawer__item--cta { color: var(--gold); font-weight: 600; border-bottom: 0; margin-top: 8px; }
.drawer__contact { margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--sub); display: flex; flex-direction: column; gap: 6px; }
.drawer__contact a { font-weight: 700; color: var(--navy); font-size: 18px; }

/* ─────── Common section primitives ─────── */
section { padding: clamp(80px, 12vw, 160px) 0; scroll-margin-top: 130px; }
.section-label {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--sub); margin-bottom: 24px;
}
.section-label span:first-child { color: var(--gold); font-weight: 600; }
.section-label i { display: block; width: 36px; height: 1px; background: var(--line); }
.section-title {
  font-family: 'Playfair Display', 'Pretendard Variable', serif;
  font-size: clamp(36px, 5.2vw, 72px);
  line-height: 1.12; letter-spacing: -0.03em;
  font-weight: 500;
  margin-bottom: 18px;
}
.section-title .accent {
  font-style: italic; color: var(--gold);
  font-family: 'Playfair Display', serif;
}
.section-lead {
  font-size: clamp(15px, 1.3vw, 18px);
  color: var(--sub);
  max-width: 62ch;
  margin-bottom: 40px;
}

/* ─────── Buttons ─────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px;
  font-size: 15px; font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid var(--ink);
  transition: all 300ms var(--ease);
  cursor: pointer;
}
.btn--primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--primary:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }

/* ─────── Hero ─────── */
.hero {
  position: relative;
  min-height: min(860px, 100vh);
  padding: clamp(140px, 14vw, 200px) 0 clamp(60px, 8vw, 120px);
  overflow: hidden;
  background: linear-gradient(180deg, #f5f1e9 0%, var(--bg) 100%);
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 700px 400px at 82% 20%, rgba(160,122,44,0.18), transparent 60%),
    radial-gradient(ellipse 500px 300px at 10% 80%, rgba(10,26,61,0.08), transparent 60%);
  pointer-events: none;
}
.hero::before {
  content: "JUSTICE";
  position: absolute; right: -6%; bottom: -15%;
  font-family: 'Playfair Display', serif;
  font-style: italic; font-size: clamp(180px, 28vw, 520px);
  color: rgba(10,26,61,0.045);
  letter-spacing: -0.04em;
  line-height: 0.85;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.hero__inner {
  max-width: var(--container); margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative; z-index: 2;
}
.hero__tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; letter-spacing: 0.16em;
  color: var(--gold); font-weight: 600;
  padding: 8px 16px;
  border: 1px solid var(--gold);
  background: rgba(255,255,255,0.6);
  margin-bottom: 32px;
}
.hero__title {
  font-family: 'Playfair Display', 'Pretendard Variable', serif;
  font-size: clamp(44px, 7.2vw, 110px);
  line-height: 1.02; letter-spacing: -0.04em;
  font-weight: 500;
  margin-bottom: 32px;
  max-width: 16ch;
}
.hero__accent {
  font-style: italic; color: var(--navy);
  display: inline-block; position: relative;
}
.hero__accent::after {
  content: ""; position: absolute; left: 0; right: 6%; bottom: 6px;
  height: 8px; background: var(--gold); opacity: 0.3;
  z-index: -1;
}
.hero__sub {
  font-size: clamp(15px, 1.3vw, 19px);
  color: var(--sub); max-width: 54ch;
  line-height: 1.75;
  margin-bottom: 40px;
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 80px; }
.hero__stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  padding-top: 30px;
  gap: 24px;
}
@media (max-width: 720px) { .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
.stat {
  display: flex; flex-direction: column; gap: 4px;
}
.stat b {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 500; color: var(--ink);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--sub);
}
.hero__scroll {
  position: absolute; right: var(--gutter); bottom: 32px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.16em;
  color: var(--sub);
  writing-mode: vertical-rl;
}
@media (max-width: 960px) { .hero__scroll { display: none; } }

/* ─────── About ─────── */
.about { background: var(--paper); }
.about__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
}
@media (max-width: 960px) { .about__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .about__grid { grid-template-columns: 1fr; } }
.valueCard {
  padding: 40px 28px;
  border: 1px solid var(--line);
  background: var(--bg);
  transition: transform 400ms var(--ease), border-color 400ms var(--ease), box-shadow 400ms var(--ease);
  position: relative;
}
.valueCard:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 30px 60px -20px rgba(160,122,44,0.18);
}
.valueCard__num {
  font-family: 'Playfair Display', serif;
  font-style: italic; font-size: 28px; color: var(--gold);
  margin-bottom: 18px;
}
.valueCard h3 {
  font-family: 'Pretendard Variable', sans-serif;
  font-size: 20px; font-weight: 700; margin-bottom: 12px;
  color: var(--ink);
}
.valueCard p { font-size: 14.5px; color: var(--sub); line-height: 1.75; }
.valueCard p b { color: var(--navy); font-weight: 700; }

/* ─────── Fields ─────── */
.fields { background: var(--bg); }
.fields__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 50px;
}
@media (max-width: 960px) { .fields__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .fields__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.fieldCard {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: 28px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: transform 300ms var(--ease), border-color 300ms var(--ease), background 300ms var(--ease);
  min-height: 140px;
}
.fieldCard:hover { transform: translateY(-4px); border-color: var(--navy); background: var(--navy); color: #fff; }
.fieldCard:hover .fieldCard__ico { color: var(--gold-bright); }
.fieldCard:hover span:last-child { color: rgba(255,255,255,0.7); }
.fieldCard__ico {
  font-size: 28px; color: var(--gold);
  line-height: 1;
  transition: color 300ms var(--ease);
}
.fieldCard b { font-size: 17px; font-weight: 700; }
.fieldCard span:last-child { font-size: 12px; color: var(--sub); }

/* ─────── Lawyers ─────── */
.lawyers { background: var(--paper); }
.lawyers__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 40px;
}
@media (max-width: 720px) { .lawyers__grid { grid-template-columns: 1fr; gap: 20px; } }
.lawyer {
  display: grid; grid-template-columns: 130px 1fr;
  gap: 24px;
  padding: 28px;
  background: linear-gradient(180deg, #fefdfb 0%, var(--bg) 100%);
  border: 1px solid var(--line);
  transition: transform 400ms var(--ease), border-color 400ms var(--ease);
}
.lawyer:hover { transform: translateY(-4px); border-color: var(--gold); }
.lawyer__avatar {
  width: 130px; height: 160px;
  background:
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  position: relative;
}
.lawyer__avatar::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(255,255,255,0.15), transparent 50%);
}
.lawyer__avatar::after {
  content: ""; position: absolute; left: 20%; top: 20%; right: 20%; bottom: 45%;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(202,160,77,0.5);
}
.lawyer__body { display: flex; flex-direction: column; gap: 6px; }
.lawyer__badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.06em;
  color: var(--gold); font-weight: 600;
  background: var(--gold-soft);
  padding: 4px 10px;
  align-self: flex-start;
  margin-bottom: 4px;
}
.lawyer h3 {
  font-family: 'Playfair Display', 'Pretendard Variable', serif;
  font-size: 24px; font-weight: 500;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}
.lawyer h3 span { font-family: 'Pretendard Variable', sans-serif; font-size: 14px; color: var(--sub); margin-left: 8px; font-weight: 500; }
.lawyer ul { display: flex; flex-direction: column; gap: 5px; }
.lawyer li {
  font-size: 13.5px; color: var(--sub);
  padding-left: 12px; position: relative;
}
.lawyer li::before { content: "—"; position: absolute; left: 0; color: var(--gold); }
.lawyers__cta { text-align: center; margin-top: 50px; }

/* ─────── Cases ─────── */
.cases { background: var(--bg); }
.cases__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 50px;
}
@media (max-width: 960px) { .cases__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cases__grid { grid-template-columns: 1fr; } }
.caseCard {
  position: relative;
  padding: 28px 24px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--ok);
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease);
}
.caseCard--settle { border-left-color: var(--gold); }
.caseCard:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -15px rgba(10,26,61,0.12); }
.caseCard__tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.08em; font-weight: 600;
  color: var(--navy);
  padding: 4px 10px;
  background: rgba(10,26,61,0.06);
  margin-bottom: 14px;
}
.caseCard h3 {
  font-size: 19px; font-weight: 600; color: var(--ink);
  line-height: 1.35;
  margin-bottom: 10px;
}
.caseCard h3 b {
  color: var(--navy);
  font-weight: 800;
  background: linear-gradient(180deg, transparent 65%, var(--gold-soft) 65%);
  padding: 0 2px;
}
.caseCard p { font-size: 14px; color: var(--sub); line-height: 1.7; }
.caseCard__footer {
  margin-top: 18px; padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--sub); letter-spacing: 0.04em;
}
.caseCard__result {
  color: var(--ok);
  font-weight: 700;
  letter-spacing: 0.12em;
}
.caseCard--settle .caseCard__result { color: var(--gold); }

/* ─────── Reviews ─────── */
.reviews { background: var(--paper); }
.reviews__wrap {
  position: relative;
  margin-top: 50px;
  display: grid;
  grid-template-columns: 52px 1fr 52px;
  gap: 16px;
  align-items: center;
}
.reviews__nav {
  width: 52px; height: 52px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-size: 18px; color: var(--sub);
  transition: all 220ms var(--ease);
}
.reviews__nav:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.reviews__track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 28px;
  scrollbar-width: none;
}
.reviews__track::-webkit-scrollbar { display: none; }
.review {
  flex: 0 0 100%;
  scroll-snap-align: start;
  padding: 50px 48px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
}
@media (max-width: 720px) { .review { padding: 32px 24px; } }
.review__stars { color: var(--gold); font-size: 18px; letter-spacing: 3px; margin-bottom: 18px; }
.review p {
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.85;
  color: var(--ink-2);
  margin-bottom: 20px;
  font-family: 'Playfair Display', 'Pretendard Variable', serif;
  font-weight: 400;
  font-style: italic;
}
.review p b { font-style: normal; color: var(--navy); font-weight: 700; font-family: 'Pretendard Variable', sans-serif; }
.review__who {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; color: var(--sub); letter-spacing: 0.06em;
}
.reviews__dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.reviews__dots button {
  width: 28px; height: 3px; background: var(--line); transition: background 300ms var(--ease), width 300ms var(--ease);
}
.reviews__dots button.is-active { background: var(--gold); width: 48px; }

/* ─────── Consult ─────── */
.consult {
  background:
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  position: relative; overflow: hidden;
}
.consult::before {
  content: "CONSULT.";
  position: absolute; right: -4%; top: -20%;
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: clamp(180px, 24vw, 400px);
  color: rgba(255,255,255,0.03);
  pointer-events: none;
  letter-spacing: -0.04em;
  line-height: 0.85;
  white-space: nowrap;
}
.consult__frame { position: relative; z-index: 2; }
.consult .section-label { color: rgba(255,255,255,0.7); }
.consult .section-label span:first-child { color: var(--gold-bright); }
.consult .section-label i { background: rgba(255,255,255,0.2); }
.consult__title {
  font-family: 'Playfair Display', 'Pretendard Variable', serif;
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 500; line-height: 1.12; letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.consult__title .accent { font-style: italic; color: var(--gold-bright); }
.consult__sub {
  font-size: clamp(14px, 1.2vw, 17px);
  color: rgba(255,255,255,0.7);
  margin-bottom: 48px;
}
.consult__channels {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 720px) { .consult__channels { grid-template-columns: 1fr; } }
.channel {
  padding: 32px 28px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  transition: background 300ms var(--ease), transform 300ms var(--ease), border-color 300ms var(--ease);
  display: flex; flex-direction: column; gap: 6px;
  color: #fff;
}
.channel:hover { background: rgba(202,160,77,0.15); transform: translateY(-4px); border-color: var(--gold-bright); }
.channel--primary { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.channel--primary:hover { background: var(--gold-bright); border-color: var(--gold-bright); color: var(--navy); }
.channel__ico { font-size: 28px; margin-bottom: 10px; }
.channel b { font-size: 18px; font-weight: 700; }
.channel span { font-size: 15px; opacity: 0.85; }
.channel em {
  font-style: normal;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.06em;
  opacity: 0.7;
  margin-top: 4px;
}

/* ─────── Centers ─────── */
.centers { background: var(--paper); }
.centers__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 50px;
}
@media (max-width: 960px) { .centers__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .centers__grid { grid-template-columns: 1fr; } }
.centerLink {
  padding: 22px 24px;
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px;
  transition: all 280ms var(--ease);
}
.centerLink:hover { border-color: var(--gold); background: var(--gold-soft); }
.centerLink b { font-size: 16px; font-weight: 700; color: var(--ink); }
.centerLink span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--sub);
  letter-spacing: 0.04em;
}

/* ─────── Footer ─────── */
.footer {
  background: var(--ink);
  color: #aab1c5;
  padding: 72px 0 28px;
  font-size: 13.5px;
}
.footer__top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 960px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; gap: 28px; } }
.footer h4 { color: var(--gold-bright); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; font-weight: 600; }
.footer__brand { display: flex; flex-direction: column; gap: 14px; }
.footer__brand .logo__ko { color: #fff; }
.footer__brand .logo__ko b { color: var(--gold-bright); }
.footer__brand .logo__en { color: rgba(255,255,255,0.5); }
.footer__brand p { color: var(--gold-bright); font-family: 'Playfair Display', serif; font-style: italic; font-size: 16px; margin-top: 6px; }
.footer__col p { color: rgba(255,255,255,0.65); line-height: 1.8; }
.footer__col ul { display: flex; flex-direction: column; gap: 6px; }
.footer__col a { color: rgba(255,255,255,0.65); transition: color 200ms var(--ease); }
.footer__col a:hover { color: var(--gold-bright); }
.footer__bottom {
  padding-top: 24px;
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px; color: rgba(255,255,255,0.4); letter-spacing: 0.04em;
}
.footer__note { color: rgba(202,160,77,0.6); }

/* ─────── Side floating CTA ─────── */
.sideCTA {
  position: fixed; right: 20px; bottom: 24px; z-index: 90;
  display: flex; flex-direction: column; gap: 10px;
}
.sideCTA__btn {
  width: 54px; height: 54px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--navy); color: #fff;
  font-size: 20px;
  box-shadow: 0 10px 28px rgba(10,26,61,0.18);
  border-radius: 999px;
  transition: transform 300ms var(--ease), background 300ms var(--ease);
}
.sideCTA__btn:hover { transform: translateY(-4px); background: var(--gold); color: var(--navy); }
.sideCTA__btn--kakao { background: var(--gold); color: var(--navy); }
.sideCTA__btn--kakao:hover { background: var(--gold-bright); }
.sideCTA__btn--top { background: var(--ink); opacity: 0; pointer-events: none; transition: opacity 300ms var(--ease); }
.sideCTA.is-scrolled .sideCTA__btn--top { opacity: 1; pointer-events: auto; }
@media (max-width: 720px) {
  .sideCTA { right: 14px; bottom: 20px; }
  .sideCTA__btn { width: 46px; height: 46px; font-size: 17px; }
}

/* ─────── Reveal animations ─────── */
[data-reveal] {
  opacity: 0; transform: translateY(36px);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
