/* ==========================================================================
   HANSEONG BLUEPRINT - Mixed Demo 3 전용 프리미엄 CSS
   건설/아키텍처 구조도 무드 + Z-패턴 에디토리얼 + 벤토 보고서 혼합 테마
   ========================================================================== */

/* 1. 디자인 시스템 변수 정의 (건설/아키텍처 톤앤매너) */
:root {
  /* HSL 기반 Tailored 네온 컬러 시스템 */
  --accent-primary: #00e5ff;
  /* 시안 네온 (도면 레이저 라인) */
  --accent-primary-rgb: 0, 229, 255;
  --accent-secondary: #ff6b35;
  /* 건설 오렌지 (안전/포인트) */
  --accent-secondary-rgb: 255, 107, 53;
  --accent-tertiary: #fbbf24;
  /* 시그널 앰버 (경보/배지) */
  --accent-steel: #94a3b8;
  /* 철골 실버 (라인/보조 텍스트) */

  /* 그라디언트 시스템 */
  --gradient-primary: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  --gradient-orange: linear-gradient(135deg, #ff6b35 0%, #dd4b1a 100%);
  --gradient-hero: linear-gradient(180deg, rgba(0, 229, 255, 0.05) 0%, rgba(7, 9, 14, 0.98) 100%);
  --gradient-safety: linear-gradient(180deg, rgba(7, 9, 14, 0.6) 0%, rgba(12, 18, 32, 0.95) 100%);

  /* 글래스모피즘 (도면 위 반투명 오버레이 질감) */
  --glass-bg: rgba(12, 18, 32, 0.75);
  --glass-border: rgba(0, 229, 255, 0.12);
  --glass-border-hover: rgba(0, 229, 255, 0.35);

  /* 다크 테마 디폴트 배경 */
  --bg-blueprint: #07090e;
  /* 블루프린트 최심부 블랙 */
  --bg-section-alt: #0c1220;
  /* 도면용지 딥 블루 */
  --text-main: #f1f5f9;
  /* 메인 텍스트 */
  --text-muted: #94a3b8;
  /* 서브 텍스트 */

  /* 타이포그래피 */
  --text-mono: 'JetBrains Mono', monospace;
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', 'Pretendard', sans-serif;
  --font-serif: 'Lora', 'Georgia', serif;

  --header-height: 80px;
}

/* 라이트 모드 컬러 오버라이드 (가독성 향상) */
[data-mode="light"] {
  --accent-primary: #0891b2;
  /* 라이트 시안 */
  --accent-primary-rgb: 8, 145, 178;
  --accent-secondary: #ea580c;
  /* 라이트 오렌지 */
  --accent-secondary-rgb: 234, 88, 12;
  --accent-tertiary: #d97706;
  /* 라이트 앰버 */
  --accent-steel: #64748b;

  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(8, 145, 178, 0.15);
  --glass-border-hover: rgba(8, 145, 178, 0.4);

  --bg-blueprint: #f8fafc;
  --bg-section-alt: #f0f5fa;
  --text-main: #0f172a;
  --text-muted: #475569;
}

/* CSS 전용 애니메이션 프로퍼티 등록 */
@property --progress-percent {
  syntax: '<number>';
  inherits: false;
  initial-value: 0;
}

/* 기본 리셋 및 레이아웃 구조 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-blueprint) !important;
  color: var(--text-main) !important;
  font-family: var(--font-body);
  transition: background-color 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
}

/* 모바일 시뮬레이터 호환을 위한 inline-size 컨테이너 지정 */
.mixed-main {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  container-type: inline-size;
}

/* 줄바꿈 제어 클래스 */
.keep-all {
  word-break: keep-all;
  overflow-wrap: break-word;
}

.select-none {
  user-select: none;
  -webkit-user-drag: none;
}

/* ==========================================================================
   2. 공통 컴포넌트 디자인 (unlayered로 우선순위 대폭 상향)
   ========================================================================== */

/* 공통 섹션 패딩 및 구조 */
.section-container {
  padding: 120px 6% 120px 6%;
  position: relative;
  z-index: 2;
}

.section-container:nth-of-type(even) {
  background-color: var(--bg-section-alt) !important;
}

/* PC 와이드 스크린에서 에디토리얼 무드를 극대화하는 콘텐츠 최대 가로폭 가둠 및 중앙 정렬 */
.section-header,
.project-z-list,
.dashboard-stats-grid,
.field-bento-grid,
.timeline-container,
.event-grid-container,
.archive-cards-grid {
  max-width: 1400px;
  width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* 도면 격자 데코레이션 배경 */
.section-blueprint-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line, rgba(0, 180, 255, 0.04)) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line, rgba(0, 180, 255, 0.04)) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 1;
}

