@charset "UTF-8";
/* ============================================================
 *  WAC 2026 — Subpage Upgrade v3
 *  Wide layout (1600px) + sky aviation theme
 *  Loaded after main.css; affects only body.is-sub
 * ============================================================ */

/* ─────────────────────────────────────────────────────────────
   1. Sky background layer
   ──────────────────────────────────────────────────────────── */
body.is-sub {
  background:
    linear-gradient(180deg,
      #e8f3fc 0%,
      #f0f7fd 25%,
      #f8fbfe 55%,
      #ffffff 100%
    ) no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
}

/* Floating cloud decorations */
body.is-sub::before,
body.is-sub::after {
  content: '';
  position: fixed;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}
body.is-sub::before {
  top: 12vh; right: -180px;
  width: 540px; height: 200px;
  background: radial-gradient(ellipse at center,
    rgba(255,255,255,0.95) 0%,
    rgba(255,255,255,0.55) 35%,
    rgba(255,255,255,0) 70%);
  filter: blur(2px);
  animation: bodyCloudA 60s ease-in-out infinite alternate;
}
body.is-sub::after {
  top: 55vh; left: -200px;
  width: 580px; height: 220px;
  background: radial-gradient(ellipse at center,
    rgba(255,255,255,0.9) 0%,
    rgba(255,255,255,0.5) 40%,
    rgba(255,255,255,0) 70%);
  filter: blur(3px);
  animation: bodyCloudB 80s ease-in-out infinite alternate;
}
@keyframes bodyCloudA {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(-120px, 30px); }
}
@keyframes bodyCloudB {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(140px, -20px); }
}

/* #header is fixed-positioned by main.css — DO NOT override its position.
   We only need to ensure it stays above the cloud layer. */
body.is-sub #header { z-index: 1000; }

/* Other content blocks sit above clouds */
body.is-sub > main,
body.is-sub > footer,
body.is-sub > #sub-visual,
body.is-sub > .marquee-wrap { position: relative; z-index: 1; }

/* Modals/dialogs always on top */
body.is-sub .speaker-modal,
body.is-sub .introduce-modal { z-index: 10000; }


/* ─────────────────────────────────────────────────────────────
   2. Header — widened to 1600px on subpages
   ──────────────────────────────────────────────────────────── */
body.is-sub #header { max-width: 1620px; }
body.is-sub .header-inner { max-width: 1620px; padding: 0 40px; }


/* ─────────────────────────────────────────────────────────────
   3. Sub-visual — Vimeo video background with fail-safe fallback
   ──────────────────────────────────────────────────────────── */
body.is-sub #sub-visual {
  position: relative;
  overflow: hidden;
  padding: 175px 40px 110px;
  /* Strong static fallback — always visible regardless of video */
  background:
    linear-gradient(180deg, rgba(0, 30, 80, 0.30) 0%, rgba(0, 50, 110, 0.50) 100%),
    url('https://www.icn-wac.kr/images/2024/visual_bg.jpg') center center / cover no-repeat,
    linear-gradient(160deg, #0a4d8c 0%, #1f8acf 50%, #6cc4ee 100%);
}

/* ============================================================
 *  Sub-visual — robust against Vimeo embed failure (401/403)
 *  Layer order (bottom → top):
 *    1. body gradient / sub-visual base color (deep navy)
 *    2. .sv-bg-video container with static cloud background
 *    3. iframe (with own dark background so broken icon never shows)
 *    4. .sv-overlay (blue tint)
 *    5. .sv-inner (text)
 * ============================================================ */

/* Container: strong static fallback that's always visible */
body.is-sub .sv-bg-video {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(94, 181, 255, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(31, 138, 207, 0.20) 0%, transparent 50%),
    linear-gradient(180deg, #0a2b52 0%, #0d3b7a 50%, #0a4d8c 100%);
}

/* Optional: subtle cloud texture (commented out — file may not exist) */
body.is-sub .sv-bg-video::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(255,255,255,0.08) 0%, transparent 40%),
    radial-gradient(ellipse at 80% 90%, rgba(255,255,255,0.06) 0%, transparent 40%);
  pointer-events: none;
}

