:root {
  --ink: #171b22;
  --navy: #111b2e;
  --muted: #67707b;
  --paper: #f5f1ea;
  --surface: #ffffff;
  --line: #ddd6ca;
  --gold: #b28a4a;
  --wine: #783d3b;
  --sage: #65725f;
  --shadow: 0 18px 46px rgba(17, 27, 46, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Pretendard,
    "Noto Sans KR",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.7;
}

.home-page {
  height: 100svh;
  min-height: 100%;
  overflow-x: hidden;
}

.home-page .site-footer {
  display: none;
}

.subpage main {
  animation: page-slide-in 260ms ease both;
}

@keyframes page-slide-in {
  from {
    opacity: 0;
    transform: translateX(18px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

h1,
h2,
h3,
p,
li,
a,
span,
strong {
  word-break: keep-all;
  overflow-wrap: break-word;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(178, 138, 74, 0.7);
  outline-offset: 3px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px clamp(20px, 5vw, 68px);
  color: #fff;
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.site-header.is-scrolled,
.subpage .site-header {
  background: rgba(245, 241, 234, 0.94);
  box-shadow: 0 1px 18px rgba(17, 27, 46, 0.12);
  color: var(--ink);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 900;
}

.brand-symbol {
  display: block;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  background: var(--paper);
  border: 0;
  border-radius: 6px;
  box-shadow: none;
  object-fit: contain;
  padding: 3px;
}

.brand-text {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  white-space: nowrap;
}

.brand-text small {
  font-size: 17px;
  font-weight: 800;
}

.brand-text span {
  font-size: 24px;
  font-weight: 900;
}

.site-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 9px 12px 9px 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(17, 27, 46, 0.64);
  box-shadow: 0 12px 30px rgba(10, 16, 28, 0.16);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  backdrop-filter: blur(14px);
}

.site-nav a {
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.site-nav a:hover {
  color: var(--gold);
}

.site-nav .nav-cta {
  padding: 7px 13px;
  border: 1px solid rgba(178, 138, 74, 0.9);
  border-radius: 999px;
  background: rgba(178, 138, 74, 0.18);
  color: #f0d29b;
  font-weight: 800;
}

.site-nav .nav-cta:hover {
  background: var(--gold);
  color: #15130f;
}

.mobile-call-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  display: none;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--gold);
  color: #15130f;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(17, 27, 46, 0.22);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  overflow: hidden;
  padding: 140px clamp(20px, 5vw, 68px) 94px;
  align-items: end;
}

.home-hero {
  align-items: center;
  min-height: 100svh;
  padding-top: 118px;
  padding-bottom: 96px;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 16, 28, 0.76) 0%, rgba(10, 16, 28, 0.42) 43%, rgba(10, 16, 28, 0.12) 100%),
    linear-gradient(0deg, rgba(10, 16, 28, 0.36) 0%, transparent 38%);
}

.hero-content {
  position: relative;
  max-width: 830px;
  color: #fff;
}

.home-hero-content {
  display: grid;
  width: min(100%, 1040px);
  min-height: calc(100svh - 214px);
  align-content: stretch;
  gap: 36px;
  grid-template-rows: minmax(0, 1fr) auto;
  max-width: none;
}

.home-statement {
  align-self: center;
  max-width: 820px;
  transform: translateY(-18px);
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.section h2 {
  margin: 0;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 830px;
  font-size: clamp(38px, 5.2vw, 68px);
  line-height: 1.12;
}

.home-hero h1 {
  max-width: 760px;
  font-size: clamp(38px, 4.4vw, 58px);
  line-height: 1.3;
}

.hero-copy {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2vw, 21px);
}

.home-hero .hero-copy {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 2.15;
}

.home-section {
  position: relative;
}

.home-identity {
  display: grid;
  gap: 5px;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.84);
}

.home-hero-footer {
  display: flex;
  gap: 28px;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.home-identity p {
  margin: 0;
  color: rgba(178, 138, 74, 0.92);
  font-size: 15px;
  font-weight: 900;
}

.home-identity strong {
  color: #fff;
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 900;
}

.home-identity span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

.home-feature-grid {
  display: grid;
  gap: 16px;
}

.home-practice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--line);
  gap: 1px;
}

