@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css");
@import url("https://fonts.googleapis.com/css2?family=Nanum+Pen+Script&display=swap");

:root {
  --font-main: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --ink: #191a1d;
  --body: #41444a;
  --muted: #74777f;
  --line: rgba(255, 255, 255, 0.18);
  --dark: #0d0e11;
  --dark-soft: rgba(18, 19, 23, 0.72);
  --white: #ffffff;
  --pearl: #f7f7f4;
  --primary: #0b63ce;
  --primary-dark: #084d9e;
  --gold: #c3a36b;
  --max: 1240px;
  --radius: 8px;
  --brand-width: 65px;
  --brand-height: 50px;
  --brand-logo-height: 80px;
  --brand-logo-offset-x: -14px;
  --brand-logo-offset-y: -14px;
}


* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--white);
  background: var(--dark);
  line-height: 1.62;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button {
  cursor: pointer;
}

::selection {
  color: var(--white);
  background: rgba(11, 99, 206, 0.54);
}

.container {
  width: min(100% - 56px, var(--max));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 10px 52px;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 11, 13, 0.42);
  backdrop-filter: saturate(140%) blur(22px);
  transition: min-height 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  min-height: 66px;
  background: rgba(10, 11, 13, 0.84);
  border-color: rgba(255, 255, 255, 0.16);
}

.brand {
  position: relative;
  z-index: 72;
  display: inline-flex;
  align-items: flex-start;
  width: var(--brand-width);
  height: var(--brand-height);
  overflow: hidden;
}

.brand-logo {
  width: auto;
  max-width: none;
  height: var(--brand-logo-height);
  flex: 0 0 auto;
  object-fit: contain;
  object-position: left center;
  margin: var(--brand-logo-offset-y) 0 0 var(--brand-logo-offset-x);
  filter: brightness(0) invert(96%) sepia(11%) saturate(380%) hue-rotate(6deg) brightness(102%) contrast(94%)
    drop-shadow(0 1px 8px rgba(0, 0, 0, 0.28));
  transition: height 0.2s ease;
}

.site-header.is-scrolled .brand,
.site-header.is-open .brand {
  width: var(--brand-width);
  height: var(--brand-height);
}

.site-header.is-scrolled .brand-logo,
.site-header.is-open .brand-logo {
  height: var(--brand-logo-height);
  margin: var(--brand-logo-offset-y) 0 0 var(--brand-logo-offset-x);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 800;
}

.main-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.84);
  transition: color 0.18s ease;
}

.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--white);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 17px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.nav-cta:hover {
  border-color: var(--primary);
  background: var(--primary);
}

.nav-cta.is-active {
  border-color: var(--primary);
  background: var(--primary);
}

.menu-toggle {
  position: relative;
  z-index: 72;
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--white);
  transition: top 0.18s ease, transform 0.18s ease;
}

.menu-toggle span:first-child {
  top: 17px;
}

.menu-toggle span:last-child {
  top: 26px;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  top: 22px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  top: 22px;
  transform: rotate(-45deg);
}

.panel-dots {
  position: fixed;
  top: 50%;
  right: 24px;
  z-index: 64;
  display: grid;
  gap: 8px;
  transform: translateY(-50%);
}

.panel-dots a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 22px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 11px;
  font-weight: 800;
  transition: color 0.18s ease, transform 0.18s ease;
}

.panel-dots a::before {
  content: "";
  width: 20px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.55);
  transition: transform 0.18s ease;
}

.panel-dots a.is-active {
  color: var(--gold);
  transform: translateX(-6px);
}

.panel-dots a.is-active::before {
  transform: scaleX(1);
}

.panel-dots a {
  font-size: 0;
}

.quick-panel {
  position: fixed;
  right: 24px;
  bottom: 26px;
  z-index: 84;
  width: 96px;
  overflow: hidden;
  border-radius: 999px;
  color: #17181d;
  background: var(--white);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
}

.quick-menu-title {
  display: grid;
  min-height: 58px;
  place-items: center;
  padding: 13px 10px 12px;
  margin: 0;
  border-radius: 30px 30px 0 0;
  color: var(--white);
  background: #121033;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.18;
  text-align: center;
}

.quick-menu-body {
  display: grid;
  padding: 10px 8px 18px;
}

.quick-menu-link {
  display: grid;
  justify-items: center;
  gap: 5px;
  min-height: 70px;
  padding: 10px 4px 8px;
  color: #55585f;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.24;
  text-align: center;
  word-break: keep-all;
  transition: color 0.18s ease, transform 0.18s ease;
}

.quick-menu-link + .quick-menu-link {
  border-top: 1px solid rgba(25, 26, 29, 0.08);
}

.quick-menu-link:hover {
  color: var(--ink);
  transform: translateY(-2px);
}

.quick-menu-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #aa8b52;
}

.quick-menu-icon-kakao {
  width: 30px;
  height: 24px;
  border-radius: 50%;
  color: var(--white);
  background: #b69a63;
  font-size: 7px;
  font-weight: 950;
}

.quick-menu-icon-kakao::after {
  content: "";
  position: absolute;
  right: 5px;
  bottom: -3px;
  width: 7px;
  height: 7px;
  background: #b69a63;
  transform: rotate(45deg);
}

.quick-menu-icon-naver {
  border: 2px solid #b69a63;
  border-radius: 4px;
}

.quick-menu-icon-naver::before,
.quick-menu-icon-naver::after {
  content: "";
  position: absolute;
  top: -5px;
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: #b69a63;
}

.quick-menu-icon-naver::before {
  left: 6px;
}

.quick-menu-icon-naver::after {
  right: 6px;
}

.quick-menu-icon-naver span:first-child {
  width: 14px;
  height: 2px;
  background: #b69a63;
}

.quick-menu-icon-naver span:last-child {
  width: 14px;
  height: 2px;
  margin-top: -10px;
  background: #b69a63;
}

.fullpage-shell {
  position: relative;
}

.panel-section {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: 100svh;
  padding: 112px 0 66px;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

@supports (height: 100dvh) {
  .panel-section {
    min-height: 100dvh;
  }
}

.panel-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.panel-section.is-dark::before {
  background:
    linear-gradient(90deg, rgba(8, 8, 10, 0.9) 0%, rgba(8, 8, 10, 0.72) 48%, rgba(8, 8, 10, 0.54) 100%),
    radial-gradient(circle at 62% 48%, rgba(255, 255, 255, 0.12), transparent 36%);
}

.panel-section.is-light {
  color: var(--ink);
}

.panel-section.is-light::before {
  background:
    linear-gradient(90deg, rgba(247, 247, 244, 0.94) 0%, rgba(247, 247, 244, 0.84) 54%, rgba(247, 247, 244, 0.62) 100%);
}

.panel-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-position: center;
  background-size: cover;
  transform: scale(1.04);
}

.panel-01 .panel-bg { background-image: url("assets/ref_pic3_01.png"); }
.panel-02 .panel-bg { background-image: url("assets/ref_pic3_02.png"); }
.panel-03 .panel-bg { background-image: url("assets/ref_pic3_03.png"); }
.panel-04 .panel-bg { background-image: url("assets/ref_pic3_04.png"); }
.panel-05 .panel-bg { background-image: url("assets/ref_pic3_05.png"); }
.panel-06 .panel-bg { background-image: url("assets/ref_pic3_06.png"); }
.panel-07 .panel-bg { background-image: url("assets/ref_pic3_07.png"); }
.panel-08 .panel-bg { background-image: url("assets/ref_pic3_08.png"); }
.panel-09 .panel-bg { background-image: url("assets/ref_pic3_09.png"); }
.panel-10 .panel-bg { background-image: url("assets/ref_pic3_10.png"); }
.panel-11 .panel-bg { background-image: url("assets/ref_pic3_11.png"); }
.panel-12 .panel-bg { background-image: url("assets/ref_pic3_12.png"); }

.panel-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1fr);
  gap: 72px;
  align-items: center;
}

.hero-layout {
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.74fr);
}

.split-layout {
  grid-template-columns: minmax(0, 0.72fr) minmax(440px, 1fr);
}

.panel-stack {
  display: grid;
  gap: 38px;
}

