:root {
  --primary: #1f2b72;
  --primary-deep: #121947;
  --primary-soft: #283783;
  --ink: #111827;
  --body: #2d3748;
  --muted: #677386;
  --line: #dce2ec;
  --paper: #f6f7fa;
  --white: #ffffff;
  --accent: #c7a260;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max: 1160px;
  --gutter: clamp(24px, 5vw, 76px);
}

* {
  box-sizing: border-box;
  scrollbar-width: none;
}

*::-webkit-scrollbar {
  display: none;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scrollbar-width: none;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif;
  line-height: 1.78;
  word-break: keep-all;
  overflow-x: hidden;
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

body.nav-open {
  overflow: hidden;
}

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

button {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 14px;
  color: var(--white);
  background: var(--primary);
  border-radius: 10px;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  padding: 12px max(var(--gutter), calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: rgba(15, 23, 63, 0.26);
  transition: background 0.2s ease, border-color 0.2s ease, min-height 0.2s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  min-height: 60px;
  background: rgba(31, 43, 114, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(128px, 12vw, 172px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.8vw, 40px);
  font-size: 14px;
  font-weight: 800;
}

.site-nav a {
  opacity: 0.84;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a[aria-current="page"] {
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 12px;
  background: transparent;
  color: var(--white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 6px auto;
  background: currentColor;
  transition: transform 0.2s ease;
}

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

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

.page-band-dark,
.page-band-blue {
  color: var(--white);
  background: var(--primary);
}

.hero,
.sub-hero,
.people-hero {
  position: relative;
  overflow: hidden;
  padding-right: max(var(--gutter), calc((100vw - var(--max)) / 2));
  padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2));
}

.home-hero {
  min-height: 88svh;
}

.hero-media,
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media::before,
.page-hero-bg::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, rgba(31, 43, 114, 0.96), rgba(31, 43, 114, 0.78) 48%, rgba(18, 25, 71, 0.4)),
    linear-gradient(0deg, rgba(18, 25, 71, 0.3), rgba(18, 25, 71, 0.08));
}

.hero-media img,
.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media img {
  object-position: 72% 50%;
}

.hero-copy,
.sub-hero > :not(.page-hero-bg),
.people-hero > :not(.page-hero-bg) {
  position: relative;
  z-index: 2;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 670px;
  min-height: 88svh;
  padding: 104px 0 88px;
}

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

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1,
h2,
h3,
.footer-title {
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

.hero h1 {
  margin: 0;
  font-size: clamp(44px, 6.8vw, 86px);
  line-height: 1.1;
  font-weight: 900;
}

.hero-lead {
  max-width: 600px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.9;
}

.sub-hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 58svh;
  padding-top: 118px;
  padding-bottom: clamp(60px, 8vw, 92px);
}

.sub-hero h1,
.people-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1.22;
  font-weight: 900;
}

.sub-hero p:not(.eyebrow),
.people-hero-head p {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.9;
}

.section {
  padding: clamp(70px, 9vw, 116px) var(--gutter);
}

.section-grid,
.section-heading,
.feature-grid,
.work-preview,
.practice-catalog,
.article-list,
.case-feature,
.case-list,
.site-footer {
  max-width: var(--max);
  margin: 0 auto;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(320px, 1fr);
  gap: clamp(34px, 6vw, 80px);
}

h2 {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.3;
  font-weight: 900;
}

.prose {
  color: var(--body);
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.95;
}

.prose p {
  margin: 0;
}

.prose p + p {
  margin-top: 22px;
}

.page-band-blue {
  background:
    linear-gradient(0deg, rgba(31, 43, 114, 0.92), rgba(31, 43, 114, 0.92)),
    url("/assets/imgs/bg-tower-angle.webp") center / cover;
}

.section-heading {
  margin-bottom: clamp(30px, 5vw, 54px);
}

.section-heading h2 {
  max-width: 760px;
}

.feature-grid {
  display: grid;
  gap: 18px;
}

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

.feature-card,
.practice-card,
.article-list article,
.case-feature,
.case-list article {
  border-radius: var(--radius-md);
}

.feature-card {
  min-height: 250px;
  padding: clamp(24px, 3.6vw, 38px);
  background: var(--white);
  border: 1px solid var(--line);
}

