/* =========================================================
   BECOME DEFENSE — Design System v1.0
   Deep Navy + Luxury Gold | Editorial Serif × Pretendard Variable
   Tone: Aman Resorts (restrained luxury) × Rolex (authority) × Linear (precision)
   ========================================================= */

:root {
  /* Design System v1.0 — Primary tokens */
  --primary: #0A1A2F;       /* Deep Navy */
  --secondary: #142C4C;     /* Midnight Blue */
  --tertiary: #C9A961;      /* Luxury Gold */
  --accent: #E5C77E;        /* Bright Gold */
  --neutral: #F5F1E8;       /* Off White */
  --muted: #A8A29E;         /* Warm Gray */
  --surface: #0F2238;       /* Card surface */
  --border: rgba(201, 169, 97, 0.18); /* Subtle gold border */

  /* Legacy aliases */
  --navy-deep: #0A1A2F;
  --navy-mid: #142C4C;
  --gold: #C9A961;
  --gold-bright: #E5C77E;
  --gold-deep: #9C7E3F;
  --cream: #F5F1E8;
  --warm-gray: #A8A29E;
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--primary);
  color: var(--neutral);
  font-family: 'Pretendard Variable', 'Pretendard', -apple-system, sans-serif;
  font-feature-settings: 'ss06', 'ss07'; /* Pretendard stylistic sets if available */
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.005em;
  position: relative;
}

/* =============================================
   Global paper-grain noise texture (SVG feTurbulence)
   - Tile size 160px (smaller = less GPU memory)
   - opacity 0.035, NO mix-blend-mode (faster compositing)
   - z-index 0 only, with main content above
   ============================================= */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='matrix' values='0 0 0 0 0.96  0 0 0 0 0.94  0 0 0 0 0.91  0 0 0 1 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-repeat: repeat;
  background-size: 160px 160px;
  /* GPU hint */
  will-change: auto;
}

/* Main content stays above the noise layer */
nav, main, footer, .float-widget, .mobile-bottom-cta, .toast, #wizard-modal {
  position: relative;
  z-index: 2;
}

/* =============================================
   Editorial typography — Fraunces (display)
   ============================================= */

.font-display,
.serif-display {
  font-family: 'Fraunces', 'Cormorant Garamond', serif;
  font-weight: 500;
  font-variation-settings: 'opsz' 96, 'SOFT' 50; /* Fraunces optical-size + softness */
  letter-spacing: -0.02em;
  line-height: 1.1;
}

/* Korean readability — apply tighter spacing for keep-all */
h1, h2, h3, h4, h5, h6 {
  word-break: keep-all;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

h1 {
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-weight: 500; /* Display-weight cap */
}
h2 {
  letter-spacing: -0.025em;
  line-height: 1.1;
  font-weight: 500;
}

/* Editorial italic helper — Fraunces italics are excellent */
.italic-luxe {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-variation-settings: 'opsz' 96, 'SOFT' 100;
}

/* Cinzel-replacement: Pretendard Variable, uppercase, wide tracking */
.cinzel,
.label-caps {
  font-family: 'Pretendard Variable', sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* =============================================
   Scrollbar
   ============================================= */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track { background: var(--primary); }
::-webkit-scrollbar-thumb {
  background: var(--gold-deep);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--tertiary); }

::selection {
  background: var(--tertiary);
  color: var(--primary);
}

/* =============================================
   Hero background — cinematic overlay
   ============================================= */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top, rgba(201, 169, 97, 0.05) 0%, transparent 60%),
    linear-gradient(180deg, rgba(10, 26, 47, 0.55) 0%, rgba(10, 26, 47, 0.92) 100%);
  z-index: 2;
}

.hero-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 80% 60% at 30% 20%, rgba(27, 58, 94, 0.55) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(201, 169, 97, 0.04) 0%, transparent 60%),
    linear-gradient(135deg, #0A1A2F 0%, #142C4C 50%, #0A1A2F 100%);
}