/* iframe — own dark background hides broken-icon when Vimeo returns 401 */
body.is-sub .sv-bg-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100%;
  min-width: 177.78vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
  border: 0;
  background-color: #0a3b6e;   /* matches fallback; hides broken-icon area */
  opacity: 0;
  transition: opacity 1.2s ease;
  filter: saturate(1.05) contrast(1.02);
}
body.is-sub .sv-bg-video iframe.is-playing {
  opacity: 0.42;
}

/* Dark sky overlay above the video for text legibility */
body.is-sub .sv-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(0, 30, 80, 0.62) 0%,
      rgba(10, 77, 140, 0.55) 50%,
      rgba(31, 138, 207, 0.58) 100%
    );
}

body.is-sub #sub-visual .sv-inner {
  position: relative;
  z-index: 5;
  max-width: 1600px;
  margin: 0 auto;
}
body.is-sub #sub-visual .sv-path {
  position: absolute;
  z-index: 5;
}

body.is-sub .sv-eyebrow {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 5px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 24px;
}
body.is-sub .sv-title {
  font-size: 58px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1.5px;
  text-shadow: 0 6px 28px rgba(0, 30, 80, 0.5);
}
body.is-sub .sv-subtitle {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.6;
  margin-top: 22px;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 2px 12px rgba(0, 30, 80, 0.4);
}
body.is-sub .sv-path {
  font-size: 14px;
  letter-spacing: 2px;
  bottom: 32px;
}

@media (max-width: 1200px) {
  body.is-sub #sub-visual { padding: 150px 32px 90px; }
  body.is-sub .sv-title { font-size: 45px; letter-spacing: -1.2px; }
  body.is-sub .sv-subtitle { font-size: 19px; }
}
@media (max-width: 768px) {
  body.is-sub #sub-visual { padding: 130px 20px 70px; }
  body.is-sub .sv-eyebrow { font-size: 12px; letter-spacing: 3px; margin-bottom: 16px; }
  body.is-sub .sv-title { font-size: 31px; letter-spacing: -0.8px; line-height: 1.2; }
  body.is-sub .sv-subtitle { font-size: 16px; margin-top: 14px; line-height: 1.55; }
  body.is-sub .sv-path { font-size: 11px; letter-spacing: 1.5px; bottom: 20px; gap: 6px; }
  /* Mobile: video stays slightly weaker if playing */
  body.is-sub .sv-bg-video iframe.is-playing { opacity: 0.5; }
}

/* Performance: reduce motion if user prefers */
@media (prefers-reduced-motion: reduce) {
  body.is-sub .sv-bg-video iframe { display: none !important; }
}


/* ─────────────────────────────────────────────────────────────
   4. Content area — 1600px wide
   ──────────────────────────────────────────────────────────── */
body.is-sub #content {
  background: transparent;
  padding: 40px 40px 140px;
}
body.is-sub .content-inner {
  max-width: 1600px;
  margin: 0 auto;
}

@media (max-width: 1200px) {
  body.is-sub #content { padding: 36px 32px 110px; }
}
@media (max-width: 768px) {
  body.is-sub #content { padding: 28px 18px 90px; }
}


/* ─────────────────────────────────────────────────────────────
   5. Typography — scaled up for wide layout
   ──────────────────────────────────────────────────────────── */

/* Base body */
body.is-sub {
  font-size: 17px;
  line-height: 1.7;
  color: #2a3340;
  letter-spacing: -0.005em;
}

