:root {
  --bg: #162a25;
  --card: rgba(246, 248, 247, 0.94);
  --card-border: rgba(255, 255, 255, 0.38);
  --ink: #101a17;
  --ink-strong: #080d0b;
  --ink-soft: rgba(16, 26, 23, 0.84);
  --accent: #0e5b49;
  --accent-warm: #ef9a2b;
  --on-dark: #ffffff;
  --on-dark-90: rgba(255, 255, 255, 0.94);
  --on-dark-70: rgba(255, 255, 255, 0.76);
  --on-dark-50: rgba(255, 255, 255, 0.52);
  --rule: rgba(16, 26, 23, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100svh;
  margin: 0;
  color: var(--on-dark);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-weight: 400;
  line-height: 1.5;
  background:
    radial-gradient(ellipse at 49% 18%, rgba(20, 98, 80, 0.44) 0%, rgba(20, 98, 80, 0.18) 28%, rgba(20, 98, 80, 0) 58%),
    radial-gradient(ellipse at 12% 82%, rgba(14, 91, 73, 0.22) 0%, rgba(14, 91, 73, 0) 46%),
    linear-gradient(135deg, #1c352f 0%, #152a25 44%, #202328 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}

.page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  padding: 56px 24px 40px;
}

.shell {
  width: min(100%, 720px);
}

/* ---------- hero ---------- */

.hero {
  text-align: center;
  margin-bottom: 34px;
}

.brand-logo {
  display: block;
  width: clamp(76px, 18vw, 100px);
  height: auto;
  margin: 0 auto 20px;
}

.name {
  margin: 0;
  font-size: clamp(38px, 8vw, 56px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.06em;
  text-indent: 0.06em;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.16);
}

.role {
  margin: 12px 0 0;
  color: var(--on-dark-90);
  font-size: clamp(14px, 3.4vw, 16px);
  font-weight: 500;
  line-height: 1.4;
}

.role-en {
  margin: 8px 0 0;
  color: var(--on-dark-50);
  font-size: clamp(10px, 2.6vw, 11.5px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.22em;
  text-indent: 0.22em;
}

/* ---------- cards ---------- */

.cards {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.card {
  padding: 22px 20px 20px;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 7px;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
}

.card-title {
  margin: 0 0 14px;
  padding-bottom: 11px;
  color: var(--ink-strong);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.12em;
  border-bottom: 1px solid var(--rule);
}

.career-list,
.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.career-list {
  display: grid;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.5;
}

.career-list li {
  position: relative;
  padding-left: 11px;
}

.career-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "\00b7";
  color: var(--accent);
  font-weight: 700;
}

.contact-list li + li {
  border-top: 1px solid var(--rule);
}

.contact-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  gap: 10px;
  color: var(--accent);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  transition: color 160ms ease;
}

.contact-list a:hover,
.contact-list a:focus-visible {
  color: var(--accent-warm);
}

.contact-list span {
  overflow-wrap: anywhere;
}

.icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

/* ---------- footer ---------- */

.footer {
  margin-top: 30px;
  color: var(--on-dark-50);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

/* ---------- responsive ---------- */

@media (min-width: 700px) {
  .page {
    padding: 72px 32px 56px;
  }

  .hero {
    margin-bottom: 40px;
  }

  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .card {
    padding: 24px 24px 22px;
  }
}

@media (max-width: 380px) {
  .page {
    padding-right: 18px;
    padding-left: 18px;
  }

  .card {
    padding: 20px 17px 18px;
  }

  .contact-list a {
    font-size: 13.5px;
  }
}

/* ---------- a11y / print ---------- */

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

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

@media print {
  html,
  body {
    background: #ffffff;
    color: #000000;
  }

  .page {
    min-height: 0;
    padding: 0;
  }

  .name,
  .role,
  .role-en,
  .footer {
    color: #000000;
    text-shadow: none;
  }

  .card {
    background: #ffffff;
    border: 1px solid #cccccc;
    box-shadow: none;
    backdrop-filter: none;
  }

  .contact-list a {
    color: #000000;
  }

  /* 로고는 흰 글씨 버전이라 흰 배경 인쇄 시 보이지 않는다 */
  .brand-logo {
    display: none;
  }
}
