:root {
  --bg: #FFFFFF;
  --navy: #0B1F40;
  --navy-deep: #07142A;
  --navy-mid: #143366;
  --gold: #9E7C3B;
  --gold-bright: #DFC384;
  --gold-soft: #DFCFAF;
  --ink: #0E1726;
  --ink-secondary: #3D4657;
  --ink-muted: #646E80;
  --line: #E8ECF2;
  --line-strong: #D9DFEA;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 126px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.68;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, figure, dl, dd {
  margin: 0;
}

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

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

button {
  font: inherit;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ==========================================================================
   Luxury Brand Gradient Buttons (Navy & Brushed Champagne Gold)
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 600;
  letter-spacing: -0.012em;
  border-radius: 12px;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 280ms cubic-bezier(0.22, 1, 0.36, 1),
    background-position 420ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms ease,
    color 220ms ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    112deg,
    transparent 24%,
    rgba(245, 230, 194, 0.26) 48%,
    transparent 72%
  );
  transform: translateX(-115%);
  transition: transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.btn:hover::after {
  transform: translateX(115%);
}

.btn-arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

.btn-sm {
  font-size: 0.95rem;
  padding: 11px 22px;
  border-radius: 10px;
}

.btn-lg {
  font-size: 1.04rem;
  padding: 15px 30px;
}

/* Primary: Luminous Midnight Navy + Champagne Gold Rim */
.btn-primary {
  color: #FCFBF8;
  border: 1px solid transparent;
  background-image:
    radial-gradient(120% 150% at 14% 0%, rgba(222, 192, 126, 0.26) 0%, rgba(222, 192, 126, 0) 56%),
    linear-gradient(132deg, #07142B 0%, #112C59 46%, #224B8C 84%, #10264C 100%),
    linear-gradient(135deg, rgba(226, 200, 145, 0.72) 0%, rgba(167, 133, 67, 0.38) 50%, rgba(226, 200, 145, 0.55) 100%);
  background-origin: padding-box, padding-box, border-box;
  background-clip: padding-box, padding-box, border-box;
  background-size: 100% 100%, 190% 190%, 100% 100%;
  background-position: 0 0, 0% 50%, 0 0;
  box-shadow:
    inset 0 1px 0 rgba(248, 234, 200, 0.3),
    0 3px 8px rgba(11, 31, 64, 0.16),
    0 14px 30px -14px rgba(11, 31, 64, 0.5);
}

.btn-primary:hover {
  background-position: 0 0, 100% 50%, 0 0;
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(250, 238, 208, 0.42),
    0 6px 14px rgba(11, 31, 64, 0.2),
    0 20px 38px -14px rgba(19, 49, 98, 0.58);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Secondary: Silk Ivory → Brushed Champagne Gold Rim */
.btn-secondary {
  color: var(--navy);
  border: 1px solid transparent;
  background-image:
    linear-gradient(135deg, #FFFFFF 0%, #FDFBF6 48%, #F2E7CF 100%),
    linear-gradient(135deg, #E2CFA5 0%, #B8944F 50%, #DFCA9B 100%);
  background-origin: padding-box, border-box;
  background-clip: padding-box, border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 2px 8px rgba(11, 31, 64, 0.05),
    0 10px 22px -16px rgba(167, 133, 67, 0.35);
}

.btn-secondary::after {
  background: linear-gradient(
    112deg,
    transparent 24%,
    rgba(255, 255, 255, 0.72) 48%,
    transparent 72%
  );
}

.btn-secondary:hover {
  background-image:
    linear-gradient(135deg, #FFFFFF 0%, #FAF4E6 46%, #EADAB6 100%),
    linear-gradient(135deg, #C7A35B 0%, #A17D38 50%, #D5B87B 100%);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 4px 12px rgba(158, 124, 59, 0.14),
    0 14px 28px -14px rgba(158, 124, 59, 0.32);
}

/* Gold Button (for Deep Navy Dark Contact Band) */
.btn-gold {
  color: #08152B;
  border: 1px solid rgba(250, 236, 200, 0.65);
  background-image: linear-gradient(132deg, #F0DDB0 0%, #D4B16A 48%, #B89146 100%);
  background-size: 180% 180%;
  background-position: 0% 50%;
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 235, 0.7),
    0 12px 28px -12px rgba(0, 0, 0, 0.45);
}

.btn-gold:hover {
  background-position: 100% 50%;
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 252, 240, 0.85),
    0 18px 36px -12px rgba(0, 0, 0, 0.55);
}

/* Frosted Glass Button on Dark Navy */
.btn-glass-dark {
  color: #F4F6FA;
  border: 1px solid rgba(226, 200, 145, 0.32);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
  backdrop-filter: blur(8px);
}

.btn-glass-dark:hover {
  border-color: rgba(226, 200, 145, 0.6);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.08) 100%);
  transform: translateY(-2px);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ==========================================================================
   Header (Pure White)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 122px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  height: 98px;
  width: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  position: relative;
  padding: 8px 2px;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink-secondary);
  transition: color 200ms ease, transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--gold) 100%);
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1), opacity 220ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--navy);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
  opacity: 1;
}

