:root {
  color-scheme: light;
  --white: #ffffff;
  --ink: #192C45;
  --navy: #18365D;
  --muted: #4D6077;
  --accent: #305C8A;
  --line: #D4DFEC;
  --control-line: #6C829C;
  --tint: #EAF2FC;
  font-family: "Pretendard", "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body { margin: 0; color: var(--ink); background: var(--white); font-size: 1rem; line-height: 1.65; word-break: keep-all; overflow-wrap: break-word; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.27; letter-spacing: -.05em; }
p + p { margin-top: .75rem; }
.wrap { width: min(100% - 5.5rem, 1240px); margin-inline: auto; }
.skip { position: fixed; top: 0; left: 1rem; padding: .7rem 1rem; background: var(--white); z-index: 10; transform: translateY(-120%); }
.skip:focus { transform: translateY(0); }
.header { position: sticky; top: 0; z-index: 2; background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; min-height: 77px; justify-content: space-between; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; }
.brand b { display: block; letter-spacing: .13em; font-family: Georgia, serif; font-size: 1.45rem; line-height: 1; }
.brand small { display: block; margin-top: .27rem; font-size: .82rem; font-weight: 650; }
.brand-mark { position: relative; display: grid; width: 41px; height: 41px; place-items: center; border: 1px solid var(--control-line); border-radius: 50%; }
.brand-mark::before, .brand-mark::after { content: ""; width: 9px; height: 18px; position: absolute; top: 10px; border: 1px solid var(--navy); border-radius: 100% 0 100% 0; }
.brand-mark::before { transform: translateX(-4px) rotate(-40deg); }
.brand-mark::after { transform: translateX(4px) rotate(38deg) scaleX(-1); }
.brand-mark i { width: 1px; height: 8px; background: var(--navy); transform: translateY(11px); }
nav { display: flex; align-items: center; gap: clamp(1rem, 2.6vw, 2.65rem); font-size: .94rem; font-weight: 650; white-space: nowrap; }
nav a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: .29em; }
.nav-contact { padding: .45rem 1rem; border: 1px solid var(--control-line); border-radius: 5px; }
.nav-toggle { display: none; background: transparent; color: var(--navy); border: 1px solid var(--control-line); border-radius: 4px; padding: .35rem .8rem; }
.hero { min-height: 505px; display: grid; grid-template-columns: 54% 46%; }
.hero-copy { display: grid; align-items: center; background: var(--tint); padding: 4.3rem 2rem 4.5rem max(2.75rem, calc((100vw - 1240px) / 2)); }
.hero-content { max-width: 660px; }
.hero-label { color: var(--navy); font-weight: 720; font-size: .95rem; display: flex; align-items: center; gap: .8rem; margin-bottom: 1.5rem; }
.hero-label span { color: var(--accent); font-family: Georgia, serif; letter-spacing: .13em; border-left: 1px solid var(--control-line); padding-left: .8rem; }
h1 { font-size: clamp(2.2rem, 4.25vw, 4rem); font-weight: 720; line-height: 1.18; letter-spacing: -.075em; }
.hero-description { color: var(--muted); max-width: 30rem; margin-top: 1.5rem; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.9rem; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 5px; padding: .62rem .94rem; font-size: .92rem; font-weight: 680; }
.primary { color: #fff; background: var(--navy); }
.primary:hover { background: #254B77; }
.subtle { color: var(--navy); border-color: var(--control-line); background: transparent; }
.subtle:hover { background: var(--white); }
.hero-visual { background: #DCE7F4 url("hero.webp") center 56% / cover no-repeat; min-height: 16rem; }
.section { padding-block: 3.65rem 4.3rem; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: .65rem 1.6rem; margin-bottom: 1.5rem; }
h2 { font-size: clamp(1.85rem, 3.1vw, 2.55rem); font-weight: 740; }
.section-note { color: var(--muted); font-size: .91rem; }
.cards { display: grid; gap: 1rem; }
.certificates { grid-template-columns: repeat(4, minmax(0,1fr)); }
.education { grid-template-columns: repeat(2, minmax(0,1fr)); }
.education-section { background: var(--tint); }
.card { min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 8px; padding: 1.25rem; background: var(--white); }
.course-image { display: block; width: 100%; height: auto; border-radius: 5px; margin-bottom: 1.05rem; background: var(--tint); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: .7rem; margin-bottom: 1.05rem; }
.course-symbol { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 50%; background: var(--tint); color: var(--navy); font: 1.48rem/1 Georgia, serif; }
.status { width: max-content; padding: .18rem .62rem; border-radius: 20px; background: #DDEBFC; color: var(--navy); font-size: .875rem; font-weight: 700; white-space: nowrap; }
.pending { background: var(--white); color: var(--muted); box-shadow: inset 0 0 0 1px var(--control-line); }
.course-category { color: var(--accent); font-size: .875rem; font-weight: 660; margin-bottom: .35rem; }
.card h3 { font-size: clamp(1.1rem, 1.65vw, 1.43rem); font-weight: 740; }
.course-summary { color: var(--muted); margin: .65rem 0 1.1rem; }
.card-actions { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-top: auto; border-top: 1px solid var(--line); padding-top: .85rem; }
.text-link { font-weight: 730; font-size: .9rem; }
.secondary-link { color: var(--muted); }
.about { display: grid; grid-template-columns: 1fr 2fr; gap: 1.4rem; }
.about h3 { font-size: 1.3rem; margin: .18rem 0 .6rem; }
.about p, .info p { color: var(--muted); }
.info { background: var(--white); border-top: 1px solid var(--line); }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; padding-block: 3rem; }
.info h2 { font-size: 1.65rem; margin-bottom: .8rem; }
.notice { padding: .8rem 0; border-bottom: 1px solid var(--line); }
.notice summary { cursor: pointer; font-weight: 700; }
#contact-selection { color: var(--ink); font-weight: 700; }
#contact-form { display: grid; gap: .7rem; margin-top: 1rem; }
#contact-form label { display: grid; gap: .2rem; }
#contact-form :is(input, select, textarea):not([type=checkbox]) { width: 100%; padding: .5rem; color: var(--ink); background: white; border: 1px solid var(--control-line); border-radius: 4px; }
#contact-form .consent { display: flex; align-items: flex-start; gap: .5rem; }
#contact-form .consent input { margin-top: .5em; }
footer { background: var(--navy); color: var(--white); }
.footer-inner { min-height: 78px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.footer-inner span { margin-left: .4rem; font: .9rem Georgia, serif; letter-spacing: .11em; }
.footer-inner a { font-size: .88rem; }
dialog { width: min(100% - 2rem, 650px); max-height: min(85dvh, 850px); padding: clamp(1.15rem, 4vw, 2.25rem); border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); }
dialog::backdrop { background: #142A45AD; }
.dialog-top, .dialog-actions { display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; }
.dialog-top { justify-content: space-between; margin-bottom: .8rem; }
.dialog-top button { color: var(--navy); background: transparent; border: 1px solid var(--control-line); border-radius: 4px; padding: .2rem .6rem; }
.dialog-actions:not(:empty) { margin-top: 1.3rem; }
.detail-subtitle { margin-top: .65rem; color: var(--accent); font-weight: 690; }
.detail-field { margin-top: 1rem; }
.detail-field h3 { margin-bottom: .34rem; font-size: 1rem; }
.detail-field ul { margin: 0; padding-left: 1.35rem; }
@media (max-width: 980px) {
  .certificates { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero { min-height: 460px; }
}
@media (max-width: 710px) {
  html { scroll-padding-top: 74px; }
  .wrap { width: calc(100% - 2rem); }
  .header-inner { min-height: 65px; }
  .brand-mark { transform: scale(.9); }
  .brand { gap: .48rem; }
  .nav-toggle { display: block; }
  nav { display: none; position: absolute; inset: 100% 0 auto; background: var(--white); padding: .85rem 1rem 1rem; border-bottom: 1px solid var(--line); flex-wrap: wrap; gap: .65rem 1.1rem; }
  .nav-toggle[aria-expanded="true"] + nav { display: flex; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 2.75rem 1rem 2.45rem; }
  .hero-label { margin-bottom: 1.05rem; }
  .hero-description { margin-top: 1.05rem; }
  .hero-actions { margin-top: 1.3rem; }
  .hero-visual { min-height: clamp(10.5rem, 48vw, 16rem); }
  .section { padding-block: 2.4rem; }
  .section-head { align-items: start; flex-direction: column; margin-bottom: 1rem; }
  .certificates, .education, .about, .info-grid { grid-template-columns: 1fr; }
  .info-grid { gap: 1.9rem; padding-block: 2.4rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
