:root {
  --navy: #0c2340;
  --navy-2: #102f55;
  --ink: #17202c;
  --muted: #657080;
  --paper: #f5f4f0;
  --white: #fff;
  --line: #dfe3e8;
  --yellow: #f3b61f;
  --yellow-soft: #fff2c8;
  --shadow: 0 24px 70px rgba(12, 35, 64, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Noto Sans KR", sans-serif;
  line-height: 1.65;
  word-break: keep-all;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }

.sr-only, .skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  z-index: 999;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 10px 16px;
  margin: 0;
  clip: auto;
  color: #fff;
  background: var(--navy);
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: 88px;
  color: #fff;
  transition: background .25s ease, box-shadow .25s ease, height .25s ease;
}
.site-header.is-scrolled {
  height: 74px;
  color: var(--navy);
  background: rgba(255,255,255,.96);
  box-shadow: 0 1px 0 rgba(12,35,64,.1);
  backdrop-filter: blur(14px);
}
.header-inner {
  width: min(1280px, calc(100% - 56px));
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; }
.brand-logo { width: 218px; height: auto; }
.brand-logo-navy { display: none; }
.site-header.is-scrolled .brand-logo-light { display: none; }
.site-header.is-scrolled .brand-logo-navy { display: block; }
.site-header.menu-active .brand-logo-light { display: block; }
.site-header.menu-active .brand-logo-navy { display: none; }
.main-nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 42px); }
.main-nav a { position: relative; font-size: 14px; font-weight: 600; }
.main-nav a:not(.nav-contact)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--yellow);
  transition: width .2s ease;
}
.main-nav a:hover::after, .main-nav a:focus-visible::after { width: 100%; }
.nav-contact { padding: 11px 19px; color: var(--navy); background: var(--yellow); border-radius: 999px; }
.menu-button { display: none; }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 80% 20%, rgba(38,84,130,.58), transparent 37%),
    linear-gradient(125deg, #081a30 0%, #0c2340 55%, #102f55 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .16;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to right, #000, transparent 75%);
}
.hero-grid {
  position: relative;
  width: min(1280px, calc(100% - 56px));
  margin: 110px auto 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .72fr);
  gap: 8vw;
  align-items: center;
}
.eyebrow { margin: 0 0 22px; color: var(--yellow); font-size: 12px; font-weight: 800; letter-spacing: .18em; }
.hero h1, .section h2, .contact h2 { margin: 0; line-height: 1.18; letter-spacing: -.045em; }
.hero h1 { max-width: 760px; font-size: clamp(46px, 5.5vw, 78px); font-weight: 800; }
.hero h1 em { color: var(--yellow); font-style: normal; }
.hero-intro { max-width: 620px; margin: 30px 0 0; color: rgba(255,255,255,.78); font-size: clamp(16px, 1.5vw, 19px); }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.button {
  min-height: 54px;
  padding: 14px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--navy); background: var(--yellow); }
.button-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.button-ghost:hover { background: rgba(255,255,255,.1); }
.hero-facts { margin: 50px 0 0; display: flex; gap: 38px; }
.hero-facts div { padding-left: 16px; border-left: 2px solid rgba(243,182,31,.75); }
.hero-facts dt { font-size: 20px; font-weight: 800; }
.hero-facts dd { margin: 3px 0 0; color: rgba(255,255,255,.6); font-size: 12px; }
.hero-visual { position: relative; }
.visual-frame {
  padding: 13px;
  background: rgba(255,255,255,.92);
  border-radius: 2px;
  box-shadow: 0 35px 90px rgba(0,0,0,.38);
  transform: rotate(2.5deg);
}
.visual-frame img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.visual-label {
  position: absolute;
  right: -26px;
  bottom: 32px;
  min-width: 190px;
  padding: 17px 22px;
  display: grid;
  color: var(--navy);
  background: var(--yellow);
  box-shadow: var(--shadow);
}
.visual-label span { font-size: 12px; }
.visual-label strong { font-size: 22px; }
.scroll-cue { position: absolute; bottom: 25px; left: 50%; display: grid; place-items: center; gap: 7px; color: rgba(255,255,255,.55); font-size: 9px; letter-spacing: .18em; }
.scroll-cue span { width: 1px; height: 30px; background: linear-gradient(var(--yellow), transparent); }

