@charset "UTF-8";

:root {
  --ink: #14202a;
  --muted: #66717a;
  --line: rgba(20, 32, 42, 0.13);
  --paper: #f5f1e9;
  --white: #fff;
  --dark: #0d2438;
  --accent: #c8a76b;
  --accent-soft: #e8ddca;
  --hero-bg: #eef0ed;
  --hero-panel: #e1e7e7;
  --button-text: #fff;
  --shadow: 0 24px 70px rgba(15, 31, 42, 0.12);
  --radius: 4px;
  --container: min(1280px, calc(100vw - 64px));
  color-scheme: light;
}

.theme-inherit {
  --ink: #172b25;
  --muted: #68756f;
  --line: rgba(23, 59, 52, 0.15);
  --paper: #f3efe4;
  --dark: #173b34;
  --accent: #b59a63;
  --accent-soft: #ded4bc;
  --hero-bg: #eef0e9;
  --hero-panel: #dce4dc;
  --shadow: 0 24px 70px rgba(23, 59, 52, 0.13);
  --radius: 0;
}

.theme-affair {
  --ink: #2e1920;
  --muted: #77686c;
  --line: rgba(66, 29, 40, 0.15);
  --paper: #f5efec;
  --dark: #421d28;
  --accent: #d4a9a0;
  --accent-soft: #ead7d2;
  --hero-bg: #f1ecea;
  --hero-panel: #e8dcda;
  --shadow: 0 24px 70px rgba(66, 29, 40, 0.14);
  --radius: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--white);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  word-break: keep-all;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  color: #fff;
  background: #111;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--white) 94%, transparent);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: grid;
  grid-template-columns: 280px 1fr 230px;
  align-items: center;
  width: var(--container);
  height: 82px;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: max-content;
  gap: 12px;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--dark) 32%, transparent);
  border-radius: 50%;
}

.brand-mark::before,
.brand-mark::after,
.brand-mark i::before,
.brand-mark i::after {
  position: absolute;
  width: 6px;
  height: 6px;
  content: "";
  border-radius: 50%;
  background: var(--accent);
}

.brand-mark::before { top: 8px; left: 15px; }
.brand-mark::after { right: 8px; top: 15px; }
.brand-mark i:first-child::before { bottom: 8px; left: 15px; }
.brand-mark i:last-child::after { top: 15px; left: 8px; }

.brand-text {
  display: grid;
  line-height: 1.15;
}

.brand-text b {
  font-family: "Iowan Old Style", "Noto Serif KR", Georgia, serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-text small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 3vw, 48px);
  font-size: 14px;
  font-weight: 600;
}

.desktop-nav a {
  position: relative;
  padding: 28px 0;
}

.desktop-nav a::after {
  position: absolute;
  right: 50%;
  bottom: 20px;
  left: 50%;
  height: 1px;
  content: "";
  background: var(--accent);
  transition: inset 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  right: 0;
  left: 0;
}

.header-phone {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
}

.header-phone svg {
  color: var(--accent);
}

.header-phone span {
  display: grid;
  line-height: 1.1;
}

.header-phone small {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.header-phone b {
  font-size: 19px;
  letter-spacing: 0.02em;
}

.menu-button,
.mobile-menu {
  display: none;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.24em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  gap: 28px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  color: var(--button-text);
  background: var(--dark);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: color-mix(in srgb, var(--dark) 87%, #fff);
}

.button-outline {
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  color: #fff;
  background: transparent;
}

.button-outline:hover,
.button-outline:focus-visible {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 15%, transparent);
}

.button-light {
  color: var(--dark);
  background: var(--paper);
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--hero-bg);
}

.hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.5;
  background-image: linear-gradient(to right, var(--line) 1px, transparent 1px), linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(90deg, #000, transparent 45%, transparent 60%, #000);
}

.hero-ornament {
  position: absolute;
  top: -20%;
  left: 35%;
  width: 520px;
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--accent) 38%, transparent);
  border-radius: 50%;
}