.nav-link:active {
  transform: scale(0.96);
}

.nav-cta-link.is-active {
  box-shadow:
    inset 0 1px 0 rgba(250, 238, 208, 0.5),
    0 0 0 2px rgba(223, 195, 132, 0.55),
    0 12px 28px -12px rgba(11, 31, 64, 0.5);
}

/* ==========================================================================
   Section-Specific Choreographed Animations (Scroll + Tab Click Arrival)
   ========================================================================== */
@keyframes riseIn {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-24px) scale(0.985);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes mediaZoomSettle {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes imgScaleIn {
  0% {
    transform: scale(1.06);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes panelSheen {
  0% {
    transform: translateX(-120%) skewX(-18deg);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    transform: translateX(220%) skewX(-18deg);
    opacity: 0;
  }
}

/* 1. 회사 소개 (#about) staggered motion */
#about.is-animated .about-text-col {
  animation: riseIn 560ms cubic-bezier(0.22, 1, 0.36, 1) 0ms both;
}
#about.is-animated .about-media {
  animation: mediaZoomSettle 640ms cubic-bezier(0.22, 1, 0.36, 1) 110ms both;
}
#about.is-animated .about-media img {
  animation: imgScaleIn 780ms cubic-bezier(0.22, 1, 0.36, 1) 110ms both;
}
#about.is-animated .about-meta > div:nth-child(1) {
  animation: riseIn 520ms cubic-bezier(0.22, 1, 0.36, 1) 180ms both;
}
#about.is-animated .about-meta > div:nth-child(2) {
  animation: riseIn 520ms cubic-bezier(0.22, 1, 0.36, 1) 270ms both;
}
#about.is-animated .about-meta > div:nth-child(3) {
  animation: riseIn 520ms cubic-bezier(0.22, 1, 0.36, 1) 360ms both;
}

/* 2. 개발 원칙 (#principles) staggered card cascade */
#principles.is-animated .section-head {
  animation: riseIn 520ms cubic-bezier(0.22, 1, 0.36, 1) 0ms both;
}
#principles.is-animated .principle-card:nth-child(1) {
  animation: riseIn 560ms cubic-bezier(0.22, 1, 0.36, 1) 90ms both;
}
#principles.is-animated .principle-card:nth-child(2) {
  animation: riseIn 560ms cubic-bezier(0.22, 1, 0.36, 1) 200ms both;
}
#principles.is-animated .principle-card:nth-child(3) {
  animation: riseIn 560ms cubic-bezier(0.22, 1, 0.36, 1) 310ms both;
}