.hero-fallback::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 241, 232, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 241, 232, 0.012) 1px, transparent 1px);
  background-size: 80px 80px;
}

/* =============================================
   Surface cards (Design System v1.0)
   ============================================= */
.glass-card {
  background: rgba(15, 34, 56, 0.6);   /* surface @ 60% */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 8px;                   /* rounded.md */
  box-shadow:
    0 24px 60px -20px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(245, 241, 232, 0.03);
}

.glass-card-subtle {
  background: rgba(15, 34, 56, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 8px;
}

/* =============================================
   Gold accents — used sparingly (5–8% rule)
   ============================================= */
.gold-line {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--tertiary) 50%, transparent 100%);
  opacity: 0.6;
}

.gold-line-short {
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--tertiary);
  vertical-align: middle;
  opacity: 0.7;
}

.gold-text {
  color: var(--tertiary);
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
}

/* =============================================
   CTA Buttons
   ============================================= */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 16px 32px;
  font-family: 'Pretendard Variable', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  color: var(--primary);
  background: var(--tertiary);
  border: 1px solid var(--tertiary);
  border-radius: 4px;          /* rounded.sm */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-gold:hover {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow:
    0 10px 30px -10px rgba(201, 169, 97, 0.45),
    0 6px 18px -6px rgba(0, 0, 0, 0.35);
  transform: translateY(-1px);
}

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

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 14px 28px;
  font-family: 'Pretendard Variable', sans-serif;
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  color: var(--tertiary);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-outline-gold:hover {
  background: rgba(201, 169, 97, 0.06);
  color: var(--accent);
  border-color: var(--tertiary);
}

/* =============================================
   Form inputs (dark theme)
   ============================================= */
.input-dark {
  width: 100%;
  padding: 14px 16px;
  background: rgba(10, 26, 47, 0.55);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--neutral);
  font-size: 0.9375rem;
  font-family: 'Pretendard Variable', sans-serif;
  font-weight: 400;
  letter-spacing: -0.005em;
  transition: all 0.25s ease;
}

.input-dark::placeholder {
  color: var(--muted);
  opacity: 0.65;
}

.input-dark:focus {
  outline: none;
  border-color: var(--tertiary);
  background: rgba(10, 26, 47, 0.75);
  box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.08);
}

.select-dark {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9A961' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
}

/* =============================================
   Scroll-triggered animations
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.22s; }
.reveal-delay-3 { transition-delay: 0.34s; }
.reveal-delay-4 { transition-delay: 0.46s; }

/* =============================================
   Eyebrow label (label-caps style)
   ============================================= */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Pretendard Variable', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--tertiary);
  text-transform: uppercase;
}

/* =============================================
   Practice area cards
   ============================================= */
.practice-card {
  position: relative;
  overflow: hidden;
  background: rgba(15, 34, 56, 0.55);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.practice-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 0%, rgba(201, 169, 97, 0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.practice-card:hover {
  border-color: rgba(201, 169, 97, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.55);
}

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

/* =============================================
   Timeline
   ============================================= */
.timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 9999px;
  background: var(--primary);
  border: 1.5px solid var(--tertiary);
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.timeline-dot::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 9999px;
  background: var(--tertiary);
  opacity: 0.7;
}

/* =============================================
   Gold particles (subtle, last CTA section)
   ============================================= */
.gold-particles {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 25% 30%, rgba(201, 169, 97, 0.3), transparent),
    radial-gradient(1px 1px at 60% 70%, rgba(201, 169, 97, 0.22), transparent),
    radial-gradient(1px 1px at 80% 20%, rgba(229, 199, 126, 0.28), transparent),
    radial-gradient(1.5px 1.5px at 40% 80%, rgba(201, 169, 97, 0.18), transparent),
    radial-gradient(1px 1px at 90% 50%, rgba(201, 169, 97, 0.22), transparent);
  background-size: 100% 100%;
  animation: particleFloat 24s ease-in-out infinite;
  opacity: 0.7;
}

