/* ─── Design System ─── */

:root {
  /* Color */
  --bg: #f6f5f2;
  --surface: #ffffff;
  --surface-warm: #faf9f7;

  --text: #1c1917;
  --text-secondary: #57534e;
  --text-muted: #a8a29e;

  --accent: #0d9488;
  --accent-hover: #0f766e;
  --accent-bg: #f0fdfa;
  --accent-border: rgba(13, 148, 136, 0.12);

  --border: #e7e5e4;
  --border-light: #f5f5f4;

  /* Typography */
  --font-body: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --text-xs: 0.8125rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.0625rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2.75rem;

  --leading-tight: 1.2;
  --leading-snug: 1.35;
  --leading-normal: 1.7;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;

  /* Layout */
  --container-max: 800px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-full: 999px;

  /* Motion */
  --transition: 0.2s ease;
}

/* ─── Base ─── */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--space-16);
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

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

/* ─── Layout ─── */

.container {
  width: min(100% - var(--space-8), var(--container-max));
  margin: 0 auto;
}

/* ─── Navigation ─── */

.site-nav {
  padding: var(--space-6) 0;
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-name {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
}

.nav-links a:hover {
  color: var(--accent);
}

/* ─── Hero ─── */

.hero {
  padding: var(--space-16) 0 var(--space-12);
}

.hero-role {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.hero-title {
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: var(--leading-tight);
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: var(--space-3);
}

.hero-positioning {
  font-size: var(--text-xl);
  font-weight: 500;
  line-height: var(--leading-snug);
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: var(--space-8);
  letter-spacing: -0.01em;
}

.hero-links {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.hero-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--border);
  transition: border-color var(--transition), color var(--transition);
}

.hero-links a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ─── Sections ─── */

.section {
  padding: var(--space-20) 0;
}

.section-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: var(--leading-snug);
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: var(--space-10);
}

/* ─── Strengths ─── */

.strength-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8) var(--space-6);
}

.strength-item {
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
}

.strength-item h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: var(--leading-snug);
  color: var(--text);
  margin-bottom: var(--space-3);
}

.strength-item p {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--text-secondary);
}


/* ─── Projects ─── */

.project-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-7) var(--space-8);
  transition: border-color var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  min-height: 100%;
}

.project-card:hover {
  border-color: var(--border-light);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.project-main {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}

.project-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.project-header h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: var(--leading-snug);
  color: var(--text);
  letter-spacing: -0.01em;
}

.project-type {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.project-summary {
  font-size: var(--text-base);
  font-weight: 500;
  line-height: var(--leading-snug);
  color: var(--text);
  min-height: calc(var(--text-base) * 2.8);
}

.project-value {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--text-secondary);
  min-height: calc(var(--text-sm) * 3.6);
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: auto;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.project-tags span {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--surface-warm);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.project-link:hover {
  color: var(--accent-hover);
}

.project-link::after {
  content: "\2192";
  transition: transform var(--transition);
}

.project-link:hover::after {
  transform: translateX(3px);
}


/* ─── Footer / Contact ─── */

.site-footer {
  padding: var(--space-20) 0 var(--space-12);
  border-top: 1px solid var(--border);
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-bottom: var(--space-16);
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.contact-label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-item a {
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--text);
  transition: color var(--transition);
}

.contact-item a:hover {
  color: var(--accent);
}

.footer-copy {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* ─── Legacy footer class for detail pages ─── */
.doc-footer {
  padding: var(--space-20) 0 var(--space-12);
  border-top: 1px solid var(--border);
}

.doc-footer .footer-copy {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.doc-footer .footer-copy a {
  color: var(--text-muted);
  text-decoration: none;
}

.doc-footer .footer-copy a:hover {
  color: var(--accent);
}
/* ─── Scroll to top ─── */

.scroll-top {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  z-index: 100;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--accent-bg);
  border-color: var(--accent);
  color: var(--accent);
}

/* ─── Detail Page Styles ─── */

.detail-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: var(--space-12) 0 var(--space-10);
  margin-bottom: var(--space-10);
}

.detail-header .back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: var(--space-6);
}