/* 3. 주요 영역 (#areas) prism visual + staggered list */
#areas.is-animated .areas-media {
  animation: slideFromLeft 640ms cubic-bezier(0.22, 1, 0.36, 1) 0ms both;
}
#areas.is-animated .areas-media img {
  animation: imgScaleIn 820ms cubic-bezier(0.22, 1, 0.36, 1) 0ms both;
}
#areas.is-animated .areas-content > .section-label,
#areas.is-animated .areas-content > .section-title,
#areas.is-animated .areas-content > .areas-lead {
  animation: riseIn 520ms cubic-bezier(0.22, 1, 0.36, 1) 80ms both;
}
#areas.is-animated .area-item:nth-child(1) {
  animation: riseIn 520ms cubic-bezier(0.22, 1, 0.36, 1) 170ms both;
}
#areas.is-animated .area-item:nth-child(2) {
  animation: riseIn 520ms cubic-bezier(0.22, 1, 0.36, 1) 270ms both;
}
#areas.is-animated .area-item:nth-child(3) {
  animation: riseIn 520ms cubic-bezier(0.22, 1, 0.36, 1) 370ms both;
}

/* 4. 문의 (#contact) panel rise + staggered columns + champagne sheen sweep */
.contact-panel::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 42%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(240, 221, 176, 0.16) 50%,
    transparent 100%
  );
  transform: translateX(-120%) skewX(-18deg);
  opacity: 0;
  pointer-events: none;
}

#contact.is-animated .contact-panel {
  animation: mediaZoomSettle 600ms cubic-bezier(0.22, 1, 0.36, 1) 0ms backwards;
}
#contact.is-animated .contact-panel::before {
  animation: panelSheen 950ms cubic-bezier(0.22, 1, 0.36, 1) 240ms both;
}
#contact.is-animated .contact-left {
  animation: riseIn 540ms cubic-bezier(0.22, 1, 0.36, 1) 120ms both;
}
#contact.is-animated .contact-right {
  animation: riseIn 540ms cubic-bezier(0.22, 1, 0.36, 1) 230ms both;
}

@media (prefers-reduced-motion: reduce) {
  .section.is-animated *,
  .contact-panel::before {
    animation: none !important;
  }
}

/* ==========================================================================
   Hero: 2-Column Dimensional Architectural Layout
   ========================================================================== */
.hero {
  position: relative;
  background: var(--bg);
  padding: 72px 0 96px;
  overflow: hidden;
}

/* Whisper-subtle atmospheric depth on pure white */
.hero-ambient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(540px 420px at 78% 36%, rgba(15, 41, 82, 0.045) 0%, transparent 72%),
    radial-gradient(420px 320px at 88% 72%, rgba(198, 164, 96, 0.065) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 56px;
  align-items: center;
}

.hero-kicker {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}

.hero-title {
  font-size: clamp(2.25rem, 4.1vw, 3.45rem);
  font-weight: 750;
  line-height: 1.22;
  letter-spacing: -0.036em;
  color: var(--navy);
  margin-bottom: 24px;
}