.home-practice-grid .content-card {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.home-practice-grid .content-card:last-child {
  grid-column: span 1;
}

.process-section,
.faq-section {
  background: #f8f5ef;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--navy);
}

.process-grid article {
  padding: 28px 24px;
  border-bottom: 1px solid var(--line);
}

.process-grid strong {
  color: var(--gold);
  font-size: 24px;
}

.process-grid h3 {
  margin: 10px 0 8px;
  font-size: 22px;
}

.process-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.faq-list {
  display: grid;
  max-width: 920px;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 20px 34px 20px 0;
  color: var(--ink);
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 20px;
  right: 0;
  color: var(--gold);
  content: "+";
  font-size: 22px;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  max-width: 760px;
  margin: 0;
  padding: 0 0 22px;
  color: var(--muted);
  font-size: 17px;
}

.home-contact-cta h2 {
  max-width: 720px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 900;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--gold);
  color: #15130f;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: #fff;
}

.button.outline {
  border: 1px solid var(--gold);
  color: var(--ink);
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--wine);
  font-weight: 900;
}

.section {
  padding: 96px clamp(20px, 5vw, 68px);
}

.intro-section,
.contact-band,
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: clamp(30px, 7vw, 96px);
  align-items: start;
}

.section h2,
.page-hero h1 {
  max-width: 820px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.18;
}

.section p,
.page-hero p {
  margin-top: 0;
  color: var(--muted);
  font-size: 18px;
}

.section-heading {
  margin-bottom: 34px;
}

.lawyers-section,
.insights-section,
.page-content.light {
  background: #fff;
}

.lawyer-grid,
.practice-grid,
.card-grid {
  display: grid;
  gap: 16px;
}

.lawyer-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lawyer-profile-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.lawyer-profile-panel {
  display: grid;
  gap: 22px;
  align-content: start;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.lawyer-profile-intro {
  display: grid;
  gap: 22px;
  align-items: start;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.lawyer-profile-photo {
  display: block;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 4 / 5;
  margin: 0 auto;
  border-radius: 8px;
  background: #e9e2d6;
  box-shadow: 0 18px 36px rgba(17, 27, 46, 0.16);
  object-fit: cover;
  object-position: top center;
}

.lawyer-profile-summary h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
}

.lawyer-profile-summary > p:last-child {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 800;
}

.lawyer-credentials {
  display: grid;
  gap: 6px;
  margin: 18px 0 0;
  padding: 0;
  color: var(--navy);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 900;
  line-height: 1.45;
  list-style: none;
}

.lawyer-field-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.lawyer-field-tags span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 6px 11px;
  border: 1px solid rgba(178, 138, 74, 0.38);
  border-radius: 999px;
  background: #f8f5ef;
  color: #4d5259;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
}

.profile-section {
  padding-top: 18px;
  border-top: 1px solid rgba(221, 214, 202, 0.72);
}

.profile-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.profile-section.education-spacer {
  padding-bottom: 34px;
}

.profile-section h3 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.25;
}

.lawyer-card,
.content-card,
.info-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.lawyer-card.with-photo {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(245, 241, 234, 0.9)),
    var(--surface);
}

.lawyer-card.with-photo::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 42%;
  height: 100%;
  background: linear-gradient(180deg, rgba(178, 138, 74, 0.18), rgba(17, 27, 46, 0.06));
  content: "";
}

.lawyer-card.with-photo > * {
  position: relative;
}

.portrait-placeholder {
  display: grid;
  width: 88px;
  height: 88px;
  margin-bottom: 28px;
  border-radius: 50%;
  place-items: center;
  background: var(--navy);
  color: var(--gold);
  font-size: 34px;
  font-weight: 900;
}

.lawyer-photo {
  display: block;
  width: min(190px, 58vw);
  height: 228px;
  margin-bottom: 28px;
  padding: 8px;
  border: 1px solid rgba(178, 138, 74, 0.36);
  border-radius: 8px;
  object-fit: cover;
  object-position: center top;
  background: #f7f4ee;
  box-shadow: 0 14px 34px rgba(17, 27, 46, 0.16);
}

.lawyer-card p,
.content-card p,
.info-card > p {
  margin: 0 0 4px;
  color: var(--gold);
  font-weight: 900;
}

.info-card > p {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.25;
}

.lawyer-card h3,
.content-card h3 {
  margin: 0 0 8px;
  font-size: 30px;
}

.lawyer-card span,
.content-card span,
.info-card span {
  color: var(--muted);
}

.contact-summary {
  align-items: stretch;
}

.contact-info-card {
  display: grid;
  align-content: start;
  gap: 12px;
}

.contact-info-card h3 {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.35;
}