.detail-header .back-link::before {
  content: "\2190";
}

.detail-header .back-link:hover {
  color: var(--accent);
}

.detail-header h1 {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text);
  line-height: var(--leading-snug);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-3);
}

.detail-header .detail-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
}

.detail-header .detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.detail-header .detail-meta span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--surface-warm);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.detail-content {
  padding-bottom: var(--space-20);
}

.detail-content h2 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text);
  margin: var(--space-12) 0 var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border-light);
  line-height: var(--leading-snug);
}

.detail-content h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text);
  margin: var(--space-8) 0 var(--space-3);
  line-height: var(--leading-snug);
}

.detail-content p {
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--text);
  margin-bottom: var(--space-4);
}

.detail-content ul,
.detail-content ol {
  margin-bottom: var(--space-4);
  padding-left: var(--space-6);
}

.detail-content li {
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--text);
  margin-bottom: var(--space-2);
}

.detail-content strong {
  font-weight: 600;
  color: var(--text);
}

.detail-content .highlight {
  background: var(--accent-bg);
  color: var(--accent-hover);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  font-weight: 500;
}

.detail-content .info-box {
  background: var(--surface-warm);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: var(--space-4) var(--space-5);
  margin: var(--space-4) 0;
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ─── Responsive ─── */

@media (max-width: 640px) {
  :root {
    --text-3xl: 2rem;
    --text-2xl: 1.375rem;
    --space-20: 3.5rem;
    --space-16: 3rem;
    --space-12: 2.5rem;
  }

  .hero {
    padding: var(--space-10) 0 var(--space-16);
  }

  .strength-list {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

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

  .project-header {
    flex-direction: column;
    gap: var(--space-2);
  }

  .project-card {
    padding: var(--space-6);
  }

  .project-summary,
  .project-value {
    min-height: 0;
  }

  .nav-links {
    gap: var(--space-4);
  }
}

/* ─── Home landing styles ─── */

.home-page {
  --home-bg: #f3eee5;
  --home-paper: #fffdf8;
  --home-ink: #181410;
  --home-sub: #5f574d;
  --home-muted: #8b8174;
  --home-line: #ded5c8;
  --home-line-strong: #c8bbaa;
  --home-accent: #0f766e;
  --home-accent-dark: #0b4f4a;
  --home-accent-soft: #e1f0ed;
  --container-max: 1120px;
  font-family: "IBM Plex Sans KR", var(--font-body);
  color: var(--home-ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(15, 118, 110, 0.12), transparent 28rem),
    linear-gradient(90deg, rgba(24, 20, 16, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(24, 20, 16, 0.035) 1px, transparent 1px),
    var(--home-bg);
  background-size: auto, 88px 88px, 88px 88px, auto;
}

.home-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image: radial-gradient(rgba(24, 20, 16, 0.12) 0.6px, transparent 0.6px);
  background-size: 5px 5px;
  opacity: 0.22;
}

.home-page .container {
  width: min(100% - 48px, var(--container-max));
}

.home-page .site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 18px 0;
  background: rgba(243, 238, 229, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(222, 213, 200, 0.72);
}

.home-page .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.home-page .site-name {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--home-ink);
  border-radius: 50%;
  color: var(--home-ink);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--home-paper);
  box-shadow: 4px 4px 0 rgba(24, 20, 16, 0.12);
}

.home-page .nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border: 1px solid var(--home-line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.72);
}

.home-page .nav-links a {
  padding: 8px 15px;
  border-radius: 999px;
  color: var(--home-sub);
  font-size: 0.88rem;
  font-weight: 600;
}

.home-page .nav-links a:hover {
  color: var(--home-accent-dark);
  background: var(--home-accent-soft);
}

.home-page .hero {
  padding: 104px 0 92px;
}

.home-page .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) 390px;
  gap: 72px;
  align-items: end;
}