.title-accent {
  background: linear-gradient(120deg, #0B1F40 10%, #1F498A 62%, #9E7C3B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  font-size: clamp(1.08rem, 1.35vw, 1.2rem);
  line-height: 1.74;
  color: var(--ink-secondary);
  max-width: 540px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ==========================================================================
   Hero Right: Multi-Layered 3D Software Workspace Composition
   ========================================================================== */
.hero-stage {
  position: relative;
  padding: 24px 0 64px 20px;
  perspective: 1200px;
}

.stage-backdrop {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 24px;
  left: 44px;
  border-radius: 28px;
  background-color: #F7F9FC;
  background-image:
    linear-gradient(to right, rgba(11, 31, 64, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11, 31, 64, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  border: 1px solid #EAEEF5;
  pointer-events: none;
}

/* Layer 1: Main Software Application Window */
.app-frame {
  position: relative;
  z-index: 2;
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid #E1E6F0;
  box-shadow:
    0 4px 12px rgba(11, 31, 64, 0.04),
    0 28px 60px -24px rgba(11, 31, 64, 0.18);
  overflow: hidden;
  will-change: transform;
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 20px;
  background: linear-gradient(180deg, #FAFBFD 0%, #F4F6FA 100%);
  border-bottom: 1px solid #E8ECF3;
}

.window-dots {
  display: flex;
  gap: 7px;
}

.window-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #D5DCE7;
}

.window-dots span:first-child {
  background: #0B1F40;
}

.window-dots span:nth-child(2) {
  background: #C7A661;
}

.app-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
}

.app-state {
  font-size: 0.8rem;
  font-weight: 600;
  color: #1A5632;
  background: #EBF7EF;
  padding: 4px 10px;
  border-radius: 999px;
}

.app-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.task-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 13px;
  border: 1px solid #ECEFF5;
  background: #FFFFFF;
}

.task-row.is-highlighted {
  border-color: #DFCCA2;
  background: linear-gradient(135deg, #FFFFFF 0%, #FCF9F1 100%);
  box-shadow: 0 6px 18px -12px rgba(158, 124, 59, 0.32);
}

.task-main {
  min-width: 0;
}

.task-main strong {
  display: block;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}

.task-main span {
  display: block;
  font-size: 0.86rem;
  color: var(--ink-muted);
}

.task-pill {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

.pill-done {
  background: #EEF3FA;
  color: var(--navy);
}

.pill-review {
  background: #FBF2DE;
  color: #8A6826;
}

.pill-safe {
  background: #EDF6F1;
  color: #1D5E3C;
}

/* Layer 2: Floating Foreground Review Card (True Z-axis depth) */
.float-review {
  position: relative;
  z-index: 4;
  width: 82%;
  margin: -30px 0 0 auto;
  margin-right: -8px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid #DFCCA2;
  box-shadow:
    0 24px 52px -18px rgba(11, 31, 64, 0.24),
    0 6px 16px -6px rgba(158, 124, 59, 0.16);
  will-change: transform;
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1), border-color 220ms ease;
}

.float-review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.float-label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--gold);
}

.float-badge {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  background: #F1F4F9;
  padding: 3px 9px;
  border-radius: 6px;
}

.float-badge.is-confirmed {
  background: #E8F6EE;
  color: #1A5C38;
}

.float-summary {
  font-size: 0.94rem;
  line-height: 1.56;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 12px;
}

.float-review-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.float-meta {
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.mini-confirm-btn {
  padding: 7px 14px;
  border-radius: 8px;
  border: 1px solid rgba(226, 200, 145, 0.55);
  background: linear-gradient(132deg, #081730 0%, #15356A 100%);
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 180ms ease, opacity 180ms ease;
}

.mini-confirm-btn:hover {
  transform: translateY(-1px);
}

/* Layer 3: Floating Deep Navy Status Chip */
.float-chip {
  position: absolute;
  left: 0;
  bottom: 18px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #091934 0%, #143263 100%);
  border: 1px solid rgba(226, 200, 145, 0.4);
  color: #F6F8FC;
  font-size: 0.84rem;
  font-weight: 600;
  box-shadow: 0 18px 34px -14px rgba(11, 31, 64, 0.45);
  will-change: transform;
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 0 3px rgba(223, 195, 132, 0.24);
}

/* ==========================================================================
   Common Sections (Pure White)
   ========================================================================== */
.section {
  background: var(--bg);
  padding: 96px 0;
  border-top: 1px solid var(--line);
}

.section-label {
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.032em;
  color: var(--navy);
}

.section-head {
  margin-bottom: 48px;
}

/* ==========================================================================
   About Section (2-Column Text + Studio Optical Visual)
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 56px;
  align-items: center;
  margin-bottom: 52px;
}

.about-statement {
  font-size: clamp(1.42rem, 2.3vw, 1.98rem);
  font-weight: 600;
  line-height: 1.56;
  letter-spacing: -0.028em;
  color: var(--navy);
}

.about-statement strong {
  font-weight: 700;
}

.about-statement span {
  color: var(--ink-secondary);
  font-weight: 500;
}

.about-media {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 52px -30px rgba(11, 31, 64, 0.18);
}

.about-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 68% 55%;
}

.about-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.about-meta > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.meta-key {
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--ink-muted);
}

.meta-val {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--navy);
}

/* ==========================================================================
   Principles Grid (Dimensional Spotlight Cards)
   ========================================================================== */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.principle-card {
  position: relative;
  background: #FFFFFF;
  border-radius: 22px;
  padding: 38px 32px;
  border: 1px solid var(--line-strong);
  box-shadow:
    0 2px 6px rgba(11, 31, 64, 0.03),
    0 14px 32px -24px rgba(11, 31, 64, 0.14);
  overflow: hidden;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 260ms ease, border-color 260ms ease;
}

.spotlight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    360px circle at var(--mx, 50%) var(--my, 50%),
    rgba(210, 177, 108, 0.11),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 260ms ease;
  pointer-events: none;
}

.spotlight-card:hover::before {
  opacity: 1;
}

.principle-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-soft);
  box-shadow:
    0 8px 20px -10px rgba(11, 31, 64, 0.09),
    0 28px 50px -28px rgba(11, 31, 64, 0.2);
}

