:root {
  --ink: #12324a;
  --ink-deep: #0b263a;
  --muted: #737d84;
  --soft: #f7f7f5;
  --paper: #fbfbfa;
  --line: rgba(18, 50, 74, 0.18);
  --wash: #dbe5e4;
  --accent: #718da0;
  --header-h: 92px;
  --gutter: clamp(24px, 5vw, 86px);
  --wide: 1500px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.menu-open {
  overflow: hidden;
}

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

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

button {
  color: inherit;
  font: inherit;
}

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

.skip-link:focus {
  z-index: 100;
  width: auto;
  height: auto;
  margin: 16px;
  padding: 10px 14px;
  clip: auto;
  background: var(--ink);
  color: white;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: 280px 1fr auto;
  align-items: center;
  height: var(--header-h);
  padding: 0 clamp(22px, 3vw, 48px);
  color: var(--ink-deep);
  background: rgba(251, 251, 250, 0.86);
  backdrop-filter: blur(20px);
  transition:
    height 240ms ease,
    box-shadow 240ms ease,
    background 240ms ease;
}

.site-header.is-scrolled {
  height: 76px;
  box-shadow: 0 18px 40px rgba(18, 50, 74, 0.08);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.005em;
}

.brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  background: var(--ink);
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1;
}

.brand-text strong {
  color: #31566f;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: clamp(34px, 4vw, 62px);
  font-size: 18px;
  font-weight: 700;
}

.desktop-nav a,
.footer-links a,
.section-head a {
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.footer-links a:hover,
.section-head a:hover {
  color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
}

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

.icon-button {
  position: relative;
  width: 32px;
  height: 32px;
}

.icon-button::before {
  position: absolute;
  inset: 5px 8px 9px 5px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  content: "";
}

.icon-button::after {
  position: absolute;
  right: 3px;
  bottom: 3px;
  width: 13px;
  height: 2px;
  background: var(--ink);
  transform: rotate(45deg);
  transform-origin: center;
  content: "";
}

.location-link {
  position: relative;
  width: 28px;
  height: 34px;
}

.location-link::before {
  position: absolute;
  inset: 2px 5px 8px;
  border: 2px solid var(--ink);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  content: "";
}

.location-link::after {
  position: absolute;
  top: 11px;
  left: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
  content: "";
}

.lang-switch {
  display: flex;
  gap: 14px;
  color: #8a9095;
  font-size: 18px;
}

.lang-switch [aria-current="true"] {
  color: var(--ink);
  border-bottom: 2px solid currentColor;
}

.menu-button {
  display: none;
  width: 34px;
  height: 30px;
  padding: 0;
}

.menu-button span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 7px 0;
  background: var(--ink);
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(170px, 0.9fr) minmax(320px, 2fr) minmax(
      380px,
      1.55fr
    );
  align-items: center;
  min-height: 100svh;
  padding: calc(var(--header-h) + 26px) var(--gutter) 76px;
  overflow: hidden;
}

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

.hero-side {
  align-self: end;
  padding-bottom: clamp(100px, 13vh, 190px);
}

.side-rule {
  width: 60px;
  height: 2px;
  margin-left: calc(var(--gutter) * -1);
  margin-bottom: 24px;
  background: var(--ink);
}

.side-link {
  display: block;
  width: max-content;
  margin-top: 18px;
  color: #a1a6aa;
  font-weight: 700;
}

.side-link.is-active {
  color: var(--ink);
}

.hero-brand {
  position: absolute;
  left: clamp(84px, 12vw, 190px);
  bottom: clamp(70px, 14vh, 150px);
  z-index: 2;
  pointer-events: none;
}

.hero-brand p {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(16px, 1.5vw, 22px);
  font-weight: 800;
  line-height: 1.7;
}

.hero-brand h1 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(76px, 10vw, 150px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.92;
}

.hero-media {
  justify-self: center;
  width: min(38vw, 390px);
  min-width: 300px;
  height: min(73vh, 760px);
  min-height: 520px;
  overflow: hidden;
  background: var(--wash);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(70%) contrast(92%);
  transition: opacity 220ms ease;
}

.hero-media.is-changing img {
  opacity: 0.28;
}