.home-page .eyebrow {
  color: var(--home-accent-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-page .hero-copy .eyebrow {
  margin-bottom: 24px;
}

.home-page .hero h1 {
  max-width: 780px;
  color: var(--home-ink);
  font-family: "IBM Plex Sans KR", var(--font-body);
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.075em;
}

.home-page .hero-lead {
  max-width: 680px;
  margin-top: 30px;
  color: var(--home-sub);
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: -0.025em;
}

.home-page .hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 38px;
}

.home-page .primary-link,
.home-page .text-link,
.home-page .project-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.home-page .primary-link {
  padding: 0 22px;
  color: #fffdf8;
  background: var(--home-ink);
  box-shadow: 0 16px 32px rgba(24, 20, 16, 0.18);
}

.home-page .primary-link:hover {
  background: var(--home-accent-dark);
}

.home-page .text-link {
  padding: 0 18px;
  color: var(--home-accent-dark);
  border: 1px solid var(--home-line-strong);
  background: rgba(255, 253, 248, 0.55);
}

.home-page .text-link:hover {
  border-color: var(--home-accent);
  background: var(--home-accent-soft);
}

.home-page .profile-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(24, 20, 16, 0.82);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(255, 253, 248, 0.98), rgba(244, 239, 231, 0.92));
  box-shadow: 14px 14px 0 rgba(24, 20, 16, 0.1), 0 28px 70px rgba(24, 20, 16, 0.12);
}

.home-page .profile-card::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: 14px;
  color: rgba(24, 20, 16, 0.045);
  font-size: 4.2rem;
  font-weight: 700;
  letter-spacing: -0.08em;
}

.home-page .profile-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 34px;
}

.home-page .profile-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 20px;
  color: #fffdf8;
  background: var(--home-accent-dark);
  font-family: "IBM Plex Sans KR", var(--font-body);
  font-size: 1.55rem;
  font-weight: 700;
}

.home-page .profile-card strong,
.home-page .profile-card-top span:last-child {
  display: block;
}

.home-page .profile-card strong {
  font-size: 1.28rem;
  letter-spacing: -0.04em;
}