.panel-copy,
.panel-narrow {
  max-width: 760px;
}

.panel-narrow {
  margin-left: max(0px, calc((100vw - var(--max)) / 2));
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.panel-copy h1,
.panel-copy h2,
.panel-narrow h2,
.section-head h2,
.member-body h2,
.consult-panel h2,
.contact-grid h2 {
  margin: 0;
  font-size: 58px;
  line-height: 1.12;
  font-weight: 900;
  word-break: keep-all;
}

.panel-copy h1 {
  font-size: 76px;
  line-height: 1.05;
}

.panel-lead,
.panel-narrow p,
.section-head p,
.member-body p,
.consult-panel p,
.contact-lead {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 19px;
  line-height: 1.82;
  word-break: keep-all;
}

.is-light .panel-lead,
.is-light .panel-narrow p,
.is-light .section-head p {
  color: var(--body);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  line-height: 1;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.button:active {
  transform: scale(0.97);
}

.button-primary {
  border-color: var(--primary);
  color: var(--white);
  background: var(--primary);
}

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

.button-quiet {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.button-quiet:hover {
  border-color: rgba(255, 255, 255, 0.54);
  background: rgba(255, 255, 255, 0.14);
}

.hero-lawyers {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: flex-end;
  min-height: 520px;
}

.hero-lawyers::before {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 420px;
  max-width: 84%;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.hero-lawyer {
  position: relative;
  z-index: 1;
  width: 226px;
  max-width: none;
  filter: drop-shadow(0 28px 40px rgba(0, 0, 0, 0.36));
}

.hero-lawyer:first-child {
  transform: translate(28px, 10px);
}

.hero-lawyer:last-child {
  transform: translateY(32px);
}

.proof-grid,
.principle-grid,
.practice-grid,
.prepare-list {
  display: grid;
  gap: 14px;
}

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

.proof-grid article,
.principle-grid article,
.practice-card,
.prepare-list article {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.proof-grid article {
  min-height: 170px;
  padding: 26px;
}

.proof-grid span,
.principle-grid span,
.practice-card span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.proof-grid strong {
  display: block;
  margin-top: 48px;
  font-size: 24px;
  line-height: 1.32;
  word-break: keep-all;
}

.method-list {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.method-list article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.method-list strong {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: var(--gold);
  background: rgba(255, 255, 255, 0.1);
}

.method-list h3,
.principle-grid h3,
.practice-card h3,
.prepare-list h3 {
  margin: 0 0 10px;
  font-size: 23px;
  line-height: 1.3;
  word-break: keep-all;
}

.method-list p,
.principle-grid p,
.practice-card p,
.prepare-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  word-break: keep-all;
}

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

.principle-grid article {
  min-height: 190px;
  padding: 24px;
  border-color: rgba(25, 26, 29, 0.12);
  background: rgba(255, 255, 255, 0.74);
}

.principle-grid h3 {
  margin-top: 42px;
  color: var(--ink);
}

.principle-grid p {
  color: var(--body);
}

.section-head {
  display: grid;
  grid-template-columns: 0.74fr 1fr;
  gap: 64px;
  align-items: end;
}

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

.practice-card {
  min-height: 206px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.practice-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(11, 99, 206, 0.34);
}

.practice-card h3 {
  margin-top: 42px;
  color: var(--white);
}

.member-layout {
  display: grid;
  grid-template-columns: minmax(310px, 0.56fr) minmax(0, 0.86fr);
  gap: 72px;
  align-items: center;
}

.member-layout-reverse {
  grid-template-columns: minmax(0, 0.86fr) minmax(310px, 0.56fr);
}

.member-layout-reverse .member-portrait {
  order: 2;
}

.member-portrait {
  display: grid;
  align-items: end;
  justify-items: center;
  min-height: 560px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(224, 226, 230, 0.76));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.member-portrait img {
  width: 100%;
  height: 520px;
  object-fit: contain;
  object-position: center bottom;
  padding: 28px 34px 0;
}

.member-body {
  max-width: 720px;
}

.member-body p {
  font-size: 18px;
}

.member-body ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.member-body li {
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 900;
}

.profile-list {
  display: grid;
  gap: 0;
  margin: 30px 0 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.profile-list div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.profile-list dt {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.profile-list dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  line-height: 1.66;
  word-break: keep-all;
}

.prepare-list {
  grid-template-columns: repeat(2, 1fr);
}

.prepare-list article {
  min-height: 170px;
  padding: 24px;
  border-color: rgba(25, 26, 29, 0.12);
  background: rgba(255, 255, 255, 0.76);
}

.prepare-list h3 {
  color: var(--ink);
}

.prepare-list p {
  color: var(--body);
}

.consult-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(460px, 1fr);
  gap: 70px;
  align-items: start;
}

.quick-contact {
  display: grid;
  margin: 36px 0 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.quick-contact div {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.quick-contact dt {
  color: rgba(255, 255, 255, 0.58);
  font-weight: 900;
}

.quick-contact dd {
  margin: 0;
}

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

.consult-form label {
  display: grid;
  gap: 8px;
}

.consult-form label.full,
.consult-form button {
  grid-column: 1 / -1;
}

.consult-form span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 900;
}

.consult-form input,
.consult-form select,
.consult-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  outline: none;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  transition: border-color 0.18s ease, background 0.18s ease;
}

.consult-form select option {
  color: var(--ink);
}

.consult-form input::placeholder,
.consult-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.44);
}

.consult-form input:focus,
.consult-form select:focus,
.consult-form textarea:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.14);
}

.consent {
  display: flex !important;
  grid-template-columns: none !important;
  flex-direction: row;
  align-items: center;
  gap: 10px !important;
}

.consent input {
  width: 18px;
  min-height: 18px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) 1fr;
  gap: 76px;
  align-items: start;
}

.footer-brand-block {
  padding-right: 42px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-brand-block img {
  width: 190px;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(96%) sepia(11%) saturate(380%) hue-rotate(6deg) brightness(102%) contrast(94%);
}

.footer-brand-block p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 900;
}

.contact-grid h2 {
  font-size: 44px;
}

.contact-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 42px;
  margin: 0;
  padding: 0;
}

.contact-list div {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-list dt {
  color: rgba(255, 255, 255, 0.58);
  font-weight: 900;
}

.contact-list dd {
  margin: 0;
  color: var(--white);
}

.copyright {
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
}

.site-footer {
  position: relative;
  z-index: 62;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.88);
  background: #080706;
  font-family: var(--font-main);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 6, 5, 0.92) 0%, rgba(9, 8, 8, 0.76) 48%, rgba(7, 6, 5, 0.92) 100%),
    linear-gradient(180deg, rgba(8, 7, 6, 0.14) 0%, rgba(8, 7, 6, 0.98) 100%),
    url("assets/hero_1920x1080_webp/01_moon_pavilion_hero_1920x1080.webp") center / cover no-repeat;
  transform: scale(1.02);
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(255, 255, 255, 0.1) calc(50% - 1px), rgba(255, 255, 255, 0.1) 50%, transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 1px);
  pointer-events: none;
}

.site-footer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.82fr);
  width: min(100% - 48px, 1328px);
  margin-inline: auto;
  padding: 64px 0 58px;
}

.footer-location,
.footer-reservation {
  min-width: 0;
}

.footer-location {
  padding-right: clamp(28px, 5vw, 66px);
}

.footer-reservation {
  padding-left: clamp(28px, 5vw, 66px);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-address-head,
.footer-reservation-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  color: var(--gold);
}

.footer-mark svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.8;
}

.footer-address-head h2,
.footer-reservation-head h2 {
  margin: 0;
  color: rgba(255, 255, 255, 0.98);
  font-size: clamp(22px, 2.1vw, 30px);
  font-weight: 900;
  line-height: 1.18;
  word-break: keep-all;
}

.footer-address-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: center;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 800;
  word-break: keep-all;
}

.footer-copy-button {
  min-height: 28px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  color: #17120e;
  background: rgba(218, 205, 192, 0.94);
  font-size: 12px;
  font-weight: 900;
}

.footer-map-frame {
  position: relative;
  height: 220px;
  margin-top: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.28);
}

.footer-map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.88) contrast(0.98);
}