.dark-card {
  color: var(--white);
  background: rgba(16, 26, 76, 0.72);
  border-color: rgba(255, 255, 255, 0.14);
}

.feature-card span,
.practice-card span,
.article-list span,
.case-feature > div:not(.image-slot) > span,
.case-list span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.feature-card h3,
.practice-card h3,
.article-list h2,
.case-list h3 {
  margin: 12px 0 10px;
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.38;
}

.feature-card p,
.practice-card p,
.article-list p,
.case-feature p,
.case-list h3 {
  color: inherit;
  opacity: 0.78;
  line-height: 1.85;
}

.work-preview {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(320px, 1fr);
  gap: clamp(30px, 5vw, 68px);
  align-items: center;
}

.section-pair {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(320px, 1fr);
  gap: clamp(30px, 5vw, 68px);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
}

.section-pair + .practice-catalog,
.section-pair + .article-list,
.section-heading + .topic-board {
  margin-top: clamp(34px, 5vw, 58px);
}

.split-visual img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.split-copy {
  padding: clamp(22px, 4vw, 40px);
}

.step-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  padding: 18px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.step-list strong,
.step-list span {
  display: block;
}

.step-list strong {
  font-size: 18px;
}

.step-list span {
  margin-top: 4px;
  color: var(--muted);
}

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

.topic-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: var(--max);
  margin: 28px auto 0;
}

.topic-card {
  padding: clamp(22px, 3vw, 32px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.topic-card h3 {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.3;
}

.topic-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--body);
}

.practice-card {
  min-height: 220px;
  padding: clamp(22px, 3vw, 32px);
  background: var(--paper);
  border: 1px solid var(--line);
}

.practice-card.wide {
  grid-column: span 3;
  color: var(--white);
  background: var(--primary);
  border-color: var(--primary);
}

.practice-card h2,
.practice-card h3 {
  margin: 0 0 12px;
}

.practice-card.wide h2 {
  font-size: clamp(30px, 3.6vw, 46px);
}

.article-list {
  display: grid;
  gap: 16px;
}

.article-list.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-list.compact article {
  display: block;
  min-height: 240px;
}

.article-list.compact h2 {
  margin: 12px 0;
  font-size: clamp(21px, 2vw, 28px);
}

.article-list.compact p {
  margin-top: 12px;
}

.article-list article {
  display: grid;
  grid-template-columns: 140px minmax(260px, 0.62fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: start;
  padding: clamp(22px, 3vw, 34px);
  background: var(--paper);
  border: 1px solid var(--line);
}

.page-band-blue .article-list article {
  color: var(--ink);
}

.article-list h2,
.article-list p {
  margin: 0;
}

.case-feature {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(320px, 1fr);
  gap: 26px;
  overflow: hidden;
  color: var(--white);
  background: var(--primary);
}

.case-feature > div {
  padding: clamp(28px, 4vw, 48px);
}

.case-feature h2 {
  margin: 12px 0 14px;
}

.case-feature img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.case-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.case-list article {
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.case-list p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.case-feature .image-slot {
  min-height: 360px;
  margin: 0;
  border-radius: 0;
}

.image-slot {
  display: grid;
  min-height: 240px;
  place-items: center;
  padding: 24px;
  color: rgba(31, 43, 114, 0.68);
  text-align: center;
  background:
    linear-gradient(135deg, rgba(31, 43, 114, 0.08), rgba(199, 162, 96, 0.08)),
    var(--paper);
  border: 1px dashed rgba(31, 43, 114, 0.28);
  border-radius: var(--radius-md);
}

.image-slot span {
  display: block;
  max-width: 360px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.7;
}

.people-hero {
  min-height: 100svh;
  padding-top: 108px;
  padding-bottom: 88px;
}

.people-hero-head {
  max-width: var(--max);
  margin: 0 auto 34px;
}

.people-stage {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 14px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
}

.people-track {
  position: relative;
  height: clamp(500px, 48vw, 620px);
  overflow: hidden;
  padding: 0;
  scrollbar-width: none;
}

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

.person-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(180px, 18vw, 240px);
  height: clamp(300px, 32vw, 430px);
  display: block;
  min-height: 0;
  overflow: hidden;
  color: var(--white);
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 0;
  opacity: 0;
  cursor: pointer;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.82);
  transition: opacity 0.22s ease, transform 0.24s ease, filter 0.22s ease;
}

.person-slide img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center top;
}