/* 섹션 헤더 디자인 */
.section-header {
  margin-bottom: 70px;
  max-width: 1400px; /* 본문 콘텐츠와 정렬선(0점 축) 완벽 동기화 */
  position: relative;
  z-index: 2;
  width: 100%;
}

.section-header.center-align {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header.left-align {
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

/* 헤더 내 텍스트 글줄 가독성 보호 (최적 가로폭 가둠) */
.section-title,
.section-desc {
  max-width: 800px;
  width: 100%;
}

.section-header.center-align .section-title,
.section-header.center-align .section-desc {
  margin-left: auto;
  margin-right: auto;
}

.section-header.left-align .section-title,
.section-header.left-align .section-desc {
  margin-left: 0;
  margin-right: auto;
}

/* 섹션 태그 및 마커 */
.section-tag {
  display: inline-block;
  font-family: var(--text-mono);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-primary);
  margin-bottom: 14px;
  position: relative;
  padding-left: 20px;
}

.section-tag::before {
  content: '+';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--text-mono);
  font-size: 1.1rem;
  color: var(--accent-primary);
  text-shadow: 0 0 8px var(--accent-primary);
}

.section-tag.text-orange {
  color: var(--accent-secondary);
}

.section-tag.text-orange::before {
  color: var(--accent-secondary);
  text-shadow: 0 0 8px var(--accent-secondary);
}

/* 섹션 타이틀 */
.section-title {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 18px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* 고품격 비주얼 폴백 플레이스홀더 */
.no-image-placeholder {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, rgba(7, 9, 14, 0.95) 0%, rgba(12, 18, 32, 0.98) 100%) !important;
  border: 1px dashed var(--glass-border) !important;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.no-image-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.no-image-icon {
  font-size: 2.8rem;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.35));
  position: relative;
  z-index: 2;
}

.no-image-text {
  font-family: var(--text-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  position: relative;
  z-index: 2;
  text-transform: uppercase;
}

/* 그라데이션 변형 */
.bento-gradient-1::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(0, 229, 255, 0.12) 0%, transparent 70%);
}

.bento-gradient-2::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255, 107, 53, 0.12) 0%, transparent 70%);
}

.bento-gradient-3::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(251, 191, 36, 0.12) 0%, transparent 70%);
}

.safety-gradient {
  background: linear-gradient(135deg, rgba(7, 9, 14, 0.98) 0%, rgba(12, 18, 32, 0.95) 100%) !important;
  border: 1px solid rgba(255, 107, 53, 0.25) !important;
}

.safety-gradient .no-image-icon {
  filter: drop-shadow(0 0 12px rgba(255, 107, 53, 0.45));
}

.people-gradient {
  aspect-ratio: unset;
  height: 100%;
  border-radius: 0;
  border: none;
  background: linear-gradient(180deg, rgba(7, 9, 14, 0.3) 0%, rgba(7, 9, 14, 0.95) 100%) !important;
}

/* ==========================================================================
   3. 섹션별 상세 스타일링
   ========================================================================== */

/* 🎬 [Section 1] HERO AREA */
.hero-section {
  width: 100%;
  height: 100vh;
  min-height: 650px;
  position: relative;
  background-color: #040508;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 229, 255, 0.22);
  box-shadow: 0 15px 45px rgba(0, 229, 255, 0.05);
}

.hero-section::after {
  content: "CAD_SYS: HANSEONG-BLUEPRINT-V52 // VIEWPORT: PC_MOBILE_SIM // SCAN_STATE: READY";
  position: absolute;
  bottom: 20px;
  right: 6%;
  font-family: var(--text-mono);
  font-size: 0.68rem;
  color: rgba(0, 229, 255, 0.35);
  letter-spacing: 0.08em;
  pointer-events: none;
  z-index: 3;
}

.blueprint-crosshair-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.blueprint-crosshair-line {
  position: absolute;
  background: rgba(0, 229, 255, 0.08);
  transition: all 0.1s ease;
}

.blueprint-crosshair-line.line-h {
  left: 0;
  width: 100%;
  height: 1px;
  top: 50%;
}

.blueprint-crosshair-line.line-v {
  top: 0;
  height: 100%;
  width: 1px;
  left: 50%;
}

.blueprint-coordinates {
  position: absolute;
  bottom: 20px;
  left: 6%;
  font-family: var(--text-mono);
  font-size: 0.7rem;
  color: rgba(0, 229, 255, 0.5);
  letter-spacing: 0.05em;
}

[data-mode="light"] .visual-title {
  color: #ffffff !important;
}

[data-mode="light"] .visual-desc {
  color: rgba(241, 245, 249, 0.88) !important;
}

[data-mode="light"] .visual-brand-tag {
  color: var(--accent-primary) !important;
}

[data-mode="light"] .visual-webzine-vol {
  color: rgba(255, 255, 255, 0.5) !important;
}

