/* ============================================================
   DT. 김병희 — Korea's First eLab Instructor
   Design: Dark premium, eLab Gold (#F5C800)
   ============================================================ */

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:       #F5C800;
  --gold-dim:   #c9a300;
  --gold-glow:  rgba(245, 200, 0, 0.18);
  --bg:         #0a0a0f;
  --bg-alt:     #111118;
  --bg-card:    #16161f;
  --border:     rgba(245, 200, 0, 0.15);
  --border-dim: rgba(255,255,255,0.07);
  --text:       #f0ede8;
  --text-sub:   rgba(240,237,232,0.55);
  --text-muted: rgba(240,237,232,0.35);
  --nav-h:      80px;
  --container:  1200px;
  --radius:     12px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', 'Noto Sans KR', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  width: 100%;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { background: none; border: none; cursor: pointer; }

/* ===== CUSTOM CURSOR ===== */
.cursor-dot, .cursor-ring {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--gold);
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(245,200,0,0.5);
  transition: width 0.25s, height 0.25s, border-color 0.25s;
}
.cursor-ring.hover {
  width: 56px; height: 56px;
  border-color: var(--gold);
}
@media (hover: none) { .cursor-dot, .cursor-ring { display: none; } }

/* ===== CONTAINER ===== */
.container {
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
}

/* ===== TYPOGRAPHY ===== */
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-label.center { display: block; text-align: center; }
.section-title {
  font-family: 'Cormorant Garamond', 'Noto Serif KR', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 1.2rem;
}
.section-title.center { text-align: center; }
.section-sub {
  font-size: 1rem;
  color: var(--text-sub);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

/* ===== SECTION ===== */
.section { padding: 100px 0; overflow-x: hidden; }
.section-dark-alt { background: var(--bg-alt); }
.section-elab { background: var(--bg); position: relative; overflow: hidden; }
.section-seminar { background: var(--bg-alt); }

/* ===== NAVIGATION ===== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  background: rgba(10,10,15,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 48px);
  gap: 12px;
}
.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
}
.logo-dt { color: var(--gold); }
.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-sub);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.lang-btn {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--gold);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 2px;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}
.lang-btn:hover { background: var(--gold); color: var(--bg); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text);
  transition: all 0.3s;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  will-change: transform;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,15,0.55) 0%,
    rgba(10,10,15,0.35) 40%,
    rgba(10,10,15,0.75) 80%,
    rgba(10,10,15,1) 100%
  );
}
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: var(--nav-h);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,200,0,0.1);
  border: 1px solid rgba(245,200,0,0.3);
  border-radius: 100px;
  padding: 6px 18px;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}
.hero-names { margin-bottom: 1.4rem; }
.hero-name-ko {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.18em;
  color: #fff;
}
.hero-name-en {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(0.75rem, 1.6vw, 0.9rem);
  font-weight: 300;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: 0.7rem;
}
.hero-divider {
  width: 60px;
  border: none;
  border-top: 1px solid var(--gold);
  margin: 1.5rem auto;
  opacity: 0.7;
}
.hero-role {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2.5rem;
}
.hero-cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--bg);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 2px;
  transition: background var(--transition), transform 0.2s;
}
.btn-primary:hover { background: #ffd600; transform: translateY(-2px); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.8);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 2px;
  transition: border-color var(--transition), color var(--transition), transform 0.2s;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
/* Hero social icons */
.hero-social {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 20px;
}
.hero-social-link {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  transition: border-color var(--transition), color var(--transition), background var(--transition), transform 0.2s;
}
.hero-social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(245,200,0,0.08);
  transform: translateY(-2px);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, transparent, rgba(245,200,0,0.6));
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
.scroll-text {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--text-muted);
}