@keyframes particleFloat {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(8px, -8px); }
  50% { transform: translate(-4px, 4px); }
  75% { transform: translate(4px, 8px); }
}

/* =============================================
   Floating call widget
   ============================================= */
.float-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
}

.float-widget-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 9999px;
  background: var(--tertiary);
  color: var(--primary);
  font-size: 1.4rem;
  box-shadow:
    0 12px 32px -8px rgba(201, 169, 97, 0.4),
    0 0 0 6px rgba(201, 169, 97, 0.06);
  cursor: pointer;
  transition: all 0.3s ease;
  animation: pulseGold 3s ease-in-out infinite;
  border: 1px solid var(--accent);
}

.float-widget-btn:hover {
  transform: scale(1.04);
  background: var(--accent);
  box-shadow:
    0 16px 40px -8px rgba(201, 169, 97, 0.55),
    0 0 0 10px rgba(201, 169, 97, 0.09);
}

@keyframes pulseGold {
  0%, 100% { box-shadow: 0 12px 32px -8px rgba(201, 169, 97, 0.4), 0 0 0 6px rgba(201, 169, 97, 0.06); }
  50% { box-shadow: 0 12px 32px -8px rgba(201, 169, 97, 0.55), 0 0 0 14px rgba(201, 169, 97, 0.03); }
}

.float-widget-menu {
  position: absolute;
  bottom: 76px;
  right: 0;
  width: 280px;
  background: rgba(10, 26, 47, 0.96);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: all 0.3s ease;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.6);
}

.float-widget-menu.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.float-widget-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1rem;
  color: var(--neutral);
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.float-widget-item:hover {
  background: rgba(201, 169, 97, 0.08);
  color: var(--accent);
}

.float-widget-item i {
  color: var(--tertiary);
  font-size: 1.05rem;
  width: 22px;
  text-align: center;
}

/* =============================================
   Wizard (AI Diagnosis)
   ============================================= */
.wizard-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 16px 18px;
  background: rgba(10, 26, 47, 0.35);
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.22s ease;
  text-align: left;
  width: 100%;
  color: var(--neutral);
  font-family: 'Pretendard Variable', sans-serif;
}

.wizard-option:hover {
  border-color: var(--tertiary);
  background: rgba(15, 34, 56, 0.7);
  transform: translateX(3px);
}

.wizard-option.selected {
  border-color: var(--tertiary);
  background: rgba(201, 169, 97, 0.05);
}

.wizard-option .icon {
  font-size: 1.25rem;
  color: var(--tertiary);
  width: 28px;
  text-align: center;
  flex-shrink: 0;
}

.wizard-option .label {
  flex: 1;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.wizard-option .sub {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 400;
  margin-top: 0.2rem;
  letter-spacing: -0.005em;
}

.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.step-dot {
  width: 22px;
  height: 2px;
  background: rgba(201, 169, 97, 0.18);
  transition: all 0.3s ease;
  border-radius: 4px;
}

.step-dot.active {
  background: var(--tertiary);
  width: 32px;
}

.step-dot.done {
  background: var(--gold-deep);
}

/* =============================================
   Mobile bottom CTA bar
   ============================================= */
.mobile-bottom-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 26, 47, 0.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 0.6rem 0.75rem 0.75rem;
  z-index: 49;
  gap: 0.5rem;
}

@media (max-width: 768px) {
  .mobile-bottom-cta { display: flex; }
  body { padding-bottom: 76px; }
  .float-widget { bottom: 88px; right: 16px; }
}

/* =============================================
   Navigation
   ============================================= */
.nav-blur {
  background: rgba(10, 26, 47, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201, 169, 97, 0.08);
}

.nav-link {
  position: relative;
  font-family: 'Pretendard Variable', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--neutral);
  letter-spacing: -0.01em;
  padding: 0.5rem 0;
  transition: color 0.25s ease;
}