[data-mode="light"] .visual-nav-btn {
  color: #ffffff !important;
}

[data-mode="light"] .visual-dot {
  background: rgba(255, 255, 255, 0.3) !important;
}

[data-mode="light"] .visual-dot.active {
  background: var(--accent-primary) !important;
}

.hero-canvas-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-canvas-container canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.visual-overlay-container {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--gradient-hero);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 6% 90px 6%;
  pointer-events: none;
}

.visual-header-meta {
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.visual-brand-tag {
  font-family: var(--text-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-primary);
  letter-spacing: 0.2em;
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
}

.visual-webzine-vol {
  font-family: var(--text-mono);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.05em;
}

.visual-main-content {
  max-width: 700px;
  pointer-events: auto;
}

.visual-badge {
  display: inline-block;
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.25);
  padding: 6px 16px;
  border-radius: 30px;
  font-family: var(--text-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.08);
  text-transform: uppercase;
}

.visual-title-wrapper {
  overflow: hidden;
  margin-bottom: 18px;
}

.visual-title {
  font-family: var(--font-title);
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.visual-desc {
  font-size: 1.12rem;
  color: rgba(241, 245, 249, 0.88);
  line-height: 1.65;
  margin-bottom: 40px;
  word-break: keep-all;
}

.visual-controllers {
  display: flex;
  align-items: center;
  gap: 35px;
}

.visual-slide-dots {
  display: flex;
  gap: 12px;
}

.visual-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.visual-dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.visual-dot.active {
  background: var(--accent-primary);
  width: 32px;
  border-radius: 6px;
  box-shadow: 0 0 12px var(--accent-primary);
}

.visual-navigation {
  display: flex;
  gap: 15px;
}

.visual-nav-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.visual-nav-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.visual-nav-btn:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #040508;
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.45);
}

/* 🏢 [Section 2 & 3] EDITORIAL & PROJECTS (Z-패턴) */
.project-z-list {
  display: flex;
  flex-direction: column;
  gap: 90px;
  margin-top: 50px;
}

.project-item.z-row {
  display: flex;
  align-items: center;
  gap: 6%;
  position: relative;
}

.project-item.z-row.reverse {
  flex-direction: row-reverse;
}

.project-image-wrapper {
  flex: 1.1;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  position: relative;
}

.project-image {
  width: 100%;
  display: block;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.project-image-wrapper:hover .project-image {
  transform: scale(1.05);
}

.project-text-content {
  flex: 0.9;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.project-num {
  font-family: var(--text-mono);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(var(--accent-primary-rgb), 0.12);
  margin-bottom: 5px;
  letter-spacing: -0.02em;
}

.project-item.reverse .project-num {
  color: rgba(var(--accent-secondary-rgb), 0.12);
}

.project-badge {
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.2);
  padding: 4px 12px;
  border-radius: 4px;
  font-family: var(--text-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 15px;
}

.project-badge-orange {
  background: rgba(255, 107, 53, 0.08);
  border: 1px solid rgba(255, 107, 53, 0.2);
  padding: 4px 12px;
  border-radius: 4px;
  font-family: var(--text-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-secondary);
  margin-bottom: 15px;
}

.project-title {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.project-meta-list {
  list-style: none;
  width: 100%;
  border-top: 1px solid var(--border-blueprint);
  border-bottom: 1px solid var(--border-blueprint);
  padding: 15px 0;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px 30px;
  font-size: 0.9rem;
}

.project-meta-list li {
  color: var(--text-muted);
}

.project-meta-list li strong {
  color: var(--text-main);
  margin-right: 8px;
  font-weight: 600;
}

.project-description {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 28px;
}

.project-cta-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-title);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--accent-primary);
  border: 1px solid var(--accent-primary);
  padding: 10px 22px;
  border-radius: 6px;
  background: transparent;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-cta-btn .arrow-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.project-cta-btn:hover {
  background: rgba(0, 229, 255, 0.08);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.25);
}

.project-cta-btn:hover .arrow-icon {
  transform: translateX(5px);
}

.project-cta-btn.orange-theme {
  color: var(--accent-secondary);
  border-color: var(--accent-secondary);
}

.project-cta-btn.orange-theme:hover {
  background: rgba(255, 107, 53, 0.08);
  box-shadow: 0 0 15px rgba(255, 107, 53, 0.25);
}

/* 📋 [Section 4] FIELD REPORT Dashboard */
.dashboard-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.stat-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 32px 20px;
  text-align: center;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.stat-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-primary);
}

.stat-card.text-glow-orange::after {
  background: var(--accent-secondary);
}

.stat-card:hover {
  border-color: var(--glass-border-hover);
  box-shadow: 0 12px 30px rgba(0, 229, 255, 0.06);
  transform: translateY(-5px);
}

.stat-num {
  font-family: var(--text-mono);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent-primary);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.2);
}