.hero-ornament::before,
.hero-ornament::after {
  position: absolute;
  inset: 50%;
  width: 78%;
  height: 1px;
  content: "";
  background: color-mix(in srgb, var(--accent) 30%, transparent);
  transform: translate(-50%, -50%) rotate(45deg);
}

.hero-ornament::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(400px, 1.08fr) minmax(300px, 0.72fr) minmax(360px, 0.82fr);
  min-height: 700px;
  align-items: stretch;
}

.hero-copy {
  align-self: center;
  padding: 78px 52px 86px 0;
}

.hero-copy h1 {
  max-width: 690px;
  margin: 0;
  font-family: "Iowan Old Style", "Noto Serif KR", Georgia, serif;
  font-size: clamp(42px, 4vw, 68px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.055em;
}

.theme-inherit .hero-copy h1 {
  letter-spacing: -0.04em;
}

.theme-affair .hero-copy h1 {
  font-weight: 500;
}

.hero-description {
  max-width: 600px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  align-items: center;
  margin-top: 42px;
  gap: 28px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 800;
}

.text-link svg {
  color: var(--accent);
}

.trust-line {
  display: flex;
  align-items: center;
  margin: 34px 0 0;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.trust-line svg {
  width: 17px;
  color: var(--accent);
}

.hero-person {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: center;
  min-width: 0;
  background: linear-gradient(180deg, transparent 15%, color-mix(in srgb, var(--hero-panel) 92%, transparent));
}

.hero-person::before {
  position: absolute;
  bottom: 14%;
  left: -6%;
  width: 112%;
  height: 58%;
  content: "";
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  border-radius: 50% 50% 0 0;
}

.hero-person img {
  position: relative;
  z-index: 2;
  width: min(100%, 510px);
  height: auto;
  max-height: 660px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 20px 24px rgba(20, 30, 38, 0.15));
}

.theme-affair .hero-person img {
  transform: scale(0.96);
  transform-origin: bottom;
}

.lawyer-caption {
  position: absolute;
  z-index: 4;
  right: 18px;
  bottom: 28px;
  display: grid;
  min-width: 210px;
  padding: 16px 20px;
  border-left: 3px solid var(--accent);
  color: #fff;
  background: color-mix(in srgb, var(--dark) 88%, transparent);
  box-shadow: var(--shadow);
}

.lawyer-caption strong {
  font-size: 15px;
}

.lawyer-caption span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
}

.hero-form {
  display: flex;
  align-items: center;
  padding: 38px 0 38px 34px;
}

