:root {
  --ink: #151412;
  --muted: #6f675e;
  --soft: #f6f1e9;
  --paper: #fbfaf6;
  --clay: #9c5d3f;
  --olive: #58634b;
  --wine: #5a2433;
  --line: rgba(21, 20, 18, 0.12);
  --shadow: 0 24px 70px rgba(42, 34, 25, 0.16);
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  letter-spacing: 0;
}

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

button,
input {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: #fff;
  padding: 10px 14px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  padding: 0 clamp(20px, 4vw, 64px);
  color: #fff;
  transition:
    background 0.24s ease,
    color 0.24s ease,
    height 0.24s ease,
    box-shadow 0.24s ease;
}

.site-header.is-scrolled {
  height: 70px;
  color: var(--ink);
  background: rgba(251, 250, 246, 0.94);
  box-shadow: 0 12px 34px rgba(26, 23, 18, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 14px;
  min-width: max-content;
}

.brand-mark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.brand-name {
  font-size: 0.9rem;
  font-weight: 600;
}

.desktop-nav {
  display: flex;
  gap: clamp(22px, 3vw, 46px);
  font-size: 0.98rem;
  font-weight: 600;
}

.desktop-nav a,
.text-button,
.language-link {
  opacity: 0.86;
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

.desktop-nav a:hover,
.text-button:hover,
.language-link:hover {
  opacity: 1;
  color: #d9b699;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.text-button,
.menu-button,
.icon-button {
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.menu-button {
  display: grid;
  gap: 7px;
  width: 38px;
  padding: 9px 4px;
}

.menu-button span {
  display: block;
  height: 2px;
  background: currentColor;
}

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  overflow: hidden;
  color: #fff;
}

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

.hero__media,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__media {
  background:
    linear-gradient(120deg, rgba(24, 18, 15, 0.18), rgba(24, 18, 15, 0.54)),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=2200&q=82")
      center / cover;
  transform: scale(1.02);
}

.hero__shade {
  background:
    radial-gradient(circle at 80% 18%, rgba(156, 93, 63, 0.18), transparent 31%),
    linear-gradient(180deg, rgba(14, 14, 12, 0.06), rgba(14, 14, 12, 0.66));
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 40px));
  margin: auto auto 136px;
  padding-top: 120px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--clay);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.hero .eyebrow {
  color: #e7c3a3;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 1120px;
  margin-bottom: 26px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 6.2vw, 6rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.16;
  text-wrap: balance;
}

.hero__content > p:not(.eyebrow) {
  max-width: 680px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.04rem, 1.7vw, 1.3rem);
  line-height: 1.78;
}

.hero__actions,
.cta-section__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  font-weight: 700;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.primary-link {
  color: #fff;
  background: var(--clay);
}

.primary-link:hover {
  background: #7e4932;
}

.secondary-link {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.secondary-link:hover {
  background: rgba(255, 255, 255, 0.24);
}

.secondary-link--dark {
  color: var(--ink);
  background: rgba(21, 20, 18, 0.08);
}

.secondary-link--dark:hover {
  background: rgba(21, 20, 18, 0.14);
}

.hero__ticker {
  position: absolute;
  inset: auto clamp(20px, 4vw, 64px) 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 150px repeat(3, minmax(0, 1fr));
  background: rgba(15, 13, 11, 0.72);
  backdrop-filter: blur(16px);
}

.hero__ticker span,
.hero__ticker a {
  min-height: 76px;
  padding: 20px 22px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

.hero__ticker span {
  color: #e7c3a3;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.hero__ticker a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(82px, 11vw, 148px) 0;
}

.section__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 7vw, 98px);
  align-items: start;
}

.section h2,
.impact-section h2,
.cta-section h2 {
  margin-bottom: 24px;
  font-size: clamp(2.15rem, 4.7vw, 5rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.24;
}

.intro-copy p,
.section__header p,
.impact-section p,
.cta-section p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.82;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}