.stat-card.text-glow-orange .stat-num {
  color: var(--accent-secondary);
  text-shadow: 0 0 12px rgba(255, 107, 53, 0.2);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.field-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.bento-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(14px);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bento-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 229, 255, 0.35);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.25),
    0 0 20px rgba(0, 229, 255, 0.12);
}

.bento-card:has(.orange-theme):hover {
  border-color: rgba(255, 107, 53, 0.35);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.25),
    0 0 20px rgba(255, 107, 53, 0.12);
}

.bento-glow-bg {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.08) 0%, rgba(0, 229, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  transition: transform 0.6s ease;
}

.bento-card:has(.orange-theme) .bento-glow-bg {
  background: radial-gradient(circle, rgba(255, 107, 53, 0.08) 0%, rgba(255, 107, 53, 0) 70%);
}

.bento-card:hover .bento-glow-bg {
  transform: scale(2);
}

.bento-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bento-id {
  font-family: var(--text-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.bento-badge {
  font-family: var(--text-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(0, 229, 255, 0.1);
  color: var(--accent-primary);
  border: 1px solid rgba(0, 229, 255, 0.18);
}

.bento-badge.orange-theme {
  background: rgba(255, 107, 53, 0.1);
  color: var(--accent-secondary);
  border-color: rgba(255, 107, 53, 0.18);
}

.bento-title {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
}

.bento-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
  flex-grow: 1;
}

.bento-progress-area {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bento-bar-wrapper {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.bento-bar-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent-primary) 0%, rgba(var(--accent-primary-rgb), 0.5) 100%);
  width: 0%;
  transition: width 1.8s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
}

.bento-card:has(.orange-theme) .bento-bar-fill {
  background: linear-gradient(90deg, var(--accent-secondary) 0%, rgba(var(--accent-secondary-rgb), 0.5) 100%);
}

.bento-bar-fill::after {
  content: '';
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 10px #ffffff, 0 0 16px var(--accent-primary);
}

.bento-card:has(.orange-theme) .bento-bar-fill::after {
  box-shadow: 0 0 10px #ffffff, 0 0 16px var(--accent-secondary);
}

.bento-metrics {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

.bento-percent {
  font-family: var(--text-mono);
  font-weight: 700;
  color: var(--accent-primary);
}

.bento-card:has(.orange-theme) .bento-percent {
  color: var(--accent-secondary);
}

.bento-rating {
  letter-spacing: 0.1em;
}

.bento-meta-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* 👷 [Section 5] SAFETY CAMPAIGN */
.safety-section {
  position: relative;
  padding: 120px 6%;
  z-index: 2;
  overflow: hidden;
}

.safety-parallax-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.safety-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.25) contrast(1.1);
  transform: scale(1.05);
  transition: transform 0.4s ease;
}

.safety-overlay-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.safety-visual-dashboard {
  display: flex;
  gap: 40px;
  margin: 50px 0 60px 0;
  align-items: center;
}

.safety-counter-card {
  flex: 1.3;
  background: rgba(12, 18, 32, 0.85);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 16px;
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 30px;
  backdrop-filter: blur(14px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.safety-traffic-light {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #040508;
  border: 2px solid #1e293b;
  border-radius: 30px;
  padding: 15px 12px;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.8);
}

.safety-traffic-light .light {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #1e293b;
  transition: all 0.4s ease;
}

.safety-traffic-light .light.green.active {
  background: #10b981;
  box-shadow: 0 0 15px #10b981, 0 0 30px #10b981;
}

.safety-traffic-light .light.yellow.active {
  background: #f59e0b;
  box-shadow: 0 0 15px #f59e0b, 0 0 30px #f59e0b;
}

.safety-traffic-light .light.red.active {
  background: #ef4444;
  box-shadow: 0 0 15px #ef4444, 0 0 30px #ef4444;
}

.counter-display {
  display: flex;
  flex-direction: column;
}

.counter-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.counter-number-group {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin: 8px 0;
}

.counter-num {
  font-family: var(--font-title);
  font-size: 4.8rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent-primary);
  text-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
  letter-spacing: -0.02em;
}

.counter-unit {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-main);
}

