:root {
  color-scheme: light;
  --ink: #14171a;
  --muted: #5b6366;
  --paper: #f6f7f2;
  --surface: #ffffff;
  --line: #d9dfd8;
  --forest: #12312f;
  --teal: #0f766e;
  --blue: #27548a;
  --rust: #9b3f21;
  --gold: #c9942d;
  --shadow: 0 18px 44px rgba(20, 23, 26, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    "Inter",
    "Pretendard",
    "Noto Sans KR",
    "Apple SD Gothic Neo",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.65;
  letter-spacing: 0;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 30;
  transform: translateY(-140%);
  background: var(--forest);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px 5vw;
  background: rgba(246, 247, 242, 0.9);
  border-bottom: 1px solid rgba(217, 223, 216, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--forest);
  border-radius: 8px;
  background: var(--forest);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  border-radius: 8px;
  color: #2b3435;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 10px 12px;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: #e8eee7;
  color: var(--forest);
  outline: none;
}

.nav-toggle {
  display: none;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--forest);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 0 14px;
}

.hero {
  position: relative;
  min-height: 78svh;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(246, 247, 242, 1) 0%, rgba(246, 247, 242, 0.92) 44%, rgba(246, 247, 242, 0.18) 72%),
    #f6f7f2;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 10px;
  background: linear-gradient(90deg, var(--teal), var(--blue), var(--rust), var(--gold));
  content: "";
}

.hero-media {
  position: absolute;
  top: 128px;
  right: clamp(38px, 6vw, 110px);
  bottom: auto;
  height: calc(100% - 128px);
  width: min(430px, 32vw);
  background-image: url("assets/kyunghan-bae-profile.webp");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 70% auto;
}

.hero-mobile-portrait {
  display: none;
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(1120px, 90vw);
  min-height: 78svh;
  margin: 0 auto;
  padding: 72px 0 86px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--rust);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  color: var(--forest);
  font-size: 4.9rem;
  line-height: 1.02;
}

.hero h1 span {
  color: #253234;
  font-size: 3.3rem;
  font-weight: 750;
}

.hero-role {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--blue);
  font-size: 1.28rem;
  font-weight: 850;
}

.hero-summary {
  max-width: 640px;
  margin: 18px 0 0;
  color: #3d4547;
  font-size: 1.06rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions {
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  line-height: 1.2;
  padding: 12px 18px;
  text-align: center;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button.primary {
  background: var(--forest);
  box-shadow: 0 10px 20px rgba(18, 49, 47, 0.18);
  color: #fff;
}

.button.secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--forest);
}

.button.tertiary {
  background: #eaf2f0;
  border-color: #c6d8d4;
  color: var(--forest);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(860px, 100%);
  margin: 44px 0 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.hero-facts div {
  min-height: 116px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.96);
}

.hero-facts dt {
  color: var(--rust);
  font-size: 0.78rem;
  font-weight: 900;
}

.hero-facts dd {
  margin: 8px 0 0;
  color: var(--forest);
  font-weight: 800;
}

.section {
  width: min(1120px, 90vw);
  margin: 0 auto;
  padding: 96px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2,
.contact-section h2 {
  margin: 0;
  color: var(--forest);
  font-size: 2.25rem;
  line-height: 1.18;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
}

.intro-grid p {
  margin: 0;
  color: #2e3738;
  font-size: 1.12rem;
}

.expertise-section,
.achievements-section {
  width: 100%;
  background: #ffffff;
}

.expertise-section > *,
.achievements-section > * {
  width: min(1120px, 90vw);
  margin-right: auto;
  margin-left: auto;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.expertise-card {
  display: grid;
  min-height: 274px;
  grid-template-rows: 22px minmax(58px, auto) 1fr;
  align-items: start;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf9;
  padding: 22px;
}

.card-index {
  color: var(--gold);
  font-size: 0.84rem;
  font-weight: 950;
}

.expertise-card h3,
.timeline h3,
.advisory-list h3,
.role-panel h3 {
  margin: 0;
  color: var(--forest);
  line-height: 1.25;
}

.expertise-card p,
.timeline p,
.advisory-list p,
.role-panel p,
.achievement-grid p,
.contact-section p {
  margin: 12px 0 0;
  color: var(--muted);
}

.expertise-card p {
  margin: 0;
}

.work-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: start;
}

.role-panel {
  position: sticky;
  top: 104px;
  border-top: 5px solid var(--teal);
  background: var(--surface);
  box-shadow: var(--shadow);
  border-radius: 8px;
  padding: 32px;
}

.role-kicker {
  margin: 0 0 14px;
  color: var(--rust);
  font-weight: 900;
}

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

.timeline article {
  min-height: 150px;
  border-left: 3px solid var(--blue);
  background: rgba(255, 255, 255, 0.64);
  padding: 20px 0 20px 24px;
}

.timeline span {
  display: block;
  margin-bottom: 8px;
  color: var(--rust);
  font-size: 0.78rem;
  font-weight: 900;
}

.advisory-section {
  border-top: 1px solid var(--line);
}

.advisory-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.advisory-list article {
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
}

.achievement-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.achievement-grid article {
  min-height: 172px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf9;
  padding: 20px;
}

.achievement-grid strong {
  color: var(--blue);
  font-size: 0.95rem;
}

.contribution-section {
  border-top: 1px solid var(--line);
}

.contribution-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}