/* page-body default content */
body.is-sub .page-body {
  font-size: 18px;
  line-height: 1.85;
  color: #3a4456;
}
body.is-sub .page-body p {
  font-size: 18px;
  line-height: 1.85;
  color: #3a4456;
  margin-bottom: 22px;
}
body.is-sub .page-body h2,
body.is-sub .page-body h3,
body.is-sub .page-body h4 {
  color: #1f3a5f;
  letter-spacing: -0.018em;
  font-weight: 700;
}
body.is-sub .page-body h2 { font-size: 42px; margin: 60px 0 26px; line-height: 1.25; }
body.is-sub .page-body h3 { font-size: 30px; margin: 48px 0 20px; line-height: 1.3; }
body.is-sub .page-body h4 { font-size: 23px; margin: 38px 0 16px; line-height: 1.4; }
body.is-sub .page-body ul,
body.is-sub .page-body ol { margin: 18px 0 24px; padding-left: 28px; }
body.is-sub .page-body li { font-size: 17.5px; line-height: 1.8; color: #3a4456; margin-bottom: 8px; }

body.is-sub .page-body strong { color: #1f3a5f; font-weight: 600; }
body.is-sub .page-body a {
  color: #0078d4;
  text-decoration: none;
  border-bottom: 1px solid #cfe3f5;
  transition: border-color .15s ease;
}
body.is-sub .page-body a:hover { border-bottom-color: #0078d4; }

@media (max-width: 768px) {
  body.is-sub { font-size: 15px; }
  body.is-sub .page-body,
  body.is-sub .page-body p { font-size: 16px; line-height: 1.78; }
  body.is-sub .page-body h2 { font-size: 30px; margin: 40px 0 18px; }
  body.is-sub .page-body h3 { font-size: 23px; margin: 32px 0 14px; }
  body.is-sub .page-body h4 { font-size: 19px; margin: 26px 0 12px; }
  body.is-sub .page-body li { font-size: 15.5px; }
}


/* ─────────────────────────────────────────────────────────────
   6. Section heading
   ──────────────────────────────────────────────────────────── */
body.is-sub .section-head { margin-bottom: 90px; text-align: center; }
body.is-sub .section-eyebrow {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 4px;
  color: #0078d4;
  margin-bottom: 20px;
  text-transform: uppercase;
}
body.is-sub .section-title {
  font-size: 54px;
  font-weight: 800;
  color: #1f3a5f;
  line-height: 1.18;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}
body.is-sub .section-desc {
  font-size: 19px;
  line-height: 1.75;
  color: #5a6a7d;
  max-width: 920px;
  margin: 0 auto;
}
body.is-sub .section-head::after {
  content: '';
  display: block;
  width: 64px; height: 2px;
  background: linear-gradient(90deg, #0078d4 0%, #6cc4ee 100%);
  margin: 32px auto 0;
  border-radius: 2px;
  opacity: 0.55;
}

@media (max-width: 1200px) {
  body.is-sub .section-title { font-size: 44px; letter-spacing: -1.2px; }
  body.is-sub .section-desc { font-size: 17.5px; }
}
@media (max-width: 768px) {
  body.is-sub .section-head { margin-bottom: 56px; }
  body.is-sub .section-eyebrow { font-size: 12.5px; letter-spacing: 3px; }
  body.is-sub .section-title { font-size: 30px; letter-spacing: -0.7px; }
  body.is-sub .section-desc { font-size: 15.5px; }
  body.is-sub .section-head::after { width: 48px; margin-top: 24px; }
}


/* ─────────────────────────────────────────────────────────────
   7. Common content blocks scaled for wide layout
   ──────────────────────────────────────────────────────────── */

/* Tables in page-body */
body.is-sub .page-body table {
  font-size: 17px;
  width: 100%;
  margin: 24px 0;
}
body.is-sub .page-body table th,
body.is-sub .page-body table td {
  padding: 16px 18px;
  line-height: 1.6;
}

/* Board list */
body.is-sub .board-list { font-size: 16px; }
body.is-sub .board-list th { padding: 18px 14px; font-size: 15px; }
body.is-sub .board-list td { padding: 18px 14px; font-size: 15.5px; }


/* ─────────────────────────────────────────────────────────────
   8. Sky-card helper — floating panel on sky
   ──────────────────────────────────────────────────────────── */
body.is-sub .sky-card {
  background: #fff;
  border-radius: 24px;
  padding: 80px 90px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 30px 80px -30px rgba(31, 93, 169, 0.18),
    0 8px 24px -12px rgba(31, 93, 169, 0.10);
  border: 1px solid rgba(207, 227, 245, 0.6);
}
@media (max-width: 1200px) {
  body.is-sub .sky-card { padding: 60px 50px; }
}
@media (max-width: 768px) {
  body.is-sub .sky-card { padding: 40px 24px; border-radius: 18px; }
}


/* ─────────────────────────────────────────────────────────────
   9. Print-safe
   ──────────────────────────────────────────────────────────── */
@media print {
  body.is-sub { background: #fff !important; }
  body.is-sub::before, body.is-sub::after { display: none !important; }
}


/* ============================================================
 *  Main page — Vimeo background (은은한 영상)
 *  Affects body.is-main .Main_visual
 * ============================================================ */
body.is-main .Main_visual {
  position: relative;
  overflow: hidden;
}
body.is-main .mv-bg-video {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(94, 181, 255, 0.20) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(31, 138, 207, 0.18) 0%, transparent 50%),
    linear-gradient(180deg, #061a3a 0%, #0a2b52 50%, #0a4d8c 100%);
}
body.is-main .mv-bg-video::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(255,255,255,0.06) 0%, transparent 45%),
    radial-gradient(ellipse at 80% 90%, rgba(255,255,255,0.05) 0%, transparent 45%);
  pointer-events: none;
}
body.is-main .mv-bg-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100%;
  min-width: 177.78vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
  border: 0;
  background-color: #08234c;   /* hides broken-icon when Vimeo blocks the embed */
  opacity: 0;
  transition: opacity 1.2s ease;
  filter: saturate(1.1) contrast(1.05);
}
body.is-main .mv-bg-video iframe.is-playing {
  opacity: 0.38;
}

/* Subtle dark overlay above video so the text + typing effect read clearly */
body.is-main .mv-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(0, 12, 35, 0.62) 0%,
      rgba(0, 30, 75, 0.48) 50%,
      rgba(0, 25, 65, 0.62) 100%
    );
}