.nav-link:hover { color: var(--accent); }

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--tertiary);
  transition: width 0.3s ease;
}

.nav-link:hover::after { width: 100%; }

/* =============================================
   Press logos (placeholder)
   ============================================= */
.press-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  padding: 0 1.25rem;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--muted);
  opacity: 0.55;
  border: 1px solid rgba(201, 169, 97, 0.08);
  background: rgba(15, 34, 56, 0.3);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.press-logo:hover {
  opacity: 0.95;
  color: var(--tertiary);
  border-color: var(--border);
}

/* =============================================
   Promise checkmarks
   ============================================= */
.promise-icon {
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  background: rgba(201, 169, 97, 0.06);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tertiary);
  font-size: 1.05rem;
  flex-shrink: 0;
}

/* =============================================
   Utilities
   ============================================= */
.container-narrow {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-wide {
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 768px) {
  .container-narrow, .container-wide {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

.disclaimer {
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--muted);
  opacity: 0.85;
  letter-spacing: -0.005em;
}

.tag-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--tertiary);
  background: rgba(201, 169, 97, 0.06);
  border: 1px solid var(--border);
  border-radius: 4px;
}

/* Toast */
.toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translate(-50%, -100px);
  background: rgba(10, 26, 47, 0.97);
  backdrop-filter: blur(20px);
  border: 1px solid var(--tertiary);
  border-radius: 4px;
  color: var(--neutral);
  padding: 1rem 1.5rem;
  z-index: 100;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 90%;
  text-align: center;
  font-size: 0.9rem;
}

.toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

.toast.success { border-color: var(--tertiary); }
.toast.error { border-color: #ef4444; }

/* Headline display helper — for big editorial KR headlines */
.kr-headline {
  font-family: 'Pretendard Variable', sans-serif;
  letter-spacing: -0.025em;
  line-height: 1.15;
  word-break: keep-all;
}

/* =============================================
   Radial gold glow — section ambient lighting
   Use as: <div class="glow glow-tl"></div> inside section
   ============================================= */
.glow {
  position: absolute;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  filter: blur(220px);
  -webkit-filter: blur(220px);
  background: radial-gradient(circle, rgba(201, 169, 97, 0.10) 0%, rgba(201, 169, 97, 0.04) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.glow-tl { top: -240px; left: -200px; }
.glow-tr { top: -260px; right: -220px; }
.glow-bl { bottom: -260px; left: -180px; }
.glow-br { bottom: -280px; right: -220px; }
.glow-center { top: 50%; left: 50%; transform: translate(-50%, -50%); }

.glow-soft {
  background: radial-gradient(circle, rgba(201, 169, 97, 0.07) 0%, rgba(201, 169, 97, 0.025) 45%, transparent 70%);
}

.glow-strong {
  background: radial-gradient(circle, rgba(201, 169, 97, 0.13) 0%, rgba(201, 169, 97, 0.05) 40%, transparent 70%);
}

/* Smaller accent glow (e.g. behind hero portrait) */
.glow-sm {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.12) 0%, rgba(201, 169, 97, 0.04) 40%, transparent 70%);
}

/* =============================================
   Section divider — dotted gold line + small diamond
   ============================================= */
.section-divider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 1px;
  pointer-events: none;
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  /* Dotted look via simple repeating linear-gradient — much lighter than mask */
  background-image: repeating-linear-gradient(
    to right,
    rgba(201, 169, 97, 0.45) 0,
    rgba(201, 169, 97, 0.45) 2px,
    transparent 2px,
    transparent 6px
  );
  /* Fade out toward outer edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 35%, #000 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 35%, #000 100%);
}

.section-divider::after {
  -webkit-mask-image: linear-gradient(to left, transparent 0%, #000 35%, #000 100%);
  mask-image: linear-gradient(to left, transparent 0%, #000 35%, #000 100%);
}

.section-divider-diamond {
  width: 8px;
  height: 8px;
  margin: 0 18px;
  background: var(--tertiary);
  transform: rotate(45deg);
  flex-shrink: 0;
  position: relative;
  opacity: 0.85;
  box-shadow: 0 0 18px rgba(201, 169, 97, 0.35);
}

.section-divider-diamond::before {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(201, 169, 97, 0.25);
  transform: rotate(0deg);
}

/* =============================================
   Card hover glow (Design System v1.0)
   Applies to .glass-card, .practice-card on hover
   ============================================= */
.glass-card,
.practice-card {
  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s ease,
    box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  border-color: rgba(201, 169, 97, 0.32);
  box-shadow:
    0 0 40px rgba(201, 169, 97, 0.15),
    0 24px 60px -20px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(245, 241, 232, 0.04);
}

/* Practice card already has its own :hover — extend with gold glow */
.practice-card:hover {
  box-shadow:
    0 0 40px rgba(201, 169, 97, 0.15),
    0 24px 50px -20px rgba(0, 0, 0, 0.55);
}

/* =============================================
   Hero geometric line art (top-right decoration)
   ============================================= */
.hero-lines {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 70%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.15;
  overflow: hidden;
}

.hero-lines svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* =============================================
   Hero portrait area (right 40%, B&W, fade-out left)
   ============================================= */
.hero-portrait {
  position: absolute;
  top: 0;
  right: 0;
  width: 42%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  /* Fade out toward left */
  -webkit-mask-image: linear-gradient(to left, #000 30%, transparent 100%);
  mask-image: linear-gradient(to left, #000 30%, transparent 100%);
}

.hero-portrait-inner {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1B3A5E 0%, #142C4C 50%, #0A1A2F 100%);
  /* Placeholder texture — vertical line pattern suggesting a figure silhouette */
  background-image:
    linear-gradient(135deg, rgba(201,169,97,0.06) 0%, transparent 50%),
    linear-gradient(180deg, transparent 0%, rgba(10,26,47,0.4) 100%);
  filter: grayscale(1) contrast(1.05);
  opacity: 0.35;
}

/* Deep navy tint overlay for tonal unity */
.hero-portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,26,47,0.55) 0%, rgba(20,44,76,0.3) 100%);
  mix-blend-mode: multiply;
}