.hero-content {
  justify-self: end;
  width: min(100%, 460px);
  padding-top: 22px;
}

.section-kicker,
.statement-copy p,
.section-head p,
.people-section p,
.career-section p {
  margin: 0 0 14px;
  color: #6f8797;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-content h2 {
  margin: 0 0 22px;
  color: #31566f;
  font-family: Georgia, "Times New Roman", "Apple SD Gothic Neo", serif;
  font-size: clamp(38px, 4.2vw, 58px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.22;
}

.hero-content p:not(.section-kicker) {
  min-height: 154px;
  margin: 0;
  color: #767d82;
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 500;
  line-height: 1.78;
}

.hero-ctas {
  display: grid;
  margin-top: 26px;
}

.outline-link,
.solid-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 0 24px;
  font-size: 17px;
  font-weight: 800;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.outline-link {
  box-shadow: inset 0 0 0 1px rgba(18, 50, 74, 0.5);
  color: #555f66;
}

.solid-link {
  background: #7892a3;
  color: white;
}

.outline-link::after,
.solid-link::after,
.section-head a::after,
.career-section a::after {
  content: "→";
  font-family: Georgia, "Times New Roman", serif;
}

.outline-link:hover {
  color: var(--ink);
  background: rgba(18, 50, 74, 0.05);
}

.solid-link:hover {
  background: var(--ink);
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  margin-top: clamp(44px, 8vh, 86px);
  color: #9dacb6;
}

.slider-controls button {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.slider-controls button::before {
  display: block;
  width: 16px;
  height: 16px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  content: "";
}

[data-prev]::before {
  transform: rotate(-45deg);
}

[data-next]::before {
  transform: rotate(135deg);
}

.slide-index {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 140px;
  color: #d7dee2;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.slide-index b {
  color: var(--ink);
}

.slide-index i {
  width: 1px;
  height: 18px;
  background: currentColor;
}

.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: 32px;
  color: #86929b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  writing-mode: vertical-rl;
}

.mobile-practices {
  display: none;
}

.statement {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(360px, 1.4fr);
  gap: clamp(36px, 8vw, 120px);
  align-items: center;
  padding: clamp(90px, 12vw, 170px) var(--gutter);
  background: var(--ink);
  color: white;
}

.statement-copy h2 {
  max-width: 620px;
  margin: 0;
  font-family: Georgia, "Times New Roman", "Apple SD Gothic Neo", serif;
  font-size: clamp(42px, 5vw, 78px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.24;
}

.statement-copy p {
  color: rgba(255, 255, 255, 0.68);
}

.statement-image {
  height: min(64vw, 620px);
  min-height: 420px;
  margin: 0;
  overflow: hidden;
}

.statement-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(18%) saturate(82%);
}

.news-section,
.people-section,
.career-section {
  padding: clamp(82px, 10vw, 146px) var(--gutter);
}

.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
  margin-bottom: clamp(34px, 5vw, 72px);
}

.section-head p {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.section-head h2,
.people-section h2,
.career-section h2 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", "Apple SD Gothic Neo", serif;
  font-size: clamp(42px, 6vw, 86px);
  font-weight: 600;
  line-height: 1.22;
}

.section-head a,
.career-section a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #5e7280;
  font-weight: 800;
}

.news-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(18, 50, 74, 0.1);
}

.news-card {
  position: relative;
  min-height: 330px;
  padding: 34px 30px;
  background: var(--paper);
}

.news-card span {
  color: #6f8797;
  font-size: 14px;
  font-weight: 800;
}

.news-card h3 {
  margin: 34px 0 32px;
  color: #1d3445;
  font-size: clamp(20px, 1.8vw, 25px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.45;
}

.news-card time {
  color: #8f989e;
  font-weight: 700;
}

.news-card a {
  position: absolute;
  right: 30px;
  bottom: 32px;
  color: #5e7280;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 700;
}

.people-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(40px, 7vw, 110px);
  background: #eef2f1;
}

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

.people-grid article {
  display: grid;
  grid-template-columns: minmax(120px, 180px) 1fr;
  align-items: center;
  min-height: 112px;
  padding: 28px 30px;
  background: rgba(255, 255, 255, 0.72);
}