/* Make sure text content sits above everything */
body.is-main .Main_visual .mv-content {
  position: relative;
  z-index: 5;
}
body.is-main .Main_visual .cloud {
  z-index: 2;
}

@media (max-width: 768px) {
  body.is-main .mv-bg-video iframe.is-playing { opacity: 0.4; }
}

@media (prefers-reduced-motion: reduce) {
  body.is-main .mv-bg-video iframe { display: none !important; }
}
  body.is-main .mv-bg-video iframe { display: none; }
}


/* ============================================================
 *  Program / Sessions page — font + width upgrade
 * ============================================================ */

/* Conference theme line */
body.is-sub .session-theme-line {
  max-width: 1600px;
  margin: 30px auto 50px;
  padding: 24px 30px;
  border-radius: 0 10px 10px 0;
  background: #f4f8fc;
  border-left: 4px solid #003a78;
}
body.is-sub .theme-label {
  font-size: 13px;
  letter-spacing: 3px;
  margin-bottom: 8px;
  color: #0078d4;
}
body.is-sub .theme-text {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
  color: #1f3a5f;
}

/* Day tabs */
body.is-sub .day-tabs {
  max-width: 820px;
  margin: 0 auto 50px;
  padding: 8px;
  border-radius: 14px;
  background: #f0f4f9;
}
body.is-sub .day-tab {
  padding: 18px 26px;
  border-radius: 10px;
}
body.is-sub .day-tab .dt-label {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: 0.4px;
}
body.is-sub .day-tab .dt-date {
  font-size: 14px;
  font-weight: 500;
}
body.is-sub .day-tab.active {
  box-shadow: 0 3px 12px rgba(0, 30, 80, 0.10);
}

