@charset "utf-8";

.wrap { position: relative; min-width: 320px; overflow: hidden; }
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  color: #fff;
  transition: background .3s ease, border-color .3s ease, transform .3s ease;
}
.header.is-scrolled {
  background: rgba(10,13,18,.92);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(16px);
}
.header-inner {
  width: var(--inner);
  margin: 0 auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.logo a { display: block; font-size: 1.5rem; font-weight: 800; letter-spacing: .2em; }
.gnb { flex: 1; }
.depth1 {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 2.2vw, 42px);
}
.depth1 > li { position: relative; }
.depth1 > li > a {
  display: flex;
  align-items: center;
  height: var(--header-h);
  font-size: 1rem;
  font-weight: 600;
}
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(14px);
  min-width: 220px;
  padding: 20px 22px;
  border-radius: 20px;
  background: rgba(12,16,24,.98);
  border: 1px solid rgba(255,255,255,.08);
  opacity: 0;
  visibility: hidden;
  transition: .25s ease;
}
.depth1 > li:hover .mega-menu,
.depth1 > li:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.mega-menu ul { display: grid; gap: 10px; }
.mega-menu a { font-size: .95rem; color: rgba(255,255,255,.78); }
.mega-menu a:hover { color: #fff; }
.header-util {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}
.util-link { font-size: .9375rem; font-weight: 600; }
.menu-toggle { display: none; width: 28px; height: 20px; position: relative; }
.menu-toggle span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
  transition: .3s ease;
}
.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 9px; }
.menu-toggle span:nth-child(3) { bottom: 0; }
.menu-toggle.is-open span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { bottom: 9px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: var(--header-h);
  left: 0;
  width: 100%;
  height: calc(100dvh - var(--header-h));
  background: #0a0d12;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: .25s ease;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu-inner { width: var(--inner); margin: 0 auto; padding: 26px 0 40px; overflow-y: auto; height: 100%; }
.mobile-depth1 { display: grid; gap: 10px; }
.mobile-depth1 > li { border-bottom: 1px solid rgba(255,255,255,.08); padding-bottom: 10px; }
.mobile-depth1 > li > button {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.125rem;
  font-weight: 700;
  padding: 14px 0;
}
.mobile-depth1 > li > button::after { content: '+'; font-size: 1.25rem; }
.mobile-depth1 > li.is-open > button::after { content: '−'; }
.mobile-depth2 { display: none; padding: 2px 0 10px; }
.mobile-depth2 a { display: block; padding: 8px 0; color: rgba(255,255,255,.72); }
.footer {
  padding: 42px 0 56px;
  background: #05070a;
  color: rgba(255,255,255,.8);
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-inner { display: flex; justify-content: space-between; gap: 30px; }
.footer-left strong { display: block; color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer-left p + p { margin-top: 6px; }
.footer-right {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  justify-content: flex-end;
}
.container { padding-top: 0; }

@media (max-width: 1279px) {
  .gnb, .util-link { display: none; }
  .menu-toggle { display: block; }
  .footer-inner { flex-direction: column; }
  .footer-right { justify-content: flex-start; }
}