.metrics div {
  padding: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.metrics strong {
  display: block;
  margin-bottom: 8px;
  color: var(--wine);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 500;
}

.metrics span {
  color: var(--muted);
}

.section__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section__header h2 {
  margin-bottom: 0;
}

.section__header a {
  color: var(--clay);
  font-weight: 800;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.practice-grid article {
  min-height: 320px;
  padding: 34px 28px;
  background: #fff;
}

.practice-grid span {
  color: var(--clay);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
}

.practice-grid h3 {
  margin: 72px 0 18px;
  font-size: 1.35rem;
  line-height: 1.38;
}

.practice-grid p,
.case-list p,
.insight-grid p {
  color: var(--muted);
  line-height: 1.78;
}

.case-section {
  padding-top: 20px;
}

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

.case-list a {
  display: grid;
  grid-template-columns: 180px 1fr 130px;
  gap: 26px;
  align-items: center;
  min-height: 112px;
  border-bottom: 1px solid var(--line);
}

.case-list span {
  color: var(--clay);
  font-weight: 800;
}

.case-list strong {
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  line-height: 1.5;
}

.case-list time {
  color: var(--muted);
}

.people-section {
  padding-top: 24px;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.people-grid article {
  background: #fff;
  box-shadow: var(--shadow);
}

.profile {
  min-height: 340px;
  background:
    linear-gradient(180deg, rgba(21, 20, 18, 0.08), rgba(21, 20, 18, 0.32)),
    var(--soft);
}

.profile--one {
  background-image:
    linear-gradient(180deg, rgba(21, 20, 18, 0.06), rgba(21, 20, 18, 0.32)),
    url("https://images.unsplash.com/photo-1560250097-0b93528c311a?auto=format&fit=crop&w=900&q=82");
  background-position: center;
  background-size: cover;
}

.profile--two {
  background-image:
    linear-gradient(180deg, rgba(21, 20, 18, 0.06), rgba(21, 20, 18, 0.32)),
    url("https://images.unsplash.com/photo-1556157382-97eda2d62296?auto=format&fit=crop&w=900&q=82");
  background-position: center;
  background-size: cover;
}

.profile--three {
  background-image:
    linear-gradient(180deg, rgba(21, 20, 18, 0.06), rgba(21, 20, 18, 0.32)),
    url("https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?auto=format&fit=crop&w=900&q=82");
  background-position: center;
  background-size: cover;
}

.people-grid span,
.people-grid h3,
.people-grid p {
  display: block;
  padding-inline: 26px;
}

.people-grid span {
  margin-top: 24px;
  color: var(--clay);
  font-size: 0.82rem;
  font-weight: 800;
}

.people-grid h3 {
  margin: 10px 0 10px;
  font-size: 1.35rem;
  line-height: 1.38;
}

.people-grid p {
  margin-bottom: 26px;
  color: var(--muted);
  line-height: 1.7;
}

.impact-section {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 720px;
  color: #fff;
  background: #211c18;
}

.impact-section__image {
  background:
    linear-gradient(90deg, rgba(33, 28, 24, 0.08), rgba(33, 28, 24, 0.32)),
    url("https://images.unsplash.com/photo-1521737852567-6949f3f9f2b5?auto=format&fit=crop&w=1500&q=82")
      center / cover;
}

.impact-section__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(44px, 7vw, 94px);
}

.impact-section p {
  color: rgba(255, 255, 255, 0.74);
}

.primary-link--light {
  width: fit-content;
  margin-top: 24px;
  color: var(--ink);
  background: #e8d2ba;
}

.primary-link--light:hover {
  background: #f2dfc9;
}

.office-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 34px;
}

.office-map {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(21, 20, 18, 0.08), rgba(21, 20, 18, 0.22)),
    url("https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1600&q=82")
      center / cover;
}

.pin {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--clay);
  box-shadow: 0 0 0 12px rgba(156, 93, 63, 0.24);
}

.pin--seoul {
  left: 63%;
  top: 34%;
}

.pin--busan {
  left: 68%;
  top: 55%;
}

.pin--singapore {
  left: 45%;
  top: 72%;
}

.pin--hanoi {
  left: 50%;
  top: 58%;
}

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

.office-list button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  border: 0;
  padding: 22px 24px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  text-align: left;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.office-list button:hover,
.office-list button.is-active {
  color: #fff;
  background: var(--olive);
}

.office-list span {
  color: inherit;
  opacity: 0.74;
}

.office-list strong {
  font-size: 1.4rem;
}

.office-note {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}

.tabs button {
  border: 0;
  padding: 12px 18px;
  color: var(--muted);
  background: rgba(21, 20, 18, 0.07);
  cursor: pointer;
}

