:root {
  --bg: #fbfbf8;
  --surface: #ffffff;
  --ink: #1c211f;
  --muted: #5d6661;
  --line: #dfe4df;
  --green: #173f35;
  --green-2: #265f50;
  --sage: #dfe8df;
  --mist: #eef2ee;
  --gold: #9d7b38;
  --shadow: 0 18px 48px rgba(28, 33, 31, 0.08);
  --radius: 8px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Pretendard", "Inter", "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
  line-height: 1.65;
  letter-spacing: 0;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 100;
  padding: 8px 12px;
  background: var(--green);
  color: white;
}

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

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 251, 248, 0.9);
  border-bottom: 1px solid rgba(223, 228, 223, 0.75);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: var(--green);
  color: white;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
}

.desktop-nav a {
  padding: 10px 0;
}

.desktop-nav a:hover {
  color: var(--green);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.mobile-nav a {
  display: block;
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.hero {
  padding: 86px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: center;
  gap: 72px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: 76px;
  line-height: 1.04;
  font-weight: 760;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.hero-lead {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 19px;
  word-break: keep-all;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 760;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

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

.button.primary:hover {
  background: var(--green-2);
}

.button.ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
}

.button.ghost:hover {
  border-color: var(--green);
}

.portrait-panel {
  position: relative;
}

.portrait-frame {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
  box-shadow: var(--shadow);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-card {
  position: relative;
  width: calc(100% - 44px);
  margin: -76px auto 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 44px rgba(28, 33, 31, 0.1);
  backdrop-filter: blur(16px);
}

.card-kicker {
  margin: 0 0 4px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.profile-card h2 {
  margin: 0 0 16px;
  font-size: 28px;
  line-height: 1.2;
}

.profile-card h2 span {
  color: var(--muted);
  font-size: 14px;
}

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

.profile-card dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.profile-card dl div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
}

.profile-card dt {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.profile-card dd {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  min-width: 0;
  overflow-wrap: break-word;
}

.signal-band {
  padding: 30px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--green);
  color: white;
}

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

.signal-grid div {
  padding: 20px 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.signal-grid div:first-child {
  border-left: 0;
}

.signal-grid strong,
.signal-grid span {
  display: block;
}

.signal-grid strong {
  margin-bottom: 6px;
  font-size: 28px;
  line-height: 1;
}

.signal-grid span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 42px;
}

.section-heading.compact {
  align-items: start;
}

.section-heading h2 {
  margin: 0;
  font-size: 48px;
  line-height: 1.12;
  letter-spacing: 0;
}

.section-heading p:last-child {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  word-break: keep-all;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.expertise-card {
  min-height: 326px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.expertise-card .number {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.expertise-card h3 {
  margin: 46px 0 12px;
  font-size: 22px;
  line-height: 1.25;
}

.expertise-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  word-break: keep-all;
}

.expertise-card a {
  margin-top: auto;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.archive-section {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.archive-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.archive-index {
  position: sticky;
  top: 96px;
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}

.archive-index a {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.archive-index a:last-child {
  border-bottom: 0;
}

.archive-index a:hover {
  color: var(--green);
  background: var(--mist);
}

.article-groups {
  display: grid;
  gap: 46px;
}

.article-group {
  scroll-margin-top: 104px;
}

.group-title {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: end;
  margin-bottom: 16px;
}

.group-title span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.group-title h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
}

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

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

.article-list a {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
  padding: 22px 0;
}

.article-list a:hover h4 {
  color: var(--green);
}

.article-list h4 {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
}

.article-list p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  word-break: keep-all;
}

.profile-section {
  background: var(--mist);
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 80px;
  align-items: start;
}

.profile-copy h2 {
  margin: 0 0 24px;
  max-width: 680px;
  font-size: 54px;
  line-height: 1.12;
}

.profile-copy p {
  max-width: 700px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 17px;
  word-break: keep-all;
}

.timeline {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.timeline div {
  display: grid;
  grid-template-columns: 122px 1fr;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.timeline div:last-child {
  border-bottom: 0;
}

.timeline time {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.timeline p {
  margin: 0;
  color: var(--ink);
}

.principles-section {
  padding: 76px 0;
}

.principles-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 68px;
  align-items: start;
}

.principles-grid h2 {
  margin: 0;
  font-size: 46px;
  line-height: 1.15;
}

.principles-grid ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.principles-grid li {
  padding: 16px 0 16px 28px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  position: relative;
}

.principles-grid li::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
}

.contact-section {
  padding: 76px 0;
  background: var(--green);
  color: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 44px;
  align-items: center;
}

.contact-grid h2 {
  margin: 0 0 14px;
  font-size: 46px;
  line-height: 1.15;
}

.contact-grid p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  word-break: keep-all;
}

.contact-grid .eyebrow {
  color: #d6bd7b;
}

.contact-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.contact-actions .button.primary {
  background: white;
  color: var(--green);
}

.contact-actions .button.ghost {
  border-color: rgba(255, 255, 255, 0.28);
  background: transparent;
  color: white;
}

.site-footer {
  padding: 36px 0;
  background: #101815;
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.disclaimer {
  justify-self: end;
  max-width: 620px;
}

.article-page {
  background: var(--bg);
}

.article-hero {
  padding: 78px 0 68px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.article-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 64px;
  align-items: end;
}

.article-hero-grid > div,
.article-summary {
  min-width: 0;
}

.back-link {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.article-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: 54px;
  line-height: 1.12;
  letter-spacing: 0;
}

.article-lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 19px;
  word-break: keep-all;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 14px;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
}

.article-meta span + span::before {
  content: "";
  width: 4px;
  height: 4px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--gold);
}

.article-summary {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
}

.article-summary h2 {
  margin: 0 0 16px;
  font-size: 20px;
}

.article-summary ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
  font-size: 15px;
  overflow-wrap: anywhere;
}

.article-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  gap: 70px;
  align-items: start;
  padding-top: 64px;
  padding-bottom: 96px;
}

.article-toc {
  position: sticky;
  top: 96px;
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.article-toc a {
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
}

.article-toc a:last-child {
  border-bottom: 0;
}

.article-toc a:hover {
  color: var(--green);
  background: var(--mist);
}

.article-content {
  min-width: 0;
}

.article-content section {
  scroll-margin-top: 96px;
  margin-bottom: 54px;
}

.article-content h2 {
  margin: 0 0 18px;
  font-size: 30px;
  line-height: 1.26;
}

.article-content h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.article-content p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 17px;
  word-break: keep-all;
}

.comparison-table {
  display: grid;
  overflow: hidden;
  margin: 30px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.comparison-table > div {
  display: grid;
  grid-template-columns: 0.58fr 1fr 1fr;
  border-bottom: 1px solid var(--line);
}

.comparison-table > div:last-child {
  border-bottom: 0;
}

.comparison-table strong,
.comparison-table span {
  padding: 16px;
  border-right: 1px solid var(--line);
  font-size: 14px;
}

.comparison-table strong:last-child,
.comparison-table span:last-child {
  border-right: 0;
}

.comparison-table strong {
  background: var(--green);
  color: white;
}

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

.case-note {
  margin: 22px 0;
  padding: 22px;
  border-left: 4px solid var(--green);
  background: var(--surface);
}

.case-note p {
  margin-bottom: 0;
  font-size: 16px;
}

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

.check-list li {
  position: relative;
  padding: 16px 18px 16px 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.article-disclaimer {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
}

.article-disclaimer h2 {
  font-size: 22px;
}

.article-disclaimer p {
  margin-bottom: 0;
  font-size: 15px;
}

.three-line-summary {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--green);
  color: white;
}

.three-line-summary h2 {
  color: white;
}

.three-line-summary ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 22px;
}

.three-line-summary li {
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 980px) {
  .section {
    padding: 72px 0;
  }

  .desktop-nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .mobile-nav.is-open {
    display: block;
  }

  .hero-grid,
  .section-heading,
  .archive-layout,
  .profile-grid,
  .principles-grid,
  .contact-grid,
  .article-hero-grid,
  .article-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 42px;
  }

  .hero h1 {
    font-size: 56px;
  }

  .section-heading h2,
  .profile-copy h2,
  .principles-grid h2,
  .contact-grid h2 {
    font-size: 40px;
  }

  .portrait-panel {
    max-width: 460px;
  }

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

  .signal-grid div:nth-child(3) {
    border-left: 0;
  }

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

  .archive-index {
    position: static;
    grid-template-columns: repeat(2, 1fr);
  }

  .archive-index a:nth-child(2) {
    border-right: 0;
  }

  .archive-index a {
    border-right: 1px solid var(--line);
  }

  .contact-actions {
    justify-content: flex-start;
  }

  .disclaimer {
    justify-self: start;
  }

  .article-hero h1 {
    font-size: 40px;
  }

  .article-toc {
    position: static;
    grid-template-columns: repeat(3, 1fr);
  }

  .article-toc a {
    border-right: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .container {
    width: 100%;
    padding-right: 14px;
    padding-left: 14px;
  }

  .nav-shell {
    min-height: 64px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero {
    padding: 62px 0 54px;
  }

  .hero h1 {
    max-width: 10.5em;
    font-size: 29px;
    line-height: 1.14;
    word-break: break-all;
    overflow-wrap: normal;
  }

  .hero-lead {
    max-width: 22em;
    font-size: 17px;
    word-break: break-all;
    overflow-wrap: normal;
  }

  .section-heading h2,
  .profile-copy h2,
  .principles-grid h2,
  .contact-grid h2 {
    font-size: 32px;
  }

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

  .button {
    width: 100%;
  }

  .profile-card {
    width: calc(100% - 24px);
    margin-top: -54px;
    padding: 20px;
  }

  .profile-card dl div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .signal-grid,
  .expertise-grid,
  .archive-index,
  .group-title,
  .article-list a,
  .timeline div {
    grid-template-columns: 1fr;
  }

  .signal-grid div,
  .signal-grid div:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .signal-grid div:first-child {
    border-top: 0;
  }

  .expertise-card {
    min-height: 278px;
  }

  .expertise-card h3 {
    margin-top: 34px;
  }

  .archive-index a {
    border-right: 0;
  }

  .article-list a {
    gap: 8px;
  }

  .timeline div {
    gap: 4px;
  }

  .article-hero {
    padding: 52px 0 48px;
  }

  .article-hero-grid,
  .article-layout,
  .article-content,
  .article-summary,
  .article-toc,
  .case-note,
  .three-line-summary,
  .article-disclaimer {
    width: 100%;
    max-width: calc(100vw - 28px);
    overflow: hidden;
  }

  .article-hero h1 {
    max-width: calc(100vw - 28px);
    font-size: 31px;
    line-height: 1.18;
    word-break: break-all;
    overflow-wrap: anywhere;
  }

  .article-lead {
    max-width: 18em;
    font-size: 17px;
    word-break: break-all;
    overflow-wrap: anywhere;
  }

  .article-summary {
    width: 100%;
    max-width: calc(100vw - 28px);
    overflow: hidden;
  }

  .article-summary ol,
  .article-content p,
  .article-content h2,
  .article-content h3,
  .three-line-summary ol,
  .article-disclaimer p {
    max-width: 20em;
  }

  .article-summary li {
    word-break: break-all;
    overflow-wrap: anywhere;
  }

  .article-layout {
    gap: 38px;
    padding-top: 42px;
    padding-bottom: 68px;
  }

  .article-toc {
    grid-template-columns: 1fr;
  }

  .article-toc a {
    border-right: 0;
  }

  .article-content h2 {
    font-size: 24px;
  }

  .article-content p {
    font-size: 16px;
    word-break: normal;
  }

  .comparison-table > div {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .comparison-table strong,
  .comparison-table span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .comparison-table strong:last-child,
  .comparison-table span:last-child {
    border-bottom: 0;
  }

  .principles-section,
  .contact-section {
    padding: 62px 0;
  }
}