/* Placeholder label */
.portrait-placeholder-label {
  position: absolute;
  bottom: 12%;
  right: 10%;
  z-index: 3;
  font-family: 'Pretendard Variable', sans-serif;
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  color: rgba(201, 169, 97, 0.45);
  text-transform: uppercase;
  pointer-events: none;
}

/* =============================================
   Lawyer portrait card (Team — 3:4, B&W → color on hover)
   ============================================= */
.lawyer-portrait {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, #1B3A5E 0%, #142C4C 50%, #0A1A2F 100%);
  border-bottom: 1px solid var(--tertiary);
  /* The thin gold line under the photo (1px) */
}

.lawyer-portrait-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  filter: grayscale(1) contrast(1.02) brightness(0.92);
  transition: filter 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.practice-card:hover .lawyer-portrait-img {
  filter: grayscale(0) contrast(1) brightness(1);
  transform: scale(1.04);
}

/* Tonal overlay (warm 3200K bias) — applied even on hover, subtle */
.lawyer-portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 50%, rgba(10,26,47,0.45) 100%),
    linear-gradient(135deg, rgba(201,169,97,0.05) 0%, transparent 60%);
  pointer-events: none;
}

/* Placeholder version (when no actual photo) — initials with monogram styling */
.lawyer-portrait-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 3.5rem;
  color: rgba(201, 169, 97, 0.28);
  letter-spacing: 0.08em;
  font-variation-settings: 'opsz' 96;
  transition: color 0.6s ease;
  /* Subtle warm side-lighting */
  background:
    radial-gradient(ellipse 60% 70% at 25% 35%, rgba(201,169,97,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 75% 75%, rgba(10,26,47,0.5) 0%, transparent 70%);
}