.tabs button[aria-selected="true"] {
  color: #fff;
  background: var(--wine);
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.insight-grid article {
  min-height: 260px;
  padding: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.insight-grid span {
  color: var(--clay);
  font-weight: 800;
}

.insight-grid h3 {
  margin: 44px 0 18px;
  font-size: 1.45rem;
  line-height: 1.42;
}

.cta-section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto clamp(70px, 9vw, 120px);
  padding: clamp(54px, 8vw, 90px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.58)),
    url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=1600&q=82")
      center / cover;
  box-shadow: var(--shadow);
}

.cta-section h2 {
  max-width: 840px;
}

.cta-section p {
  max-width: 620px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  padding: 52px clamp(20px, 4vw, 64px);
  color: rgba(255, 255, 255, 0.78);
  background: #1c1916;
}

.site-footer strong {
  display: block;
  margin-bottom: 12px;
  color: #fff;
}

.site-footer p {
  margin-bottom: 0;
  line-height: 1.7;
}

.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer > p {
  grid-column: 1 / -1;
  font-size: 0.85rem;
}

.mega-menu,
.search-panel {
  position: fixed;
  inset: 0;
  z-index: 80;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
}

.mega-menu.is-open,
.search-panel.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.mega-menu {
  color: #fff;
  background: rgba(25, 22, 18, 0.96);
}

.mega-menu__inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 80px;
}

.mega-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(52px, 9vw, 120px);
}

.icon-button {
  width: 44px;
  height: 44px;
  font-size: 2rem;
  line-height: 1;
}

.mega-menu__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}

.mega-menu__grid p {
  color: #e7c3a3;
  font-weight: 800;
}

.mega-menu__grid a {
  display: block;
  padding: 12px 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.24rem;
}

.search-panel {
  display: grid;
  place-items: center;
  background: rgba(20, 18, 16, 0.72);
}

.search-panel__box {
  position: relative;
  width: min(720px, calc(100% - 32px));
  padding: clamp(30px, 6vw, 56px);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.search-panel__box .icon-button {
  position: absolute;
  right: 16px;
  top: 14px;
}

.search-panel label {
  display: block;
  margin-bottom: 18px;
  font-size: clamp(1.7rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.28;
}

.search-panel form {
  display: flex;
  gap: 10px;
}

.search-panel input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 17px 18px;
  background: #fff;
}

.search-panel form button {
  border: 0;
  padding: 0 24px;
  color: #fff;
  background: var(--clay);
  cursor: pointer;
}

.search-panel p {
  margin: 18px 0 0;
  color: var(--muted);
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .hero__ticker {
    grid-template-columns: 1fr;
  }

  .hero__ticker a:nth-of-type(n + 2) {
    display: none;
  }

  .section__grid,
  .impact-section,
  .office-layout {
    grid-template-columns: 1fr;
  }

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

  .impact-section__image {
    min-height: 420px;
  }
}

@media (max-width: 700px) {
  .site-header {
    height: 72px;
    padding: 0 18px;
  }

  .brand {
    gap: 9px;
  }

  .brand-name,
  .text-button,
  .language-link {
    display: none;
  }

  .hero__content {
    width: calc(100% - 32px);
    margin-bottom: 112px;
    padding-top: 96px;
  }

  h1 {
    font-size: clamp(2rem, 8.8vw, 2.9rem);
    line-height: 1.26;
    text-wrap: normal;
  }

  .hero__ticker {
    inset-inline: 16px;
  }

  .hero__ticker span,
  .hero__ticker a {
    min-height: 62px;
    padding: 16px;
  }

  .section {
    width: calc(100% - 32px);
    padding: 76px 0;
  }

  .section__header {
    display: block;
  }

  .section__header a,
  .section__header p {
    display: block;
    margin-top: 14px;
  }

  .metrics,
  .practice-grid,
  .people-grid,
  .insight-grid,
  .mega-menu__grid {
    grid-template-columns: 1fr;
  }

  .practice-grid article {
    min-height: 240px;
  }

  .practice-grid h3,
  .insight-grid h3 {
    margin-top: 36px;
  }

  .case-list a {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 22px 0;
  }

  .office-map {
    min-height: 360px;
  }

  .tabs {
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .tabs button {
    flex: 0 0 auto;
  }

  .cta-section {
    width: calc(100% - 32px);
    padding: 36px 24px;
  }

  .search-panel form {
    display: grid;
  }

  .search-panel form button {
    min-height: 52px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}