/* Session card */
body.is-sub .sd-card {
  max-width: 1600px;
  margin-bottom: 18px;
  padding: 36px 44px;
  border-radius: 12px;
  border: 1px solid #e5e9ee;
}
body.is-sub .sd-card:hover {
  box-shadow: 0 6px 20px rgba(0, 30, 80, 0.07);
}
body.is-sub .sd-head {
  font-size: 24px;
  font-weight: 800;
  color: #003a78;
  letter-spacing: -0.4px;
  margin: 0 0 6px;
  line-height: 1.35;
}
body.is-sub .sd-subtitle {
  font-size: 17px;
  font-weight: 500;
  color: #5a6a7d;
  margin: 8px 0 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid #eef3f8;
  line-height: 1.5;
}

/* Speaker list inside cards */
body.is-sub .sd-list li {
  padding: 12px 0;
  gap: 18px;
}
body.is-sub .sd-role {
  min-width: 100px;
  padding: 5px 14px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 5px;
  line-height: 1.7;
}
body.is-sub .sd-name {
  font-size: 17px;
  line-height: 1.6;
  color: #2a3340;
}
body.is-sub .sd-name b {
  color: #003a78;
  font-weight: 700;
  font-size: 17.5px;
}
body.is-sub .sd-meta {
  color: #5a6a7d;
  font-weight: 400;
  font-size: 16.5px;
}

/* Program tabs (top sub-nav within page) */
body.is-sub .program-tabs li a {
  padding: 16px 18px;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  body.is-sub .session-theme-line { padding: 18px 22px; margin-bottom: 28px; }
  body.is-sub .theme-label { font-size: 11px; letter-spacing: 2.2px; }
  body.is-sub .theme-text { font-size: 16px; line-height: 1.4; }

  body.is-sub .day-tabs { margin-bottom: 32px; padding: 5px; }
  body.is-sub .day-tab { padding: 12px 14px; }
  body.is-sub .day-tab .dt-label { font-size: 14px; }
  body.is-sub .day-tab .dt-date { font-size: 12px; }

  body.is-sub .sd-card { padding: 24px 22px; }
  body.is-sub .sd-head { font-size: 19px; }
  body.is-sub .sd-subtitle { font-size: 14.5px; margin-bottom: 16px; padding-bottom: 12px; }
  body.is-sub .sd-list li { flex-direction: column; gap: 6px; align-items: flex-start; padding: 12px 0; }
  body.is-sub .sd-role { min-width: 0; font-size: 11.5px; padding: 3px 10px; }
  body.is-sub .sd-name { font-size: 15px; }
  body.is-sub .sd-name b { font-size: 15.5px; }
  body.is-sub .sd-meta { font-size: 14.5px; }
}


/* ============================================================
 *  Program / Tour page — sizing + font upgrade
 * ============================================================ */

/* Tour card - constrain to readable width */
body.is-sub .tour-card {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow:
    0 6px 24px rgba(0, 30, 80, 0.08),
    0 2px 6px rgba(0, 30, 80, 0.04);
  border: 1px solid rgba(207, 227, 245, 0.6);
}