.practice-card:hover .lawyer-portrait-placeholder {
  color: rgba(201, 169, 97, 0.5);
}

/* Photo source label (visible only on hover, very subtle) */
.lawyer-portrait-label {
  position: absolute;
  bottom: 8px;
  right: 10px;
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 241, 232, 0.3);
  font-family: 'Pretendard Variable', sans-serif;
  z-index: 2;
}

/* =============================================
   Coming Soon card — minimal "+ TF팀 확장 예정"
   Distinct visual hierarchy from Cha Sang Jin card
   ============================================= */
.coming-soon-card {
  position: relative;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px dashed rgba(201, 169, 97, 0.18);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: all 0.4s ease;
}

.coming-soon-card:hover {
  border-color: rgba(201, 169, 97, 0.32);
  background: rgba(15, 34, 56, 0.25);
}

.coming-soon-plus {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 97, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(201, 169, 97, 0.5);
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
}

.coming-soon-card:hover .coming-soon-plus {
  color: var(--tertiary);
  border-color: rgba(201, 169, 97, 0.45);
}

/* =============================================
   Detail cut (Consult section — pen / document B&W with gold duotone)
   ============================================= */
.detail-cut {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, #1B3A5E 0%, #142C4C 60%, #0A1A2F 100%);
}

.detail-cut-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* B&W + gold duotone effect */
  filter: grayscale(1) sepia(0.18) brightness(0.92) contrast(1.05);
  opacity: 0.6;
  transition: opacity 0.5s ease;
}

.detail-cut::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(201, 169, 97, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, transparent 50%, rgba(10, 26, 47, 0.5) 100%);
  pointer-events: none;
}

.detail-cut-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: rgba(201, 169, 97, 0.45);
  font-size: 2.5rem;
}

.detail-cut-placeholder-label {
  position: absolute;
  bottom: 12px;
  left: 14px;
  font-family: 'Pretendard Variable', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 241, 232, 0.4);
  z-index: 2;
}

/* =============================================
   Practice — full-bleed image cards (2×2 grid)
   Replaces the old emoji-based practice cards.
   ============================================= */
.practice-image-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid rgba(201, 169, 97, 0.20);
  border-radius: 8px;
  background-color: #0A1A2F; /* primary fallback while image loads */
  text-decoration: none;
  cursor: pointer;
  isolation: isolate; /* keep ::after stacked inside this card */
  transition:
    border-color 0.6s ease,
    box-shadow 0.6s ease,
    transform 0.6s ease;
}

.practice-image-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 0;
}

/* Deep-navy gradient overlay — readability + brand tonality
   - Top 40% lighter
   - Bottom-left up to 80% opacity */
.practice-image-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(10, 26, 47, 0.40) 0%,
      rgba(10, 26, 47, 0.55) 50%,
      rgba(10, 26, 47, 0.85) 100%
    ),
    linear-gradient(
      to top right,
      rgba(10, 26, 47, 0.55) 0%,
      rgba(10, 26, 47, 0.30) 45%,
      rgba(10, 26, 47, 0.0) 70%
    );
  transition: opacity 0.6s ease;
}

/* Variant: STRONG — for bright images (finance/charts) */
.practice-image-card--strong .practice-image-card__overlay {
  background:
    linear-gradient(
      180deg,
      rgba(10, 26, 47, 0.50) 0%,
      rgba(10, 26, 47, 0.70) 50%,
      rgba(10, 26, 47, 0.92) 100%
    ),
    linear-gradient(
      to top right,
      rgba(10, 26, 47, 0.75) 0%,
      rgba(10, 26, 47, 0.40) 45%,
      rgba(10, 26, 47, 0.0) 70%
    );
}