.counter-date {
  font-family: var(--text-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.safety-sub-stats {
  flex: 0.7;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sub-stat-item {
  background: rgba(12, 18, 32, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 24px;
  backdrop-filter: blur(10px);
}

.sub-stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.sub-stat-value {
  display: inline-block;
  font-family: var(--text-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-secondary);
  text-shadow: 0 0 10px rgba(255, 107, 53, 0.2);
}

.sub-stat-unit {
  font-size: 1rem;
  font-weight: 600;
  margin-left: 4px;
}

.safety-rules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.rule-card {
  background: rgba(12, 18, 32, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 30px;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.rule-card-indicator {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent-secondary) 0%, rgba(255, 107, 53, 0.2) 100%);
}

.rule-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 107, 53, 0.25);
  box-shadow: 0 10px 25px rgba(255, 107, 53, 0.08);
}

.rule-icon {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.rule-title {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.rule-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* 🎓 [Section 6] PEOPLE FOCUS (인터뷰 패럴랙스) */
.people-section {
  position: relative;
  padding: 140px 0;
  z-index: 2;
}

.people-fixed-hero {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.people-bg-layer {
  width: 100%;
  height: 100%;
}

.people-img-placeholder {
  width: 100%;
  height: 100%;
}

.people-fixed-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/mixed3/person-site-bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  filter: brightness(0.2) contrast(1.1);
  z-index: 1;
}

.people-overlay-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 9, 14, 0.95) 0%, rgba(7, 9, 14, 0.4) 50%, rgba(7, 9, 14, 0.95) 100%);
  z-index: 2;
}

.people-content-container {
  position: relative;
  z-index: 3;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 4%;
}

.people-interview-box {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 50px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.people-profile-header {
  display: flex;
  align-items: center;
  gap: 25px;
  border-bottom: 1px solid var(--border-blueprint);
  padding-bottom: 25px;
  margin-bottom: 30px;
}

.profile-avatar-wrapper {
  width: 90px;
  height: 120px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.profile-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-info-group {
  display: flex;
  flex-direction: column;
}

.profile-name {
  font-family: var(--font-title);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-main);
}

.profile-title {
  font-size: 0.95rem;
  color: var(--accent-primary);
  font-weight: 600;
  margin: 4px 0;
}

.profile-career {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.interview-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.interview-slides-wrapper {
  position: relative;
  min-height: 200px;
}

.interview-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
  display: flex;
  flex-direction: column;
}

.interview-slide.active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.quote-mark {
  font-family: var(--font-serif);
  font-size: 4rem;
  line-height: 1;
  color: var(--accent-primary);
  height: 30px;
  margin-bottom: -10px;
}

.interview-quote {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--text-main);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.quote-sub {
  font-size: 0.88rem;
  font-family: var(--text-mono);
  color: var(--text-muted);
  align-self: flex-end;
}

.interview-carousel-controls {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.carousel-dots {
  display: flex;
  gap: 10px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background: var(--accent-primary);
  width: 25px;
  border-radius: 5px;
  box-shadow: 0 0 8px var(--accent-primary);
}

/* 🏆 [Section 7] AWARDS & CERTIFICATIONS (세로 타임라인) */
.timeline-container {
  position: relative;
  max-width: 900px;
  margin: 50px auto 0 auto;
  padding: 20px 0;
}

.timeline-scroll-line-wrapper {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.05);
}

.timeline-scroll-line-fill {
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  box-shadow: 0 0 10px var(--accent-primary);
  transition: height 0.1s linear;
}

.timeline-items-group {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  position: relative;
}

.timeline-item:nth-child(odd) {
  justify-content: flex-start;
}

.timeline-dot-marker {
  position: absolute;
  left: 50%;
  top: 35px;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-blueprint);
  border: 3px solid var(--accent-primary);
  box-shadow: 0 0 8px var(--accent-primary);
  z-index: 3;
  transition: background 0.3s, border-color 0.3s;
}

.timeline-item:nth-child(even) .timeline-dot-marker {
  border-color: var(--accent-secondary);
  box-shadow: 0 0 8px var(--accent-secondary);
}

.timeline-content-card {
  width: 44%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 28px;
  backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
}

.timeline-item:nth-child(odd) .timeline-content-card::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 30px;
  width: 16px;
  height: 16px;
  background: var(--glass-bg);
  border-right: 1px solid var(--glass-border);
  border-top: 1px solid var(--glass-border);
  transform: rotate(45deg);
}

.timeline-item:nth-child(even) .timeline-content-card::after {
  content: '';
  position: absolute;
  left: -8px;
  top: 30px;
  width: 16px;
  height: 16px;
  background: var(--glass-bg);
  border-left: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  transform: rotate(45deg);
}

.timeline-item:hover .timeline-content-card {
  border-color: var(--glass-border-hover);
  box-shadow: 0 10px 25px rgba(0, 229, 255, 0.08);
  transform: translateY(-5px);
}

.timeline-item:nth-child(even):hover .timeline-content-card {
  border-color: rgba(255, 107, 53, 0.35);
  box-shadow: 0 10px 25px rgba(255, 107, 53, 0.08);
}

.timeline-date {
  font-family: var(--text-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-primary);
  letter-spacing: 0.05em;
}

.timeline-item:nth-child(even) .timeline-date {
  color: var(--accent-secondary);
}

.timeline-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 12px 0;
}

.timeline-icon {
  font-size: 1.25rem;
}

