/* ============================================================
   GIST ACE — AI 순환경제 클러스터링 특성화대학원
   Design language: warm paper tones, serif display, coral accent
   ============================================================ */

:root {
  --bg: #F0EEE6;
  --bg-raised: #FAF9F5;
  --bg-deep: #E8E5DB;
  --ink: #141413;
  --ink-soft: #3D3D3A;
  --muted: #6E6D66;
  --line: #DDD9CC;
  --accent: #D97757;
  --accent-strong: #C05B3C;
  --accent-soft: #F5E4DC;

  /* 5대 순환 팔레트 (muted) */
  --carbon: #5C6B73;
  --resource: #B08A3E;
  --energy: #D97757;
  --ecology: #6E8560;
  --water: #5F87A8;

  --serif: "Noto Serif KR", "Apple SD Gothic Neo", serif;
  --sans: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Menlo, monospace;

  --maxw: 1120px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(20,20,19,.04), 0 8px 24px rgba(20,20,19,.06);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  word-break: keep-all;
}

::selection { background: var(--accent); color: #fff; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

/* ---------- Typography ---------- */
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 12px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent-strong);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); }

.section-title { font-size: clamp(28px, 4vw, 40px); line-height: 1.3; margin-bottom: 16px; }
.section-lead { font-size: 18px; color: var(--muted); max-width: 640px; }

/* ---------- Ambient background (물·산·구름·에너지) ---------- */
.ambient {
  position: fixed; inset: -12%; z-index: -1;
  pointer-events: none; overflow: hidden;
}
.amb { position: absolute; will-change: transform; }

/* 오로라 — 다섯 순환의 색이 아주 천천히 회전 */
.amb-aurora {
  position: absolute; top: -30%; left: 50%; margin-left: -55vw;
  width: 110vw; height: 110vw; border-radius: 50%;
  background: conic-gradient(from 0deg,
    rgba(95,135,168,.30), rgba(110,133,96,.24), rgba(217,119,87,.26),
    rgba(176,138,62,.22), rgba(92,107,115,.26), rgba(95,135,168,.30));
  filter: blur(90px); opacity: .55;
  animation: spin 140s linear infinite;
}

/* 테크 그리드 — 미세하게 흐르는 블루프린트 격자 */
.amb-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(20,20,19,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,20,19,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 35%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse at 50% 35%, #000 25%, transparent 78%);
  animation: grid-pan 70s linear infinite;
}
@keyframes grid-pan { to { background-position: 44px 88px, 88px 44px; } }

/* 하늘에서 내려다본 구름 — 화면을 가로질러 아주 천천히 흘러감 */
.amb-cloud {
  border-radius: 50%;
  filter: blur(55px);
  background: radial-gradient(ellipse at 42% 42%, rgba(255,255,255,.9), rgba(255,255,255,.3) 52%, transparent 72%);
}
.amb-cloud.c1 { top: 5%;  width: 54vw; height: 26vw; opacity: .85; animation: cloud-drift 160s linear infinite; animation-delay: -40s; }
.amb-cloud.c2 { top: 34%; width: 38vw; height: 18vw; opacity: .6; animation: cloud-drift 210s linear infinite; animation-delay: -140s; }
.amb-cloud.c3 { top: 62%; width: 62vw; height: 24vw; opacity: .5; animation: cloud-drift 260s linear infinite; animation-delay: -90s; }
@keyframes cloud-drift {
  from { transform: translateX(-70vw); }
  to   { transform: translateX(120vw); }
}

/* 수면 — 화면 하단에서 은은하게 일렁임 */
.amb-water {
  left: -15%; right: -15%; bottom: -16%; height: 46vh;
  filter: blur(70px);
  background:
    radial-gradient(58% 85% at 28% 100%, rgba(95,135,168,.52), transparent 70%),
    radial-gradient(48% 70% at 78% 100%, rgba(95,135,168,.32), transparent 70%);
  animation: water-sway 48s ease-in-out infinite alternate;
}
@keyframes water-sway { to { transform: translateX(5%) scale(1.07); } }