/* Variant: LIGHT — for already-dark images (drug) */
.practice-image-card--light .practice-image-card__overlay {
  background:
    linear-gradient(
      180deg,
      rgba(10, 26, 47, 0.30) 0%,
      rgba(10, 26, 47, 0.45) 50%,
      rgba(10, 26, 47, 0.72) 100%
    ),
    linear-gradient(
      to top right,
      rgba(10, 26, 47, 0.45) 0%,
      rgba(10, 26, 47, 0.22) 45%,
      rgba(10, 26, 47, 0.0) 70%
    );
}

/* Top-right arrow accent */
.practice-image-card__arrow {
  position: absolute;
  top: 20px;
  right: 22px;
  z-index: 3;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tertiary);
  font-size: 14px;
  opacity: 0.6;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
}

/* Bottom-left content block */
.practice-image-card__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 88%;
}

.practice-image-card__number {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--tertiary);
  letter-spacing: 0.04em;
  font-variation-settings: 'opsz' 14;
  margin-bottom: 14px;
  line-height: 1;
}

.practice-image-card__title {
  font-family: 'Pretendard Variable', sans-serif;
  font-weight: 600;
  font-size: 28px;
  color: #F5F1E8;
  letter-spacing: -0.02em;
  line-height: 1.2;
  word-break: keep-all;
  margin: 0;
}

.practice-image-card__rule {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--tertiary);
  margin: 12px 0;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.practice-image-card__keywords {
  font-family: 'Pretendard Variable', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: var(--tertiary);
  opacity: 0.8;
  letter-spacing: -0.005em;
  line-height: 1.55;
  margin: 0 0 10px 0;
  word-break: keep-all;
}

.practice-image-card__summary {
  font-family: 'Pretendard Variable', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  letter-spacing: -0.005em;
  margin: 0;
  word-break: keep-all;
  /* On smaller cards, clamp to 2 lines for visual stability */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Hover state — full interaction set */
.practice-image-card:hover {
  border-color: rgba(201, 169, 97, 0.60);
  box-shadow: 0 20px 60px rgba(201, 169, 97, 0.15);
}

.practice-image-card:hover .practice-image-card__bg {
  transform: scale(1.05);
}

.practice-image-card:hover .practice-image-card__overlay {
  opacity: 0.85; /* −15% — image reveals more */
}

.practice-image-card:hover .practice-image-card__arrow {
  transform: translateX(8px);
  opacity: 1;
}

.practice-image-card:hover .practice-image-card__rule {
  width: 40px;
}

/* Focus visible (keyboard accessibility) */
.practice-image-card:focus-visible {
  outline: 2px solid var(--tertiary);
  outline-offset: 3px;
}

/* Responsive — text sizing for tablet/mobile */
@media (max-width: 1023px) {
  .practice-image-card__title { font-size: 24px; }
  .practice-image-card__content { padding: 28px; }
}

@media (max-width: 767px) {
  .practice-image-card__title { font-size: 22px; }
  .practice-image-card__content { padding: 24px; max-width: 92%; }
  .practice-image-card__keywords,
  .practice-image-card__summary { font-size: 13px; }
  .practice-image-card__arrow { top: 16px; right: 18px; }
}

/* =============================================
   Section spacing tokens (differentiated rhythm)
   - Use as: <section class="section-spacing-lg">
   ============================================= */
.section-spacing-xl { padding-top: 160px; padding-bottom: 160px; }   /* hero → diff */
.section-spacing-lg { padding-top: 120px; padding-bottom: 120px; }   /* diff → team */
.section-spacing-md { padding-top: 96px;  padding-bottom: 96px; }
.section-spacing-sm { padding-top: 64px;  padding-bottom: 64px; }    /* team → timeline (tight) */

@media (max-width: 768px) {
  .section-spacing-xl { padding-top: 96px;  padding-bottom: 96px; }
  .section-spacing-lg { padding-top: 80px;  padding-bottom: 80px; }
  .section-spacing-md { padding-top: 64px;  padding-bottom: 64px; }
  .section-spacing-sm { padding-top: 48px;  padding-bottom: 48px; }
}

@media print {
  .float-widget, .mobile-bottom-cta, nav { display: none !important; }
}
