:root {
  --bg: #f3f0e9;
  --surface: #fbf9f4;
  --ink: #1f232a;
  --ink-2: #3a4049;
  --muted: #767c87;
  --accent: #456070;
  --accent-ink: #2f4754;
  --accent-soft: #e6edee;
  --line: #e4ddd0;

  --hero-bg: #1b2027;
  --hero-bg-2: #242b34;
  --hero-text: #ece6d9;
  --hero-muted: #a4a89c;

  --radius: 14px;
  --radius-sm: 10px;
  --container: 860px;
  --shadow: 0 1px 2px rgba(31, 35, 42, 0.04), 0 8px 24px rgba(31, 35, 42, 0.05);

  font-family: "Pretendard", -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.01em;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
svg { display: block; }

.hero {
  position: relative;
  background:
    radial-gradient(120% 120% at 80% -10%, var(--hero-bg-2) 0%, var(--hero-bg) 55%);
  color: var(--hero-text);
  padding: clamp(64px, 13vh, 120px) 24px clamp(56px, 9vh, 84px);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(236, 230, 217, 0.18), transparent);
}
.hero__inner { max-width: var(--container); margin: 0 auto; }
.hero__eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--hero-muted);
  margin-bottom: 22px;
}
.hero__name {
  font-size: clamp(2.7rem, 10vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 18px;
}
.hero__role {
  font-size: clamp(0.98rem, 2.6vw, 1.18rem);
  font-weight: 500;
  color: #d8d3c6;
  margin-bottom: 24px;
}
.hero__role .dot { margin: 0 0.5em; color: var(--hero-muted); }
.hero__intro {
  font-size: clamp(1rem, 2.4vw, 1.12rem);
  color: #c9c4b7;
  line-height: 1.8;
  max-width: 46ch;
  margin-bottom: 36px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}
.btn--primary { background: var(--hero-text); color: var(--hero-bg); }
.btn--primary:hover { transform: translateY(-1px); background: #fff; }
.btn--ghost {
  border: 1px solid rgba(236, 230, 217, 0.28);
  color: var(--hero-text);
}
.btn--ghost:hover { border-color: rgba(236, 230, 217, 0.55); transform: translateY(-1px); }

.hero__meta {
  max-width: var(--container);
  margin: 48px auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-size: 0.85rem;
  color: var(--hero-muted);
  letter-spacing: -0.01em;
}
.hero__meta .sep {
  width: 4px; height: 4px; border-radius: 50%;
  background: rgba(164, 168, 156, 0.5);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.block { padding: clamp(56px, 9vh, 88px) 0; }
.block + .block { border-top: 1px solid var(--line); }

.block__head { margin-bottom: 36px; }
.block__label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 12px;
}
.block__title {
  font-size: clamp(1.45rem, 4.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.3;
  color: var(--ink);
}
.block__sub {
  margin-top: 14px;
  font-size: 1rem;
  color: var(--muted);
  max-width: 50ch;
}

.work {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 38px);
  box-shadow: var(--shadow);
}
.work__photo {
  width: 88px; height: 88px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--accent-soft);
  border: 1px solid var(--line);
}
.work__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.work__org {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.work__org span { color: var(--muted); font-weight: 500; }
.work__role {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
}
.work__desc { color: var(--ink-2); line-height: 1.85; margin-bottom: 20px; }
.work__desc strong { color: var(--ink); font-weight: 600; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-ink);
  background: var(--accent-soft);
  padding: 7px 14px;
  border-radius: 999px;
}
.credit {
  margin-top: 14px;
  font-size: 0.76rem;
  color: var(--muted);
  letter-spacing: -0.01em;
}
.credit a { text-decoration: underline; text-underline-offset: 2px; }
.credit a:hover { color: var(--accent); }

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: #d8d0c1;
}
.card__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
}
.card__icon svg { width: 24px; height: 24px; }
.card__title {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.card__desc { font-size: 0.96rem; color: var(--muted); line-height: 1.75; }

.contact {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--ink);
  color: var(--hero-text);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 34px);
  transition: transform 0.18s ease, background 0.2s ease;
}
.contact:hover { transform: translateY(-2px); background: #262c35; }
.contact__icon {
  width: 52px; height: 52px;
  flex-shrink: 0;
  display: grid; place-items: center;
  color: var(--hero-text);
  background: rgba(236, 230, 217, 0.1);
  border-radius: 50%;
}
.contact__icon svg { width: 26px; height: 26px; }
.contact__body { display: flex; flex-direction: column; }
.contact__label { font-size: 0.8rem; color: var(--hero-muted); letter-spacing: 0.06em; }
.contact__phone {
  font-size: clamp(1.4rem, 5vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 2px;
}
.contact__arrow {
  margin-left: auto;
  font-size: 1.4rem;
  color: var(--hero-muted);
  transition: transform 0.2s ease, color 0.2s ease;
}
.contact:hover .contact__arrow { transform: translateX(4px); color: var(--hero-text); }

.footer {
  border-top: 1px solid var(--line);
  padding: 36px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: -0.01em;
}

.fade {
  opacity: 0;
  transform: translateY(12px);
  animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 640px) {
  .work__photo { width: 116px; height: 116px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 860px) {
  .hero__intro br { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .fade { opacity: 1; transform: none; }
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
