/* ===== 디자인 토큰 ===== */
:root {
  --primary: #0f5a4e;      /* 딥 그린 (수의·의료 느낌) */
  --primary-light: #167e6d;
  --accent: #c8a24a;       /* 전남대 골드 포인트 */
  --ink: #1c2321;
  --muted: #5c6b66;
  --line: #e3e8e6;
  --bg: #ffffff;
  --bg-alt: #f5f8f7;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(15, 90, 78, 0.08);
  --maxw: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans KR", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

a { color: inherit; text-decoration: none; }

/* ===== 헤더 ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid; place-items: center; flex-shrink: 0;
  min-width: 44px; height: 44px; padding: 0 10px; border-radius: 10px;
  background: var(--primary); color: #fff;
  font-weight: 900; letter-spacing: 1px; font-size: 13px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 16px; }
.brand-text small { font-size: 12px; color: var(--muted); }

.nav { display: flex; gap: 26px; }
.nav a { font-size: 15px; font-weight: 500; color: var(--ink); position: relative; padding: 4px 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--primary); transition: width 0.25s;
}
.nav a:hover { color: var(--primary); }
.nav a:hover::after { width: 100%; }

.nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--ink); }

/* ===== 히어로 ===== */
.hero {
  background:
    linear-gradient(135deg, rgba(15,90,78,0.94), rgba(22,126,109,0.90)),
    radial-gradient(circle at 80% 20%, rgba(200,162,74,0.35), transparent 50%);
  color: #fff;
  padding: 96px 0 104px;
}
.hero-eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 13px; opacity: 0.85; margin-bottom: 18px; }
.hero-title { font-size: clamp(30px, 5vw, 52px); font-weight: 900; line-height: 1.25; margin-bottom: 22px; }
.hero-sub { font-size: 18px; max-width: 640px; opacity: 0.92; margin-bottom: 34px; }
.hero-sub em { font-style: normal; border-bottom: 2px solid var(--accent); padding-bottom: 1px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.btn { display: inline-block; padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: 15px; transition: transform 0.15s, box-shadow 0.2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #23200f; box-shadow: 0 8px 20px rgba(200,162,74,0.35); }
.btn-ghost { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.45); }

/* ===== 섹션 공통 ===== */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { margin-bottom: 44px; }
.section-tag {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--primary); margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(26px, 3.5vw, 36px); font-weight: 900; }
.section-desc { color: var(--muted); margin-top: 12px; max-width: 640px; }

/* ===== 교수 소개 ===== */
.about-grid { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
.about-photo img {
  display: block; width: 100%; aspect-ratio: 3/4;
  object-fit: cover; object-position: center;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.photo-placeholder {
  aspect-ratio: 3/4; border-radius: var(--radius);
  background: linear-gradient(135deg, #e8efec, #d7e3df);
  display: grid; place-items: center; text-align: center;
  color: var(--muted); font-size: 14px; border: 1px dashed #b9cbc4;
}
.about-body h3 { font-size: 26px; margin-bottom: 6px; }
.about-role { font-size: 15px; font-weight: 500; color: var(--primary); }
.about-field { color: var(--muted); margin-bottom: 18px; }
.about-list { list-style: none; margin: 20px 0; border-top: 1px solid var(--line); }
.about-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.about-list strong { display: inline-block; width: 64px; color: var(--primary); }
.career-list li { display: grid; grid-template-columns: 210px 1fr; gap: 18px; align-items: baseline; }
.career-list strong { width: auto; font-size: 14px; letter-spacing: 0.2px; }
.career-label { display: flex; flex-direction: column; line-height: 1.45; }
.career-year { color: var(--muted); font-size: 13px; font-weight: 500; }
.about-links { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 18px; }
.about-links a { font-weight: 600; color: var(--primary); }
.about-links a:hover { text-decoration: underline; }

/* ===== 카드 (연구 분야) ===== */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow); transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(15,90,78,0.14); }
.card-icon { font-size: 34px; margin-bottom: 14px; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }

/* ===== 구성원 ===== */
.members { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; }
.member { text-align: center; }
.member-photo {
  width: 120px; height: 120px; margin: 0 auto 16px; border-radius: 50%;
  background: linear-gradient(135deg, #e8efec, #d7e3df);
  display: grid; place-items: center; color: var(--muted); font-size: 13px;
  border: 1px dashed #b9cbc4;
}
.member h4 { font-size: 18px; }
.member-role { color: var(--primary); font-weight: 600; font-size: 14px; }
.member-topic { color: var(--muted); font-size: 13px; margin-top: 4px; }

/* ===== 논문 ===== */
.pub-list { list-style: none; }
.pub-list li { display: flex; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.pub-year {
  flex-shrink: 0; font-weight: 900; color: var(--primary); font-size: 15px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  height: fit-content; padding: 4px 12px;
}
.pub-title { font-weight: 600; margin-bottom: 4px; }
.pub-meta { color: var(--muted); font-size: 14px; }
.pub-eq { color: var(--accent); font-weight: 700; }

/* ===== 소식 ===== */
.news { display: flex; flex-direction: column; gap: 4px; }
.news-item { display: flex; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.news-item time { flex-shrink: 0; font-weight: 700; color: var(--accent); font-size: 14px; width: 74px; }

/* ===== 연락처 ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info h3 { font-size: 20px; margin-bottom: 16px; }
.contact-info ul { list-style: none; }
.contact-info li { padding: 8px 0; }
.contact-info strong { display: inline-block; width: 64px; color: var(--primary); }
.contact-info a { color: var(--primary); }
.recruit { margin-top: 28px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.recruit h4 { margin-bottom: 8px; }
.recruit p { color: var(--muted); font-size: 15px; }
.map-placeholder {
  height: 100%; min-height: 260px; border-radius: var(--radius);
  background: linear-gradient(135deg, #e8efec, #d7e3df);
  display: grid; place-items: center; text-align: center; color: var(--muted);
  border: 1px dashed #b9cbc4;
}
.map-frame {
  width: 100%; height: 100%; min-height: 340px;
  border: 1px solid var(--line); border-radius: var(--radius);
}

/* ===== 푸터 ===== */
.site-footer { background: var(--ink); color: #cfd8d5; padding: 44px 0; }
.footer-inner { display: flex; flex-direction: column; gap: 16px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: #9fb3ad; font-weight: 500; }
.footer-links a:hover { color: #fff; }
.site-footer small { color: #7d908a; }

/* ===== 반응형 ===== */
@media (max-width: 820px) {
  .nav {
    position: fixed; top: 72px; right: 0; left: 0;
    flex-direction: column; gap: 0; background: #fff;
    border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height 0.3s;
  }
  .nav.open { max-height: 400px; }
  .nav a { padding: 16px 24px; border-top: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 260px; }
  .career-list li { grid-template-columns: 1fr; gap: 2px; }
  .contact-grid { grid-template-columns: 1fr; }
}