.people-grid strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
}

.people-grid span {
  color: #67747b;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.7;
}

.career-section {
  background: var(--paper);
}

.career-section h2 {
  max-width: 980px;
  margin-bottom: 34px;
}

.site-footer {
  display: grid;
  gap: 18px;
  padding: 56px var(--gutter) 48px;
  background: #102d42;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer .brand-mark {
  background: white;
  color: var(--ink);
}

.footer-brand {
  color: white;
}

.site-footer address {
  font-style: normal;
  line-height: 1.8;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: white;
  font-weight: 700;
}

.site-footer small {
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 240px 1fr auto;
  }

  .desktop-nav {
    gap: 26px;
    font-size: 16px;
  }

  .hero {
    grid-template-columns: minmax(300px, 0.95fr) minmax(340px, 1fr);
  }

  .hero-side {
    display: none;
  }

  .hero-brand {
    left: var(--gutter);
  }

  .hero-media {
    justify-self: start;
  }
}

@media (max-width: 920px) {
  :root {
    --header-h: 76px;
    --gutter: clamp(20px, 6vw, 42px);
  }

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

  .desktop-nav,
  .icon-button,
  .location-link,
  .lang-switch {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .mobile-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: grid;
    gap: 0;
    padding: 18px var(--gutter) 28px;
    background: rgba(251, 251, 250, 0.98);
    box-shadow: 0 20px 36px rgba(18, 50, 74, 0.1);
    transform: translateY(-120%);
    transition: transform 220ms ease;
  }

  .mobile-nav.is-open {
    transform: translateY(0);
  }

  .mobile-nav a {
    padding: 18px 0;
    color: var(--ink);
    font-size: 20px;
    font-weight: 800;
  }

  .hero {
    display: block;
    min-height: auto;
    padding-top: calc(var(--header-h) + 44px);
  }

  .hero-media {
    width: 100%;
    min-width: 0;
    height: 54svh;
    min-height: 430px;
    margin-top: 34px;
  }

  .hero-content {
    width: 100%;
    padding-top: 36px;
  }

  .hero-content p:not(.section-kicker) {
    min-height: 0;
  }

  .hero-brand {
    position: relative;
    left: auto;
    bottom: auto;
  }

  .hero-brand h1 {
    font-size: clamp(54px, 15.6vw, 96px);
  }

  .hero-ctas,
  .slider-controls {
    display: none;
  }

  .mobile-practices {
    display: grid;
    gap: 12px;
    margin-top: 34px;
  }

  .mobile-practices article {
    padding: 22px 0;
    box-shadow: inset 0 -1px rgba(18, 50, 74, 0.14);
  }

  .mobile-practices span {
    color: #7b92a0;
    font-weight: 800;
  }

  .mobile-practices h3 {
    margin: 10px 0 8px;
    color: var(--ink);
    font-size: 24px;
    line-height: 1.35;
  }

  .mobile-practices p {
    margin: 0;
    color: #68747b;
    font-size: 16px;
    line-height: 1.78;
  }

  .scroll-cue {
    display: none;
  }

  .statement,
  .people-section {
    grid-template-columns: 1fr;
  }

  .statement-image {
    min-height: 340px;
  }

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

@media (max-width: 640px) {
  .site-header {
    padding: 0 20px;
  }

  .brand-text {
    font-size: 15px;
  }

  .hero {
    padding-bottom: 48px;
  }

  .hero-media {
    height: 48svh;
    min-height: 360px;
  }

  .hero-content h2 {
    font-size: 36px;
  }

  .hero-content p:not(.section-kicker) {
    font-size: 17px;
    line-height: 1.82;
  }

  .statement,
  .news-section,
  .people-section,
  .career-section {
    padding-top: 72px;
    padding-bottom: 76px;
  }

  .statement-copy h2,
  .section-head h2,
  .people-section h2,
  .career-section h2 {
    font-size: 38px;
    line-height: 1.3;
  }

  .section-head {
    grid-template-columns: 1fr;
  }

  .news-list {
    grid-template-columns: 1fr;
  }

  .news-card {
    min-height: 260px;
    padding: 28px 24px;
  }

  .people-grid article {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

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