.timeline-card-title {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.timeline-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 14px;
}

.timeline-org {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* 📩 [Section 8] PHOTO CONTEST EVENT (드래그앤드롭) */
.event-grid-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  margin-top: 50px;
}

.event-form-glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 40px;
  backdrop-filter: blur(16px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.form-row-group {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 20px;
}

.form-field {
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-family: var(--font-title);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.05em;
}

.form-input,
.form-textarea {
  background: rgba(7, 9, 14, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  padding: 12px 16px;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.15);
  background: rgba(7, 9, 14, 0.8);
}

.form-textarea {
  resize: none;
  height: 90px;
}

/* 라이트모드: 입력 필드 배경/텍스트 색상 교정 */
[data-mode="light"] .form-input,
[data-mode="light"] .form-textarea {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(8, 145, 178, 0.2);
  color: #0f172a;
}

[data-mode="light"] .form-input:focus,
[data-mode="light"] .form-textarea:focus {
  background: #ffffff;
  border-color: var(--accent-primary);
  box-shadow: 0 0 10px rgba(8, 145, 178, 0.15);
}


.drag-drop-zone {
  width: 100%;
  border: 2px dashed var(--glass-border);
  border-radius: 8px;
  padding: 30px 20px;
  text-align: center;
  background: rgba(7, 9, 14, 0.3);
  cursor: pointer;
  position: relative;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.drag-drop-zone:hover,
.drag-drop-zone.dragover {
  border-color: var(--accent-primary);
  background: rgba(0, 229, 255, 0.03);
  transform: scale(1.01);
}

/* 라이트모드: 업로드 존 배경 교정 */
[data-mode="light"] .drag-drop-zone {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(8, 145, 178, 0.25);
}

[data-mode="light"] .drag-drop-zone:hover,
[data-mode="light"] .drag-drop-zone.dragover {
  background: rgba(8, 145, 178, 0.05);
}


.hidden-file-input {
  display: none;
}

.zone-info-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.zone-icon-pulse {
  font-size: 2.2rem;
  margin-bottom: 5px;
  animation: bounce-pulse 2s infinite alternate;
}

@keyframes bounce-pulse {
  0% {
    transform: translateY(0);
    filter: drop-shadow(0 0 2px rgba(0, 229, 255, 0.2));
  }

  100% {
    transform: translateY(-5px);
    filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.6));
  }
}

.zone-main-text {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
}

