:root {
  --ink: #182325;
  --muted: #657476;
  --paper: #f4f6f1;
  --panel: #ffffff;
  --line: #d9e0db;
  --accent: #d7f36a;
  --accent-deep: #6c870f;
  --coral: #ff745d;
  --shadow: 0 18px 45px rgba(24, 35, 37, 0.07);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(24, 35, 37, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 35, 37, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  pointer-events: none;
}

a {
  color: inherit;
}

.page-shell {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.site-header {
  min-height: 94px;
}

.brand {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.08em;
  text-decoration: none;
}

.brand span {
  color: var(--coral);
}

.header-label,
.eyebrow,
.panel-label,
.site-footer,
.contact-links span {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.header-label,
.site-footer {
  color: var(--muted);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  align-items: center;
  min-height: 510px;
  gap: 60px;
  border-bottom: 1px solid var(--line);
}

.eyebrow,
.panel-label {
  margin: 0 0 22px;
  color: var(--accent-deep);
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(3.4rem, 7vw, 6.2rem);
  font-weight: 900;
  letter-spacing: -0.1em;
  line-height: 1.04;
}

.hero h1 em {
  color: var(--coral);
  font-style: normal;
}

.hero-description {
  margin: 30px 0 25px;
  color: var(--muted);
  font-size: 1rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.text-link span {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.text-link:hover span {
  background: var(--ink);
  color: var(--accent);
  transform: translate(3px, -3px);
}

.hero-mark {
  position: relative;
  width: min(100%, 380px);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: var(--shadow);
  transform: rotate(-12deg);
}

.hero-mark::before,
.hero-mark::after {
  position: absolute;
  border: 1px solid rgba(24, 35, 37, 0.2);
  border-radius: 50%;
  content: "";
}

.hero-mark::before {
  inset: 14%;
}

.hero-mark::after {
  inset: 28%;
  border-color: rgba(24, 35, 37, 0.35);
}

.orbit {
  position: absolute;
  inset: 8%;
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.orbit-one {
  transform: rotate(55deg) scaleX(0.32);
}

.orbit-two {
  transform: rotate(-55deg) scaleX(0.32);
}

.orbit-three {
  inset: 3%;
  border-color: rgba(24, 35, 37, 0.27);
  transform: rotate(90deg) scaleX(0.74);
}

.core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 90px;
  height: 90px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -0.08em;
  transform: translate(-50%, -50%) rotate(12deg);
}

.axis {
  position: absolute;
  font-family: Georgia, serif;
  font-size: 0.9rem;
}

.axis-x {
  top: 17%;
  right: 21%;
}

.axis-y {
  bottom: 15%;
  left: 20%;
}

.profile-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr;
  gap: 14px;
  padding: 58px 0;
}

.info-panel {
  min-height: 340px;
  padding: 30px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
}

.info-panel h2 {
  margin: 0 0 22px;
  font-size: 1.55rem;
  letter-spacing: -0.07em;
}

.panel-lead,
.course-panel p:last-child {
  color: var(--muted);
  font-size: 0.9rem;
}

.education-detail {
  display: grid;
  gap: 5px;
  margin-top: 50px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
}

.detail-year {
  color: var(--coral);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.interest-panel {
  background: var(--ink);
  color: var(--paper);
}

.interest-panel .panel-label {
  color: var(--accent);
}

.interest-list {
  display: grid;
  gap: 14px;
  margin: 49px 0 0;
  padding: 0;
  list-style: none;
}

.interest-list li {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(244, 246, 241, 0.2);
  font-size: 1.08rem;
  font-weight: 700;
}

.interest-list span {
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: 0.72rem;
  font-weight: 400;
}

.course-panel {
  position: relative;
  overflow: hidden;
  background: var(--coral);
}

.course-panel .panel-label {
  color: var(--ink);
}

.course-number {
  position: absolute;
  top: -30px;
  right: 18px;
  color: rgba(255, 255, 255, 0.25);
  font-family: Georgia, serif;
  font-size: 13rem;
  line-height: 1;
}

.course-panel h2,
.course-panel p {
  position: relative;
  z-index: 1;
}

.course-panel p:last-child {
  max-width: 260px;
  margin-top: 60px;
  color: var(--ink);
}

.contact-section {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  padding: 62px 0;
  border-top: 1px solid var(--line);
}

.contact-section h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.1em;
  line-height: 1;
}

.contact-links {
  display: grid;
  min-width: min(100%, 370px);
  gap: 17px;
}

.contact-links a {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ink);
  font-size: 0.85rem;
  text-decoration: none;
}

.contact-links a:hover {
  color: var(--accent-deep);
}

.contact-links span {
  color: var(--muted);
  font-size: 0.62rem;
}

.site-footer {
  min-height: 76px;
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

@media (max-width: 820px) {
  .page-shell {
    width: min(100% - 36px, 600px);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 45px;
    padding: 74px 0 62px;
  }

  .hero-mark {
    width: min(72vw, 300px);
  }

  .profile-grid {
    grid-template-columns: 1fr 1fr;
  }

  .education-panel,
  .course-panel {
    grid-column: span 2;
  }

  .contact-section {
    align-items: start;
    flex-direction: column;
  }

  .contact-links {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .page-shell {
    width: min(100% - 28px, 420px);
  }

  .site-header {
    min-height: 76px;
  }

  .header-label {
    font-size: 0.56rem;
  }

  .hero {
    padding-top: 58px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.2rem);
  }

  .hero-description {
    font-size: 0.9rem;
  }

  .desktop-only {
    display: none;
  }

  .profile-grid {
    grid-template-columns: 1fr;
    padding: 38px 0;
  }

  .education-panel,
  .course-panel {
    grid-column: auto;
  }

  .info-panel {
    min-height: 300px;
    padding: 24px;
  }

  .site-footer {
    align-items: start;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 20px 0;
  }
}