/* 산등성이 — 흐릿한 능선의 실루엣 */
.amb-ridge {
  left: -8%; bottom: 2%; width: 74vw; height: 30vh;
  filter: blur(75px);
  background:
    radial-gradient(48% 90% at 30% 100%, rgba(92,107,115,.45), transparent 74%),
    radial-gradient(42% 80% at 68% 100%, rgba(110,133,96,.42), transparent 74%);
  animation: ridge-drift 90s ease-in-out infinite alternate;
}
@keyframes ridge-drift { to { transform: translate(-4%, 2%) scale(1.05); } }

/* 에너지 — 우측의 따뜻한 빛, 느린 맥동 */
.amb-energy {
  top: 20%; right: -10%; width: 36vw; height: 36vw; border-radius: 50%;
  filter: blur(70px); opacity: .7;
  background: radial-gradient(circle, rgba(217,119,87,.45), rgba(176,138,62,.24) 52%, transparent 72%);
  animation: energy-pulse 26s ease-in-out infinite alternate;
}
@keyframes energy-pulse { to { transform: scale(1.22) translateY(5%); opacity: .72; } }

@media (max-width: 720px) {
  .amb-cloud.c3, .amb-ridge { display: none; }
  .amb { filter: blur(45px); }
}
@media (prefers-reduced-motion: reduce) {
  .amb { animation: none !important; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(240, 238, 230, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand-ace { height: 30px; width: auto; display: block; }
.brand-kr {
  line-height: 1.45; padding-left: 14px; border-left: 1px solid var(--line);
}
.brand-kr strong { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink-soft); }
.brand-kr > span { display: block; font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: .02em; }
.gist-link { display: block; margin-left: auto; }
.gist-link img { height: 22px; width: auto; display: block; opacity: .9; transition: opacity .15s; }
.gist-link:hover img { opacity: 1; }
@media (max-width: 1100px) { .brand-kr { display: none; } }
@media (max-width: 860px) { .gist-link { display: none; } }
.brand-mark {
  width: 38px; height: 38px; flex: none; border-radius: 50%;
  background: conic-gradient(from 210deg, var(--carbon), var(--water), var(--ecology), var(--resource), var(--energy), var(--carbon));
  position: relative;
}
.brand-mark::after {
  content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--bg-raised);
}
.brand-text { line-height: 1.25; }
.brand-text strong { display: block; font-family: var(--serif); font-size: 17px; }
.brand-text span { display: block; font-size: 11.5px; color: var(--muted); letter-spacing: .02em; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 9px 14px; border-radius: 999px;
  font-size: 15px; font-weight: 600; color: var(--ink-soft);
  transition: background .18s, color .18s;
}
.main-nav a:hover { background: var(--bg-deep); }
.main-nav a.active { background: var(--ink); color: var(--bg-raised); }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 42px; height: 42px; border-radius: 10px;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; background: var(--ink);
  margin: 5px auto; transition: transform .25s, opacity .25s;
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 96px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.25; font-weight: 700; margin-bottom: 24px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(105deg, var(--accent-strong), var(--accent) 45%, var(--water));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lede { font-size: 19px; color: var(--muted); max-width: 540px; margin-bottom: 36px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px;
  font-size: 15.5px; font-weight: 700;
  transition: transform .18s, background .18s, box-shadow .18s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--bg-raised); }
.btn-primary:hover { background: #000; box-shadow: var(--shadow); }
.btn-ghost { background: transparent; border: 1.5px solid var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg-raised); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-strong); box-shadow: 0 6px 26px rgba(217,119,87,.4); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Hero ambiance ---------- */
.hero {
  background-image: radial-gradient(rgba(20,20,19,.045) 1px, transparent 1px);
  background-size: 24px 24px;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%;
  pointer-events: none; z-index: 0;
}
.hero::before {
  width: 560px; height: 560px; right: -160px; top: -180px;
  background: radial-gradient(circle, rgba(217,119,87,.17), transparent 62%);
  animation: drift-a 16s ease-in-out infinite alternate;
}
.hero::after {
  width: 520px; height: 520px; left: -180px; bottom: -220px;
  background: radial-gradient(circle, rgba(95,135,168,.15), transparent 62%);
  animation: drift-b 20s ease-in-out infinite alternate;
}
.hero-grid { position: relative; z-index: 1; }
@keyframes drift-a { to { transform: translate(-60px, 50px) scale(1.12); } }
@keyframes drift-b { to { transform: translate(70px, -40px) scale(1.08); } }