.zone-sub-text {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.zone-preview-content {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  background: rgba(7, 9, 14, 0.8);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 6px;
  padding: 10px 15px;
}

.preview-img-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.preview-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-metadata {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.preview-filename {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}

.preview-filesize {
  font-family: var(--text-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.preview-remove-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  transition: color 0.3s;
}

.preview-remove-btn:hover {
  color: #ef4444;
}

.event-submit-btn {
  width: 100%;
  background: var(--gradient-orange);
  border: none;
  border-radius: 6px;
  padding: 14px 20px;
  color: #ffffff;
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.2);
  transition: all 0.3s ease;
}

.event-submit-btn:hover {
  filter: brightness(1.1);
  box-shadow: 0 5px 22px rgba(255, 107, 53, 0.4);
  transform: translateY(-2px);
}

.event-info-panel {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-details-box {
  background: rgba(255, 255, 255, 0.02);
  border-left: 3px solid var(--accent-secondary);
  border-radius: 0 12px 12px 0;
  padding: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  border-right: 1px solid rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.info-panel-title {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 15px;
}

.info-rules-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.info-rules-list li strong {
  color: var(--text-main);
}

.info-rules-list ul {
  list-style: none;
  margin-top: 8px;
  padding-left: 15px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.info-rules-list ul li::before {
  content: '▪';
  color: var(--accent-secondary);
  margin-right: 8px;
}

.past-winners-box {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.winners-title {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
}

.winners-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  position: relative;
  cursor: pointer;
  aspect-ratio: 1/1;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.08);
}

.gallery-caption-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7, 9, 14, 0.9) 100%);
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-caption-overlay {
  opacity: 1;
}

.win-rank {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-primary);
}

.win-title {
  font-size: 0.78rem;
  font-weight: 500;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.gallery-popover-modal {
  position: fixed;
  inset: 0;
  margin: auto;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(25px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  border-radius: 20px;
  width: min(600px, 90vw);
  max-height: 85vh;
  overflow-y: auto;
  padding: 0;
  color: #ffffff;
  z-index: 9999;
}

.gallery-popover-modal::backdrop {
  background: rgba(4, 5, 8, 0.85);
  backdrop-filter: blur(8px);
}

.popover-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 10;
}

.popover-close-btn:hover {
  background: #ef4444;
  border-color: #ef4444;
}

.popover-body {
  display: flex;
  flex-direction: column;
}

.popover-img-wrapper {
  width: 100%;
  aspect-ratio: 16/10;
  border-bottom: 1px solid var(--glass-border);
  overflow: hidden;
}

.popover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popover-desc {
  padding: 30px;
}

.popover-badge {
  display: inline-block;
  font-family: var(--text-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 10px;
}

.popover-title {
  font-family: var(--font-title);
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.popover-desc p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.success-popover-modal {
  position: fixed;
  inset: 0;
  margin: auto;
  border: 1px solid rgba(0, 229, 255, 0.25);
  background: rgba(7, 9, 14, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 40px;
  width: min(450px, 90vw);
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 229, 255, 0.1);
  z-index: 9999;
}

.success-popover-modal::backdrop {
  background: rgba(4, 5, 8, 0.8);
  backdrop-filter: blur(5px);
}

.success-popover-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.success-check-icon {
  font-size: 3rem;
  animation: pop-bounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes pop-bounce {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.success-title {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 800;
}

.success-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.success-confirm-btn {
  margin-top: 10px;
  background: var(--gradient-primary);
  border: none;
  border-radius: 6px;
  padding: 10px 30px;
  color: #040508;
  font-family: var(--font-title);
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 229, 255, 0.25);
  transition: all 0.3s;
}

.success-confirm-btn:hover {
  filter: brightness(1.1);
  box-shadow: 0 4px 15px rgba(0, 229, 255, 0.45);
}

/* 🗞️ [Section 9] WEBZINE ARCHIVE */
.archive-tabs-container {
  display: flex;
  justify-content: center;
  position: relative;
  margin-bottom: 50px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-blueprint);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.archive-tabs-list {
  display: flex;
  gap: 30px;
  z-index: 2;
  position: relative; /* 자식인 .archive-tab-slider의 absolute 기준 조상 확정 */
}

.archive-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  padding: 8px 16px;
  transition: color 0.3s ease;
}

.archive-tab-btn.active {
  color: var(--accent-primary);
}

.archive-tab-slider {
  position: absolute;
  bottom: 0; /* 부모 탭 리스트의 하단선에 정확히 밀착 정렬 */
  left: 0;
  height: 2px;
  background: var(--accent-primary);
  box-shadow: 0 0 8px var(--accent-primary);
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  width: 0;
}

.archive-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  transition: opacity 0.3s ease;
}

.archive-card-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.archive-card-item:hover {
  transform: translateY(-6px);
  border-color: var(--glass-border-hover);
  box-shadow: 0 10px 25px rgba(0, 229, 255, 0.08);
}

.archive-cover-wrapper {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-bottom: 1px solid var(--glass-border);
  position: relative;
}

.current-vol-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--accent-primary);
  color: #040508;
  font-family: var(--font-title);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  box-shadow: 0 0 10px var(--accent-primary);
  z-index: 2;
}

.archive-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.archive-card-item:hover .archive-cover {
  transform: scale(1.04);
}

.cover-fallback {
  aspect-ratio: 3/4;
  border-radius: 0;
  border: none;
}

.fallback-icon {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.fallback-vol {
  font-family: var(--text-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.archive-info-content {
  padding: 24px;
}

.archive-vol {
  font-family: var(--text-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-primary);
  letter-spacing: 0.05em;
}

.archive-date {
  font-family: var(--text-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-left: 10px;
}

.archive-card-title {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 8px 0 12px 0;
}

.archive-article {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.archive-card-item:hover .archive-card-title {
  color: var(--accent-primary);
}

/* 🦶 [Section 10] FOOTER */
.blueprint-footer {
  background: #040508;
  position: relative;
  padding: 80px 6% 40px 6%;
  z-index: 2;
}

.footer-blueprint-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(0, 229, 255, 0.15);
}

.footer-blueprint-line.top {
  top: 0;
}

.line-cross {
  position: absolute;
  width: 12px;
  height: 12px;
  top: 50%;
  transform: translateY(-50%);
}

.line-cross::before,
.line-cross::after {
  content: '';
  position: absolute;
  background: var(--accent-primary);
}

.line-cross::before {
  left: 50%;
  width: 1px;
  height: 100%;
  transform: translateX(-50%);
}

.line-cross::after {
  top: 50%;
  height: 1px;
  width: 100%;
  transform: translateY(-50%);
}

.line-cross.left {
  left: 4%;
}

.line-cross.right {
  right: 4%;
}

.footer-grid-container {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1.1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  font-family: var(--font-title);
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin-bottom: 8px;
}

.footer-slogan {
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-primary);
  letter-spacing: 0.05em;
  margin-bottom: 15px;
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 25px;
}

.footer-scale-bar {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 160px;
}

.scale-text {
  font-family: var(--text-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
}

.scale-ruler {
  width: 100%;
  height: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-top: none;
  display: flex;
  justify-content: space-between;
}

.ruler-tick {
  width: 1px;
  height: 5px;
  background: rgba(255, 255, 255, 0.15);
}

.footer-col-title {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--accent-primary);
}

.footer-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-info-list strong {
  color: var(--text-main);
}

.meta-mono {
  font-family: var(--text-mono);
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-notice {
  font-size: 0.78rem;
  color: rgba(239, 68, 68, 0.6);
}

.hidden {
  display: none !important;
}

/* ==========================================================================
   4. 모바일 시뮬레이터 호환을 위한 @container 쿼리 (미디어 쿼리 대신 적용)
   ========================================================================== */
@container (max-width: 992px) {

  .project-item.z-row,
  .project-item.z-row.reverse {
    flex-direction: column;
    gap: 25px;
  }

  .project-image-wrapper,
  .project-text-content {
    flex: unset;
    width: 100%;
  }

  .dashboard-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .field-bento-grid {
    grid-template-columns: 1fr;
  }

  .safety-visual-dashboard {
    flex-direction: column;
    gap: 24px;
  }

  .safety-counter-card,
  .safety-sub-stats {
    width: 100%;
    flex: unset;
  }

  .safety-rules-grid {
    grid-template-columns: 1fr;
  }

  .event-grid-container {
    grid-template-columns: 1fr;
  }

  .archive-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@container (max-width: 600px) {
  .section-container {
    padding: 80px 4% 80px 4%;
  }

  .event-form-glass-card {
    padding: 24px 16px;
  }

  .form-row-group {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .visual-title {
    font-size: 2.3rem !important;
  }

  .visual-desc {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }

  .visual-controllers {
    gap: 20px;
  }

  .dashboard-stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-num {
    font-size: 2.2rem;
  }

  .counter-num {
    font-size: 2.1rem;
  }

  .people-interview-box {
    padding: 30px;
  }

  .profile-avatar-wrapper {
    width: 70px;
    height: 95px;
  }

  .interview-quote {
    font-size: 1.12rem;
  }

  .timeline-scroll-line-wrapper {
    left: 20px;
  }

  .timeline-dot-marker {
    left: 20px;
  }

  .timeline-content-card {
    width: calc(100% - 40px);
    margin-left: 40px;
  }

  .timeline-item:nth-child(odd) {
    justify-content: flex-end;
  }

  .timeline-item:nth-child(odd) .timeline-content-card::after {
    left: -8px;
    right: unset;
    border-right: none;
    border-top: none;
    border-left: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
  }

  .winners-gallery-grid {
    grid-template-columns: 1fr;
  }

  .archive-cards-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   5. Safety First 섹션 라이트 모드 가독성 보완 - 다크모드 배색 100% 강제 연동
   ========================================================================== */
[data-mode="light"] #safety-campaign {
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --glass-bg: rgba(12, 18, 32, 0.75);
  --glass-border: rgba(0, 229, 255, 0.12);
  --glass-border-hover: rgba(0, 229, 255, 0.35);
  --bg-blueprint: #07090e;

  /* 원래 다크모드 전용 쨍한 시안 네온 및 건설 오렌지 컬러 변수 강제 복구 주입 */
  --accent-primary: #00e5ff;
  --accent-secondary: #ff6b35;
}

[data-mode="light"] #safety-campaign .section-title,
[data-mode="light"] #safety-campaign .rule-title,
[data-mode="light"] #safety-campaign .counter-unit,
[data-mode="light"] #safety-campaign .sub-stat-unit {
  color: #f1f5f9 !important; /* 다크모드 var(--text-main) 본래 색상과 100% 일치 */
}

[data-mode="light"] #safety-campaign .section-desc,
[data-mode="light"] #safety-campaign .counter-label,
[data-mode="light"] #safety-campaign .counter-date,
[data-mode="light"] #safety-campaign .sub-stat-label,
[data-mode="light"] #safety-campaign .rule-desc {
  color: #94a3b8 !important; /* 다크모드 var(--text-muted) 본래 색상과 100% 일치 */
}

/* 무재해 숫자 및 서브 수치는 다크모드와 동일하게 포인트 색상 보장 */
[data-mode="light"] #safety-campaign .counter-num {
  color: var(--accent-primary) !important;
  text-shadow: 0 0 20px rgba(0, 229, 255, 0.4) !important;
}

[data-mode="light"] #safety-campaign .sub-stat-value {
  color: var(--accent-secondary) !important;
  text-shadow: 0 0 10px rgba(255, 107, 53, 0.2) !important;
}

/* 카드 및 백그라운드 질감 보장 */
[data-mode="light"] #safety-campaign .rule-card {
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  background: rgba(12, 18, 32, 0.85) !important;
}

[data-mode="light"] #safety-campaign .sub-stat-item {
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  background: rgba(12, 18, 32, 0.8) !important;
}