.contact-info-card .button {
  width: fit-content;
  margin-top: 12px;
}

.section-heading.compact {
  margin-bottom: 24px;
}

.contact-check-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.contact-check-grid span {
  display: grid;
  min-height: 70px;
  place-items: center;
  padding: 14px;
  border: 1px solid rgba(178, 138, 74, 0.28);
  border-radius: 8px;
  background: #fbf8f2;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  text-align: center;
}

.practice-section,
.page-hero.dark {
  background: var(--navy);
  color: #fff;
}

.practice-grid,
.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.practice-grid a,
.practice-grid span {
  min-height: 120px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}

.article-list {
  border-top: 1px solid var(--line);
}

.article-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 120px;
  gap: 18px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.article-row span {
  color: var(--wine);
  font-weight: 900;
}

.article-row strong {
  font-size: 20px;
}

.article-row small {
  color: var(--muted);
  text-align: right;
}

.review-notice {
  max-width: 760px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 17px;
}

.kakao-review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.kakao-review-card {
  display: grid;
  gap: 14px;
}

.kakao-frame {
  display: grid;
  gap: 10px;
  min-height: 360px;
  align-content: end;
  padding: 22px;
  border: 1px solid #d7d0c5;
  border-radius: 8px;
  background: #b9c7d6;
  box-shadow: var(--shadow);
}

.kakao-review-card.is-empty {
  max-width: 520px;
}

.kakao-review-card.is-empty .kakao-frame {
  min-height: 220px;
  align-content: center;
  background: #f2eee7;
}

.kakao-review-card.is-empty .kakao-frame p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 800;
  text-align: center;
}

.kakao-message {
  max-width: 92%;
  justify-self: end;
  padding: 12px 14px;
  border-radius: 8px;
  background: #ffeb3b;
  color: #171b22;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.55;
}

.kakao-review-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.contact-band {
  background: #ebe4d9;
  align-items: center;
}