.footer-map-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.footer-map-actions a,
.footer-channel-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 0;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  color: #15110e;
  background: rgba(201, 190, 180, 0.94);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.footer-map-actions a:hover,
.footer-channel-link:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.38);
  background: #e6d8c9;
}

.map-badge {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  color: var(--white);
  font-size: 11px;
  font-weight: 900;
}

.map-badge.naver {
  background: #03c75a;
}

.map-badge.kakao {
  color: #241f00;
  background: #ffe500;
}

.map-badge.google {
  background: linear-gradient(135deg, #4285f4 0 34%, #34a853 34% 62%, #fbbc05 62% 78%, #ea4335 78%);
}

.footer-contact-blocks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 34px;
}

.footer-contact-row,
.footer-hours-row {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-contact-row dt,
.footer-hours-row dt {
  color: var(--gold);
  font-weight: 900;
}

.footer-contact-row dd,
.footer-hours-row dd {
  margin: 0;
}

.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 900;
  line-height: 1;
}

.footer-phone svg {
  width: 24px;
  height: 24px;
  color: rgba(218, 205, 192, 0.92);
}

.footer-hours {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
  font-weight: 700;
}

.footer-hours div {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 18px;
}

.footer-hours strong {
  color: rgba(255, 255, 255, 0.96);
  font-weight: 900;
}

.footer-reservation-head {
  justify-content: space-between;
}

.footer-mini-logo {
  width: 112px;
  height: 70px;
  overflow: hidden;
  opacity: 0.78;
}

.footer-mini-logo img {
  width: auto;
  max-width: none;
  height: 112px;
  margin: -20px 0 0 -38px;
  filter: brightness(0) invert(88%) sepia(15%) saturate(338%) hue-rotate(350deg) brightness(94%) contrast(90%);
}

.footer-channel-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.footer-channel-link {
  min-height: 42px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
}

.footer-channel-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
}

.footer-form {
  display: grid;
  gap: 0;
  margin-top: 30px;
}

.footer-form label:not(.footer-check) {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 54px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-form label:not(.footer-check) span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 900;
}

.footer-form input,
.footer-form textarea {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--white);
  background: transparent;
  font: inherit;
  font-size: 15px;
}

.footer-form textarea {
  min-height: 80px;
  padding: 15px 0 10px;
  resize: vertical;
}

.footer-form input::placeholder,
.footer-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.footer-check {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
}

.footer-check input {
  width: 16px;
  min-width: 16px;
  accent-color: var(--gold);
}

.footer-submit-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 22px;
}

.footer-submit {
  min-height: 50px;
  border: 0;
  border-radius: 0;
  color: #070605;
  background: rgba(204, 190, 178, 0.98);
  font-weight: 900;
}

.footer-submit:hover {
  background: #e7d8c9;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 5, 5, 0.52);
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  justify-content: center;
  width: min(100% - 48px, 1328px);
  min-height: 54px;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 800;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.82);
}

.footer-bottom a:hover {
  color: var(--gold);
}

.footer-bottom .divider {
  color: rgba(255, 255, 255, 0.26);
}

@media (max-width: 1080px) {
  .site-footer-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .footer-location,
  .footer-reservation {
    padding-inline: 0;
  }

  .footer-reservation {
    padding-top: 42px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
  }

  .site-footer::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 1px);
  }
}

@media (max-width: 680px) {
  .site-footer-inner,
  .footer-bottom-inner {
    width: min(100% - 34px, 420px);
  }

  .site-footer-inner {
    padding: 48px 0 46px;
  }

  .footer-address-head,
  .footer-reservation-head {
    align-items: flex-start;
  }

  .footer-mark {
    width: 36px;
    height: 36px;
  }

  .footer-mini-logo {
    display: none;
  }

  .footer-map-frame {
    height: 190px;
  }

  .footer-map-actions,
  .footer-channel-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .footer-contact-row,
  .footer-hours-row,
  .footer-form label:not(.footer-check) {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-form label:not(.footer-check) {
    align-items: start;
    padding: 13px 0;
  }

  .footer-form textarea {
    padding-top: 4px;
  }

  .footer-hours div {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-check {
    justify-content: flex-start;
  }

  .footer-bottom-inner {
    justify-content: flex-start;
    padding: 16px 0;
  }
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.72s ease, transform 0.72s ease;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
}

.js .reveal.in-view {
  opacity: 1;
  transform: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.home-page {
  color: var(--white);
  background: #050607;
}

.home-scroll-main {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
  scroll-snap-type: y mandatory;
}

@supports (height: 100dvh) {
  .home-scroll-main {
    min-height: 100dvh;
  }
}

.home-visual-stage {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: #050607;
}

.home-visual {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0;
  opacity: 0;
  transition: opacity 0.72s ease;
}

.home-visual.is-active {
  opacity: 1;
}

.home-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.02) contrast(1.04);
}

.home-visual-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 6, 7, 0.38) 0%, rgba(5, 6, 7, 0.04) 32%, rgba(5, 6, 7, 0.3) 100%),
    linear-gradient(90deg, rgba(5, 6, 7, 0.66) 0%, rgba(5, 6, 7, 0.18) 44%, rgba(5, 6, 7, 0.32) 100%);
  pointer-events: none;
}

.home-scroll-dots {
  position: fixed;
  top: 50%;
  right: 28px;
  z-index: 60;
  display: grid;
  gap: 12px;
  transform: translateY(-50%);
}

.home-scroll-dots a {
  display: grid;
  grid-template-columns: 28px auto;
  gap: 10px;
  align-items: center;
  min-height: 26px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 11px;
  font-weight: 900;
  transition: color 0.2s ease, transform 0.2s ease;
}

.home-scroll-dots a::before {
  content: "";
  width: 28px;
  height: 1px;
  grid-column: 1;
  background: currentColor;
  transform: scaleX(0.44);
  transform-origin: right;
  transition: transform 0.2s ease;
}

.home-scroll-dots span,
.home-scroll-dots em {
  grid-row: 1;
}

.home-scroll-dots span {
  display: none;
}