.person-slide .person-name {
  position: absolute;
  right: 8px;
  bottom: 18px;
  display: block;
  padding: 6px 10px;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 900;
  text-align: right;
  text-shadow: 0 8px 24px rgba(4, 7, 22, 0.46);
}

.person-summary {
  display: none;
}

.person-slide.is-active {
  z-index: 3;
  width: clamp(320px, 34vw, 500px);
  height: clamp(500px, 46vw, 620px);
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.person-slide.is-prev,
.person-slide.is-next {
  z-index: 2;
  opacity: 0.48;
  pointer-events: auto;
  filter: saturate(0.85);
}

.person-slide.is-prev {
  transform: translate(calc(-50% - min(30vw, 400px)), -45%) scale(0.72);
}

.person-slide.is-next {
  transform: translate(calc(-50% + min(30vw, 400px)), -45%) scale(0.72);
}

.person-slide.is-active img {
  min-height: 0;
}

.person-slide.is-active .person-name {
  right: 10px;
  bottom: 62px;
  font-size: clamp(36px, 4vw, 56px);
}

.person-slide.is-active .person-summary {
  position: absolute;
  right: 20px;
  bottom: 26px;
  display: block;
  max-width: calc(100% - 40px);
  overflow: hidden;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-align: right;
  text-overflow: ellipsis;
  text-shadow: 0 5px 18px rgba(4, 7, 22, 0.68);
  white-space: nowrap;
}

.carousel-arrow {
  width: 44px;
  height: 44px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.profile-dialog {
  width: min(980px, calc(100vw - 34px));
  height: min(84svh, 820px);
  max-height: min(84svh, 820px);
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--ink);
  background: var(--white);
}

.profile-dialog::backdrop {
  background: rgba(8, 12, 32, 0.64);
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  width: 38px;
  height: 38px;
  padding: 0;
  color: var(--white);
  background: rgba(31, 43, 114, 0.82);
  border: 0;
  border-radius: 999px;
  font-size: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.dialog-close::before,
.dialog-close::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 1.5px;
  content: "";
  background: currentColor;
  border-radius: 999px;
  transform-origin: center;
}

.dialog-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

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

.dialog-close:hover,
.dialog-close:focus-visible {
  background: var(--primary);
  transform: rotate(90deg);
}

.dialog-close:focus-visible {
  outline: 3px solid rgba(199, 162, 96, 0.55);
  outline-offset: 2px;
}

.dialog-body {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
  height: 100%;
  padding: clamp(24px, 4vw, 42px);
  overflow: hidden;
}

.profile-portrait {
  display: grid;
  align-self: start;
  height: 100%;
  min-height: 0;
  place-items: end center;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(31, 43, 114, 0.12), rgba(199, 162, 96, 0.12)),
    var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.profile-portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}

.dialog-body h2 {
  margin-top: 0;
  font-size: clamp(32px, 4vw, 48px);
}

.profile-copy {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  min-height: 0;
}

.profile-head {
  flex: 0 0 auto;
}

