:root {
  color-scheme: light;
  --ink: #1d2b38;
  --muted: #687784;
  --navy: #20364a;
  --teal: #287a76;
  --line: #dce4e8;
  --paper: #ffffff;
  --canvas: #f3f6f7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Pretendard", "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  word-break: keep-all;
}

a {
  color: inherit;
}

.hero {
  background: var(--navy);
  color: var(--paper);
  padding: 56px 24px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center;
  gap: 36px;
  max-width: 980px;
  margin: 0 auto;
}

.profile-photo {
  display: block;
  width: 150px;
  height: 200px;
  object-fit: cover;
  object-position: center 30%;
  border: 4px solid rgba(255, 255, 255, 0.82);
  border-radius: 8px;
  background: #fff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 8px;
  color: #6eb6ae;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 3.15rem);
  letter-spacing: -0.06em;
  line-height: 1.2;
}

.headline {
  margin: 12px 0 8px;
  color: #e1eaed;
  font-size: 1.22rem;
  font-weight: 600;
}

.intro {
  max-width: 690px;
  margin: 0;
  color: #c4d0d6;
}

.contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 20px 0 0;
  padding: 0;
  color: #e7edef;
  font-size: 0.9rem;
  list-style: none;
}

.contact-list a {
  text-decoration-color: rgba(255, 255, 255, 0.4);
  text-underline-offset: 3px;
}

main {
  width: min(980px, calc(100% - 40px));
  margin: 36px auto 64px;
}

.section {
  margin: 0 0 22px;
  padding: 30px 34px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 0 4px 16px rgba(29, 43, 56, 0.035);
}

.section-heading {
  margin: 0 0 23px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}

.section-kicker {
  margin-bottom: 2px;
  color: var(--teal);
  font-size: 0.68rem;
}

.section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: 1.45rem;
  letter-spacing: -0.04em;
  line-height: 1.4;
}

.timeline {
  display: grid;
  gap: 25px;
}

.entry {
  display: grid;
  grid-template-columns: 155px minmax(0, 1fr);
  gap: 22px;
}

.entry-date {
  color: var(--teal);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.6;
}

.entry-date span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 450;
}

.entry-body h3,
.statement h3 {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 1.08rem;
  font-weight: 750;
  line-height: 1.5;
}

.entry-body h3 span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.entry-body p {
  margin: 6px 0 0;
  color: var(--ink);
  font-size: 0.94rem;
}

.entry-body .role {
  margin: 0 0 9px;
  color: var(--muted);
  font-size: 0.88rem;
}

.entry-body ul {
  margin: 8px 0 0;
  padding-left: 19px;
}

.entry-body li {
  margin: 4px 0;
  font-size: 0.94rem;
}

.activity-note {
  margin: 22px 0 0;
  padding-top: 12px;
  border-top: 1px solid #edf1f3;
  color: var(--muted);
  font-size: 0.86rem;
}

.skill-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.skill-group h3 {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 0.9rem;
}

.skill-group p {
  margin: 0;
  color: var(--ink);
  font-size: 0.93rem;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.two-column .section-heading {
  margin-bottom: 16px;
}

.simple-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.simple-list li {
  display: grid;
  gap: 2px;
  padding: 10px 0;
  border-bottom: 1px solid #edf1f3;
  font-size: 0.9rem;
}

.simple-list li:last-child {
  border-bottom: 0;
}

.simple-list span {
  color: var(--muted);
}

.statement article > h3 {
  margin: 0 0 24px;
  font-size: 1.2rem;
}

.statement h4 {
  margin: 22px 0 7px;
  color: var(--teal);
  font-size: 1rem;
}

.statement p {
  margin: 0 0 12px;
  color: #34434f;
  font-size: 0.96rem;
  line-height: 1.9;
}

footer {
  padding: 25px 20px 36px;
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  text-align: center;
  font-size: 0.86rem;
}

footer p {
  margin: 0;
}

@media (max-width: 700px) {
  body {
    font-size: 15px;
  }

  .hero {
    padding: 36px 20px;
  }

  .hero-inner {
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: start;
    gap: 20px;
  }

  .profile-photo {
    width: 96px;
    height: 128px;
    border-width: 3px;
  }

  .headline {
    font-size: 1.02rem;
  }

  .intro {
    font-size: 0.9rem;
  }

  .contact-list {
    display: grid;
    gap: 4px;
    margin-top: 13px;
    font-size: 0.82rem;
  }

  main {
    width: min(100% - 24px, 560px);
    margin-top: 18px;
  }

  .section {
    padding: 23px 20px;
    margin-bottom: 14px;
  }

  .entry {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .entry-date br {
    display: none;
  }

  .entry-date span::before {
    content: " · ";
  }

  .skill-groups,
  .two-column {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width: 420px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .profile-photo {
    width: 90px;
    height: 120px;
  }

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