.consultation-form {
  position: relative;
  width: 100%;
  padding: 30px;
  border: 1px solid color-mix(in srgb, var(--dark) 8%, transparent);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.form-heading {
  display: flex;
  align-items: center;
  gap: 14px;
}

.form-heading p {
  margin: 0 0 3px;
  color: var(--accent);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.form-heading h2 {
  margin: 0;
  font-family: "Iowan Old Style", "Noto Serif KR", Georgia, serif;
  font-size: 26px;
  letter-spacing: -0.035em;
}

.form-lock {
  display: grid;
  width: 44px;
  height: 44px;
  color: #fff;
  background: var(--dark);
  place-items: center;
}

.form-lock svg {
  width: 19px;
}

.form-intro {
  margin: 18px 0 22px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.consultation-form label:not(.privacy-check) {
  display: grid;
  gap: 7px;
}

.consultation-form label > span {
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
}

.consultation-form label small {
  color: var(--muted);
  font-weight: 500;
}

.consultation-form input,
.consultation-form select,
.consultation-form textarea {
  width: 100%;
  min-width: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  outline: none;
  background: transparent;
  font-size: 13px;
  transition: border-color 150ms ease;
}

.consultation-form input,
.consultation-form select {
  height: 40px;
}

.consultation-form textarea {
  padding: 11px 0;
  resize: vertical;
}

.consultation-form input:focus,
.consultation-form select:focus,
.consultation-form textarea:focus {
  border-color: var(--accent);
}

.message-field {
  margin-top: 14px;
}

.privacy-check {
  display: flex;
  align-items: flex-start;
  margin: 16px 0;
  gap: 9px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.privacy-check input {
  width: 15px;
  height: 15px;
  margin: 1px 0 0;
  accent-color: var(--dark);
}

.privacy-check a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.honeypot {
  position: absolute !important;
  overflow: hidden;
  width: 1px;
  height: 1px;
  clip: rect(1px, 1px, 1px, 1px);
}

.button-submit {
  width: 100%;
  color: #fff;
  background: var(--dark);
}

.button-submit[disabled] {
  cursor: wait;
  opacity: 0.6;
}

.form-status {
  min-height: 18px;
  margin: 10px 0 -6px;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.form-status.is-success { color: #1f7a50; }
.form-status.is-error { color: #b24141; }

.hero-bottom {
  position: relative;
  z-index: 4;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--white) 65%, transparent);
}

.hero-bottom .container {
  display: flex;
  min-height: 80px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hero-bottom p {
  margin: 0;
  font-family: "Iowan Old Style", "Noto Serif KR", Georgia, serif;
  font-size: 18px;
  font-weight: 600;
}

.hero-bottom div > div {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 12px;
}

.hero-bottom span::before {
  margin-right: 8px;
  color: var(--accent);
  content: "◆";
  font-size: 7px;
}

.section {
  padding: 130px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  align-items: end;
  margin-bottom: 64px;
  gap: 80px;
}

.section-heading h2,
.strategy h2,
.counsel-banner h2,
.faq h2,
.detail-consultation h2 {
  margin: 0;
  font-family: "Iowan Old Style", "Noto Serif KR", Georgia, serif;
  font-size: clamp(36px, 3.4vw, 56px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.05em;
}

.section-heading > p {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.focus-grid article {
  position: relative;
  min-height: 260px;
  padding: 34px 34px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: color 200ms ease, background 200ms ease, transform 200ms ease;
}

.focus-grid article > span {
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.focus-grid h3 {
  margin: 36px 0 12px;
  font-family: "Iowan Old Style", "Noto Serif KR", Georgia, serif;
  font-size: 25px;
}

.focus-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.focus-grid a {
  position: absolute;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 200ms ease, transform 200ms ease;
}

.focus-grid a svg {
  width: 18px;
}

.focus-grid article:hover {
  z-index: 2;
  color: #fff;
  background: var(--dark);
  transform: translateY(-8px);
}

.focus-grid article:hover p {
  color: rgba(255, 255, 255, 0.67);
}

.focus-grid article:hover a {
  opacity: 1;
  transform: translateY(0);
}

.strategy {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--dark);
}

.strategy::before {
  position: absolute;
  top: -280px;
  right: -220px;
  width: 760px;
  aspect-ratio: 1;
  content: "";
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  border-radius: 50%;
  box-shadow: 0 0 0 100px color-mix(in srgb, var(--accent) 4%, transparent), 0 0 0 200px color-mix(in srgb, var(--accent) 3%, transparent);
}

.strategy-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  align-items: start;
  gap: 120px;
}

.strategy-copy {
  position: sticky;
  top: 140px;
}

.strategy-copy > p:not(.eyebrow) {
  max-width: 390px;
  margin: 28px 0 38px;
  color: rgba(255, 255, 255, 0.65);
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 64px 1fr;
  padding: 34px 0 38px;
  gap: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.process-list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.process-list > li > span {
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: 15px;
}

.process-list h3 {
  margin: 0 0 10px;
  font-family: "Iowan Old Style", "Noto Serif KR", Georgia, serif;
  font-size: 25px;
}

.process-list p {
  max-width: 580px;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.cases {
  overflow: hidden;
  background: var(--paper);
}

.case-heading {
  margin-bottom: 30px;
}

.carousel-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 20px;
  gap: 28px;
}

.carousel-toolbar p {
  margin: 0;
  color: var(--muted);
  font-family: Georgia, serif;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.carousel-toolbar p span {
  color: var(--ink);
  font-size: 18px;
}

.carousel-toolbar > div {
  display: flex;
}

.carousel-toolbar button {
  display: grid;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  place-items: center;
  transition: color 150ms ease, background 150ms ease;
}

.carousel-toolbar button:hover,
.carousel-toolbar button:focus-visible {
  color: #fff;
  background: var(--dark);
}

.carousel-toolbar button:first-child svg {
  transform: rotate(180deg);
}

.case-track {
  display: grid;
  grid-auto-columns: minmax(280px, 31%);
  grid-auto-flow: column;
  overflow-x: auto;
  gap: 22px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}

.case-track::-webkit-scrollbar {
  display: none;
}

.case-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  scroll-snap-align: start;
}

.case-card a {
  display: grid;
  height: 100%;
}

.case-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 0.88;
  background: #e8e6e1;
}

.case-image-wrap::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 55%, rgba(10, 16, 20, 0.22));
  pointer-events: none;
}

.case-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 17%;
  filter: saturate(0.8);
  transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 300ms ease;
}

.case-number {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 14px;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 12px;
  letter-spacing: 0.1em;
}

.case-copy {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  padding: 26px 26px 24px;
}

.case-copy p {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.case-copy h3 {
  margin: 0;
  font-family: "Iowan Old Style", "Noto Serif KR", Georgia, serif;
  font-size: 22px;
  line-height: 1.45;
  letter-spacing: -0.03em;
}

.case-copy strong {
  margin-top: 15px;
  color: var(--muted);
  font-size: 13px;
}

.case-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
}

.case-link svg {
  width: 18px;
}

.case-card:hover img {
  filter: saturate(1);
  transform: scale(1.04);
}

.counsel-banner {
  color: #fff;
  background: var(--dark);
}

.counsel-banner .container {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  align-items: end;
  gap: 80px;
}

.counsel-banner .container > div:last-child {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.counsel-banner .container > div:last-child p {
  margin: 0;
  color: rgba(255, 255, 255, 0.67);
}

.faq {
  background: var(--white);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.62fr 1fr;
  align-items: start;
  gap: 120px;
}

.faq-grid > div:first-child {
  position: sticky;
  top: 130px;
}

.faq-grid > div:first-child > p:last-child {
  max-width: 380px;
  margin-top: 28px;
  color: var(--muted);
}

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

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

.faq-list summary {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  list-style: none;
  font-family: "Iowan Old Style", "Noto Serif KR", Georgia, serif;
  font-size: 19px;
  font-weight: 600;
}

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

.faq-list summary i {
  color: var(--accent);
  font-family: sans-serif;
  font-size: 25px;
  font-style: normal;
  font-weight: 300;
  transition: transform 180ms ease;
}

.faq-list details[open] summary i {
  transform: rotate(45deg);
}

.faq-list details > p {
  max-width: 720px;
  margin: -4px 60px 30px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.site-footer {
  padding: 76px 0 24px;
  color: rgba(255, 255, 255, 0.7);
  background: #0a1116;
}

.footer-top {
  display: grid;
  grid-template-columns: 300px 1fr;
  padding-bottom: 56px;
  gap: 80px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.footer-brand .brand-text b {
  color: #fff;
}

.footer-brand .brand-text small {
  color: rgba(255, 255, 255, 0.46);
}

.footer-brand .brand-mark {
  border-color: rgba(255, 255, 255, 0.28);
}

.footer-brand > p {
  margin: 24px 0 14px;
  font-size: 12px;
}

.footer-brand > a {
  color: #fff;
  font-size: 24px;
  font-weight: 800;
}

.footer-offices {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.footer-offices h3 {
  margin: 0 0 15px;
  color: #fff;
  font-size: 13px;
}

.footer-offices p,
.footer-offices a {
  margin: 0;
  font-size: 11px;
  line-height: 1.75;
}

.footer-offices a {
  display: block;
  margin-top: 10px;
  color: var(--accent);
}

.footer-legal,
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.footer-legal {
  align-items: center;
  padding: 28px 0;
}

.footer-legal p {
  margin: 3px 0;
  font-size: 10px;
}

.footer-legal nav {
  display: flex;
  gap: 24px;
  color: #fff;
  font-size: 11px;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.mobile-cta {
  display: none;
}

/* Case detail */
.case-detail-hero {
  padding: 76px 0 82px;
  color: #fff;
  background: var(--dark);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 55px;
  gap: 9px;
  color: var(--muted);
  font-size: 11px;
}

.case-detail-hero .breadcrumbs {
  color: rgba(255, 255, 255, 0.55);
}

.breadcrumbs strong {
  color: currentColor;
  font-weight: 700;
}

.case-detail-hero h1 {
  max-width: 980px;
  margin: 0;
  font-family: "Iowan Old Style", "Noto Serif KR", Georgia, serif;
  font-size: clamp(38px, 4.4vw, 62px);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.055em;
}

.case-detail-hero .container > p:last-child {
  max-width: 720px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.64);
}

.case-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.75fr);
  align-items: start;
  padding-top: 100px;
  padding-bottom: 120px;
  gap: 86px;
}

.case-document {
  display: grid;
  min-height: 620px;
  padding: 32px;
  background: var(--paper);
  place-items: center;
}

.case-document img {
  width: auto;
  max-height: 820px;
  object-fit: contain;
  box-shadow: 0 18px 45px rgba(20, 24, 26, 0.12);
}

.case-analysis {
  position: sticky;
  top: 120px;
}

.case-analysis h2 {
  margin: 0 0 22px;
  font-family: "Iowan Old Style", "Noto Serif KR", Georgia, serif;
  font-size: clamp(34px, 3vw, 48px);
  line-height: 1.35;
  letter-spacing: -0.045em;
}

.case-analysis > p:not(.eyebrow) {
  margin-bottom: 36px;
  color: var(--muted);
}

.case-analysis h3 {
  margin: 0 0 16px;
  font-size: 15px;
}

.case-analysis ul {
  margin: 0 0 30px;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.case-analysis li {
  display: flex;
  padding: 16px 0;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.case-analysis li svg {
  width: 18px;
  color: var(--accent);
}

.disclaimer-box {
  margin-bottom: 28px;
  padding: 20px;
  border-left: 3px solid var(--accent);
  background: var(--paper);
}

.disclaimer-box strong {
  font-size: 12px;
}

.disclaimer-box p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.related-cases {
  overflow: hidden;
  background: var(--paper);
}

.detail-consultation {
  background: var(--hero-bg);
}

.detail-consultation .container {
  display: grid;
  grid-template-columns: 0.9fr 0.75fr;
  align-items: center;
  gap: 110px;
}

.detail-consultation .container > div:first-child > p:last-child {
  margin-top: 26px;
  color: var(--muted);
}

/* Legal */
.legal-page {
  padding: 70px 0 120px;
  background: var(--paper);
}

.legal-content {
  max-width: 880px;
}

.legal-content h1 {
  margin: 0;
  font-family: "Iowan Old Style", "Noto Serif KR", Georgia, serif;
  font-size: clamp(42px, 5vw, 64px);
  letter-spacing: -0.055em;
}

.legal-lead {
  margin: 24px 0 60px;
  color: var(--muted);
  font-size: 17px;
}

.legal-content section {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.legal-content section h2 {
  margin: 0 0 12px;
  font-size: 19px;
}

.legal-content section p {
  margin: 0;
  color: var(--muted);
}

.legal-content section a {
  color: var(--dark);
  font-weight: 700;
  text-decoration: underline;
}

.policy-date {
  margin: 30px 0;
  color: var(--muted);
  font-size: 12px;
}

.not-found {
  display: grid;
  min-height: 68vh;
  padding: 80px 24px;
  text-align: center;
  background: var(--paper);
  place-items: center;
}

.not-found h1 {
  margin: 0;
  font-family: "Iowan Old Style", "Noto Serif KR", Georgia, serif;
  font-size: clamp(40px, 6vw, 70px);
  line-height: 1.25;
}

.not-found > div > p:not(.eyebrow) {
  margin: 22px 0 34px;
  color: var(--muted);
}

@media (max-width: 1180px) {
  :root { --container: min(100% - 40px, 1120px); }
  .header-inner { grid-template-columns: 230px 1fr 190px; }
  .desktop-nav { gap: 24px; }
  .hero-grid { grid-template-columns: 1fr 0.62fr; }
  .hero-copy { padding-right: 40px; }
  .hero-person { min-height: 620px; }
  .hero-form { grid-column: 1 / -1; padding: 34px 0 54px; }
  .hero-form .consultation-form { display: grid; grid-template-columns: 240px 1fr 1fr 230px; align-items: end; gap: 20px; }
  .hero-form .form-heading { align-self: start; }
  .hero-form .form-intro { grid-column: 1; margin: 12px 0 0; }
  .hero-form .form-grid { grid-column: 2 / 4; }
  .hero-form .message-field { display: none; }
  .hero-form .privacy-check { grid-column: 2 / 4; margin: 0; }
  .hero-form .button-submit { grid-column: 4; grid-row: 1 / 3; }
  .hero-form .form-status { grid-column: 4; }
  .strategy-grid { gap: 70px; }
  .faq-grid { gap: 70px; }
}

@media (max-width: 900px) {
  :root { --container: min(100% - 36px, 860px); }
  .header-inner { grid-template-columns: 1fr auto; height: 70px; }
  .desktop-nav, .header-phone { display: none; }
  .menu-button { display: grid; width: 44px; height: 44px; border: 0; color: var(--ink); background: transparent; place-items: center; }
  .mobile-menu { position: fixed; z-index: 99; inset: 70px 0 0; padding: 38px 28px; background: var(--white); }
  .mobile-menu:not([hidden]) { display: block; }
  .mobile-menu nav { display: grid; margin-bottom: 30px; border-top: 1px solid var(--line); }
  .mobile-menu nav a { padding: 18px 4px; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 700; }
  .mobile-menu .button { width: 100%; }
  .hero-grid { display: grid; grid-template-columns: 1fr 0.6fr; min-height: auto; }
  .hero-copy { padding: 70px 30px 64px 0; }
  .hero-copy h1 { font-size: clamp(38px, 6.8vw, 58px); }
  .hero-person { min-height: 560px; }
  .hero-person img { max-height: 580px; }
  .lawyer-caption { right: 0; min-width: 190px; }
  .hero-form { display: block; grid-column: 1 / -1; padding: 30px 0 48px; }
  .hero-form .consultation-form { display: block; }
  .hero-form .form-intro { margin: 18px 0 22px; }
  .hero-form .message-field { display: grid; }
  .hero-form .privacy-check { margin: 16px 0; }
  .hero-bottom .container { display: grid; padding: 18px 0; }
  .hero-bottom div > div { flex-wrap: wrap; gap: 10px 20px; }
  .section { padding: 100px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 26px; }
  .focus-grid { grid-template-columns: repeat(2, 1fr); }
  .strategy-grid { grid-template-columns: 1fr; gap: 65px; }
  .strategy-copy, .faq-grid > div:first-child, .case-analysis { position: static; }
  .case-track { grid-auto-columns: 47%; }
  .counsel-banner .container { grid-template-columns: 1fr; gap: 40px; }
  .faq-grid { grid-template-columns: 1fr; gap: 55px; }
  .footer-top { grid-template-columns: 1fr; gap: 45px; }
  .footer-offices { grid-template-columns: repeat(2, 1fr); }
  .case-detail-grid { grid-template-columns: 1fr; gap: 55px; }
  .detail-consultation .container { grid-template-columns: 1fr; gap: 55px; }
}

@media (max-width: 620px) {
  :root { --container: calc(100% - 32px); }
  html { scroll-padding-top: 74px; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); font-size: 15px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-text b { font-size: 18px; }
  .brand-text small { font-size: 8px; }
  .hero::before { background-size: 54px 54px; }
  .hero-ornament { top: 20px; left: 45%; width: 310px; }
  .hero-grid { display: flex; flex-direction: column; }
  .hero-copy { order: 1; padding: 58px 0 10px; }
  .hero-copy h1 { font-size: clamp(36px, 10.3vw, 48px); line-height: 1.25; }
  .hero-description { margin-top: 22px; font-size: 15px; }
  .hero-actions { flex-wrap: wrap; margin-top: 30px; gap: 18px; }
  .hero-actions .button { width: 100%; }
  .text-link { width: 100%; justify-content: center; }
  .trust-line { justify-content: center; margin-top: 22px; font-size: 11px; }
  .hero-person { order: 2; min-height: 450px; margin-top: 20px; }
  .hero-person img { max-height: 470px; }
  .lawyer-caption { right: 0; bottom: 16px; min-width: 185px; padding: 13px 16px; }
  .hero-form { order: 3; padding: 24px 0 40px; }
  .consultation-form { padding: 24px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-bottom .container { gap: 12px; }
  .hero-bottom p { font-size: 16px; }
  .hero-bottom div > div { display: grid; grid-template-columns: 1fr 1fr; width: 100%; font-size: 10px; }
  .section { padding: 78px 0; }
  .section-heading { margin-bottom: 40px; }
  .section-heading h2, .strategy h2, .counsel-banner h2, .faq h2, .detail-consultation h2 { font-size: 36px; }
  .section-heading > p { font-size: 14px; }
  .focus-grid { grid-template-columns: 1fr; }
  .focus-grid article { min-height: 225px; padding: 26px; }
  .focus-grid h3 { margin-top: 25px; }
  .focus-grid a { opacity: 1; transform: none; }
  .strategy-grid { gap: 50px; }
  .process-list li { grid-template-columns: 44px 1fr; gap: 16px; }
  .case-heading { margin-bottom: 18px; }
  .carousel-toolbar { justify-content: space-between; }
  .case-track { grid-auto-columns: 84%; gap: 14px; }
  .case-copy { min-height: 245px; padding: 22px; }
  .case-copy h3 { font-size: 20px; }
  .counsel-banner .container > div:last-child { display: block; }
  .counsel-banner .button { width: 100%; margin-top: 26px; }
  .faq-list summary { min-height: 78px; font-size: 17px; }
  .faq-list details > p { margin-right: 0; }
  .site-footer { padding-top: 58px; }
  .footer-offices { grid-template-columns: 1fr; gap: 28px; }
  .footer-legal { display: grid; }
  .footer-legal nav { flex-wrap: wrap; }
  .footer-bottom { display: grid; }
  .mobile-cta { position: fixed; z-index: 110; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(3, 1fr); padding-bottom: env(safe-area-inset-bottom); color: #fff; background: var(--dark); box-shadow: 0 -10px 35px rgba(0, 0, 0, 0.16); }
  .mobile-cta a { display: flex; min-height: 64px; align-items: center; justify-content: center; gap: 7px; border-right: 1px solid rgba(255, 255, 255, 0.15); font-size: 12px; font-weight: 700; }
  .mobile-cta a:nth-child(2) { color: var(--dark); background: #f4dc58; }
  .mobile-cta svg { width: 18px; }
  .case-detail-hero { padding: 54px 0 60px; }
  .breadcrumbs { margin-bottom: 38px; }
  .case-detail-hero h1 { font-size: 38px; }
  .case-detail-grid { padding-top: 60px; padding-bottom: 80px; gap: 45px; }
  .case-document { min-height: 440px; padding: 14px; }
  .case-analysis h2 { font-size: 36px; }
  .legal-page { padding: 50px 0 85px; }
  .legal-content h1 { font-size: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