body.is-sub .tour-head {
  padding: 26px 36px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0;
  background: linear-gradient(135deg, #003a78 0%, #0078d4 100%);
}

/* Image — improved aspect ratio */
body.is-sub .tour-image {
  max-height: 460px;
  background: #eef3f8;
}

/* Table — bigger fonts, more breathing room */
body.is-sub .tour-table th {
  width: 220px;
  padding: 22px 30px;
  font-size: 16px;
  font-weight: 700;
  color: #003a78;
  background: #f7fafd;
  letter-spacing: -0.005em;
}
body.is-sub .tour-table td {
  padding: 22px 30px;
  font-size: 17px;
  line-height: 1.75;
  color: #2a3340;
}

/* Bullet list inside cells */
body.is-sub .tour-list li {
  font-size: 16.5px;
  line-height: 1.75;
  padding-left: 22px;
  margin-bottom: 8px;
}
body.is-sub .tour-list li::before {
  font-size: 20px;
  left: 4px;
  top: -1px;
}

/* Footer eligible notice */
body.is-sub .tour-eligible {
  padding: 22px 36px;
  font-size: 16px;
  line-height: 1.6;
}

/* Mobile */
@media (max-width: 768px) {
  body.is-sub .tour-head { padding: 20px 22px; font-size: 21px; }
  body.is-sub .tour-image { max-height: 280px; }
  body.is-sub .tour-table th,
  body.is-sub .tour-table td { display: block; width: auto; padding: 14px 22px; }
  body.is-sub .tour-table th { padding-bottom: 4px; font-size: 14px; }
  body.is-sub .tour-table td { font-size: 15.5px; padding-top: 6px; }
  body.is-sub .tour-list li { font-size: 15px; }
  body.is-sub .tour-eligible { padding: 18px 22px; font-size: 14.5px; }
}


/* ============================================================
 *  Header logo — text-based, two-line (영문 + 한글 부제)
 *  Applies to BOTH main and sub pages
 * ============================================================ */

/* Header container — widen to match 1600px content policy */
#header { max-width: 1600px; }
#header .header-inner {
  max-width: 1600px;
  padding: 0 24px;
  gap: 18px;
}

/* GNB menu — compact padding + no wrap so all 8 items fit on one line */
#header .gnb-list { gap: 2px; }
#header .gnb-link {
  white-space: nowrap;
  padding: 10px 14px;
  font-size: 14px;
}
#header .util-link { white-space: nowrap; }

#header .logo { line-height: 1; }
#header .logo a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
#header .logo-text-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1;
  white-space: nowrap;
}
#header .logo-en {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.3px;
  white-space: nowrap;
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.45),
    0 0 3px rgba(0, 0, 0, 0.35);
  line-height: 1.05;
  transition: color .25s, text-shadow .25s;
}
#header .logo-en em {
  font-style: normal;
  background: linear-gradient(135deg, #5eb5ff 0%, #ffffff 60%, #b8d6f5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  white-space: nowrap;
}
#header .logo-kr {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: -0.005em;
  white-space: nowrap;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  transition: color .25s, text-shadow .25s;
}

/* When header scrolled (white glass) — switch to dark text */
#header.scrolled .logo-en {
  color: #1f3a5f;
  text-shadow: none;
}
#header.scrolled .logo-en em {
  background: linear-gradient(135deg, #1f5da9 0%, #0078d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
#header.scrolled .logo-kr {
  color: #5a6a7d;
  text-shadow: none;
}

/* Responsive */
@media (max-width: 1440px) {
  #header .gnb-link { padding: 10px 11px; font-size: 13.5px; }
  #header .logo-en { font-size: 15px; }
  #header .logo-kr { font-size: 10.5px; }
}
@media (max-width: 1280px) {
  #header .gnb-link { padding: 10px 9px; font-size: 13px; }
  #header .header-inner { padding: 0 20px; gap: 12px; }
  #header .logo-en { font-size: 14px; letter-spacing: 0.2px; }
  #header .logo-kr { font-size: 10px; }
}
@media (max-width: 1100px) {
  #header .logo-en { font-size: 13px; }
  #header .logo-kr { font-size: 10px; }
}
/* Below 1024px the mobile menu typically takes over (existing main.css logic) */
@media (max-width: 560px) {
  /* 행사명이 한 줄이면 폭을 다 먹어 햄버거가 안 보임 → 2줄로 줄임 */
  #header .logo-en { font-size: 12.5px; line-height: 1.2; white-space: normal; }
  #header .logo-en-row { display: block; white-space: nowrap; }
  #header .logo-kr { display: none; }   /* 좁은 모바일: 영문 2줄만 */
}


/* ============================================================
 *  SPA Router visual cues
 * ============================================================ */