.card-num {
  position: relative;
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  margin-bottom: 20px;
}

.principle-card h3 {
  position: relative;
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: 14px;
}

.principle-card p {
  position: relative;
  font-size: 1.04rem;
  line-height: 1.72;
  color: var(--ink-secondary);
}

/* ==========================================================================
   Core Areas Section (Clean Split with Studio Prism Photo)
   ========================================================================== */
.areas-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: center;
}

.areas-media {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #FFFFFF;
  box-shadow: 0 28px 56px -30px rgba(11, 31, 64, 0.2);
}

.areas-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.areas-lead {
  margin-top: 16px;
  font-size: 1.08rem;
  line-height: 1.72;
  color: var(--ink-secondary);
  margin-bottom: 32px;
}

.areas-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.area-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.area-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.area-item-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.area-item-head h3 {
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.area-index {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.area-item p {
  font-size: 1.02rem;
  line-height: 1.68;
  color: var(--ink-secondary);
}

/* ==========================================================================
   Contact Panel: Luminous Sapphire-Mist → Pearl → Champagne-Gold Gradient
   ========================================================================== */
.section-contact {
  border-top: none;
  padding-top: 16px;
  padding-bottom: 104px;
}

.contact-panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(122deg, #0B1F40 0%, #17376B 52%, #29528C 100%);
  border: 1px solid rgba(223, 195, 132, 0.32);
  border-radius: 26px;
  padding: 58px 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 24px 56px -30px rgba(11, 31, 64, 0.45);
  transform: scale(1) translateY(0);
  will-change: transform;
  transition:
    transform 340ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 340ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 300ms ease;
}

.contact-panel:hover {
  transform: scale(1.018) translateY(-3px);
  border-color: rgba(232, 207, 148, 0.56);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 34px 72px -28px rgba(11, 31, 64, 0.55);
}

.label-gold-bright {
  color: var(--gold-bright);
}

.contact-title {
  font-size: clamp(1.9rem, 3.1vw, 2.5rem);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.032em;
  color: #FFFFFF;
  margin-bottom: 14px;
}

.contact-desc {
  font-size: 1.08rem;
  line-height: 1.72;
  color: #D2DCEB;
  max-width: 440px;
}

.contact-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-left: 44px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-email-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: #B8C8DF;
  margin-bottom: 8px;
}

.contact-email-big {
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 26px;
  word-break: break-all;
  transition: color 180ms ease;
}

.contact-email-big:hover {
  color: var(--gold-bright);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   Footer (Korean IT Corporate Standard — Pure White)
   ========================================================================== */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 64px 0 56px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr);
  gap: 56px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
}

.footer-brand-link {
  display: inline-block;
  margin-bottom: 16px;
}

.footer-logo {
  height: 84px;
  width: auto;
  object-fit: contain;
}

.footer-tagline {
  font-size: 1.04rem;
  line-height: 1.68;
  color: var(--ink-muted);
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: minmax(100px, 0.72fr) minmax(145px, 0.96fr) minmax(252px, 1.38fr);
  gap: 32px;
}