.home-scroll-dots em {
  grid-column: 2;
  font-style: normal;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.home-scroll-dots a:hover,
.home-scroll-dots a.is-active {
  color: var(--gold);
  transform: translateX(-4px);
}

.home-scroll-dots a:hover::before,
.home-scroll-dots a.is-active::before {
  transform: scaleX(1);
}

.home-scroll-dots a:hover em,
.home-scroll-dots a.is-active em {
  opacity: 1;
  transform: none;
}

.home-scroll-panel {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 100svh;
  padding: 128px 0 86px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

@supports (height: 100dvh) {
  .home-scroll-panel {
    min-height: 100dvh;
  }
}

.home-panel-inner {
  max-width: 680px;
  margin-left: max(28px, calc((100vw - var(--max)) / 2));
  padding-left: 28px;
  border-left: 2px solid rgba(195, 163, 107, 0.72);
}

.home-panel-inner.align-right {
  justify-self: end;
  width: min(100% - 56px, 680px);
  margin-right: max(28px, calc((100vw - var(--max)) / 2));
  padding-left: 0;
  padding-right: 28px;
  border-left: 0;
  border-right: 2px solid rgba(195, 163, 107, 0.72);
  text-align: right;
}

.home-panel-inner .eyebrow {
  transform: translateY(20px);
  opacity: 0;
  transition: opacity 0.58s ease, transform 0.58s ease;
}

.home-panel-inner h2 {
  margin: 0;
  font-size: clamp(38px, 4.35vw, 64px);
  line-height: 1.18;
  font-weight: 900;
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-shadow: 0 3px 22px rgba(0, 0, 0, 0.38);
  transform: translateY(28px);
  opacity: 0;
  transition: opacity 0.68s ease 0.08s, transform 0.68s ease 0.08s;
}

.home-panel-inner p:not(.eyebrow) {
  max-width: 590px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.82;
  word-break: keep-all;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.34);
  transform: translateY(28px);
  opacity: 0;
  transition: opacity 0.68s ease 0.18s, transform 0.68s ease 0.18s;
}

.home-panel-inner.align-right p:not(.eyebrow) {
  margin-left: auto;
}

.home-panel-inner .hero-actions {
  transform: translateY(28px);
  opacity: 0;
  transition: opacity 0.68s ease 0.28s, transform 0.68s ease 0.28s;
}

.home-panel-inner .button-primary {
  border-color: transparent;
  color: #17130a;
  background: linear-gradient(135deg, #d7c08b, #b99a5b);
}

.home-panel-inner .button-primary:hover {
  background: linear-gradient(135deg, #e0cb99, #c3a36b);
}

.home-scroll-panel.is-active .home-panel-inner .eyebrow,
.home-scroll-panel.is-active .home-panel-inner h2,
.home-scroll-panel.is-active .home-panel-inner p:not(.eyebrow),
.home-scroll-panel.is-active .home-panel-inner .hero-actions {
  opacity: 1;
  transform: none;
}

.home-scroll-progress {
  position: fixed;
  left: 34px;
  top: 50%;
  z-index: 60;
  width: 1px;
  height: 168px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-50%);
}

.home-scroll-progress span {
  display: block;
  width: 100%;
  height: 16.666%;
  background: var(--gold);
  transition: height 0.34s ease;
}

.page-body {
  --primary: #b99a5b;
  --primary-dark: #967743;
  --page-ink: #111217;
  --page-body: #3f4248;
  --page-muted: #6f727a;
  --page-line: rgba(17, 18, 23, 0.12);
  --page-cream: #f4efe6;
  --page-paper: #faf8f3;
  --page-dark: #111217;
  background: var(--page-dark);
}

.cases-news-page {
  color: var(--page-ink);
  background: var(--page-paper);
}

.page-body .site-header {
  background: rgba(12, 13, 16, 0.54);
}

.cases-news-page .site-header,
.cases-news-page .site-header.is-scrolled,
.cases-news-page .site-header.is-open {
  color: var(--page-ink);
  border-color: rgba(17, 18, 23, 0.12);
  background: var(--page-paper);
  box-shadow: none;
}

.cases-news-page .brand-logo {
  filter: none;
}

body.cases-news-page:not(.menu-open) .main-nav a {
  color: rgba(17, 18, 23, 0.76);
}

body.cases-news-page:not(.menu-open) .main-nav a:hover,
body.cases-news-page:not(.menu-open) .main-nav a.is-active {
  color: var(--page-ink);
}

body.cases-news-page:not(.menu-open) .nav-cta {
  border-color: rgba(17, 18, 23, 0.16);
  color: var(--page-ink);
  background: rgba(17, 18, 23, 0.04);
}

body.cases-news-page:not(.menu-open) .menu-toggle {
  border-color: rgba(17, 18, 23, 0.18);
  background: rgba(17, 18, 23, 0.04);
}

body.cases-news-page:not(.menu-open) .menu-toggle span {
  background: var(--page-ink);
}

body.cases-news-page.menu-open .brand-logo {
  filter: brightness(0) invert(96%) sepia(11%) saturate(380%) hue-rotate(6deg) brightness(102%) contrast(94%)
    drop-shadow(0 1px 8px rgba(0, 0, 0, 0.28));
}

.page-body .nav-cta:hover,
.page-body .nav-cta.is-active {
  border-color: transparent;
  color: #17130a;
  background: linear-gradient(135deg, #d7c08b, #b99a5b);
}

body.cases-news-page:not(.menu-open) .nav-cta:hover,
body.cases-news-page:not(.menu-open) .nav-cta.is-active {
  border-color: transparent;
  color: #17130a;
  background: linear-gradient(135deg, #d7c08b, #b99a5b);
}

.page-body .eyebrow.dark {
  color: var(--gold);
}

.page-body .reveal,
.js .page-body .reveal {
  opacity: 1;
  transform: none;
}

.practice-only-page {
  background: #0d0e13;
}

.practice-only-main {
  min-height: 100svh;
  color: var(--white);
  background:
    radial-gradient(circle at 10% 0%, rgba(185, 154, 91, 0.18), transparent 28%),
    radial-gradient(circle at 86% 22%, rgba(255, 255, 255, 0.08), transparent 30%),
    linear-gradient(135deg, #161820 0%, #111217 46%, #0b0c10 100%);
}

.practice-only-section {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  padding: 168px 0 132px;
  overflow: hidden;
}

.practice-only-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black 0 72%, transparent 100%);
}

.practice-only-section::after {
  content: "HAEGYEOL";
  position: absolute;
  right: -0.08em;
  bottom: -0.18em;
  z-index: -1;
  color: rgba(255, 255, 255, 0.035);
  font-size: clamp(96px, 18vw, 260px);
  line-height: 1;
  font-weight: 900;
  pointer-events: none;
}

.practice-only-page .section-head {
  grid-template-columns: 0.72fr 1fr;
  gap: clamp(28px, 6vw, 78px);
  margin-bottom: 62px;
}

.practice-only-page .section-head h1 {
  margin: 0;
  font-size: clamp(46px, 5vw, 68px);
  line-height: 1.08;
  font-weight: 900;
  word-break: keep-all;
}

.practice-only-page .section-head p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 19px;
  line-height: 1.78;
  word-break: keep-all;
}

.practice-only-page .practice-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
}

.practice-only-page .practice-card {
  min-height: 245px;
  padding: 30px;
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: none;
}

.practice-only-page .practice-card:hover {
  border-color: transparent;
  background: rgba(185, 154, 91, 0.16);
}

.practice-only-page .practice-card h2 {
  margin: auto 0 12px;
  color: var(--white);
  font-size: 26px;
  line-height: 1.25;
  font-weight: 900;
  word-break: keep-all;
}

.practice-only-page .practice-card p {
  color: rgba(255, 255, 255, 0.64);
}

.page-shell {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  padding: 132px 0 0;
  color: var(--white);
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 12%, rgba(185, 154, 91, 0.16), transparent 30%),
    linear-gradient(180deg, #14161c 0%, #101115 42%, #0b0c10 100%);
}

.page-shell::before {
  content: "HAEGYEOL";
  position: absolute;
  right: -0.08em;
  top: 96px;
  z-index: -1;
  color: rgba(255, 255, 255, 0.035);
  font-size: clamp(86px, 15vw, 220px);
  line-height: 1;
  font-weight: 900;
  pointer-events: none;
}

.page-shell.cases-page-shell {
  padding-top: 78px;
  color: var(--page-ink);
  background: var(--page-paper);
}

.cases-page-shell::before {
  content: none;
}

.cases-page-shell .case-section {
  padding-top: clamp(64px, 8vw, 92px);
  background: var(--page-paper);
}

.cases-page-shell .case-section::before {
  content: none;
}

.cases-page-shell .container {
  width: min(calc(100% - 64px), var(--max));
  max-width: calc(100vw - 64px);
}

.cases-page-shell .blog-news-section .page-copy p {
  color: var(--page-body);
}

.cases-page-shell .page-section-head p:last-child,
.cases-page-shell .case-card h2,
.cases-page-shell .case-card p,
.cases-page-shell .case-archive strong,
.cases-page-shell .news-list strong {
  word-break: normal;
  overflow-wrap: anywhere;
}

.cases-page-shell .page-section-head p:last-child,
.cases-page-shell .case-card p {
  line-break: anywhere;
  white-space: normal;
  word-break: break-all;
}

.page-hero,
.page-split,
.contact-details,
.member-page-card {
  display: grid;
  gap: clamp(34px, 6vw, 72px);
  align-items: center;
}

.page-hero {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  min-height: calc(100svh - 176px);
  padding-bottom: 96px;
  position: relative;
}

.page-hero::after,
.page-title::after {
  content: "";
  position: absolute;
  left: 28px;
  bottom: 38px;
  width: 1px;
  height: 74px;
  background: linear-gradient(var(--gold), transparent);
}

.page-split {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  padding-top: 104px;
  padding-bottom: 112px;
}

.page-media {
  position: relative;
  min-width: 0;
  min-height: 420px;
  margin: 0;
  overflow: visible;
  border: 0;
  border-radius: 6px;
  background: transparent;
}

.page-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 6px;
  box-shadow:
    inset 0 0 80px rgba(0, 0, 0, 0.18),
    0 34px 84px rgba(0, 0, 0, 0.28);
  pointer-events: none;
}

