﻿:root {
  color-scheme: light;
  --bg: #edf1f0;
  --surface: #f5f7f6;
  --surface-2: #eef2f1;
  --surface-3: #e4ebe9;
  --ink: #1f2528;
  --text: #1f2528;
  --muted: #56666a;
  --weak: #7b898c;
  --line: #c9d4d4;
  --line-strong: #b4c0c1;
  --accent: #285f78;
  --accent-soft: #dce8ec;
  --accent-green: #5d705d;
  --accent-amber: #856f46;
  --accent-rust: #8e6456;
  --accent-violet: #6d698f;
  --shadow: 0 14px 32px rgba(37, 48, 54, 0.065);
  --shadow-soft: 0 9px 24px rgba(37, 48, 54, 0.045);
  --max: 1160px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0d1015;
  --surface: #141922;
  --surface-2: #1b212b;
  --surface-3: #222934;
  --ink: #edf1f5;
  --text: #edf1f5;
  --muted: #aab3bf;
  --weak: #7f8a98;
  --line: #343c49;
  --line-strong: #4d5868;
  --accent: #d6b25e;
  --accent-soft: rgba(214, 178, 94, 0.12);
  --accent-green: #6fd09b;
  --accent-amber: #d6b25e;
  --accent-rust: #d7836f;
  --accent-violet: #8ca0df;
  --shadow: 0 18px 38px rgba(0, 0, 0, 0.32);
  --shadow-soft: 0 12px 28px rgba(0, 0, 0, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 70%, var(--bg)) 0, var(--bg) 430px),
    var(--bg);
  font-family: "Segoe UI", Pretendard, "Apple SD Gothic Neo", Arial, sans-serif;
  letter-spacing: 0;
}

body::selection {
  color: var(--surface);
  background: var(--accent);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.brand-mark {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  background: var(--surface-3);
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-links {
  display: flex;
  gap: 14px;
  color: var(--muted);
  font-size: 12px;
}

.nav-links a,
.theme-toggle {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
}

.nav-links a:hover {
  color: var(--text);
}

.theme-toggle {
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text);
  padding: 0 12px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.theme-toggle:hover {
  border-color: var(--line-strong);
}

.page-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 42px 24px 80px;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-bottom: 24px;
}

.hero-main,
.snapshot,
.content-section {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-main {
  min-height: 360px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.hero-main::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 360px;
  height: 240px;
  background:
    linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 12%, transparent), transparent),
    repeating-linear-gradient(90deg, color-mix(in srgb, var(--accent) 16%, transparent) 0 2px, transparent 2px 15px);
  transform: skewX(-15deg);
  pointer-events: none;
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 14px 0 0;
  max-width: 720px;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 0.98;
}

.hero-lead {
  margin: 22px 0 0;
  color: var(--text);
  max-width: 900px;
  font-size: 18px;
  line-height: 1.68;
  position: relative;
  z-index: 1;
}

.hero-subcopy {
  margin: 14px 0 0;
  color: var(--muted);
  max-width: 920px;
  font-size: 14px;
  line-height: 1.72;
  position: relative;
  z-index: 1;
}

.tag-row,
.keyword-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row {
  margin-top: 28px;
  position: relative;
  z-index: 1;
}

.tag-row span,
.keyword-row span {
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--muted);
  padding: 7px 10px;
  font-size: 12px;
}

.tag-row span:nth-child(-n + 3) {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
  background: var(--accent-soft);
  color: var(--accent);
}

.snapshot {
  padding: 20px;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
}

.status {
  color: var(--accent-green);
  white-space: nowrap;
}

.metrics {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
}

.metric {
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--surface-2);
  padding: 12px;
}

.metric dt {
  color: var(--text);
  font-size: 20px;
  font-weight: 850;
  line-height: 1;
}

.metric dd {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.content-section {
  margin-top: 20px;
  box-shadow: var(--shadow-soft);
}

.section-head {
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.section-head h2,
.contact-section h2 {
  margin: 6px 0 0;
  color: var(--text);
  font-size: 23px;
  line-height: 1.3;
}

.section-head p,
.contact-section p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.58;
  font-size: 13px;
  max-width: 920px;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.highlight-card {
  min-height: 166px;
  padding: 22px;
  border-right: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-2) 58%, transparent);
}

.highlight-card:last-child {
  border-right: 0;
}

.accent-line {
  display: block;
  width: 38px;
  height: 3px;
  margin-bottom: 14px;
  background: var(--accent);
}

.accent-line.accent-green {
  background: var(--accent-green);
}

.accent-line.accent-amber {
  background: var(--accent-amber);
}

.highlight-card h3,
.work-card h3,
.map-card h3,
.role-card h3 {
  margin: 0;
  color: var(--text);
}

.highlight-card h3 {
  font-size: 16px;
}

.highlight-card p,
.work-card p,
.work-card li,
.map-card p,
.role-card p,
.experience-copy p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 13px;
}

.experience-layout {
  padding: 24px;
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 24px;
}

.role-card {
  border: 1px solid var(--line);
  background: var(--surface-2);
  padding: 17px;
}

.role-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.role-card p {
  margin: 0;
  line-height: 1.65;
}

.experience-copy p {
  margin: 0 0 17px;
  font-size: 14px;
  line-height: 1.72;
}

.work-grid {
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.work-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  padding: 18px;
}

.work-card.primary {
  border-top: 4px solid var(--accent);
}

.work-card.accent-warm {
  border-top-color: var(--accent-amber);
}

.work-card.accent-green {
  border-top-color: var(--accent-green);
}

.work-card.accent-rust {
  border-top-color: var(--accent-rust);
}

.work-card.accent-violet {
  border-top-color: var(--accent-violet);
}

.work-card.secondary {
  border-top: 4px solid var(--line-strong);
}

.work-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.work-card h3 {
  font-size: 17px;
  line-height: 1.35;
}

.work-card-head span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
}

.work-card p {
  margin: 0;
}

.work-card ul {
  margin: 0;
  padding-left: 18px;
}

.work-card li {
  margin: 7px 0;
}

.map-grid {
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.map-card {
  min-height: 136px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  padding: 15px;
}

.map-card h3 {
  margin-bottom: 8px;
  font-size: 15px;
}

.map-card p {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
}

.contact-section {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.button {
  border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line));
  color: var(--accent);
  background: var(--accent-soft);
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.button.secondary {
  border-color: var(--line-strong);
  color: var(--text);
  background: var(--surface-2);
}

.button.disabled {
  color: var(--weak);
  border-color: var(--line);
  background: var(--surface-2);
}

@media (max-width: 920px) {
  .nav-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-actions {
    width: 100%;
    justify-content: space-between;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .page-shell {
    padding: 28px 16px 56px;
  }

  .hero,
  .experience-layout,
  .work-grid,
  .map-grid {
    grid-template-columns: 1fr;
  }

  .hero-main {
    min-height: 0;
    padding: 26px;
  }

  .highlight-grid {
    grid-template-columns: 1fr;
  }

  .highlight-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .highlight-card:last-child {
    border-bottom: 0;
  }

  .contact-section {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .nav-actions {
    flex-direction: column;
  }

  .nav-links {
    gap: 10px 12px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .metric {
    grid-template-columns: 1fr;
  }

  .work-card {
    min-height: 0;
  }
}








