/* ====================================================================
   서울진로직업박람회 2026 — Design System
   Inspired by 2026 키비주얼 (페이퍼크래프트, 딥블루, 다채로운 액센트)
   ==================================================================== */

@font-face {
  font-family: 'SeoulNotice';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2505-1@1.0/SeoulAlrimTTF-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

:root {
  /* ===== Brand palette ===== */
  --brand-deep: #0E2D5C;
  /* 가장 깊은 블루 (포스터 배경 그림자) */
  --brand-navy: #1B4A8C;
  /* 메인 블루 */
  --brand-blue: #2E6BC4;
  /* 미드 블루 */
  --brand-sky: #6FA8E8;
  /* 라이트 블루 */
  --brand-mist: #DCE9F8;
  /* 연한 블루 미스트 */

  /* Accents — 포스터의 리본/태양/포인트 */
  --accent-pink: #E94B7E;
  /* 핑크 리본 */
  --accent-pink-2: #F5A8C0;
  /* 라이트 핑크 */
  --accent-yellow: #F5B82E;
  /* 태양 옐로우 */
  --accent-yellow-2: #FAE0A0;
  --accent-red: #D9442D;
  /* 포스터의 붉은 점퍼 */
  --accent-coral: #F47A5A;

  /* Neutrals */
  --paper: #FBFAF6;
  /* 종이 화이트 (살짝 따뜻) */
  --paper-cool: #F2F5FA;
  /* 차가운 베이스 */
  --paper-deep: #E8EDF5;
  --ink: #16213E;
  /* 본문 (네이비-블랙) */
  --ink-soft: #4A5878;
  --ink-mute: #8A93A8;
  --line: #E1E6F0;
  --line-soft: #EFF2F8;

  /* Paper craft shadows — 다중 그림자로 종이 레이어감 */
  --shadow-paper-sm:
    0 1px 0 rgba(14, 45, 92, 0.04),
    0 2px 6px rgba(14, 45, 92, 0.06),
    0 8px 20px rgba(14, 45, 92, 0.05);
  --shadow-paper-md:
    0 1px 0 rgba(14, 45, 92, 0.05),
    0 4px 10px rgba(14, 45, 92, 0.07),
    0 16px 40px rgba(14, 45, 92, 0.08);
  --shadow-paper-lg:
    0 2px 0 rgba(14, 45, 92, 0.06),
    0 10px 24px rgba(14, 45, 92, 0.10),
    0 30px 60px rgba(14, 45, 92, 0.12);

  /* Type */
  --font-logo: 'SeoulNotice';
  --font-display: 'Black Han Sans', 'Noto Sans KR', sans-serif;
  --font-heading: 'Gmarket Sans', 'Pretendard', 'Noto Sans KR', sans-serif;
  --font-body: 'Pretendard', 'Noto Sans KR', sans-serif;
  --font-mono: 'JetBrains Mono', 'IBM Plex Mono', monospace;

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
}

/* ====== Reset ====== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "ss01", "tnum";
}

img {
  max-width: 100%;
  display: block;
}

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* ====== Page background — 종이 배경 텍스처 ====== */
.page {
  min-height: 100vh;
  background:
    radial-gradient(1100px 600px at 90% -10%, rgba(110, 168, 232, 0.18), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(233, 75, 126, 0.07), transparent 60%),
    radial-gradient(700px 400px at 50% 110%, rgba(245, 184, 46, 0.08), transparent 60%),
    var(--paper);
  position: relative;
  overflow-x: hidden;
}

/* Subtle paper grain */
.page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  background-image:
    radial-gradient(rgba(14, 45, 92, 0.06) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: multiply;
  z-index: 0;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

/* ====== Top utility bar ====== */
.utility-bar {
  background: var(--brand-deep);
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.utility-bar .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
}

.utility-bar a:hover {
  color: #fff;
}

.utility-bar .links {
  display: flex;
  gap: 20px;
}

.utility-bar .meta {
  display: flex;
  gap: 14px;
  align-items: center;
}

.utility-bar .pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 11px;
}

.utility-bar .pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-yellow);
  box-shadow: 0 0 0 3px rgba(245, 184, 46, 0.25);
}

/* ====== Header / Nav ====== */
.header {
  background: var(--paper);
  border-bottom: 1px solid var(--line-soft);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(150%) blur(8px);
  background: rgba(251, 250, 246, 0.85);
}

.header .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  position: relative;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-text {
  line-height: 1.1;
}

.brand-text .ko {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 32px;
  background: linear-gradient(135deg, #0E2D5C, #E94B7E, #1B4A8C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.01em;
}

.brand-text .en {
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--ink-mute);
  margin-top: 2px;
  font-weight: 600;
}

.nav {
  display: flex;
  gap: 4px;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav .nav-link,
.nav>a {
  display: inline-block;
  padding: 12px 18px;
  font-weight: 600;
  font-size: 24px;
  color: var(--ink);
  position: relative;
  transition: color .15s;
}

.nav .nav-link:hover,
.nav>a:hover {
  color: var(--brand-navy);
}

.nav .nav-link.active {
  color: var(--brand-navy);
}

.nav .nav-link.active::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 4px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent-pink);
}

/* Dropdown */
.nav-item .dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 220px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-paper-md);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .15s, transform .15s, visibility .15s;
  z-index: 100;
}

.nav-item .dropdown::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #fff;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-item .dropdown a {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  white-space: nowrap;
  transition: background .15s, color .15s;
}

.nav-item .dropdown a:hover {
  background: var(--paper-cool);
  color: var(--brand-deep);
}

.nav-item .dropdown a.disabled {
  color: var(--ink-mute);
  cursor: not-allowed;
}

.nav-item .dropdown a.disabled:hover {
  background: transparent;
  color: var(--ink-mute);
}

.badge-soon {
  font-size: 10px;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--paper-deep);
  color: var(--ink-soft);
}

.nav-cta {
  margin-left: 16px;
  background: var(--brand-deep);
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform .15s, box-shadow .15s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-paper-md);
}

.nav-cta .arrow {
  transition: transform .2s;
}

.nav-cta:hover .arrow {
  transform: translateX(3px);
}

/* ====== Section base ====== */
section {
  position: relative;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--brand-navy);
  font-weight: 600;
  text-transform: uppercase;
}

.section-eyebrow .bar {
  width: 24px;
  height: 2px;
  background: var(--accent-pink);
}

.section-title {
  font-family: var(--font-display);
  font-size: 44px;
  color: var(--brand-deep);
  margin: 12px 0 6px;
  line-height: 1.1;
  font-weight: 500;
}

.section-sub {
  color: var(--ink-soft);
  font-size: 16px;
  max-width: 560px;
}

/* ====== Buttons ====== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition: transform .15s, box-shadow .15s, background .15s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--brand-deep);
  color: #fff;
  box-shadow: var(--shadow-paper-md);
}

.btn-primary:hover {
  box-shadow: var(--shadow-paper-lg);
  background: var(--brand-navy);
}

.btn-pink {
  background: var(--accent-pink);
  color: #fff;
  box-shadow: 0 8px 22px rgba(233, 75, 126, 0.35);
}

.btn-pink:hover {
  background: #d63d6f;
}

.btn-outline {
  background: #fff;
  color: var(--brand-deep);
  border: 1.5px solid var(--brand-deep);
}

.btn-ghost {
  color: var(--brand-navy);
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-ghost:hover {
  color: var(--brand-deep);
}