.footer-nav-col h3 {
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.footer-nav-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-col a {
  font-size: 1.02rem;
  color: var(--ink-secondary);
  transition: color 160ms ease;
}

.footer-nav-col a:hover {
  color: var(--navy);
}

.footer-company {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.footer-company-name {
  display: block;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.footer-company-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-muted);
}

.footer-company-meta a {
  color: var(--ink-secondary);
  font-weight: 500;
}

.footer-company-meta a:hover {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.meta-sep {
  color: var(--line-strong);
}

.footer-bottom {
  padding-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.footer-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.legal-link {
  border: none;
  background: none;
  padding: 0;
  font-size: 1rem;
  color: var(--ink-muted);
  cursor: pointer;
  transition: color 160ms ease;
}

.legal-link.is-strong {
  font-weight: 700;
  color: var(--navy);
}

.legal-link:hover {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-copy-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copyright {
  font-size: 0.98rem;
  color: var(--ink-muted);
}

.footer-top-btn {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink-secondary);
  transition: color 160ms ease;
}

.footer-top-btn:hover {
  color: var(--navy);
}

/* ==========================================================================
   Policy Modal
   ========================================================================== */
.policy-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
}

.policy-modal[hidden] {
  display: none;
}

.policy-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 23, 44, 0.48);
  backdrop-filter: blur(4px);
}

.policy-dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 560px;
  max-height: 82vh;
  overflow-y: auto;
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid var(--line-strong);
  box-shadow: 0 28px 64px -24px rgba(11, 31, 64, 0.32);
  padding: 28px 30px;
}

.policy-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.policy-head h2 {
  font-size: 1.24rem;
  font-weight: 700;
  color: var(--navy);
}

.policy-close {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: #FFFFFF;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--ink-secondary);
  cursor: pointer;
}

.policy-close:hover {
  background: #F4F6FA;
  color: var(--navy);
}

.policy-body {
  font-size: 0.96rem;
  line-height: 1.72;
  color: var(--ink-secondary);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ==========================================================================
   Per-Image Shimmer Skeleton (for slow image loading)
   ========================================================================== */
.media-skeleton {
  position: relative;
  background: linear-gradient(90deg, #D8E0EC 22%, #F1F5FA 50%, #D8E0EC 78%);
  background-size: 200% 100%;
  animation: mhShimmer 1.35s ease-in-out infinite;
}

.media-skeleton.is-loaded {
  background: #FFFFFF;
  animation: none;
}

.media-skeleton img {
  opacity: 0;
  transition: opacity 380ms cubic-bezier(0.22, 1, 0.36, 1);
}

.media-skeleton.is-loaded img {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .media-skeleton,
  .sk-bar {
    animation: none;
  }
  .media-skeleton img {
    opacity: 1;
    transition: none;
  }
}

/* ==========================================================================
   Subtle Scroll Reveal
   ========================================================================== */
:where(.js-ready .reveal) {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms cubic-bezier(0.22, 1, 0.36, 1), transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

:where(.js-ready .reveal.is-visible) {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  :where(.js-ready .reveal) {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid,
  .about-grid,
  .principles-grid,
  .areas-layout,
  .contact-panel,
  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact-right {
    padding-left: 0;
    padding-top: 28px;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .hero-stage {
    padding: 16px 0 60px;
  }

  .float-review {
    width: 90%;
    margin-right: 0;
  }

  .about-meta {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-panel {
    padding: 40px 32px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 20px;
  }

  .header-inner {
    height: 96px;
  }

  .brand-logo {
    height: 72px;
  }

  .nav-link {
    display: none;
  }

  .hero {
    padding: 44px 0 64px;
  }

  .stage-backdrop {
    left: 12px;
  }

  .float-chip {
    position: static;
    margin-top: 14px;
  }

  .float-review {
    width: 100%;
    margin-top: 14px;
  }

  .section {
    padding: 68px 0;
  }

  .principle-card {
    padding: 28px 24px;
  }

  .contact-panel {
    padding: 32px 22px;
    border-radius: 22px;
  }

  .footer-nav-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-logo {
    height: 66px;
  }
}