/* ===== MARQUEE ===== */
.marquee-strip {
  background: var(--gold);
  overflow: hidden;
  padding: 14px 0;
}
.marquee-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  gap: 0;
}
.marquee-track span {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg);
  padding: 0 24px;
}
.marquee-sep {
  color: rgba(10,10,15,0.4) !important;
  padding: 0 4px !important;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 80px;
  align-items: start;
}
.about-img-frame {
  position: relative;
}
.about-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius);
  filter: grayscale(10%);
  transition: filter var(--transition);
}
.about-photo:hover { filter: grayscale(0%); }
.about-img-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(10px);
}
.badge-elab-logo {
  height: 24px;
  width: auto;
  filter: brightness(0) invert(1);
}
.about-img-badge span {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--gold);
  line-height: 1.5;
}
.about-img-badge span em {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 400;
  color: rgba(245,200,0,0.65);
  letter-spacing: 0.03em;
}
.about-stats {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  padding: 24px 20px;
  margin-top: 50px;
}
.stat-item { text-align: center; }
.stat-num {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.stat-divider {
  width: 1px; height: 40px;
  background: var(--border-dim);
}
.about-text-side { padding-top: 12px; }
.about-body {
  color: var(--text-sub);
  font-size: 0.97rem;
  line-height: 1.9;
  margin-bottom: 1.2rem;
}
.career-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 12px; }
.career-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9rem;
  color: var(--text-sub);
}
.career-icon {
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-glow);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--gold);
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* ===== eLAB SECTION ===== */
.elab-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,200,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,200,0,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.elab-header {
  text-align: center;
  margin-bottom: 60px;
}
.elab-main-logo {
  height: 40px;
  width: auto;
  margin: 0 auto 24px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.elab-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
  margin-bottom: 48px;
}
.elab-feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: border-color var(--transition), transform var(--transition);
}
.elab-feature-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
}
.elab-feature-card--wide {
  grid-column: 1 / -1;
}
.elab-card-icon {
  width: 48px; height: 48px;
  background: var(--gold-glow);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 18px;
}
.elab-feature-card h3 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.elab-feature-card p {
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 1.8;
}
.elab-product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.elab-showcase-text h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 14px;
}
.elab-showcase-text p { font-size: 0.92rem; color: var(--text-sub); line-height: 1.85; margin-bottom: 24px; }
.btn-elab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: 2px;
  transition: background var(--transition), color var(--transition);
}
.btn-elab:hover { background: var(--gold); color: var(--bg); }
.elab-showcase-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.showcase-img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}
.showcase-img-1 { aspect-ratio: 1; }
.showcase-img-2 { aspect-ratio: 1; margin-top: 24px; }
.elab-visual-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.elab-visual-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}
.elab-visual-card:hover { border-color: var(--border); }
.elab-visual-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.elab-visual-card:hover img { transform: scale(1.04); }
.elab-visual-caption {
  padding: 14px 16px;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  border-top: 1px solid var(--border-dim);
}