.home-page .profile-card-top span:last-child {
  margin-top: 4px;
  color: var(--home-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.home-page .profile-meta {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0;
}

.home-page .profile-meta div {
  padding: 18px 0;
  border-top: 1px solid var(--home-line);
}

.home-page .profile-meta dt {
  margin-bottom: 6px;
  color: var(--home-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-page .profile-meta dd,
.home-page .profile-meta a {
  color: var(--home-ink);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.55;
  word-break: break-word;
}

.home-page .section {
  padding: 92px 0;
}

.home-page .signal-section {
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
  background: rgba(255, 253, 248, 0.38);
}

.home-page .signal-grid {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 72px;
}

.home-page .signal-grid h2,
.home-page .section-head h2,
.home-page .site-footer h2 {
  color: var(--home-ink);
  font-family: "IBM Plex Sans KR", var(--font-body);
  font-weight: 700;
  letter-spacing: -0.055em;
}

.home-page .signal-grid h2 {
  margin-top: 18px;
  font-size: clamp(2rem, 3.4vw, 3.15rem);
  line-height: 1.22;
}

.home-page .signal-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.home-page .signal-list article {
  min-height: 260px;
  padding: 26px 24px;
  border: 1px solid var(--home-line);
  border-radius: 26px;
  background: rgba(255, 253, 248, 0.76);
}

.home-page .signal-list span,
.home-page .project-index {
  color: var(--home-accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.home-page .signal-list h3 {
  margin-top: 52px;
  margin-bottom: 12px;
  color: var(--home-ink);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.home-page .signal-list p {
  color: var(--home-sub);
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: -0.025em;
}

.home-page .project-section {
  padding-bottom: 112px;
}

.home-page .section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

.home-page .section-head h2 {
  margin-top: 14px;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.05;
}

.home-page .section-head p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--home-sub);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.85;
}

.home-page .project-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.home-page .project-card {
  position: relative;
  display: flex;
  min-height: 520px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--home-line-strong);
  border-radius: 30px;
  background: rgba(255, 253, 248, 0.88);
  box-shadow: 0 24px 56px rgba(24, 20, 16, 0.07);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.home-page .project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(15, 118, 110, 0.13), transparent 42%);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.home-page .project-card-featured {
  background: linear-gradient(155deg, #113f3b, #17201d 62%, #241c15);
  border-color: rgba(255, 253, 248, 0.22);
  color: #fffdf8;
}

.home-page .project-card:hover {
  transform: translateY(-6px);
  border-color: var(--home-accent);
  box-shadow: 0 32px 72px rgba(24, 20, 16, 0.13);
}

.home-page .project-card:hover::before {
  opacity: 1;
}

.home-page .project-card > * {
  position: relative;
  z-index: 1;
}

.home-page .project-card .project-index {
  margin-bottom: 36px;
}

.home-page .project-card-featured .project-index,
.home-page .project-card-featured .project-type,
.home-page .project-card-featured .project-tags span {
  color: rgba(255, 253, 248, 0.72);
}

.home-page .project-main {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0;
}

.home-page .project-header {
  display: block;
}

.home-page .project-type {
  display: block;
  margin-bottom: 12px;
  color: var(--home-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-page .project-header h3 {
  color: inherit;
  font-family: "IBM Plex Sans KR", var(--font-body);
  font-size: clamp(1.9rem, 3vw, 2.65rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.06em;
}

.home-page .project-summary {
  min-height: 72px;
  margin-top: 18px;
  color: inherit;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: -0.035em;
}

.home-page .project-value {
  min-height: 104px;
  margin-top: 16px;
  color: var(--home-sub);
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: -0.025em;
}

.home-page .project-card-featured .project-value {
  color: rgba(255, 253, 248, 0.76);
}

.home-page .project-points {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding: 18px 0 0;
  border-top: 1px solid var(--home-line);
  list-style: none;
}

.home-page .project-card-featured .project-points {
  border-color: rgba(255, 253, 248, 0.18);
}

.home-page .project-points li {
  position: relative;
  padding-left: 16px;
  color: var(--home-sub);
  font-size: 0.87rem;
  font-weight: 600;
  line-height: 1.58;
  letter-spacing: -0.025em;
}

.home-page .project-card-featured .project-points li {
  color: rgba(255, 253, 248, 0.78);
}

.home-page .project-points li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--home-accent);
}

.home-page .project-footer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
  margin-top: auto;
}

.home-page .project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.home-page .project-tags span {
  padding: 7px 10px;
  border: 1px solid rgba(139, 129, 116, 0.22);
  border-radius: 999px;
  color: var(--home-muted);
  background: rgba(243, 238, 229, 0.68);
  font-size: 0.75rem;
  font-weight: 700;
}

.home-page .project-card-featured .project-tags span {
  border-color: rgba(255, 253, 248, 0.18);
  background: rgba(255, 253, 248, 0.08);
}

.home-page .project-link {
  width: 100%;
  padding: 0 18px;
  color: #fffdf8;
  background: var(--home-ink);
}

.home-page .project-card-featured .project-link {
  color: var(--home-ink);
  background: #fffdf8;
}

.home-page .project-link:hover {
  color: #fffdf8;
  background: var(--home-accent-dark);
}

.home-page .project-link::after {
  content: "↗";
  margin-left: 8px;
  transition: transform 0.2s ease;
}

.home-page .project-link:hover::after {
  transform: translate(2px, -2px);
}

.home-page .site-footer {
  padding: 82px 0 38px;
  border-top: 1px solid var(--home-line);
  background: rgba(24, 20, 16, 0.94);
  color: #fffdf8;
}

.home-page .footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 64px;
  align-items: end;
}

.home-page .site-footer .eyebrow {
  color: rgba(255, 253, 248, 0.58);
}

.home-page .site-footer h2 {
  margin-top: 14px;
  color: #fffdf8;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.14;
}

.home-page .contact-list {
  display: grid;
  gap: 14px;
  margin: 0;
}

.home-page .contact-list a {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: 18px;
  color: #fffdf8;
  background: rgba(255, 253, 248, 0.06);
  font-size: 0.98rem;
  font-weight: 700;
}

.home-page .contact-list a::after {
  content: "↗";
  color: rgba(255, 253, 248, 0.62);
}

.home-page .contact-list a:hover {
  border-color: rgba(255, 253, 248, 0.42);
  background: rgba(255, 253, 248, 0.1);
}

.home-page .footer-copy {
  width: min(100% - 48px, var(--container-max));
  margin: 58px auto 0;
  color: rgba(255, 253, 248, 0.45);
  font-size: 0.78rem;
  font-weight: 600;
}

.home-page .scroll-top {
  border-color: rgba(24, 20, 16, 0.15);
  background: var(--home-ink);
  color: #fffdf8;
}

@media (max-width: 980px) {
  .home-page .hero-grid,
  .home-page .signal-grid,
  .home-page .footer-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .home-page .profile-card {
    max-width: 520px;
  }

  .home-page .signal-list,
  .home-page .project-list {
    grid-template-columns: 1fr;
  }

  .home-page .signal-list article,
  .home-page .project-card {
    min-height: auto;
  }

  .home-page .project-summary,
  .home-page .project-value {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .home-page .container,
  .home-page .footer-copy {
    width: min(100% - 28px, var(--container-max));
  }

  .home-page .site-nav {
    padding: 12px 0;
  }

  .home-page .site-name {
    width: 38px;
    height: 38px;
    font-size: 0.74rem;
  }

  .home-page .nav-links {
    gap: 2px;
    padding: 5px;
  }

  .home-page .nav-links a {
    padding: 7px 9px;
    font-size: 0.8rem;
  }

  .home-page .hero {
    padding: 64px 0 66px;
  }

  .home-page .hero h1 {
    font-size: clamp(2.55rem, 15vw, 3.5rem);
    letter-spacing: -0.085em;
  }

  .home-page .hero-lead {
    font-size: 0.98rem;
    line-height: 1.78;
  }

  .home-page .profile-card,
  .home-page .signal-list article,
  .home-page .project-card {
    border-radius: 22px;
  }

  .home-page .profile-card,
  .home-page .project-card {
    padding: 22px;
  }

  .home-page .section {
    padding: 68px 0;
  }

  .home-page .signal-grid h2,
  .home-page .section-head h2,
  .home-page .site-footer h2 {
    letter-spacing: -0.065em;
  }

  .home-page .signal-list h3 {
    margin-top: 32px;
  }

  .home-page .contact-list a {
    min-height: 52px;
    font-size: 0.9rem;
  }
}

/* ─── Home tone-down: simple, calm, readable ─── */

.home-page {
  --home-bg: #f8f7f4;
  --home-paper: #ffffff;
  --home-ink: #1f2328;
  --home-sub: #59636e;
  --home-muted: #858c94;
  --home-line: #e5e7eb;
  --home-line-strong: #d7dce2;
  --home-accent: #256f68;
  --home-accent-dark: #205f59;
  --home-accent-soft: #eef7f5;
  --container-max: 1040px;
  color: var(--home-ink);
  background: var(--home-bg);
}

.home-page::before {
  display: none;
}

.home-page .container {
  width: min(100% - 40px, var(--container-max));
}

.home-page .site-nav {
  padding: 16px 0;
  background: rgba(248, 247, 244, 0.92);
  border-bottom: 1px solid var(--home-line);
  backdrop-filter: blur(10px);
}

.home-page .site-name {
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--home-ink);
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.home-page .site-name::after {
  content: " · Backend";
  color: var(--home-muted);
  font-weight: 500;
}

.home-page .nav-links {
  gap: 22px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.home-page .nav-links a {
  padding: 0;
  border-radius: 0;
  color: var(--home-sub);
  font-size: 0.9rem;
  font-weight: 500;
}

.home-page .nav-links a:hover {
  color: var(--home-accent-dark);
  background: transparent;
}

.home-page .hero {
  padding: 78px 0 62px;
}

.home-page .hero-grid {
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 54px;
  align-items: start;
}

.home-page .eyebrow {
  color: var(--home-accent-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.home-page .hero-copy .eyebrow {
  margin-bottom: 16px;
}

.home-page .hero h1,
.home-page .signal-grid h2,
.home-page .section-head h2,
.home-page .site-footer h2,
.home-page .project-header h3 {
  font-family: "IBM Plex Sans KR", var(--font-body);
  letter-spacing: -0.045em;
}

.home-page .hero h1 {
  max-width: 650px;
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.18;
}

.home-page .hero-lead {
  max-width: 650px;
  margin-top: 22px;
  color: var(--home-sub);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.85;
}

.home-page .hero-actions {
  margin-top: 30px;
  gap: 10px;
}

.home-page .primary-link,
.home-page .text-link,
.home-page .project-link {
  min-height: 42px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
}

.home-page .primary-link {
  padding: 0 18px;
  background: var(--home-ink);
  box-shadow: none;
}

.home-page .text-link {
  padding: 0 16px;
  color: var(--home-sub);
  border: 1px solid var(--home-line-strong);
  background: var(--home-paper);
}

.home-page .profile-card {
  padding: 24px;
  border: 1px solid var(--home-line);
  border-radius: 18px;
  background: var(--home-paper);
  box-shadow: none;
}

.home-page .profile-card::after {
  display: none;
}

.home-page .profile-card-top {
  gap: 12px;
  margin-bottom: 24px;
}

.home-page .profile-mark {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--home-accent-soft);
  color: var(--home-accent-dark);
  font-family: "IBM Plex Sans KR", var(--font-body);
  font-size: 1.15rem;
}

.home-page .profile-card strong {
  font-size: 1.08rem;
}

.home-page .profile-card-top span:last-child,
.home-page .profile-meta dt {
  color: var(--home-muted);
}

.home-page .profile-meta div {
  padding: 14px 0;
  border-top: 1px solid var(--home-line);
}

.home-page .profile-meta dd,
.home-page .profile-meta a {
  font-size: 0.92rem;
  font-weight: 500;
}

.home-page .section {
  padding: 64px 0;
}

.home-page .signal-section {
  background: transparent;
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
}

.home-page .signal-grid {
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 48px;
}

.home-page .signal-grid h2 {
  margin-top: 12px;
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
  line-height: 1.35;
}

.home-page .signal-list {
  gap: 14px;
}

.home-page .signal-list article {
  min-height: auto;
  padding: 22px;
  border: 1px solid var(--home-line);
  border-radius: 16px;
  background: var(--home-paper);
}

.home-page .signal-list h3 {
  margin-top: 24px;
  margin-bottom: 10px;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.home-page .signal-list p {
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.7;
}

.home-page .project-section {
  padding-bottom: 78px;
}

.home-page .section-head {
  max-width: 680px;
  margin-bottom: 28px;
}

.home-page .section-head h2 {
  margin-top: 10px;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.18;
}

.home-page .section-head p:not(.eyebrow) {
  margin-top: 12px;
  font-size: 0.96rem;
  font-weight: 400;
  line-height: 1.75;
}

.home-page .project-list {
  gap: 14px;
}

.home-page .project-card,
.home-page .project-card-featured {
  min-height: 470px;
  padding: 24px;
  border: 1px solid var(--home-line);
  border-radius: 18px;
  background: var(--home-paper);
  color: var(--home-ink);
  box-shadow: none;
}

.home-page .project-card::before {
  display: none;
}

.home-page .project-card:hover {
  transform: none;
  border-color: var(--home-line-strong);
  box-shadow: 0 10px 24px rgba(31, 35, 40, 0.06);
}

.home-page .project-card .project-index {
  margin-bottom: 24px;
}

.home-page .project-card-featured .project-index,
.home-page .project-card-featured .project-type,
.home-page .project-card-featured .project-tags span {
  color: inherit;
}

.home-page .project-type {
  margin-bottom: 8px;
  color: var(--home-muted);
  font-size: 0.75rem;
  letter-spacing: 0.03em;
}

.home-page .project-header h3 {
  font-size: 1.6rem;
  line-height: 1.2;
}

.home-page .project-summary {
  min-height: 58px;
  margin-top: 14px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.55;
}

.home-page .project-value,
.home-page .project-card-featured .project-value {
  min-height: 94px;
  margin-top: 12px;
  color: var(--home-sub);
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.75;
}

.home-page .project-points {
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--home-line);
}

.home-page .project-card-featured .project-points {
  border-color: var(--home-line);
}

.home-page .project-points li,
.home-page .project-card-featured .project-points li {
  color: var(--home-sub);
  font-size: 0.84rem;
  font-weight: 400;
  line-height: 1.55;
}

.home-page .project-points li::before {
  top: 0.66em;
  width: 4px;
  height: 4px;
  background: var(--home-muted);
}

.home-page .project-footer {
  gap: 16px;
}

.home-page .project-tags span,
.home-page .project-card-featured .project-tags span {
  padding: 6px 9px;
  border-color: var(--home-line);
  background: #f6f7f8;
  color: var(--home-sub);
  font-size: 0.72rem;
  font-weight: 500;
}

.home-page .project-link,
.home-page .project-card-featured .project-link {
  width: auto;
  align-self: flex-start;
  padding: 0 15px;
  color: var(--home-accent-dark);
  border: 1px solid var(--home-line-strong);
  background: var(--home-paper);
}

.home-page .project-link:hover {
  color: var(--home-accent-dark);
  background: var(--home-accent-soft);
}

.home-page .site-footer {
  padding: 58px 0 30px;
  border-top: 1px solid var(--home-line);
  background: var(--home-paper);
  color: var(--home-ink);
}

.home-page .footer-grid {
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 40px;
  align-items: start;
}

.home-page .site-footer .eyebrow {
  color: var(--home-accent-dark);
}

.home-page .site-footer h2 {
  margin-top: 10px;
  color: var(--home-ink);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.home-page .contact-list a {
  min-height: 48px;
  border: 1px solid var(--home-line);
  border-radius: 12px;
  color: var(--home-ink);
  background: var(--home-paper);
  font-size: 0.92rem;
  font-weight: 500;
}

.home-page .contact-list a::after {
  color: var(--home-muted);
}

.home-page .contact-list a:hover {
  border-color: var(--home-line-strong);
  background: #f8f9fa;
}

.home-page .footer-copy {
  margin-top: 36px;
  color: var(--home-muted);
  font-weight: 400;
}

.home-page .scroll-top {
  background: var(--home-paper);
  color: var(--home-sub);
}

@media (max-width: 980px) {
  .home-page .hero-grid,
  .home-page .signal-grid,
  .home-page .footer-grid {
    grid-template-columns: 1fr;
  }

  .home-page .project-card,
  .home-page .project-card-featured {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .home-page .container,
  .home-page .footer-copy {
    width: min(100% - 28px, var(--container-max));
  }

  .home-page .site-name::after {
    display: none;
  }

  .home-page .nav-links {
    gap: 12px;
  }

  .home-page .nav-links a {
    font-size: 0.82rem;
  }

  .home-page .hero {
    padding: 54px 0 50px;
  }

  .home-page .hero h1 {
    font-size: clamp(2rem, 11vw, 2.75rem);
    letter-spacing: -0.055em;
  }

  .home-page .profile-card,
  .home-page .signal-list article,
  .home-page .project-card {
    border-radius: 16px;
  }

  .home-page .section {
    padding: 52px 0;
  }
}

/* ─── Vertical simple portfolio ─── */

.vertical-page {
  --simple-bg: #fbfaf8;
  --simple-text: #202124;
  --simple-sub: #5f6368;
  --simple-muted: #8a8f95;
  --simple-line: #e6e3df;
  --simple-accent: #2f6f68;
  font-family: "IBM Plex Sans KR", var(--font-body);
  color: var(--simple-text);
  background: var(--simple-bg);
}

.vertical-page::before {
  display: none;
}

.vertical-page .simple-container {
  width: min(100% - 40px, 760px);
  margin: 0 auto;
}

.vertical-page .simple-header {
  padding: 28px 0 72px;
}

.vertical-page .simple-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 56px;
}

.vertical-page .simple-name {
  color: var(--simple-text);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.vertical-page .simple-nav div {
  display: flex;
  gap: 18px;
}

.vertical-page .simple-nav a:not(.simple-name) {
  color: var(--simple-sub);
  font-size: 0.88rem;
  font-weight: 500;
}

.vertical-page .simple-nav a:hover,
.vertical-page .intro-links a:hover,
.vertical-page .project-bottom a:hover,
.vertical-page .footer-links a:hover {
  color: var(--simple-accent);
}

.vertical-page .intro-label {
  margin-bottom: 18px;
  color: var(--simple-accent);
  font-size: 0.86rem;
  font-weight: 700;
}

.vertical-page .intro h1 {
  color: var(--simple-text);
  font-size: clamp(2.25rem, 7vw, 4rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.055em;
}

.vertical-page .intro-text {
  max-width: 680px;
  margin-top: 26px;
  color: var(--simple-sub);
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: -0.02em;
}

.vertical-page .intro-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 28px;
}

.vertical-page .intro-links a,
.vertical-page .footer-links a {
  color: var(--simple-text);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--simple-line);
  text-underline-offset: 4px;
}

.vertical-page .simple-section {
  padding: 54px 0;
  border-top: 1px solid var(--simple-line);
}

.vertical-page .simple-section h2,
.vertical-page .simple-footer h2 {
  margin-bottom: 24px;
  color: var(--simple-text);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.vertical-page .focus-list {
  display: grid;
  gap: 22px;
}

.vertical-page .personal-list {
  display: grid;
  gap: 20px;
}

.vertical-page .personal-list article {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--simple-line);
}

.vertical-page .personal-list article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.vertical-page .personal-list h3 {
  margin-bottom: 8px;
  color: var(--simple-text);
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.vertical-page .personal-list p {
  color: var(--simple-sub);
  font-size: 0.96rem;
  line-height: 1.78;
  letter-spacing: -0.015em;
}

.vertical-page .focus-list article {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 28px;
}

.vertical-page .focus-list h3 {
  color: var(--simple-text);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.vertical-page .focus-list p {
  color: var(--simple-sub);
  font-size: 0.96rem;
  line-height: 1.75;
  letter-spacing: -0.015em;
}

.vertical-page .vertical-projects {
  display: grid;
  gap: 18px;
}

.vertical-page .vertical-project {
  padding: 28px 30px 30px;
  border: 1px solid var(--simple-line);
  border-radius: 14px;
  background: #fff;
}

.vertical-page .vertical-project:first-child {
  padding-top: 28px;
}

.vertical-page .project-topline {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
  color: var(--simple-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.vertical-page .vertical-project h3 {
  color: var(--simple-text);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.045em;
}

.vertical-page .project-desc {
  margin-top: 12px;
  color: var(--simple-sub);
  font-size: 1rem;
  line-height: 1.75;
  letter-spacing: -0.015em;
}

.vertical-page .vertical-project ul {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding-left: 1.15rem;
}

.vertical-page .vertical-project li {
  color: var(--simple-sub);
  font-size: 0.94rem;
  line-height: 1.7;
}

.vertical-page .project-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
}

.vertical-page .project-bottom span {
  color: var(--simple-muted);
  font-size: 0.86rem;
  font-weight: 500;
}

.vertical-page .project-bottom a {
  flex: 0 0 auto;
  color: var(--simple-text);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--simple-line);
  text-underline-offset: 4px;
}

.vertical-page .project-links {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 14px;
}

.vertical-page .simple-footer {
  padding: 54px 0 42px;
  border-top: 1px solid var(--simple-line);
}

.vertical-page .simple-footer p {
  color: var(--simple-sub);
  font-size: 0.96rem;
}

.vertical-page .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 22px;
}

.vertical-page .simple-footer small {
  display: block;
  margin-top: 40px;
  color: var(--simple-muted);
  font-size: 0.8rem;
}

@media (max-width: 640px) {
  .vertical-page .simple-container {
    width: min(100% - 28px, 760px);
  }

  .vertical-page .simple-header {
    padding: 22px 0 52px;
  }

  .vertical-page .simple-nav {
    align-items: flex-start;
    padding-bottom: 44px;
  }

  .vertical-page .simple-nav div {
    gap: 12px;
  }

  .vertical-page .intro h1 {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .vertical-page .simple-section {
    padding: 42px 0;
  }

  .vertical-page .focus-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .vertical-page .project-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .vertical-page .vertical-project {
    padding: 22px 20px 24px;
  }
}