.page-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
}

.page-copy,
.page-title {
  position: relative;
  min-width: 0;
  max-width: 780px;
}

.page-title {
  min-height: 520px;
  padding-top: 76px;
}

.page-copy h1,
.page-title h1,
.page-consult h1 {
  margin: 0;
  font-size: clamp(46px, 5vw, 68px);
  line-height: 1.1;
  font-weight: 900;
  word-break: keep-all;
}

.page-copy h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.16;
  font-weight: 900;
  word-break: keep-all;
}

.page-copy p,
.page-title p,
.page-consult p {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 19px;
  line-height: 1.82;
  word-break: keep-all;
}

.page-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: min(100%, 680px);
  padding: 22px 0 0;
  margin: 34px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  list-style: none;
}

.page-proof li {
  min-width: 0;
  padding: 0 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.page-proof li:first-child {
  padding-left: 0;
}

.page-proof li:last-child {
  padding-right: 0;
  border-right: 0;
}

.page-proof strong {
  display: block;
  color: var(--gold);
  font-size: clamp(24px, 2.7vw, 36px);
  line-height: 1;
  font-weight: 900;
}

.page-proof span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  font-weight: 800;
  word-break: keep-all;
}

.page-section {
  position: relative;
  margin-top: 0;
  padding: 98px 0 108px;
  color: var(--page-ink);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(250, 248, 243, 0.96), rgba(244, 239, 230, 0.98)),
    var(--page-paper);
}

.page-section::before {
  content: "LAW FIRM";
  position: absolute;
  right: -0.05em;
  bottom: -0.22em;
  color: rgba(17, 18, 23, 0.045);
  font-size: clamp(76px, 14vw, 188px);
  line-height: 1;
  font-weight: 900;
  pointer-events: none;
}

.page-section-compact {
  padding-top: 88px;
}

.about-greeting-section {
  position: relative;
  color: var(--page-ink);
  background:
    linear-gradient(145deg, rgba(250, 248, 243, 0.98) 0%, rgba(246, 242, 234, 0.98) 52%, rgba(234, 230, 222, 0.98) 100%),
    var(--page-paper);
  padding: 104px 0 124px;
  overflow: hidden;
}

.about-greeting-section::before {
  content: "GREETING";
  position: absolute;
  left: -0.05em;
  bottom: -0.22em;
  color: rgba(17, 18, 23, 0.045);
  font-size: clamp(78px, 14vw, 196px);
  line-height: 1;
  font-weight: 900;
  pointer-events: none;
}

.about-greeting-section::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: min(38vw, 520px);
  background: linear-gradient(180deg, rgba(17, 18, 23, 0.045), rgba(185, 154, 91, 0.06));
  pointer-events: none;
}

.about-greeting {
  position: relative;
  z-index: 1;
}

.about-greeting-head {
  margin-bottom: 60px;
  text-align: center;
}

.about-greeting-head .eyebrow {
  margin-bottom: 10px;
}

.about-greeting-head h2 {
  margin: 0;
  color: var(--page-ink);
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1.05;
  font-weight: 900;
  word-break: keep-all;
}

.about-greeting-body {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.58fr);
  align-items: end;
  gap: clamp(38px, 7vw, 96px);
  min-height: 560px;
}

.about-greeting-copy {
  position: relative;
  max-width: 820px;
  padding-top: 4px;
}

.about-greeting-mark {
  position: relative;
  display: block;
  width: 34px;
  height: 34px;
  margin-bottom: 22px;
}

.about-greeting-mark::before,
.about-greeting-mark::after {
  content: "";
  position: absolute;
  display: block;
}

.about-greeting-mark::before {
  left: 9px;
  top: 2px;
  width: 13px;
  height: 28px;
  border: 3px solid var(--gold);
  border-radius: 11px 11px 3px 3px;
  transform: rotate(42deg);
}

.about-greeting-mark::after {
  left: 4px;
  bottom: 2px;
  width: 18px;
  height: 3px;
  background: var(--gold);
  transform: rotate(-18deg);
}

.about-greeting-copy h3 {
  max-width: 760px;
  margin: 0 0 30px;
  color: var(--page-ink);
  font-size: clamp(28px, 3.1vw, 42px);
  line-height: 1.25;
  font-weight: 900;
  word-break: keep-all;
}

.about-greeting-copy p {
  max-width: 780px;
  margin: 0 0 21px;
  color: var(--page-body);
  font-size: 20px;
  line-height: 1.86;
  word-break: keep-all;
}

.about-greeting-sign {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  margin: 38px 0 0;
  color: var(--page-ink);
}

.about-greeting-sign span {
  padding-bottom: 12px;
  color: var(--gold);
  font-size: 16px;
  font-weight: 900;
}

.about-greeting-sign strong {
  position: relative;
  display: inline-block;
  color: #111217;
  font-family: "Nanum Pen Script", "Segoe Script", "Brush Script MT", "Gungsuh", "궁서", cursive;
  font-size: clamp(58px, 6vw, 82px);
  font-weight: 400;
  line-height: 0.82;
  transform: rotate(-3deg);
}

.about-greeting-sign strong::after {
  content: "";
  position: absolute;
  left: 8%;
  right: -8%;
  bottom: -9px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(17, 18, 23, 0.48), transparent);
  transform: rotate(2deg);
}

.about-greeting-portrait {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: min(100%, 390px);
  min-height: 520px;
  margin: 0 0 -124px auto;
  overflow: visible;
}

.about-greeting-portrait::before {
  content: "";
  position: absolute;
  right: -54px;
  bottom: 96px;
  width: clamp(270px, 28vw, 400px);
  height: clamp(260px, 26vw, 360px);
  border: 1px solid rgba(185, 154, 91, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(17, 18, 23, 0.92), rgba(45, 47, 56, 0.72) 56%, rgba(185, 154, 91, 0.36));
  box-shadow: 0 30px 90px rgba(17, 18, 23, 0.18);
  clip-path: polygon(12% 8%, 100% 0, 88% 90%, 0 100%);
}

.about-greeting-portrait::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: 76px;
  width: clamp(230px, 24vw, 340px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(185, 154, 91, 0.7), transparent);
  transform: rotate(-8deg);
}

.about-greeting-portrait img {
  position: relative;
  z-index: 1;
  width: min(70vw, 292px);
  margin: 0;
  filter: drop-shadow(0 28px 38px rgba(17, 18, 23, 0.24));
}

.page-section-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  margin-bottom: 48px;
}

.page-section-head > * {
  min-width: 0;
}

.page-section-head .eyebrow {
  margin: 0;
}

.page-section-head h2 {
  margin: 0;
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 1.12;
  font-weight: 900;
  word-break: keep-all;
}

.page-section-head p:last-child {
  margin: 0;
  color: var(--page-body);
  font-size: 18px;
  line-height: 1.76;
  word-break: keep-all;
}

.page-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
}

.page-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.page-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.feature-card {
  min-width: 0;
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--page-line);
  border-radius: var(--radius);
  color: var(--page-ink);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 16px 42px rgba(17, 18, 23, 0.06);
}

.feature-card span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.feature-card h2 {
  margin: 42px 0 12px;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 900;
  word-break: keep-all;
}

.feature-card p {
  margin: 0;
  color: var(--page-body);
  line-height: 1.7;
  word-break: keep-all;
}