.contact-band .contact-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  padding: 28px clamp(20px, 5vw, 68px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.subpage main {
  padding-top: 80px;
}

.page-hero {
  padding: 86px clamp(20px, 5vw, 68px);
}

.page-hero.dark p {
  color: rgba(255, 255, 255, 0.76);
}

.attorneys-hero {
  display: grid;
  min-height: 360px;
  align-content: center;
  padding-top: 124px;
  padding-bottom: 70px;
}

.attorneys-hero h1 + p {
  margin-top: 34px;
}

.page-content {
  padding: 72px clamp(20px, 5vw, 68px);
}

.content-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.content-list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.content-list strong {
  display: block;
  margin-bottom: 6px;
}

.numbered-list {
  gap: 0;
  counter-reset: about-step;
}

.numbered-list li {
  padding: 22px 0;
}

.numbered-list strong {
  display: flex;
  gap: 12px;
  align-items: baseline;
  color: var(--ink);
  font-size: 21px;
}

.numbered-list strong span {
  color: var(--gold);
  font-size: 15px;
  font-weight: 900;
}

.numbered-list p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.about-principle-block {
  padding-top: 68px;
}

.about-compact-block {
  padding-top: 74px;
  padding-bottom: 74px;
}

.about-principle-heading {
  max-width: 1180px;
  margin-bottom: 46px;
}

.about-principle-heading h2 {
  margin: 0;
  color: var(--gold);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.22;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.flow-list li {
  display: grid;
  align-content: center;
  text-align: left;
  min-height: 240px;
  padding: 34px;
  border-right: 1px solid var(--line);
}

.flow-list li:last-child {
  border-right: 0;
}

.flow-list strong {
  display: block;
  margin-bottom: 22px;
  color: var(--navy);
  font-size: clamp(25px, 2.2vw, 31px);
  line-height: 1.25;
}

.flow-list p {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.9;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  min-height: 52px;
  padding: 14px 16px 14px 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 800;
}

.check-list li::before {
  position: absolute;
  top: 18px;
  left: 17px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.keyword-step-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.keyword-step-list li {
  display: grid;
  min-height: 150px;
  align-content: center;
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  color: var(--navy);
  font-size: clamp(20px, 1.75vw, 27px);
  font-weight: 900;
  line-height: 1.25;
}

.keyword-step-list li:last-child {
  border-right: 0;
}

.attorney-note {
  align-items: center;
}

.attorney-note h3,
.attorney-note p {
  margin: 0;
  color: var(--navy);
  font-size: clamp(25px, 2.2vw, 31px);
  font-weight: 900;
  line-height: 1.25;
}

.profile-detail {
  display: grid;
  gap: 18px;
}

.profile-list {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  color: #4f5964;
  font-size: 17px;
  line-height: 1.75;
  list-style: none;
}

.profile-list li {
  position: relative;
  padding-left: 15px;
}

.profile-list li::before {
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.full-profile {
  padding-top: 18px;
  border-top: 1px solid rgba(221, 214, 202, 0.72);
}

.full-profile summary {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(178, 138, 74, 0.66);
  border-radius: 8px;
  color: var(--wine);
  cursor: pointer;
  font-size: 16px;
  font-weight: 900;
  list-style: none;
}

.full-profile summary::-webkit-details-marker {
  display: none;
}

.full-profile summary::after {
  margin-left: 10px;
  color: var(--gold);
  content: "+";
}

.full-profile[open] summary::after {
  content: "-";
}

.full-profile-body {
  display: grid;
  gap: 20px;
  margin-top: 22px;
}

.article-body {
  max-width: 820px;
}

.article-body h2 {
  margin-top: 44px;
  font-size: 30px;
}

.article-body p,
.article-body li {
  color: var(--muted);
  font-size: 18px;
}

.inquiry-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(320px, 1.3fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.naver-form-card {
  display: grid;
  gap: 22px;
  align-content: start;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.naver-form-card p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.naver-form-card .button {
  width: fit-content;
}

.map-placeholder {
  display: grid;
  min-height: 280px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ebe4d9;
  color: var(--muted);
  font-size: 20px;
  font-weight: 900;
  text-align: center;
  transition:
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.map-placeholder:hover {
  border-color: var(--gold);
  color: var(--ink);
  transform: translateY(-2px);
}

@media (max-width: 1020px) {
  .site-nav {
    gap: 16px;
    padding-left: 18px;
    font-size: 14px;
  }

  .practice-grid,
  .kakao-review-grid,
  .card-grid,
  .home-practice-grid,
  .process-grid,
  .contact-check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .menu-button {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 20px;
    display: none;
    min-width: 210px;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(17, 27, 46, 0.94);
    color: #fff;
    box-shadow: 0 18px 42px rgba(10, 16, 28, 0.26);
    backdrop-filter: blur(14px);
  }

  .site-nav.is-open {
    display: grid;
    gap: 4px;
  }

  .site-nav a {
    padding: 10px 12px;
  }

  .site-nav .nav-cta {
    padding: 10px 12px;
    text-align: center;
  }

  .mobile-call-float {
    display: inline-flex;
  }

  .hero {
    min-height: 88vh;
    padding-top: 116px;
  }

  .home-hero {
    min-height: 100svh;
    padding-top: 96px;
    padding-bottom: 52px;
  }

  .home-hero-content {
    min-height: calc(100svh - 148px);
    gap: 28px;
  }

  .home-statement {
    transform: none;
  }

  .home-hero-footer {
    display: grid;
    gap: 18px;
    align-items: start;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(10, 16, 28, 0.82), rgba(10, 16, 28, 0.44)),
      linear-gradient(0deg, rgba(10, 16, 28, 0.46), transparent 42%);
  }

  .intro-section,
  .contact-band,
  .two-column,
  .inquiry-layout,
  .lawyer-profile-stack,
  .lawyer-grid,
  .practice-grid,
  .kakao-review-grid,
  .card-grid,
  .check-list,
  .flow-list,
  .keyword-step-list,
  .home-practice-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .keyword-step-list li {
    min-height: 84px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .keyword-step-list li:last-child {
    border-bottom: 0;
  }

  .flow-list li {
    min-height: 0;
    padding: 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .flow-list li + li {
    margin-left: 0;
  }

  .flow-list li:last-child {
    border-bottom: 0;
  }

  .flow-list li:not(:last-child)::after {
    display: none;
  }

  .lawyer-profile-intro {
    align-items: start;
  }

  .lawyer-profile-photo {
    max-width: 260px;
  }

  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .article-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .article-row small {
    text-align: left;
  }

  .contact-band .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 16px 18px;
  }

  .brand {
    gap: 8px;
  }

  .brand-symbol {
    width: 32px;
    height: 32px;
    padding: 3px;
  }

  .hero {
    min-height: 86vh;
    padding: 104px 18px 58px;
  }

  .home-hero {
    min-height: 100svh;
    padding: 92px 18px 46px;
  }

  .home-hero-content {
    min-height: calc(100svh - 138px);
  }

  .hero h1 {
    font-size: 36px;
  }

  .home-hero h1 {
    font-size: 29px;
    line-height: 1.34;
  }

  .home-hero .hero-copy {
    margin-top: 16px;
    line-height: 2;
  }

  .lawyer-profile-intro {
    padding-bottom: 18px;
  }

  .lawyer-profile-photo {
    max-width: 210px;
  }

  .hero-copy,
  .section p,
  .page-hero p,
  .article-body p,
  .article-body li {
    font-size: 16px;
  }

  .contact-check-grid {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

}

/* About page visual refresh */
.about-page {
  background: #f7f3ec;
}

.about-visual-hero {
  position: relative;
  display: grid;
  min-height: 520px;
  align-items: center;
  overflow: hidden;
  padding: 136px clamp(24px, 5vw, 72px) 86px;
  background: var(--navy);
  color: #fff;
}

.about-hero-image,
.about-hero-shade {
  position: absolute;
  inset: 0;
}

.about-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.72;
}

.about-hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 14, 26, 0.94) 0%, rgba(10, 18, 32, 0.78) 44%, rgba(10, 18, 32, 0.2) 100%),
    linear-gradient(0deg, rgba(7, 14, 26, 0.5), rgba(7, 14, 26, 0.08));
}

.about-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.about-hero-copy .section-label,
.about-closing-band .section-label {
  color: #c7a365;
}

.about-hero-copy h1 {
  margin: 18px 0 28px;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: 0;
}

.about-hero-copy > p:last-child {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.9;
}

.about-section {
  padding: 84px clamp(24px, 5vw, 72px);
}

.about-section.light {
  background: rgba(255, 255, 255, 0.58);
}

.about-section-title {
  max-width: 1180px;
  margin: 0 auto 42px;
  color: var(--gold);
}

.about-section-title.centered {
  text-align: center;
}

.about-section-title span {
  display: block;
  width: 48px;
  height: 1px;
  margin-bottom: 16px;
  background: var(--gold);
}

.about-section-title.centered span {
  margin-right: auto;
  margin-left: auto;
}

.about-section-title h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.25;
}

.about-principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1180px;
  margin: 0 auto;
  border: 1px solid rgba(221, 214, 202, 0.9);
  background: rgba(255, 255, 255, 0.58);
}

.about-principle-card {
  display: grid;
  justify-items: center;
  min-height: 320px;
  padding: 42px 34px;
  border-right: 1px solid rgba(221, 214, 202, 0.9);
  text-align: center;
}

.about-principle-card:last-child {
  border-right: 0;
}

.about-card-number {
  color: var(--gold);
  font-size: 16px;
  font-weight: 900;
}

.about-icon {
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  margin: 20px 0 22px;
  border-radius: 50%;
  background: rgba(178, 138, 74, 0.1);
  color: var(--gold);
}

.about-icon svg {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.about-principle-card h3,
.about-standard-card h3,
.about-closing-band h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.35;
}

.about-principle-card p,
.about-standard-card p,
.about-closing-band p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.about-check-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.about-check-grid li {
  display: grid;
  min-height: 122px;
  place-items: center;
  border: 1px solid rgba(221, 214, 202, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--navy);
  font-size: 19px;
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(17, 27, 46, 0.05);
}

.about-check-grid li::before {
  display: block;
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  border: 1px solid rgba(178, 138, 74, 0.72);
  border-radius: 50%;
  content: "";
}

.about-standard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
}

.about-standard-card {
  overflow: hidden;
  border: 1px solid rgba(221, 214, 202, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 42px rgba(17, 27, 46, 0.08);
}

.about-standard-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 6.4;
  object-fit: cover;
}

.about-standard-card div {
  padding: 32px 28px 34px;
  text-align: center;
}

.about-closing-band {
  position: relative;
  overflow: hidden;
  padding: 92px clamp(24px, 5vw, 72px);
  background: var(--navy);
  color: #fff;
}

.about-closing-band::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 17, 31, 0.95), rgba(9, 17, 31, 0.66), rgba(9, 17, 31, 0.2)),
    url("assets/law-office-hero.png") center right / cover no-repeat;
  content: "";
}