.profile-summary {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.profile-scroll-shell {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  margin-top: 30px;
}

.profile-scroll {
  display: grid;
  height: 100%;
  gap: 26px;
  padding: 0 12px 30px 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.profile-scroll-cue {
  position: absolute;
  right: 50%;
  bottom: 4px;
  z-index: 2;
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(31, 43, 114, 0.18);
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(18, 25, 71, 0.16);
  font-size: 18px;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translate(50%, 8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.profile-scroll-cue.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(50%, 0);
  animation: profile-scroll-cue 1.4s ease-in-out infinite;
}

@keyframes profile-scroll-cue {
  0%, 100% { transform: translate(50%, 0); }
  50% { transform: translate(50%, 6px); }
}

@media (prefers-reduced-motion: reduce) {
  .profile-scroll-cue.is-visible {
    animation: none;
  }
}

.profile-mobile-expertise {
  display: none;
}

.profile-section {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.profile-section h3 {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 18px;
  line-height: 1.4;
}

.profile-section ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: var(--body);
  font-size: 15px;
  line-height: 1.72;
}

.email-dialog {
  width: min(760px, calc(100vw - 34px));
  max-height: min(90svh, 850px);
  padding: 0;
  color: var(--ink);
  background: var(--white);
  border: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.email-dialog::backdrop {
  background: rgba(8, 12, 32, 0.68);
  backdrop-filter: blur(3px);
}

.email-dialog-close {
  color: var(--white);
  background: rgba(31, 43, 114, 0.9);
}

.email-form {
  max-height: min(90svh, 850px);
  padding: clamp(28px, 5vw, 48px);
  overflow-y: auto;
}

.email-form-head {
  margin-bottom: 26px;
  padding-right: 48px;
}

.email-form-head h2 {
  margin: 4px 0 8px;
  color: var(--primary);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.25;
}

.email-form-head p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

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

.email-form label:not(.email-consent) {
  display: grid;
  gap: 7px;
}

.email-form label > span {
  color: var(--body);
  font-size: 13px;
  font-weight: 800;
}

.email-form input,
.email-form select,
.email-form textarea {
  width: 100%;
  min-width: 0;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: 15px;
  outline: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.email-form input,
.email-form select {
  height: 48px;
  padding: 0 13px;
}

.email-form textarea {
  min-height: 150px;
  padding: 12px 13px;
  line-height: 1.7;
  resize: vertical;
}

.email-form input:focus,
.email-form select:focus,
.email-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(31, 43, 114, 0.1);
}

.email-form-wide {
  grid-column: 1 / -1;
}

.email-form-trap {
  position: absolute;
  left: -9999px;
}

.email-consent {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin-top: 18px;
  cursor: pointer;
}

.email-consent input {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 2px;
}

.email-consent span {
  line-height: 1.55;
}

.email-form-status {
  min-height: 24px;
  margin: 12px 0 6px;
  color: var(--muted);
  font-size: 13px;
}

.email-form-status.is-success {
  color: #176b43;
}

.email-form-status.is-error {
  color: #b42318;
}

.email-submit {
  width: 100%;
  min-height: 52px;
  color: var(--white);
  background: var(--primary);
  border: 0;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}

.email-submit:disabled {
  opacity: 0.58;
  cursor: wait;
}

.consult-bar {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 60;
  display: grid;
  grid-template-columns: minmax(150px, 0.86fr) minmax(150px, 1fr) minmax(170px, 1fr);
  align-items: stretch;
  overflow: hidden;
  color: var(--white);
  width: min(760px, calc(100vw - 48px));
  background: rgba(13, 19, 53, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(8, 12, 32, 0.22);
  transform: translateX(-50%);
  backdrop-filter: blur(12px);
}

.consult-bar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 900;
}

.consult-bar a + a {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.consult-bar span {
  color: var(--accent);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(280px, 1fr) minmax(220px, 0.75fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  max-width: none;
  padding: 74px max(var(--gutter), calc((100vw - var(--max)) / 2)) 130px;
  color: rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(135deg, rgba(31, 43, 114, 0.92), rgba(15, 17, 29, 0.98)),
    #151515;
  font-size: 13px;
}

.site-footer img {
  width: 172px;
}

.site-footer > div:first-child {
  align-self: start;
}

.site-footer p {
  margin: 0;
}

.site-footer .footer-title {
  margin: 0 0 18px;
  color: var(--white);
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.2;
  font-weight: 900;
}

.footer-meta {
  display: grid;
  gap: 6px;
}

.footer-company-line span + span::before {
  content: " | ";
}

.footer-contact-line span + span::before {
  content: " | ";
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: flex-end;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
}

@media (min-width: 1021px) {
  .site-footer .footer-title {
    font-size: clamp(26px, 2.4vw, 34px);
    white-space: nowrap;
  }

  .sub-hero h1,
  .people-hero h1 {
    max-width: 720px;
  }

  .sub-hero p:not(.eyebrow),
  .people-hero-head p {
    max-width: 640px;
  }

  .section-heading h2 {
    max-width: 720px;
  }

  .section-pair h2,
  .section-grid h2,
  .split-copy h2 {
    max-width: 620px;
  }
}

@media (max-width: 1020px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 60px 0 auto;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px var(--gutter) 24px;
    background: rgba(31, 43, 114, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

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

  .site-nav a {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .section-grid,
  .work-preview,
  .section-pair,
  .case-feature {
    grid-template-columns: 1fr;
  }

  .feature-grid.three,
  .practice-catalog,
  .topic-board,
  .article-list.compact,
  .case-list {
    grid-template-columns: 1fr;
  }

  .practice-card.wide {
    grid-column: auto;
  }

  .article-list article {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .people-stage {
    grid-template-columns: 1fr;
  }

  .carousel-arrow {
    display: none;
  }

  .people-track {
    touch-action: pan-y;
  }
}

@media (max-width: 720px) {
  .brand {
    width: 132px;
  }

  .home-hero,
  .hero-copy {
    min-height: 82svh;
  }

  .hero-copy {
    padding: 96px 0 70px;
  }

  .hero h1 {
    font-size: clamp(44px, 14vw, 68px);
    line-height: 1.12;
  }

  .hero-lead {
    font-size: 16px;
    line-height: 1.9;
  }

  .sub-hero {
    min-height: 54svh;
    padding-top: 100px;
  }

  .people-hero {
    padding-top: 96px;
  }

  .person-slide {
    width: 130px;
    height: 240px;
  }

  .person-slide.is-active {
    width: min(300px, 78vw);
    height: 430px;
  }

  .person-slide.is-active img {
    min-height: 0;
  }

  .person-slide.is-active .person-name {
    right: 4px;
    bottom: 54px;
    padding: 6px 10px;
    font-size: 34px;
  }

  .person-slide.is-active .person-summary {
    right: 14px;
    bottom: 22px;
    max-width: calc(100% - 28px);
    font-size: 12px;
  }

  .person-slide.is-prev {
    transform: translate(calc(-50% - 39vw), -45%) scale(0.62);
  }

  .person-slide.is-next {
    transform: translate(calc(-50% + 39vw), -45%) scale(0.62);
  }

  .dialog-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .profile-portrait {
    flex: 0 0 clamp(180px, 30svh, 250px);
    width: 100%;
    height: clamp(180px, 30svh, 250px);
  }

  .profile-copy {
    flex: 1 1 auto;
    height: auto;
  }

  .profile-head .eyebrow {
    margin-bottom: 2px;
  }

  .dialog-body h2 {
    margin-bottom: 0;
    font-size: 30px;
    line-height: 1.25;
  }

  .profile-summary {
    display: none;
  }

  .profile-mobile-expertise {
    display: block;
    flex: 0 0 auto;
    margin-top: 10px;
  }

  .profile-mobile-expertise h3 {
    margin: 0 0 7px;
    color: var(--primary);
    font-size: 13px;
  }

  .profile-mobile-expertise div {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  }

  .profile-mobile-expertise span {
    padding: 3px 8px;
    color: var(--primary);
    background: rgba(31, 43, 114, 0.07);
    border: 1px solid rgba(31, 43, 114, 0.14);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
  }

  .profile-scroll-shell {
    margin-top: 14px;
  }

  .profile-scroll {
    gap: 20px;
    padding-right: 8px;
  }

  .profile-desktop-expertise {
    display: none;
  }

  .profile-section {
    padding-top: 14px;
  }

  .profile-section h3 {
    font-size: 16px;
  }

  .profile-section ul {
    font-size: 14px;
    line-height: 1.65;
  }

  .email-dialog {
    width: calc(100vw - 20px);
    max-height: 92svh;
    border-radius: 18px;
  }

  .email-form {
    max-height: 92svh;
    padding: 24px 18px 26px;
  }

  .email-form-head {
    margin-bottom: 20px;
    padding-right: 36px;
  }

  .email-form-head h2 {
    font-size: 28px;
  }

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

  .email-form-wide {
    grid-column: auto;
  }

  .email-form textarea {
    min-height: 130px;
  }

  .consult-bar {
    right: auto;
    left: 50%;
    bottom: 14px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(520px, calc(100vw - 28px));
    transform: translateX(-50%);
    border-radius: 18px;
  }

  .consult-bar a {
    gap: 0;
    min-width: 0;
    min-height: 54px;
    padding: 0 8px;
    justify-content: center;
    font-size: 13px;
    white-space: nowrap;
  }

  .consult-bar strong {
    display: none;
  }

  .consult-bar a + a {
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
    padding-top: 44px;
  }

  .footer-company-line {
    display: grid;
    gap: 6px;
  }

  .footer-company-line span + span::before {
    content: none;
  }

  .footer-contact-line {
    display: grid;
    gap: 6px;
  }

  .footer-contact-line span {
    white-space: nowrap;
  }

  .footer-contact-line span + span::before {
    content: none;
  }

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