.link-card {
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.link-card:hover {
  transform: translateY(-4px);
  border-color: rgba(185, 154, 91, 0.46);
  background: var(--white);
  box-shadow: 0 20px 46px rgba(185, 154, 91, 0.16);
}

.case-section::before {
  content: "CASES";
}

.archive-section {
  background:
    linear-gradient(180deg, rgba(244, 239, 230, 0.98), rgba(250, 248, 243, 0.98)),
    var(--page-cream);
}

.cases-page-shell .archive-section {
  color: var(--white);
  background:
    radial-gradient(circle at 86% 6%, rgba(195, 163, 107, 0.16), transparent 30%),
    linear-gradient(180deg, #17181e 0%, #101116 100%);
}

.archive-section::before {
  content: "ARCHIVE";
}

.cases-page-shell .archive-section::before {
  color: rgba(255, 255, 255, 0.045);
}

.cases-page-shell .archive-section .page-section-head h2 {
  color: var(--white);
}

.cases-page-shell .archive-section .page-section-head p:last-child {
  color: rgba(255, 255, 255, 0.7);
}

.cases-page-shell .archive-section .case-archive a {
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--white);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: none;
}

.cases-page-shell .archive-section .case-archive a:hover {
  border-color: rgba(195, 163, 107, 0.54);
  background: rgba(195, 163, 107, 0.12);
}

.cases-page-shell .archive-section .case-archive strong {
  color: var(--white);
}

.case-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.case-card {
  display: flex;
  min-width: 0;
  min-height: 268px;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--page-line);
  border-radius: var(--radius);
  color: var(--page-ink);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 42px rgba(17, 18, 23, 0.06);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(185, 154, 91, 0.46);
  background: var(--white);
  box-shadow: 0 20px 46px rgba(185, 154, 91, 0.16);
}