.about-closing-band > div {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.about-closing-band h2 {
  color: #fff;
}

.about-closing-band p:last-child {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 1020px) {
  .about-principle-grid,
  .about-standard-grid {
    grid-template-columns: 1fr;
  }

  .about-principle-card {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(221, 214, 202, 0.9);
  }

  .about-principle-card:last-child {
    border-bottom: 0;
  }

  .about-check-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .about-visual-hero {
    min-height: 620px;
    padding: 112px 20px 56px;
  }

  .about-hero-image {
    object-position: center right;
  }

  .about-hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 14, 26, 0.92), rgba(10, 18, 32, 0.62)),
      linear-gradient(0deg, rgba(7, 14, 26, 0.66), rgba(7, 14, 26, 0.18));
  }

  .about-hero-copy h1 {
    font-size: 38px;
  }

  .about-section {
    padding: 64px 20px;
  }

  .about-check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .about-check-grid li {
    min-height: 104px;
    font-size: 16px;
  }

  .about-principle-card {
    padding: 34px 22px;
  }

  .about-standard-card div {
    padding: 28px 22px 30px;
  }

  .about-closing-band {
    padding: 72px 20px;
  }
}

.about-page {
  overflow-x: hidden;
}

.about-page .about-hero-image {
  opacity: 0.62;
}