.hero .eyebrow  { animation: fadeUp .7s .05s ease both; }
.hero h1        { animation: fadeUp .7s .15s ease both; }
.hero .lede     { animation: fadeUp .7s .28s ease both; }
.hero .btn-row  { animation: fadeUp .7s .4s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ---------- Cycle system visualization (orbiting) ---------- */
.cycle-viz {
  position: relative; aspect-ratio: 1; max-width: 460px; margin: 0 auto;
  --r: 200px;
  animation: fadeUp .9s .3s ease both;
}
.viz-ring { position: absolute; border-radius: 50%; pointer-events: none; }
.viz-ring.r1 { inset: 6%; border: 1.5px dashed #C9C4B4; animation: spin 80s linear infinite; }
.viz-ring.r2 { inset: 16%; border: 1px solid rgba(20,20,19,.07); animation: spin 120s linear infinite reverse; }

/* comet sweeping along the outer ring */
.viz-comet {
  position: absolute; inset: 6%; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 0deg, transparent 0deg 285deg, rgba(217,119,87,.75) 350deg, transparent 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
  animation: spin 9s linear infinite;
}

/* orbiting particles */
.rotor-p {
  position: absolute; inset: 0; pointer-events: none;
  animation: spin var(--t, 26s) linear infinite var(--dir, normal);
}
.particle {
  position: absolute; top: 50%; left: 50%;
  width: 7px; height: 7px; margin: -3.5px; border-radius: 50%;
  background: var(--c, var(--accent));
  box-shadow: 0 0 10px var(--c, var(--accent));
  opacity: .75;
  transform: rotate(var(--a, 0deg)) translateY(calc(-1 * var(--pr, var(--r))));
}

/* orbiting nodes: rotor spins, node counter-rotates to stay upright */
.rotor-nodes { position: absolute; inset: 0; animation: spin 60s linear infinite; }
.viz-arm {
  position: absolute; top: 50%; left: 50%; width: 0; height: 0;
  transform: rotate(var(--a));
  animation: fadeIn .8s var(--d, 0s) ease both;
}
.viz-hold { transform: translateY(calc(-1 * var(--r))); }
.viz-counter { animation: spin-rev 60s linear infinite; }
.viz-node {
  width: 94px; height: 94px; margin: -47px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 14px; text-align: center; line-height: 1.3;
  transform: rotate(calc(-1 * var(--a)));
  background:
    radial-gradient(circle at 30% 24%, rgba(255,255,255,.30), transparent 48%),
    var(--c, var(--accent));
  box-shadow:
    0 10px 28px color-mix(in srgb, var(--c, var(--accent)) 45%, transparent),
    inset 0 0 0 1px rgba(255,255,255,.16);
  animation: breathe 5s var(--d, 0s) ease-in-out infinite;
}
.viz-node small { font-size: 9.5px; font-weight: 600; opacity: .85; letter-spacing: .14em; margin-top: 2px; }
@keyframes breathe { 50% { scale: 1.07; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* center core */
.viz-core {
  position: absolute; inset: 33%; border-radius: 50%; z-index: 2;
  background: var(--bg-raised); border: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; text-align: center;
  animation: core-pulse 4.2s ease-out infinite;
}
.viz-core::before {
  content: ""; position: absolute; inset: -10px; border-radius: 50%; z-index: -1;
  background: conic-gradient(var(--carbon), var(--water), var(--ecology), var(--resource), var(--energy), var(--carbon));
  filter: blur(9px); opacity: .45;
  animation: spin 14s linear infinite;
}
.viz-core strong { font-family: var(--serif); font-size: 30px; letter-spacing: .04em; }
.viz-core span { font-size: 12px; color: var(--muted); line-height: 1.4; }
@keyframes core-pulse {
  0% { box-shadow: 0 0 0 0 rgba(217,119,87,.30); }
  70% { box-shadow: 0 0 0 30px rgba(217,119,87,0); }
  100% { box-shadow: 0 0 0 0 rgba(217,119,87,0); }
}

/* pause the system on hover */
.cycle-viz:hover .rotor-nodes,
.cycle-viz:hover .viz-counter,
.cycle-viz:hover .rotor-p,
.cycle-viz:hover .viz-comet { animation-play-state: paused; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-rev { to { transform: rotate(-360deg); } }

@media (max-width: 960px) {
  .cycle-viz { max-width: 340px; --r: 145px; }
  .viz-node { width: 76px; height: 76px; margin: -38px; font-size: 12.5px; }
  .viz-core strong { font-size: 24px; }
  .viz-core span { font-size: 10.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after, .viz-ring, .viz-comet, .rotor-p,
  .rotor-nodes, .viz-counter, .viz-node, .viz-core, .viz-core::before { animation: none !important; }
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section.tint {
  background: rgba(250,249,245,.62);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  backdrop-filter: blur(16px) saturate(1.15);
  border-block: 1px solid rgba(221,217,204,.8);
}
.section.dark {
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    radial-gradient(900px 420px at 82% -12%, rgba(217,119,87,.20), transparent 62%),
    radial-gradient(700px 380px at 8% 112%, rgba(95,135,168,.16), transparent 60%),
    var(--ink);
  background-size: 44px 44px, 44px 44px, auto, auto, auto;
  color: var(--bg);
}
.section.dark .section-lead, .section.dark .muted { color: #A9A69C; }
.section-head { margin-bottom: 48px; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.card {
  background: rgba(250,249,245,.8); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(217,119,87,.5);
  box-shadow: 0 1px 2px rgba(20,20,19,.04), 0 12px 32px rgba(217,119,87,.13);
}
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--muted); }

.cycle-card { border-top: 4px solid var(--c, var(--accent)); }
.cycle-card .cycle-en {
  font-family: var(--mono);
  font-size: 11px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--c, var(--accent)); margin-bottom: 8px;
}
.c-carbon { --c: var(--carbon); }
.c-resource { --c: var(--resource); }
.c-energy { --c: var(--energy); }
.c-ecology { --c: var(--ecology); }
.c-water { --c: var(--water); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 32px 12px; }
.stat .num {
  font-family: var(--mono); font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 600; color: var(--accent);
  text-shadow: 0 0 24px rgba(217,119,87,.35);
  display: flex; align-items: baseline; justify-content: center; gap: 2px;
}
.stat .num .unit { font-size: .45em; color: inherit; }
.stat .label { font-size: 14.5px; color: #A9A69C; margin-top: 6px; }

/* ---------- Feature rows ---------- */
.feature-row {
  display: grid; grid-template-columns: 56px 1fr; gap: 18px;
  padding: 22px 0; border-bottom: 1px solid var(--line);
  align-items: start;
}
.feature-row:last-child { border-bottom: none; }
.feature-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--accent-soft); color: var(--accent-strong);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.feature-row h3 { font-size: 18px; margin-bottom: 4px; }
.feature-row p { font-size: 15px; color: var(--muted); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-raised); }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
thead th {
  background: var(--bg-deep); text-align: left; padding: 14px 18px;
  font-size: 13.5px; letter-spacing: .04em; color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}
tbody td { padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: #F5F3EB; }
.tag {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px; font-weight: 600; background: var(--accent-soft); color: var(--accent-strong);
  margin: 2px 2px 2px 0; white-space: nowrap;
}
.tag.t-carbon { background: #E3E7EA; color: var(--carbon); }
.tag.t-resource { background: #F0E8D5; color: #8A6B2C; }
.tag.t-energy { background: var(--accent-soft); color: var(--accent-strong); }
.tag.t-ecology { background: #E4EADF; color: #55694A; }
.tag.t-water { background: #E0EAF2; color: #46698A; }

/* ---------- People ---------- */
.people-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.person {
  background: rgba(250,249,245,.8); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.person:hover {
  transform: translateY(-3px);
  border-color: rgba(217,119,87,.5);
  box-shadow: 0 1px 2px rgba(20,20,19,.04), 0 12px 32px rgba(217,119,87,.13);
}
.person-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.avatar {
  width: 52px; height: 52px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 19px; font-weight: 700; color: #fff;
  background: var(--av, var(--carbon));
}
.person h3 { font-size: 18px; line-height: 1.3; }
.person .en { font-size: 12.5px; color: var(--muted); font-family: var(--sans); font-weight: 500; }
.person .lab { font-size: 14px; color: var(--ink-soft); margin-bottom: 10px; min-height: 42px; }
.person .meta { font-size: 13px; color: var(--muted); line-height: 1.9; border-top: 1px dashed var(--line); padding-top: 10px; }
.person .meta a { color: var(--accent-strong); }
.person .meta a:hover { text-decoration: underline; }

.avatar-photo {
  width: 52px; height: 52px; border-radius: 50%; object-fit: cover;
  object-position: top; flex: none; border: 1px solid var(--line);
}
.person-photo {
  width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; object-position: center top;
  border-radius: var(--radius-sm); margin-bottom: 16px; background: var(--bg-deep);
}

/* Featured person (원장) */
.featured-person {
  display: grid; grid-template-columns: 170px 1fr; gap: 26px;
  max-width: 720px;
  background: rgba(250,249,245,.8); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-radius: var(--radius); padding: 24px; align-items: center;
  box-shadow: var(--shadow);
}
.featured-person img {
  width: 100%; aspect-ratio: 3 / 3.4; object-fit: cover; object-position: center top;
  border-radius: var(--radius-sm);
}
.featured-person h3 { font-size: 20px; margin: 8px 0 5px; }
.featured-person .role { font-size: 12px; font-weight: 700; color: var(--accent-strong); letter-spacing: .04em; }
.featured-person .desc { font-size: 14px; color: var(--muted); margin-top: 10px; }
.featured-person .meta { font-size: 13.5px; margin-top: 12px; color: var(--ink-soft); line-height: 1.9; }
.featured-person .meta a { color: var(--accent-strong); }
@media (max-width: 720px) {
  .featured-person { grid-template-columns: 1fr; padding: 20px; }
  .featured-person img { max-width: 180px; }
}

/* Greeting */
.greeting-grid { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: start; }
.greeting-photo { position: sticky; top: 140px; }
.greeting-photo img {
  width: 100%; aspect-ratio: 3 / 3.6; object-fit: cover; object-position: center top;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.greeting-photo figcaption { margin-top: 14px; text-align: center; }
.greeting-photo figcaption strong { font-family: var(--serif); font-size: 18px; display: block; }
.greeting-photo figcaption span { font-size: 13px; color: var(--muted); }
.greeting-body p { margin-bottom: 20px; font-size: 16.5px; color: var(--ink-soft); }
.greeting-body .greeting-open {
  font-family: var(--serif); font-size: clamp(21px, 2.6vw, 27px);
  line-height: 1.55; color: var(--ink); margin-bottom: 28px;
}
.greeting-sign { margin-top: 32px; font-size: 15px; color: var(--muted); }
.greeting-sign strong { font-family: var(--serif); font-size: 21px; color: var(--ink); margin-left: 8px; }
@media (max-width: 860px) {
  .greeting-grid { grid-template-columns: 1fr; }
  .greeting-photo { position: static; max-width: 280px; }
}

/* ---------- 학제전공 diagram & FAQ ---------- */
.majors-diagram {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1.15fr;
  gap: 16px; align-items: stretch; margin-bottom: 20px;
}
.major-box {
  background: rgba(250,249,245,.85); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; text-align: center;
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
}
.major-box .mb-label {
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.major-box h3 { font-size: 19px; }
.major-box p { font-size: 13.5px; color: var(--muted); }
.major-box.result {
  background: var(--ink); color: var(--bg-raised); border-color: var(--ink);
  box-shadow: 0 12px 32px rgba(20,20,19,.18);
}
.major-box.result .mb-label { color: var(--accent); }
.major-box.result p { color: #A9A69C; }
.major-op {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 26px; font-weight: 600; color: var(--accent-strong);
}
@media (max-width: 860px) {
  .majors-diagram { grid-template-columns: 1fr; }
  .major-op { transform: rotate(90deg); }
}

.faq { display: grid; gap: 12px; }
.faq details {
  background: rgba(250,249,245,.8); border: 1px solid var(--line);
  border-radius: var(--radius-sm); overflow: hidden;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 22px;
  font-weight: 700; font-size: 16px; display: flex; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "Q"; font-family: var(--mono); font-weight: 600;
  color: var(--accent-strong); flex: none;
}
.faq summary::after {
  content: "+"; font-family: var(--mono); margin-left: auto;
  color: var(--muted); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  padding: 0 22px 18px 46px; font-size: 15px; color: var(--ink-soft);
}
.faq details[open] { border-color: rgba(217,119,87,.45); }

/* ---------- Timeline / process ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: step; }
.step {
  background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 20px 16px; position: relative; counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  color: var(--accent); display: block; margin-bottom: 8px; letter-spacing: .08em;
}
.step h4 { font-size: 15.5px; margin-bottom: 4px; }
.step p { font-size: 13px; color: var(--muted); line-height: 1.55; }

.timeline { border-left: 2px solid var(--line); padding-left: 28px; display: grid; gap: 28px; }
.tl-item { position: relative; }
.tl-item::before {
  content: ""; position: absolute; left: -35px; top: 7px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent); border: 2.5px solid var(--bg);
}
.tl-item .tl-date { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--accent-strong); letter-spacing: .08em; }
.tl-item h4 { font-size: 17px; margin: 3px 0 4px; }
.tl-item p { font-size: 14.5px; color: var(--muted); }

/* ---------- News list ---------- */
.news-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.news-item {
  display: grid; grid-template-columns: 110px 1fr auto; gap: 20px;
  padding: 20px 8px; border-bottom: 1px solid var(--line); align-items: baseline;
  transition: background .15s;
}
.news-item:hover { background: var(--bg-raised); }
.news-item .date { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.news-item .title { font-size: 16px; font-weight: 600; }
.news-item .cat { font-size: 12px; font-weight: 700; color: var(--accent-strong); }

/* ---------- Accordion-ish notice ---------- */
.notice {
  background: var(--accent-soft); border: 1px solid #EAC8B8;
  border-radius: var(--radius-sm); padding: 18px 22px;
  font-size: 14.5px; color: #7A3A22;
}
.notice strong { font-weight: 800; }

blockquote.pull {
  font-family: var(--serif); font-size: clamp(22px, 3vw, 30px); line-height: 1.5;
  max-width: 800px; margin: 0 auto; text-align: center;
}
blockquote.pull footer { font-family: var(--sans); font-size: 14px; color: var(--muted); margin-top: 18px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #B5B2A7; padding: 56px 0 40px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.site-footer h4 { color: var(--bg-raised); font-family: var(--sans); font-size: 14px; font-weight: 700; margin-bottom: 14px; letter-spacing: .05em; }
.site-footer a:hover { color: var(--bg-raised); text-decoration: underline; }
.footer-links { display: grid; gap: 8px; }
.footer-bottom {
  border-top: 1px solid #33322E; padding-top: 24px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: #807D73;
}
.footer-brand {
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
  margin-bottom: 20px;
}
.footer-ace { height: 30px; width: auto; opacity: .95; }
.footer-logos { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-gist { height: 20px; width: auto; opacity: .85; }
.footer-env { height: 20px; width: auto; opacity: .85; }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(1200px 400px at 85% -10%, rgba(217,119,87,.10), transparent 60%),
    var(--bg);
}
.page-hero h1 { font-size: clamp(30px, 4.5vw, 46px); margin-bottom: 12px; }
.page-hero p { font-size: 17.5px; color: var(--muted); max-width: 640px; }
.breadcrumb { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--accent-strong); }
.breadcrumb .sep { margin: 0 8px; opacity: .5; }

/* Sub-nav (in-page anchors) */
.subnav {
  position: sticky; top: 72px; z-index: 60;
  background: rgba(250,249,245,.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.subnav-inner { display: flex; gap: 4px; overflow-x: auto; padding: 10px 0; }
.subnav a {
  padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600;
  color: var(--muted); white-space: nowrap; transition: background .15s, color .15s;
}
.subnav a:hover, .subnav a.active { background: var(--bg-deep); color: var(--ink); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Misc ---------- */
.muted { color: var(--muted); }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; } .mt-64 { margin-top: 64px; }
.center { text-align: center; }
.anchor-offset { scroll-margin-top: 140px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .orbit { max-width: 340px; }
  .grid-3, .grid-4, .grid-5, .people-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .main-nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--bg-raised); border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px; display: none; box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { border-radius: 10px; padding: 13px 16px; }
  .nav-toggle { display: block; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .grid-2, .grid-3, .grid-4, .grid-5, .people-grid { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; gap: 4px; }
  .section { padding: 64px 0; }
  .hero { padding: 64px 0 56px; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
