:root {
  --bg: #262626;
  --panel: rgba(10, 15, 24, 0.48);
  --pane2: rgba(8, 8, 33, 0.347);
  --panel-strong: rgba(10, 15, 24, 0.88);
  --line: rgba(255, 255, 255, 0.22);
  --text: #eef2ff;
  --muted: rgba(238, 242, 255, 0.72);
  --muted2: rgba(135, 135, 135, 0.72);
  --accent: #8b5cf6;
  --accent-2: #ec4899;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius-lg: 28px;
  --radius-md: 18px;
  --header-h: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100svh;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans KR", "Montserrat", system-ui, sans-serif;
  overflow-x: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  font: inherit;
}

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

.page-shell {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
  padding: max(20px, env(safe-area-inset-top)) clamp(16px, 3vw, 36px) max(24px, env(safe-area-inset-bottom));
}

.bg-video,
.video-scrim {
  position: fixed;
  inset: 0;
}

.bg-video {
  width: 100%;
  height: 100%;
 
  object-fit: cover;
  z-index: -3;
}

.video-scrim {
  z-index: -2;
  background:
    radial-gradient(circle at top left, rgba(251, 30, 177, 0.25), transparent 35%),
    radial-gradient(circle at right center, rgba(255, 115, 0, 0.2), transparent 30%),
    linear-gradient(180deg, rgba(3, 7, 18, 0.22), rgba(3, 7, 18, 0.76));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
  padding: 12px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.0);
  border: 1px solid rgba(255, 255, 255, 0.0);
  backdrop-filter: blur(0px);
}

.brand img {
  width: clamp(140px, 16vw, 220px);
  height: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ghost-button,
.menu-button,
.icon-button,
.nav-button {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(9, 14, 24, 0.6);
  color: var(--text);
  backdrop-filter: blur(14px);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.ghost-button,
.menu-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  cursor: pointer;
}

.ghost-button:hover,
.menu-button:hover,
.nav-button:hover,
.icon-button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(16, 22, 36, 0.9);
}

.hero-layout {
  min-height: calc(100svh - var(--header-h) - 56px);
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 52px);
  padding: clamp(20px, 3vw, 40px) 0 20px;
}

.intro-copy {
  max-width: 32rem;
}

.eyebrow,
.toolbar-label {
  margin: 0 0 10px;
  font-size: 0.86rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #d8b4fe;
}

.intro-copy h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1.08;
}

.lead {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.7;
}

.portfolio-card {
  position: relative;
  padding: clamp(16px, 2vw, 24px);
  border-radius: var(--radius-lg);
  background: var(--pane2);
  border: 1px solid var(--line);
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow);
}

.slider-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 16px;
}

.slider-toolbar h2 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
}

.slider-status {
  color: var(--muted);
  font-weight: 600;
}

.slider-stage {
  position: relative;
  overflow: hidden;

  background: rgba(255, 255, 255, 0.0);
  aspect-ratio: 16 / 10;
  min-height: min(50vh, 480px);
}

.slider-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;

  transition: opacity 0.35s ease, transform 0.35s ease;
}

.slider-stage.is-switching img {
  opacity: 0.75;
  transform: scale(1.02);
}

.nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.nav-button.prev {
  left: 14px;
}

.nav-button.next {
  right: 14px;
}

.progress-wrap {
  position: relative;
  margin-top: 16px;
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.progress-bar {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.25s ease;
}

.thumb-dots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10px, 1fr));
  gap: 8px;
  align-items: center;
  margin-top: 16px;
}

.position-indicator {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.position-indicator.active {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleY(1.3);
}

/************************************************************

.brand-strip {  
  display: flex;
  justify-content: flex-start;
  margin: 20px auto 0;
  max-width: min(100%, 1100px);
  padding: 0 4px;
}

.brand-strip img {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  padding: clamp(12px, 2vw, 20px);
  backdrop-filter: blur(8px);
}
  ***********************************************************/

.brand-strip {
  display: flex;
  justify-content: flex-start;
  margin: 20px 0 0;   /* auto 제거 */
  max-width: 1100px;
  padding: 0 4px;
}

.brand-strip img {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  padding: clamp(12px, 2vw, 20px);
  backdrop-filter: blur(8px);
}


.site-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 6px 4px;
  color: var(--muted2);
  font-size: 0.75rem;
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 0.85rem;
}

.site-footer p {
  margin: 0;
  line-height: 1.6;
}

.contact {
  white-space: nowrap;
}

.site-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(92vw, 380px);
  height: 100svh;
  z-index: 30;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  background: var(--panel-strong);
  border-left: 1px solid var(--line);
  backdrop-filter: blur(18px);
  padding: max(18px, env(safe-area-inset-top)) 18px max(18px, env(safe-area-inset-bottom));
  overflow: auto;
}

.site-drawer.is-open {
  transform: translateX(0);
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 25;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.icon-button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
}

.drawer-menu {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.drawer-menu a {
  display: block;
  padding: 14px 16px;
  border-radius: 14px;
  color: var(--muted);
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.02);
}

.drawer-menu a:hover {
  color: var(--text);
  background: rgba(4, 116, 124, 0.406);
  border-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 1080px) {
  .hero-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .intro-copy {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .page-shell {
    padding-left: 14px;
    padding-right: 14px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .ghost-button,
  .menu-button {
    flex: 1;
    justify-content: center;
  }

  .slider-stage {
    aspect-ratio: 4 / 5;
    min-height: min(62svh, 560px);
  }

  .nav-button {
    width: 44px;
    height: 44px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.title-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* 전체 클릭 영역 */
.toggle-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

/* 스위치 */
.toggle-switch {
  width: 80px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  position: relative;
  transition: 0.3s;
}

/* 원형 버튼 */
.toggle-knob {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: white;
  position: absolute;
  top: 3px;
  left: 56px;
  transition: transform 0.3s ease;
}

/* hover 시 살짝 반응 */
.toggle-link:hover .toggle-switch {
  background:#ffb700;
}

.toggle-link:hover .toggle-knob {
  transform: translateX(-52px);
}

/* 오른쪽 텍스트 */
.toggle-label {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.05em;
}