.contribution-columns ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contribution-columns li {
  position: relative;
  min-height: 74px;
  border-bottom: 1px solid var(--line);
  padding: 0 0 14px 28px;
}

.contribution-columns li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

.contact-section {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
  width: min(1120px, 90vw);
  margin: 0 auto 72px;
  border-radius: 8px;
  background: var(--forest);
  color: #fff;
  padding: 46px;
}

.contact-section .eyebrow,
.contact-section h2,
.contact-section p {
  color: #fff;
}

.contact-section p {
  opacity: 0.82;
}

.contact-actions {
  justify-content: flex-end;
}

.contact-section .button {
  min-width: 178px;
  box-shadow: none;
}

.contact-section .button.primary {
  min-width: 250px;
  background: #fff;
  border-color: rgba(255, 255, 255, 0.72);
  color: var(--forest);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
  padding: 20px 5vw;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer a {
  color: var(--forest);
  font-weight: 850;
  text-decoration: none;
}

@media (max-width: 1040px) {
  .hero-inner {
    justify-content: flex-start;
  }

  .hero-media {
    top: 112px;
    right: 4vw;
    bottom: auto;
    width: 220px;
    height: 300px;
    opacity: 0.24;
    background-position: center top;
    background-size: 70% auto;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .hero h1 span {
    font-size: 2.7rem;
  }

  .expertise-grid,
  .achievement-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-section {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 780px) {
  .site-header {
    min-height: 66px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 5vw;
    display: none;
    width: min(280px, 90vw);
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
    padding: 8px;
  }

  .site-header.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .hero,
  .hero-inner {
    min-height: 74svh;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(246, 247, 242, 0.86) 0%, rgba(246, 247, 242, 0.98) 64%, rgba(246, 247, 242, 1) 100%),
      #f6f7f2;
  }

  .hero-media {
    display: none;
  }

  .hero-mobile-portrait {
    display: block;
    width: min(245px, 66vw);
    margin: 24px auto 22px;
    overflow: hidden;
    border: 1px solid rgba(217, 223, 216, 0.9);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(20, 23, 26, 0.08);
  }

  .hero-mobile-portrait img {
    width: 100%;
    aspect-ratio: 0.82;
    object-fit: cover;
    object-position: center top;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero h1 span {
    font-size: 2rem;
  }

  .hero-role {
    font-size: 1.06rem;
  }

  .hero-summary {
    font-size: 1rem;
  }

  .hero-facts,
  .intro-grid,
  .work-layout,
  .advisory-list,
  .contribution-columns,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-facts div {
    min-height: 94px;
  }

  .section {
    padding: 72px 0;
  }

  .section-heading h2,
  .contact-section h2 {
    font-size: 1.85rem;
  }

  .role-panel {
    position: static;
  }

  .contact-section {
    padding: 32px 24px;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .brand small {
    display: none;
  }

  .hero-inner {
    width: min(100% - 32px, 1120px);
    padding-top: 52px;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .hero h1 span {
    font-size: 1.62rem;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .expertise-grid,
  .achievement-grid {
    grid-template-columns: 1fr;
  }

  .expertise-card,
  .advisory-list article,
  .achievement-grid article {
    min-height: auto;
  }

  .section {
    width: min(100% - 32px, 1120px);
  }

  .expertise-section > *,
  .achievements-section > * {
    width: min(100% - 32px, 1120px);
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