.section { padding: 125px 0; }
.section-inner { width: min(1180px, calc(100% - 56px)); margin: auto; }
.section h2, .contact h2 { color: var(--navy); font-size: clamp(36px, 4.3vw, 58px); font-weight: 800; }
.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 9vw; }
.about-copy { padding-top: 52px; }
.about-copy .lead { margin: 0 0 30px; color: var(--navy); font-size: clamp(20px, 2.1vw, 28px); font-weight: 700; }
.about-copy > p:not(.lead) { color: var(--muted); }
.profile-row { margin-top: 40px; padding-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; border-top: 1px solid #d5d4d0; }
.profile-row div { display: grid; gap: 7px; }
.profile-row span { color: var(--muted); font-size: 12px; }
.profile-row strong { color: var(--navy); font-size: 14px; }

.heading-row { margin-bottom: 54px; display: flex; align-items: end; justify-content: space-between; gap: 70px; }
.heading-row > p { max-width: 400px; margin: 0 0 8px; color: var(--muted); }
.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.program-card { min-height: 270px; padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: color .25s ease, background .25s ease, transform .25s ease; }
.program-card:hover { color: #fff; background: var(--navy); transform: translateY(-3px); }
.program-no { color: var(--yellow); font-size: 12px; font-weight: 800; }
.program-card h3 { margin: 60px 0 13px; color: var(--navy); font-size: 21px; }
.program-card p { margin: 0; color: var(--muted); font-size: 14px; }
.program-card:hover h3, .program-card:hover p { color: inherit; }

.career { color: #fff; background: var(--navy); }
.career-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 10vw; align-items: start; }
.career h2 { color: #fff; }
.career-sticky { position: sticky; top: 120px; }
.career-sticky > p:last-child { max-width: 310px; margin-top: 25px; color: rgba(255,255,255,.58); }
.career-list article { padding: 30px 0; display: grid; grid-template-columns: 130px 1fr; gap: 28px; border-bottom: 1px solid rgba(255,255,255,.16); }
.career-list article:first-child { border-top: 1px solid rgba(255,255,255,.16); }
.career-list article > span { color: var(--yellow); font-size: 12px; font-weight: 700; }
.career-list h3 { margin: 0 0 5px; font-size: 19px; }
.career-list p { margin: 0; color: rgba(255,255,255,.56); font-size: 14px; }

.portfolio { background: var(--paper); }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.portfolio-card { overflow: hidden; background: #fff; box-shadow: 0 10px 34px rgba(12,35,64,.06); transition: transform .25s ease, box-shadow .25s ease; }
.portfolio-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.portfolio-card img { width: 100%; aspect-ratio: 1; object-fit: cover; image-rendering: auto; }
.portfolio-card div { padding: 24px; }
.portfolio-card span { color: #b07800; font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.portfolio-card h3 { margin: 8px 0 5px; color: var(--navy); font-size: 18px; }
.portfolio-card p { margin: 0; color: var(--muted); font-size: 13px; }

.contact { padding: 130px 0; text-align: center; background: var(--yellow); }
.contact-inner { width: min(900px, calc(100% - 56px)); margin: auto; }
.contact .eyebrow { color: rgba(12,35,64,.66); }
.contact > div > p:not(.eyebrow):not(.contact-note) { margin: 25px 0 0; color: rgba(12,35,64,.72); }
.contact-actions { justify-content: center; }
.button-light { color: #fff; background: var(--navy); }
.button-outline-light { color: var(--navy); border-color: rgba(12,35,64,.32); }
.button-outline-light:hover { background: rgba(255,255,255,.3); }
.contact-note { margin: 22px 0 0; color: var(--navy); font-size: 13px; }

.site-footer { padding: 36px max(28px, calc((100% - 1180px) / 2)); display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.55); background: #071728; font-size: 11px; }
.site-footer div { display: flex; gap: 15px; }
.site-footer strong { color: #fff; }
.site-footer p { margin: 0; }
.footer-brand { align-items: center; }
.footer-brand > img { width: 205px; height: auto; }
.footer-brand > span { display: grid; gap: 1px; }
.footer-brand small { color: rgba(255,255,255,.48); font-size: 10px; }
.floating-call { position: fixed; z-index: 90; right: 24px; bottom: 24px; min-height: 52px; padding: 0 18px; display: flex; align-items: center; gap: 9px; color: var(--navy); background: var(--yellow); border-radius: 999px; box-shadow: 0 12px 34px rgba(12,35,64,.26); font-size: 13px; font-weight: 800; }
.floating-call svg { width: 18px; fill: currentColor; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .site-header { height: 74px; }
  .header-inner { width: min(100% - 36px, 920px); }
  .menu-button { position: relative; z-index: 102; width: 42px; height: 42px; padding: 10px; display: grid; align-content: center; gap: 5px; color: currentColor; background: transparent; border: 0; }
  .menu-button span:not(.sr-only) { display: block; height: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
  .menu-button[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(7px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-of-type(3) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-of-type(4) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { position: fixed; inset: 0; padding: 110px 28px 40px; display: none; align-items: stretch; flex-direction: column; gap: 0; color: #fff; background: var(--navy); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 18px 6px; border-bottom: 1px solid rgba(255,255,255,.13); font-size: 22px; }
  .main-nav .nav-contact { margin-top: 24px; text-align: center; border: 0; font-size: 16px; }
  .site-header.menu-active { color: #fff; }
  .hero-grid { grid-template-columns: 1fr .72fr; gap: 50px; }
  .hero-facts { gap: 18px; }
  .about-grid, .career-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-copy { padding-top: 0; }
  .program-grid, .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .career-sticky { position: static; }
}

@media (max-width: 680px) {
  .header-inner, .hero-grid, .section-inner, .contact-inner { width: calc(100% - 36px); }
  .brand-logo { width: 176px; }
  .hero { min-height: auto; }
  .hero-grid { margin: 108px auto 80px; grid-template-columns: 1fr; gap: 48px; }
  .hero h1 { font-size: clamp(40px, 12vw, 54px); }
  .hero-intro { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
  .hero-facts div { padding-left: 9px; }
  .hero-facts dt { font-size: 15px; }
  .hero-facts dd { font-size: 10px; }
  .hero-visual { width: 82%; margin: auto; }
  .visual-label { right: -16px; bottom: 15px; min-width: 160px; }
  .scroll-cue { display: none; }
  .section { padding: 90px 0; }
  .section h2, .contact h2 { font-size: 36px; }
  .profile-row { grid-template-columns: 1fr; }
  .heading-row { margin-bottom: 36px; align-items: start; flex-direction: column; gap: 20px; }
  .program-grid, .portfolio-grid { grid-template-columns: 1fr; }
  .program-card { min-height: 215px; }
  .program-card h3 { margin-top: 40px; }
  .career-list article { grid-template-columns: 95px 1fr; gap: 16px; }
  .contact { padding: 95px 0; }
  .contact-actions { align-items: stretch; flex-direction: column; }
  .site-footer { align-items: start; flex-direction: column; }
  .site-footer div { gap: 9px; }
  .floating-call { right: 14px; bottom: 14px; min-height: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