.case-card span,
.case-archive span,
.news-list span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.case-card h2 {
  margin: 32px 0 14px;
  font-size: 24px;
  line-height: 1.32;
  font-weight: 900;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.case-card p {
  margin: auto 0 0;
  color: var(--page-body);
  line-height: 1.7;
  word-break: keep-all;
}

.case-source {
  position: relative;
  z-index: 1;
  margin-top: 22px;
}

.case-source p {
  margin: 0;
  color: var(--page-muted);
  font-size: 14px;
  font-weight: 800;
}

.case-source a {
  color: var(--primary-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.case-archive {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.case-archive a,
.news-list a {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  align-items: center;
  min-width: 0;
  min-height: 66px;
  padding: 16px 18px;
  border: 1px solid var(--page-line);
  border-radius: var(--radius);
  color: var(--page-ink);
  background: rgba(255, 255, 255, 0.78);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.case-archive a:hover,
.news-list a:hover {
  transform: translateY(-2px);
  border-color: rgba(185, 154, 91, 0.48);
  background: var(--white);
}

.case-archive strong,
.news-list strong {
  min-width: 0;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 900;
  word-break: keep-all;
}

.blog-news-section {
  padding-bottom: 112px;
  scroll-margin-top: 88px;
}

.case-section,
.archive-section {
  scroll-margin-top: 88px;
}

.blog-news-section .page-copy {
  align-self: start;
}

.blog-link-row {
  margin-top: 28px;
}

.blog-link-row .button-primary {
  border-color: transparent;
  color: #17130a;
  background: linear-gradient(135deg, #d7c08b, #b99a5b);
}

.blog-link-row .button-primary:hover {
  background: linear-gradient(135deg, #e0cb99, #c3a36b);
}

.news-list {
  display: grid;
  gap: 10px;
}

.process-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.process-list article {
  min-width: 0;
  min-height: 236px;
  padding: 26px;
  border: 1px solid var(--page-line);
  border-radius: var(--radius);
  color: var(--page-ink);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 42px rgba(17, 18, 23, 0.06);
}

.process-list strong {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(195, 163, 107, 0.5);
  border-radius: 50%;
  color: var(--gold);
  font-weight: 900;
}

.process-list h2 {
  margin: 44px 0 10px;
  font-size: 24px;
  line-height: 1.3;
}

.process-list p {
  margin: 0;
  color: var(--page-body);
  line-height: 1.7;
  word-break: keep-all;
}

.member-page-grid {
  display: grid;
  gap: 24px;
  padding-top: 96px;
  padding-bottom: 112px;
}

.member-page-card {
  grid-template-columns: minmax(280px, 0.44fr) minmax(0, 1fr);
  padding: 34px;
  border: 1px solid rgba(215, 192, 139, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.055);
  box-shadow: 0 24px 74px rgba(0, 0, 0, 0.26);
}

.member-page-card figure {
  display: grid;
  align-items: end;
  justify-items: center;
  min-height: 400px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(17, 18, 23, 0.1);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 70% 18%, rgba(195, 163, 107, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(226, 226, 221, 0.82));
}

.member-page-card figure img {
  width: min(78%, 280px);
  max-height: 380px;
  object-fit: contain;
  object-position: center bottom;
}

.member-page-card h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.18;
}

.member-page-card p {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
  line-height: 1.78;
  word-break: keep-all;
}

.member-page-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.member-page-card li {
  padding: 7px 12px;
  border: 1px solid rgba(215, 192, 139, 0.28);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 900;
}

.member-page-card dl {
  display: grid;
  margin: 26px 0 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.member-page-card dl div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.member-page-card dt {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.member-page-card dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  line-height: 1.66;
  word-break: keep-all;
}

.contact-details {
  grid-template-columns: minmax(260px, 0.42fr) 1fr;
  padding: 34px;
  border: 1px solid rgba(215, 192, 139, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.page-brand-block {
  align-self: stretch;
}

.page-contact-list {
  align-self: start;
}

.page-body .consult-panel.page-consult {
  min-height: calc(100svh - 190px);
  margin-bottom: 104px;
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid rgba(215, 192, 139, 0.22);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 86% 10%, rgba(185, 154, 91, 0.24), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)),
    #15171e;
  box-shadow: 0 30px 86px rgba(0, 0, 0, 0.32);
  align-items: center;
}

@media (max-width: 1180px) {
  .site-header {
    padding-inline: 28px;
  }

  .main-nav {
    gap: 20px;
  }

  .panel-layout,
  .hero-layout,
  .split-layout,
  .consult-panel,
  .member-layout,
  .member-layout-reverse,
  .contact-grid {
    gap: 44px;
  }

  .panel-copy h1 {
    font-size: 64px;
  }

  .panel-copy h2,
  .panel-narrow h2,
  .section-head h2,
  .member-body h2,
  .consult-panel h2 {
    font-size: 48px;
  }

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

  .page-copy h1,
  .page-title h1,
  .page-consult h1 {
    font-size: 48px;
  }

  .page-copy h2 {
    font-size: 40px;
  }

  .page-grid.four,
  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 920px) {
  html {
    scroll-snap-type: none;
  }

  .site-header {
    min-height: 74px;
    padding-inline: 18px;
  }

  .brand {
    width: var(--brand-width);
    height: var(--brand-height);
  }

  .brand-logo {
    height: var(--brand-logo-height);
    margin: var(--brand-logo-offset-y) 0 0 var(--brand-logo-offset-x);
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.08);
  }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 71;
    width: 100vw;
    height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 22px;
    padding: 112px 24px 40px;
    overflow-y: auto;
    color: var(--white);
    background-color: #090a0e;
    background-image: linear-gradient(180deg, #0b0c10 0%, #090a0e 100%);
    font-size: 24px;
    transform: translateX(100%);
    transition: transform 0.24s ease;
    box-shadow: -24px 0 80px rgba(0, 0, 0, 0.42);
  }

  @supports (height: 100dvh) {
    .main-nav {
      height: 100dvh;
    }
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .main-nav a {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 48px;
    padding: 4px 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    border-radius: 6px;
    font-weight: 900;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.34);
  }

  .main-nav a:not(.nav-cta)::after {
    display: none;
  }

  .main-nav a.is-active {
    color: var(--gold);
  }

  body.menu-open .main-nav a {
    color: #f7f4ec !important;
  }

  body.menu-open .main-nav a.is-active {
    color: var(--gold) !important;
  }

  .nav-cta {
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    margin-top: 8px;
    border-bottom: 0;
    font-size: 18px;
  }

  .panel-dots {
    display: none;
  }

  .quick-panel {
    right: 16px;
    bottom: 16px;
    width: 90px;
  }

  .quick-menu-title {
    min-height: 54px;
    font-size: 14px;
  }

  .panel-section {
    min-height: auto;
    padding: 104px 0 74px;
    scroll-snap-align: none;
  }

  .panel-layout,
  .hero-layout,
  .split-layout,
  .consult-panel,
  .member-layout,
  .member-layout-reverse,
  .contact-grid,
  .section-head {
    grid-template-columns: 1fr;
  }

  .member-layout-reverse .member-portrait {
    order: 0;
  }

  .hero-lawyers {
    min-height: 360px;
    justify-content: center;
    opacity: 0.72;
  }

  .hero-lawyers::before {
    width: 320px;
    height: 320px;
  }

  .hero-lawyer {
    width: 176px;
  }

  .member-portrait {
    width: min(100%, 420px);
    min-height: 420px;
  }

  .member-portrait img {
    height: 400px;
  }

  .panel-narrow {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-brand-block {
    padding-right: 0;
    padding-bottom: 26px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .page-shell {
    padding-top: 112px;
  }

  .page-hero,
  .page-split,
  .contact-details,
  .member-page-card {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .page-hero,
  .page-consult {
    min-height: auto;
  }

  .page-title {
    min-height: auto;
    padding-top: 42px;
    padding-bottom: 78px;
  }

  .page-section-head {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 36px;
  }

  .about-greeting-head {
    margin-bottom: 48px;
  }

  .about-greeting-body {
    grid-template-columns: 1fr;
    gap: 46px;
    min-height: auto;
  }

  .about-greeting-copy {
    max-width: none;
  }

  .about-greeting-portrait {
    width: min(100%, 360px);
    min-height: 380px;
    margin: 0 auto -96px;
  }

  .about-greeting-portrait img {
    width: min(62vw, 280px);
  }

  .page-media,
  .page-media img {
    min-height: 320px;
  }

  .page-grid.three,
  .page-grid.four,
  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-grid,
  .case-archive {
    grid-template-columns: 1fr;
  }

  .member-page-card {
    padding: 24px;
  }

  .member-page-card figure {
    min-height: 330px;
  }

  .home-control-bar {
    grid-template-columns: 1fr;
    width: min(100% - 36px, 720px);
    bottom: 16px;
  }

  .home-gallery-controls {
    justify-self: start;
    min-height: 58px;
    padding: 7px;
  }

  .home-thumb-rail {
    grid-auto-columns: 76px;
    order: 2;
  }

  .home-thumb {
    width: 76px;
  }

  .home-scroll-dots,
  .home-scroll-progress {
    display: none;
  }

  .home-scroll-panel {
    padding: 112px 0 68px;
  }

  .home-panel-inner,
  .home-panel-inner.align-right {
    justify-self: auto;
    width: calc(100% - 40px);
    max-width: 620px;
    margin-inline: auto;
    padding-left: 22px;
    padding-right: 0;
    border-left: 2px solid rgba(195, 163, 107, 0.72);
    border-right: 0;
    text-align: left;
  }

  .home-panel-inner h2 {
    font-size: clamp(34px, 6.6vw, 48px);
    line-height: 1.2;
  }

  .home-visual-shade {
    background:
      linear-gradient(180deg, rgba(5, 6, 7, 0.42) 0%, rgba(5, 6, 7, 0.06) 32%, rgba(5, 6, 7, 0.34) 100%),
      linear-gradient(90deg, rgba(5, 6, 7, 0.68) 0%, rgba(5, 6, 7, 0.2) 48%, rgba(5, 6, 7, 0.34) 100%);
  }
}

@media (max-width: 680px) {
  .quick-panel {
    right: 12px;
    bottom: 14px;
    width: 82px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  }

  .quick-menu-title {
    min-height: 48px;
    padding: 11px 8px 10px;
    font-size: 13px;
  }

  .quick-menu-body {
    padding: 8px 7px 14px;
  }

  .quick-menu-link {
    min-height: 62px;
    font-size: 11px;
  }

  .quick-menu-icon {
    transform: scale(0.88);
  }

  .container {
    width: min(100% - 40px, 420px);
  }

  .panel-section {
    padding: 98px 0 66px;
  }

  .panel-section.is-dark::before {
    background: rgba(8, 8, 10, 0.82);
  }

  .panel-section.is-light::before {
    background: rgba(247, 247, 244, 0.9);
  }

  .panel-copy h1 {
    font-size: 42px;
  }

  .panel-copy h2,
  .panel-narrow h2,
  .section-head h2,
  .member-body h2,
  .consult-panel h2,
  .contact-grid h2 {
    font-size: 34px;
  }

  .panel-lead,
  .panel-narrow p,
  .section-head p,
  .member-body p,
  .consult-panel p,
  .contact-lead {
    font-size: 16px;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
    min-height: 48px;
  }

  .hero-lawyers {
    min-height: 260px;
  }

  .hero-lawyers::before {
    width: 240px;
    height: 240px;
  }

  .hero-lawyer {
    width: 132px;
  }

  .proof-grid,
  .principle-grid,
  .practice-grid,
  .prepare-list,
  .consult-form,
  .contact-list {
    grid-template-columns: 1fr;
  }

  .proof-grid article,
  .principle-grid article,
  .practice-card,
  .prepare-list article {
    min-height: 0;
  }

  .proof-grid strong,
  .principle-grid h3,
  .practice-card h3 {
    margin-top: 26px;
  }

  .method-list article {
    grid-template-columns: 42px 1fr;
    gap: 14px;
  }

  .method-list strong {
    width: 34px;
    height: 34px;
  }

  .member-portrait {
    min-height: 360px;
  }

  .member-portrait img {
    height: 340px;
    padding-inline: 22px;
  }

  .profile-list div,
  .quick-contact div,
  .contact-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .home-photo-main img {
    object-position: center;
  }

  .home-gallery-shade {
    height: 46%;
  }

  .home-control-bar {
    width: calc(100% - 24px);
    gap: 10px;
    bottom: 12px;
  }

  .home-gallery-controls {
    min-height: 48px;
    padding: 5px;
  }

  .home-nav-button {
    width: 38px;
    height: 38px;
    font-size: 26px;
  }

  .home-gallery-count {
    min-width: 54px;
    font-size: 11px;
  }

  .home-thumb-rail {
    grid-auto-columns: 64px;
    gap: 8px;
    padding: 8px;
  }

  .home-thumb {
    width: 64px;
  }

  .home-scroll-panel {
    padding: 102px 0 58px;
  }

  .home-panel-inner,
  .home-panel-inner.align-right {
    width: calc(100% - 68px);
    max-width: 420px;
    padding-left: 18px;
  }

  .home-panel-inner h2 {
    width: 78%;
    max-width: 280px;
    font-size: 30px;
    line-height: 1.22;
  }

  .home-panel-inner p:not(.eyebrow) {
    width: 78%;
    max-width: 280px;
    font-size: 16px;
    line-height: 1.76;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .home-panel-inner .hero-actions {
    width: 78%;
    max-width: 280px;
  }

  .home-visual img {
    object-position: center;
  }

  .page-shell {
    padding: 98px 0 64px;
  }

  .page-copy h1,
  .page-title h1,
  .page-consult h1 {
    font-size: 36px;
  }

  .page-copy h2,
  .member-page-card h2 {
    font-size: 30px;
  }

  .page-copy p,
  .page-title p,
  .page-consult p,
  .member-page-card p {
    font-size: 16px;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .page-copy h1,
  .page-copy h2,
  .page-title h1,
  .page-consult h1 {
    max-width: 100%;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .page-proof {
    grid-template-columns: 1fr;
    padding-top: 0;
  }

  .page-proof li,
  .page-proof li:first-child,
  .page-proof li:last-child {
    padding: 15px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .page-proof li:last-child {
    border-bottom: 0;
  }

  .page-section-head h2 {
    font-size: 34px;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .page-section-head p:last-child {
    font-size: 16px;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .about-greeting-section {
    padding: 72px 0 86px;
  }

  .about-greeting-section::after {
    width: 48vw;
  }

  .about-greeting-head {
    margin-bottom: 40px;
  }

  .about-greeting-head h2 {
    font-size: 42px;
  }

  .about-greeting-copy h3 {
    font-size: 29px;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .about-greeting-copy p {
    font-size: 17px;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .about-greeting-sign {
    gap: 14px;
    margin-top: 30px;
  }

  .about-greeting-sign span {
    padding-bottom: 9px;
    font-size: 14px;
  }

  .about-greeting-sign strong {
    font-size: 62px;
  }

  .about-greeting-portrait {
    width: min(100%, 300px);
    min-height: 318px;
    margin-bottom: -86px;
  }

  .about-greeting-portrait::before {
    right: -34px;
    bottom: 74px;
    width: 270px;
    height: 250px;
  }

  .about-greeting-portrait img {
    width: min(68vw, 224px);
  }

  .page-media,
  .page-media img {
    min-height: 240px;
  }

  .page-section {
    margin-top: 0;
    padding: 58px 0;
  }

  .page-grid.three,
  .page-grid.four,
  .case-grid,
  .case-archive,
  .process-list {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .case-card,
  .process-list article {
    min-height: 0;
  }

  .feature-card h2,
  .case-card h2,
  .process-list h2 {
    margin-top: 28px;
  }

  .case-card p {
    margin-top: 0;
    font-size: 15px;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .case-card h2 {
    font-size: 20px;
  }

  .case-archive a,
  .news-list a {
    grid-template-columns: 1fr;
    gap: 6px;
    min-height: 0;
  }

  .case-archive strong,
  .news-list strong {
    font-size: 16px;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .page-split {
    padding-top: 58px;
  }

  .contact-details,
  .member-page-card {
    padding: 20px;
  }

  .member-page-card figure {
    min-height: 290px;
  }

  .member-page-card figure img {
    max-height: 280px;
  }

  .member-page-card dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 520px) {
  .cases-page-shell .page-section-head h2 {
    font-size: 30px;
    line-height: 1.18;
    word-break: keep-all;
    overflow-wrap: normal;
  }
}

@media (max-width: 1180px) {
  .practice-only-page .practice-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 920px) {
  .practice-only-section {
    padding: 128px 0 92px;
  }

  .practice-only-page .section-head {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 40px;
  }

  .practice-only-page .section-head p:last-child {
    font-size: 17px;
  }
}

@media (max-width: 680px) {
  .practice-only-section {
    padding: 112px 0 72px;
  }

  .practice-only-page .section-head h1 {
    font-size: 38px;
  }

  .practice-only-page .section-head p:last-child {
    font-size: 16px;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .practice-only-page .practice-grid {
    grid-template-columns: 1fr;
  }

  .practice-only-page .practice-card {
    min-height: 180px;
    padding: 24px;
  }

  .practice-only-page .practice-card h2 {
    font-size: 24px;
  }
}

@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;
  }
}

.site-popup {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--ink);
  background: rgba(10, 11, 13, 0.66);
  backdrop-filter: blur(10px);
}

.managed-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 22px;
  border: 1px solid rgba(25, 26, 29, 0.12);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 900;
}

.site-popup-card {
  position: relative;
  width: min(100%, 520px);
  padding: 30px;
  border: 1px solid rgba(195, 163, 107, 0.34);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
}

.site-popup-card h2 {
  margin: 8px 36px 14px 0;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.25;
  word-break: keep-all;
}

.site-popup-card p {
  margin: 0;
  color: var(--body);
  line-height: 1.72;
  white-space: pre-line;
  word-break: keep-all;
}

.site-popup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.site-popup-actions a,
.site-popup-actions button {
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid rgba(25, 26, 29, 0.16);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  font-weight: 900;
}

.site-popup-actions a {
  border-color: transparent;
  color: #17130a;
  background: linear-gradient(135deg, #d7c08b, #b99a5b);
}

.site-popup-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(25, 26, 29, 0.14);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(25, 26, 29, 0.04);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

body.admin-page {
  min-height: 100vh;
  color: var(--ink);
  background: #f4f4f0;
}

.admin-shell {
  min-height: 100vh;
}

.admin-loading,
.admin-login {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 32px;
}

.admin-loading {
  align-content: center;
  gap: 8px;
  color: var(--ink);
}

.admin-loading h1 {
  margin: 0;
  font-size: 30px;
}

.admin-login-card {
  width: min(100%, 460px);
  padding: 34px;
  border: 1px solid rgba(25, 26, 29, 0.1);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 24px 70px rgba(25, 26, 29, 0.1);
}

.admin-login-card img {
  width: 76px;
  height: 56px;
  object-fit: cover;
  object-position: left top;
  margin-bottom: 24px;
}

.admin-login-card h1 {
  margin: 4px 0 10px;
  color: var(--ink);
  font-size: 32px;
  line-height: 1.22;
}

.admin-login-card p {
  margin: 0 0 18px;
  color: var(--body);
  word-break: keep-all;
}

.admin-login-card form {
  display: grid;
  gap: 14px;
}

.admin-layout {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 260px minmax(0, 1fr);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 28px 20px;
  border-right: 1px solid rgba(25, 26, 29, 0.1);
  background: #17181d;
}

.admin-brand {
  display: block;
  width: 82px;
  height: 58px;
  overflow: hidden;
  margin-bottom: 28px;
}

.admin-brand img {
  width: 110px;
  max-width: none;
  height: 82px;
  object-fit: cover;
  object-position: left top;
  transform: translate(-16px, -16px);
}

.admin-tabs {
  display: grid;
  gap: 8px;
}

.admin-tabs button {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  text-align: left;
  font-weight: 900;
}

.admin-tabs button:hover,
.admin-tabs button.is-active {
  border-color: rgba(195, 163, 107, 0.46);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.admin-workspace {
  min-width: 0;
  padding: 34px;
}

.admin-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
}

.admin-topbar h1 {
  margin: 4px 0 6px;
  color: var(--ink);
  font-size: 36px;
  line-height: 1.2;
}

.admin-updated {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.admin-top-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.admin-top-actions a,
.admin-top-actions button,
.admin-primary-button,
.admin-save-button,
.admin-card-actions button {
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid rgba(25, 26, 29, 0.14);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  font-size: 14px;
  font-weight: 900;
}

.admin-save-button,
.admin-primary-button {
  border-color: transparent;
  color: #17130a;
  background: linear-gradient(135deg, #d7c08b, #b99a5b);
}

.admin-status {
  min-height: 24px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.admin-status[data-type="success"] {
  color: #087443;
}

.admin-status[data-type="warning"],
.admin-status[data-type="working"] {
  color: #87621b;
}

.admin-status[data-type="error"] {
  color: #b42318;
}

.admin-panel-section {
  display: grid;
  gap: 18px;
}

.admin-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.admin-section-head h2 {
  margin: 4px 0 6px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.25;
}

.admin-section-head p:last-child {
  margin: 0;
  color: var(--body);
  word-break: keep-all;
}

.admin-form-card,
.admin-edit-card,
.admin-empty {
  padding: 22px;
  border: 1px solid rgba(25, 26, 29, 0.1);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 42px rgba(25, 26, 29, 0.07);
}

.admin-edit-list {
  display: grid;
  gap: 14px;
}

.admin-edit-card {
  display: grid;
  gap: 16px;
}

.admin-edit-card.is-compact {
  gap: 12px;
}

.admin-card-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.admin-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-card-actions .is-danger {
  color: #b42318;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-field,
.admin-check {
  display: grid;
  gap: 7px;
}

.admin-field-full {
  grid-column: 1 / -1;
}

.admin-field span,
.admin-check span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.admin-field input,
.admin-field select,
.admin-field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(25, 26, 29, 0.16);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fbfbf8;
  font-size: 15px;
}

.admin-field input,
.admin-field select {
  height: 44px;
  padding: 0 12px;
}

.admin-field textarea {
  resize: vertical;
  padding: 11px 12px;
  line-height: 1.55;
}

.admin-check {
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 9px;
}

.admin-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}

.admin-empty {
  color: var(--muted);
  font-weight: 900;
}

@media (max-width: 980px) {
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
    padding: 18px;
  }

  .admin-tabs {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .admin-tabs button {
    text-align: center;
  }

  .admin-workspace {
    padding: 24px;
  }

  .admin-topbar,
  .admin-section-head {
    display: grid;
  }

  .admin-top-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .site-popup-card {
    padding: 24px;
  }

  .site-popup-card h2 {
    font-size: 26px;
  }

  .admin-login,
  .admin-loading {
    padding: 18px;
  }

  .admin-login-card,
  .admin-workspace {
    padding: 20px;
  }

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

  .admin-form-grid {
    grid-template-columns: 1fr;
  }

  .admin-card-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-topbar h1 {
    font-size: 30px;
  }
}