/* ===== PORTFOLIO ===== */
.portfolio-swiper-wrap {
  position: relative;
  padding: 0 60px;
}
.portfolioSwiper .swiper-slide { border-radius: var(--radius); overflow: hidden; }
.portfolio-slide-inner {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.portfolio-slide-inner img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.portfolioSwiper .swiper-slide-active .portfolio-slide-inner img { transform: scale(1.02); }
.slide-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px 28px 24px;
  background: linear-gradient(to top, rgba(10,10,15,0.85) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.slide-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 600;
  color: rgba(245,200,0,0.3);
  line-height: 1;
}
.slide-caption {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.portfolio-prev, .portfolio-next {
  width: 44px; height: 44px;
  background: rgba(245,200,0,0.1) !important;
  border: 1px solid var(--border) !important;
  border-radius: 50% !important;
  color: var(--gold) !important;
  transition: background var(--transition) !important;
}
.portfolio-prev:hover, .portfolio-next:hover { background: var(--gold-glow) !important; }
.portfolio-prev::after, .portfolio-next::after { font-size: 14px !important; color: var(--gold); }
.portfolioSwiper-pagination { bottom: -36px !important; }
.portfolioSwiper-pagination .swiper-pagination-bullet {
  background: var(--text-muted) !important;
  opacity: 1 !important;
}
.portfolioSwiper-pagination .swiper-pagination-bullet-active { background: var(--gold) !important; }

/* ===== SEMINAR ===== */
.course-cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.course-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  min-width: 200px;
  transition: border-color var(--transition), transform var(--transition);
}
.course-card:hover { border-color: var(--border); transform: translateY(-4px); }
.course-card--gold { border-color: rgba(245,200,0,0.3); }
.course-card--gold .course-card-icon { color: var(--gold); background: var(--gold-glow); }
.course-card-icon {
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--text-sub);
  margin: 0 auto 14px;
}
.course-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.3;
}
.course-card-title small { font-size: 0.75em; color: var(--text-sub); }
.course-card-sub {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.seminar-swiper-wrap {
  margin-bottom: 48px;
}
.seminarSwiper .swiper-slide img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius);
}
.seminarSwiper-pagination { bottom: -32px !important; }
.seminarSwiper-pagination .swiper-pagination-bullet { background: var(--text-muted) !important; opacity: 1 !important; }
.seminarSwiper-pagination .swiper-pagination-bullet-active { background: var(--gold) !important; }
.elab-seminar-note {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 60px;
}
.elab-seminar-note > img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.seminar-note-text {
  padding: 32px;
}
.seminar-note-label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.seminar-note-text p:last-child {
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.85;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition);
}
.contact-card:hover { border-color: var(--border); transform: translateY(-4px); }
.contact-icon {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 16px;
}
.contact-icon--instagram { color: #e1306c; }
.contact-icon--facebook  { color: #1877f2; }
.contact-card h3 {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.contact-card a {
  font-size: 0.9rem;
  color: var(--text-sub);
  transition: color var(--transition);
}
.contact-card a:hover { color: var(--gold); }
.contact-card p { font-size: 0.9rem; color: var(--text-sub); line-height: 1.6; }

/* ===== FOOTER ===== */
.footer {
  background: #050508;
  border-top: 1px solid var(--border-dim);
  padding: 48px 0 32px;
  text-align: center;
}
.footer-logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 12px;
}
.footer-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
}
.footer-name span { color: var(--text-sub); font-weight: 300; }
.footer-elab-logo {
  height: 20px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.4;
}
.footer-sub {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-copy { font-size: 0.75rem; color: var(--text-muted); }

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.lightbox.active { opacity: 1; pointer-events: all; }
.lb-content { max-width: 90vw; max-height: 90vh; }
.lb-content img { max-width: 100%; max-height: 90vh; object-fit: contain; border-radius: 4px; }
.lb-close, .lb-prev, .lb-next {
  position: fixed;
  color: rgba(255,255,255,0.8);
  font-size: 1.2rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--gold-glow); color: var(--gold); }
.lb-close { top: 24px; right: 24px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ===== PARTICLES ===== */
.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--gold);
  pointer-events: none;
  animation: floatParticle linear infinite;
  opacity: 0;
}
@keyframes floatParticle {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-image-side { max-width: 420px; margin: 0 auto; }
  .elab-features-grid { grid-template-columns: repeat(2, 1fr); }
  .elab-feature-card--wide { grid-column: 1 / -1; }
  .elab-product-showcase { grid-template-columns: 1fr; gap: 28px; }
  .elab-showcase-imgs { grid-template-columns: repeat(2, 1fr); }
  .showcase-img-2 { margin-top: 0; }
  .elab-visual-row { grid-template-columns: repeat(3, 1fr); }
  .portfolio-swiper-wrap { padding: 0 40px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .section { padding: 64px 0; }
  .container { width: min(var(--container), 100% - 40px); }

  /* Nav */
  .nav-inner { padding: 0 16px; gap: 8px; }
  .logo { font-size: 1.1rem; }
  .lang-btn { padding: 4px 10px; font-size: 0.65rem; letter-spacing: 0.12em; }
  .nav-actions { gap: 8px; }
  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(10,10,15,0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, border-bottom 0.3s;
    border-bottom: 0px solid var(--border);
  }
  .nav-links.open {
    max-height: 360px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links li { border-top: 1px solid var(--border-dim); }
  .nav-links a { display: block; padding: 15px 28px; font-size: 0.82rem; }
  .hamburger { display: flex; }

  /* Hero */
  .hero-name-ko { font-size: clamp(2.4rem, 12vw, 4rem); letter-spacing: 0.12em; }
  .hero-badge { font-size: 0.65rem; padding: 5px 14px; }
  .hero-role { font-size: 0.75rem; letter-spacing: 0.14em; }
  .hero-scroll-hint { bottom: max(20px, env(safe-area-inset-bottom, 20px)); }

  /* Section typography */
  .section-title { font-size: clamp(1.6rem, 5vw, 2.4rem); }
  .section-sub { font-size: 0.9rem; margin-bottom: 2rem; }

  /* About */
  .about-image-side { max-width: 100%; }
  .about-photo { aspect-ratio: 4/5; }
  .about-img-badge {
    right: 0;
    bottom: -16px;
    padding: 12px 14px;
    gap: 10px;
  }
  .badge-elab-logo { height: 20px; }
  .about-img-badge span { font-size: 0.68rem; }
  .about-stats { margin-top: 40px; padding: 20px 16px; }
  .stat-num { font-size: 1.8rem; }
  .about-stats { flex-wrap: wrap; gap: 16px; justify-content: center; }
  .stat-divider { display: none; }
  .about-body { font-size: 0.92rem; }

  /* eLab */
  .elab-features-grid { grid-template-columns: 1fr; gap: 16px; }
  .elab-feature-card { padding: 24px 20px; }
  .elab-visual-row { grid-template-columns: 1fr; gap: 16px; }
  .elab-seminar-note { grid-template-columns: 1fr; }
  .elab-seminar-note > img { height: 220px; width: 100%; object-fit: cover; }
  .seminar-note-text { padding: 24px 20px; }

  /* Portfolio */
  .portfolio-swiper-wrap { padding: 0; }
  .portfolio-prev, .portfolio-next { display: none !important; }
  .portfolio-slide-inner { aspect-ratio: 1 / 1; }

  /* Seminar */
  .course-cards { flex-direction: column; align-items: stretch; gap: 12px; }
  .course-card { min-width: unset; width: 100%; padding: 24px 20px; }
  .seminarSwiper .swiper-slide img { aspect-ratio: 4/3; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; max-width: 400px; margin-inline: auto; }
  .contact-card { padding: 28px 20px; }
  .contact-card a { word-break: break-all; overflow-wrap: break-word; }
}

@media (max-width: 480px) {
  :root { --nav-h: 56px; }
  .section { padding: 56px 0; }
  .container { width: min(var(--container), 100% - 32px); }

  /* Hero */
  .hero-name-ko { font-size: clamp(2.2rem, 11vw, 3rem); letter-spacing: 0.1em; }
  .hero-name-en { font-size: 0.7rem; letter-spacing: 0.3em; }
  .hero-cta-row { flex-direction: column; align-items: center; gap: 12px; }
  .btn-primary, .btn-ghost { width: 100%; max-width: 260px; justify-content: center; }

  /* eLab */
  .elab-showcase-imgs { grid-template-columns: 1fr; gap: 10px; }
  .elab-showcase-text h3 { font-size: 1.15rem; }
  .elab-main-logo { height: 32px; }

  /* Contact */
  .contact-grid { max-width: 100%; }

  /* Footer */
  .footer-logo-row { flex-direction: column; gap: 10px; }
  .footer-sub { font-size: 0.72rem; }
}

@media (max-width: 375px) {
  .hero-name-ko { font-size: 2rem; }
  .hero-badge { display: none; }
  .about-img-badge { right: 0; left: auto; max-width: calc(100% - 20px); }
  .marquee-track span { font-size: 0.65rem; padding: 0 16px; }
}