.about-page .about-hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 14, 26, 0.98) 0%, rgba(10, 18, 32, 0.88) 46%, rgba(10, 18, 32, 0.48) 100%),
    linear-gradient(0deg, rgba(7, 14, 26, 0.42), rgba(7, 14, 26, 0.18));
}

@media (max-width: 640px) {
  .about-page .about-visual-hero {
    min-height: calc(100svh - 74px);
  }
}

.about-icon svg,
.about-icon svg * {
  box-sizing: content-box;
  fill: none;
  stroke: currentColor;
}

.about-icon {
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.about-check-grid li::before {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 12px;
  border: 1px solid rgba(178, 138, 74, 0.82);
  border-radius: 50%;
  background: rgba(178, 138, 74, 0.08);
  color: var(--gold);
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

.about-check-grid li:nth-child(1)::before {
  content: "경";
}

.about-check-grid li:nth-child(2)::before {
  content: "자";
}

.about-check-grid li:nth-child(3)::before {
  content: "절";
}

.about-check-grid li:nth-child(4)::before {
  content: "상";
}

.about-check-grid li:nth-child(5)::before {
  content: "결";
}

.about-check-grid li:nth-child(6)::before {
  content: "부";
}

.about-card-number {
  display: none;
}

.about-principle-card {
  align-content: center;
  text-align: center;
}

.about-principle-card h3,
.about-principle-card p {
  text-align: center;
}

/* Consultation check icons */
.about-check-grid li::before,
.about-check-grid li::after {
  display: none;
  content: none;
}

.about-check-grid .check-icon {
  display: block;
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  color: var(--gold);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.about-check-grid .check-icon * {
  fill: none;
  stroke: currentColor;
}

/* Principle card icons */
.about-principle-card .about-icon {
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  margin: 20px 0 22px;
  border-radius: 50%;
  background: rgba(178, 138, 74, 0.1);
  color: var(--gold);
  font-size: 0;
}

.about-principle-card .principle-icon {
  display: block;
  width: 44px;
  height: 44px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
}

.about-principle-card .principle-icon * {
  fill: none;
  stroke: currentColor;
}

/* Tighten consultation check card spacing */
.about-check-grid li {
  min-height: 104px;
  align-content: center;
  gap: 8px;
  padding: 18px 12px;
}

.about-check-grid .check-icon {
  margin-bottom: 2px;
}

.about-check-grid li span {
  line-height: 1.2;
}

/* About closing callout */
.about-closing-band {
  text-align: center;
}

.about-closing-band > div {
  max-width: 1100px;
  margin: 0 auto;
}

.about-closing-band p:last-of-type {
  max-width: none;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(18px, 1.45vw, 22px);
  white-space: nowrap;
}

.about-closing-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 28px;
  padding: 0 22px;
  border: 1px solid rgba(178, 138, 74, 0.9);
  border-radius: 8px;
  color: #f0d29b;
  font-weight: 900;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.about-closing-link:hover {
  background: var(--gold);
  color: #15130f;
}

@media (max-width: 820px) {
  .about-closing-band p:last-of-type {
    white-space: normal;
  }
}

/* Final about hero and closing readability tweaks */
.about-hero-nowrap {
  white-space: nowrap;
}

.about-closing-band p:last-of-type {
  color: #fff;
}

@media (max-width: 560px) {
  .about-hero-nowrap {
    white-space: normal;
  }
}
