:root {
  --ink: #182321;
  --muted: #70807b;
  --paper: #f4f6f1;
  --line: #d8dfd9;
  --mint: #b9e8c2;
  --yellow: #f4d35e;
  --max-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: 'Trebuchet MS', 'Malgun Gothic', sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page-shell {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 94px;
  border-bottom: 1px solid var(--line);
}

.mark {
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -.08em;
  text-decoration: none;
}

.mark span,
.accent { color: #39a95f; }

.topbar-note,
.eyebrow,
.section-label,
.hero-index,
.footer {
  font-family: 'Consolas', 'Malgun Gothic', monospace;
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.topbar-note { margin: 0; color: var(--muted); }

.hero {
  display: flex;
  justify-content: space-between;
  min-height: 490px;
  padding: 112px 0 92px;
}

.eyebrow,
.section-label { margin: 0 0 26px; color: #5e7069; }

h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(5rem, 15vw, 12rem);
  font-weight: 600;
  letter-spacing: -.1em;
  line-height: .85;
}

.hero-line {
  margin: 47px 0 0 8px;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 500;
}

.hero-index {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  color: var(--muted);
}

.index-line {
  display: block;
  width: 1px;
  height: 70px;
  margin-right: 4px;
  background: var(--line);
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
  gap: clamp(48px, 11vw, 170px);
  padding: 78px 0 110px;
  border-top: 1px solid var(--line);
}

.bio {
  max-width: 520px;
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -.06em;
  line-height: 1.45;
}

.bio-placeholder {
  max-width: 410px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.8;
}

.details { margin: 0; }

.detail-row {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  font-size: .95rem;
  line-height: 1.65;
}

.detail-row:last-child { border-bottom: 1px solid var(--line); }
.detail-row dt { color: var(--muted); }
.detail-row dd { margin: 0; font-weight: 600; }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list span {
  padding: 3px 11px;
  border: 1px solid #c7d3c9;
  border-radius: 999px;
  background: #e8f0e7;
  font-size: .8rem;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  padding: 72px 0 100px;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5.5rem);
  font-weight: 600;
  letter-spacing: -.09em;
  line-height: .98;
}

h2 em { color: #3b9d58; font-style: normal; }

.contact-links { display: flex; flex-direction: column; }
.contact-links a {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 1rem;
  text-decoration: none;
  transition: padding .2s ease, color .2s ease;
}

.contact-links a:first-child { border-top: 1px solid var(--line); }
.contact-links a:hover { padding-left: 12px; color: #319653; }
.contact-links span { color: #319653; }
.contact-links .placeholder-link { color: var(--muted); }

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0 28px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-email { color: var(--ink); text-decoration: none; }
.footer-email:hover { color: #319653; }

@media (max-width: 680px) {
  .page-shell { width: min(calc(100% - 36px), var(--max-width)); }
  .topbar { min-height: 72px; }
  .topbar-note { font-size: .58rem; }
  .hero { min-height: 390px; padding: 78px 0 66px; }
  .hero-index { display: none; }
  .hero-line { margin-top: 34px; margin-left: 3px; }
  .profile-grid,
  .contact-section { grid-template-columns: 1fr; gap: 64px; }
  .profile-grid { padding: 58px 0 76px; }
  .contact-section { padding: 58px 0 76px; }
  .footer { gap: 18px; font-size: .58rem; }
}