/* Sub-visual title reveal — airplane flies across, characters fade in along its path */
#sub-visual .sv-title-stage {
  position: relative;
  display: inline-block;
  /* allow plane to fly slightly past the right edge */
  padding-right: 30px;
}
#sub-visual .sv-title-stage .sv-title {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin: 0;
}

/* Each character: starts invisible, fades up smoothly */
#sub-visual .sv-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px) scale(0.92);
  filter: blur(4px);
  transition:
    opacity 0.7s cubic-bezier(.2, .65, .25, 1),
    transform 0.7s cubic-bezier(.2, .65, .25, 1),
    filter 0.7s cubic-bezier(.2, .65, .25, 1);
}
#sub-visual .sv-char.is-space {
  width: 0.3em;   /* preserve space width */
}
#sub-visual .sv-char.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Vapor trail (white gradient line behind the plane) */
#sub-visual .sv-plane-trail {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 2;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.0) 5%,
    rgba(255, 255, 255, 0.45) 40%,
    rgba(255, 255, 255, 0.80) 80%,
    rgba(184, 214, 245, 0.95) 100%);
  transform: translateY(-50%);
  border-radius: 3px;
  filter: blur(2px);
  opacity: 0;
  pointer-events: none;
}

/* Airplane itself */
#sub-visual .sv-plane {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 3;
  width: 52px;
  height: 52px;
  color: #ffffff;
  transform: translate(-50%, -55%);
  opacity: 0;
  pointer-events: none;
  filter:
    drop-shadow(0 6px 14px rgba(0, 30, 80, 0.55))
    drop-shadow(0 0 18px rgba(184, 214, 245, 0.6));
}
#sub-visual .sv-plane svg {
  width: 100%;
  height: 100%;
  display: block;
  /* Plane SVG points UP by default → rotate to point RIGHT (with slight upward tilt) */
  transform: rotate(95deg);
}

/* During the reveal animation */
#sub-visual .sv-title-stage.is-revealing .sv-plane {
  opacity: 1;
  left: calc(100% + 10px);
  transition:
    left 1.8s cubic-bezier(.35, 0, .25, 1),
    opacity 0.28s ease;
}
#sub-visual .sv-title-stage.is-revealing .sv-plane-trail {
  width: 100%;
  opacity: 0.8;
  transition:
    width 1.8s cubic-bezier(.35, 0, .25, 1),
    opacity 0.25s ease;
}

/* After the reveal completes — plane disappears, trail fades into the sky */
#sub-visual .sv-title-stage.is-revealed .sv-plane {
  opacity: 0;
  transition: opacity 0.5s ease 0.15s;
}
#sub-visual .sv-title-stage.is-revealed .sv-plane-trail {
  opacity: 0;
  transition: opacity 1.1s ease 0.3s;
}

/* Responsive: smaller plane on smaller screens */
@media (max-width: 1024px) {
  #sub-visual .sv-plane { width: 44px; height: 44px; }
  #sub-visual .sv-plane-trail { height: 3px; }
}
@media (max-width: 640px) {
  #sub-visual .sv-plane { width: 34px; height: 34px; }
  #sub-visual .sv-plane-trail { height: 3px; }
  #sub-visual .sv-title-stage { padding-right: 16px; }
}

/* Subtle loading indicator while SPA fetches the next page */
body.spa-loading { cursor: progress; }
body.spa-loading::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #5eb5ff, #0078d4, #5eb5ff, transparent);
  background-size: 200% 100%;
  z-index: 99999;
  animation: spaProgressBar 1.2s linear infinite;
  pointer-events: none;
}
@keyframes spaProgressBar {
  0%   { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* Active menu — subtle white pill */
#header .gnb-link.is-active {
  background: rgba(255, 255, 255, 0.18);
}
#header.scrolled .gnb-link.is-active {
  background: rgba(31, 93, 169, 0.10);
  color: #0078d4;
}

/* Smooth content fade transitions */
body main#content,
body .Main_visual {
  will-change: opacity;
}
