/* ==========================================================================
   Pierce & Pierce Capital — Design System
   Aesthetic Reference: Brevan Howard (brevanhoward.com)
   Ultra-refined institutional dark theme, editorial typography, hairline grids
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Surface Tokens */
  --bg-base: #08090b;
  --bg-surface: #0d0f14;
  --bg-card: #12151d;
  --bg-card-hover: #171c26;
  --bg-elevated: #1a1f2c;
  --bg-sheet: #0d0f14;

  /* Border Tokens */
  --border-hairline: rgba(255, 255, 255, 0.07);
  --border-subtle: rgba(255, 255, 255, 0.12);
  --border-active: rgba(197, 168, 128, 0.4);
  --border-gold: #c5a880;

  /* Accent & Metallic Tokens (Refined Champagne Gold & Titanium) */
  --gold: #c5a880;
  --gold-light: #e8d9c2;
  --gold-glow: rgba(197, 168, 128, 0.15);
  --gold-dark: #8c7352;

  /* Typography Colors */
  --text-pure: #ffffff;
  --text-high: #f8fafc;
  --text-med: #94a3b8;
  --text-low: #64748b;
  --text-faint: #475569;

  /* Performance Accents */
  --color-gain: #10b981;
  --color-gain-bg: rgba(16, 185, 129, 0.08);
  --color-loss: #f43f5e;
  --color-loss-bg: rgba(244, 63, 94, 0.08);

  /* Benchmarks */
  --color-imoex: #38bdf8;
  --color-sp500: #a855f7;
  --color-btc: #f59e0b;

  /* Fonts */
  --font-serif: 'Cinzel', 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;

  /* Layout */
  --max-width: 1280px;
  --header-height: 80px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* Transitions */
  --transition-smooth: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  background-color: var(--bg-base);
  overflow-x: clip;
  max-width: 100vw;
  width: 100%;
}

body {
  background-color: var(--bg-base);
  color: var(--text-high);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  max-width: 100vw;
  width: 100%;
  position: relative;
}

.hero-risk-micro-notice {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-low);
  margin-top: 14px;
  letter-spacing: 0.03em;
  opacity: 0.85;
}

/* Background Subtle Texture Grid */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
}

.ambient-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(circle, rgba(197, 168, 128, 0.07) 0%, rgba(8, 9, 11, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

/* Typography Helpers */
h1, h2, h3, .serif-font {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-pure);
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--gold);
}

.section-title {
  font-size: 38px;
  line-height: 1.25;
  margin-bottom: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.section-desc {
  font-size: 16px;
  color: var(--text-med);
  max-width: 680px;
  line-height: 1.6;
  margin-bottom: 48px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(8, 9, 11, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-hairline);
  z-index: 100;
  transition: var(--transition-smooth);
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text-pure);
}

.brand-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid var(--border-subtle);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-pure);
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--gold);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  color: var(--text-med);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: var(--transition-smooth);
  position: relative;
}

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

.nav-link.active {
  color: var(--gold);
}

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

/* Language & Brand Switchers */
.lang-switcher {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  padding: 2px;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-med);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  cursor: pointer;
  border-radius: 3px;
  transition: var(--transition-smooth);
}

.lang-btn.active {
  background: var(--bg-elevated);
  color: var(--gold);
  box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

/* Primary Button (Brevan Howard discreet luxury) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #0d0f14;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(197, 168, 128, 0.2);
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(197, 168, 128, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--text-high);
  border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(197, 168, 128, 0.04);
}

.btn-sm {
  padding: 7px 14px;
  font-size: 11px;
}

/* ==========================================================================
   Hero Section (Brevan Howard Style Split & Monolith)
   ========================================================================== */
/* ==========================================================================
   Hero Section — Grand Institutional Style (Brevan Howard Archetype)
   ========================================================================== */
.hero-section {
  padding: 110px 0 80px 0;
  position: relative;
  border-bottom: 1px solid var(--border-hairline);
  overflow: hidden;
  background: var(--bg-dark);
}

.hero-atmosphere {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.hero-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 520px;
  background: radial-gradient(ellipse at 50% 30%, rgba(197, 168, 128, 0.14) 0%, rgba(8, 9, 11, 0) 70%);
  filter: blur(50px);
}

.hero-container-grand {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.hero-title-grand {
  font-family: var(--font-serif);
  font-size: 58px;
  line-height: 1.15;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.015em;
  margin-bottom: 22px;
  max-width: 960px;
}

.hero-title-grand .gold-gradient {
  background: linear-gradient(135deg, #ffffff 15%, var(--gold-light) 65%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle-grand {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-med);
  max-width: 720px;
  margin: 0 auto 36px auto;
  font-weight: 400;
}

.hero-actions-grand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
}

/* Key Metrics Tiles (Hero Grid) */
.hero-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-hairline);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 48px;
  width: 100%;
  max-width: 1080px;
}

.metric-tile {
  background: var(--bg-surface);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.metric-tile:hover {
  background: var(--bg-card);
}

.metric-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-med);
  margin-bottom: 12px;
}

.metric-value {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 700;
  color: var(--text-pure);
  line-height: 1;
  margin-bottom: 8px;
}

.metric-value.gold {
  color: var(--gold);
}

.metric-caption {
  font-size: 12px;
  color: var(--text-low);
  line-height: 1.4;
}

/* ==========================================================================
   Quantitative Performance & Benchmarking Section
   ========================================================================== */
.section {
  padding: 100px 0;
  border-bottom: 1px solid var(--border-hairline);
  position: relative;
  scroll-margin-top: 80px;
}

.performance-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 24px;
}

.chart-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.timeframe-group {
  display: flex;
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  padding: 3px;
}

.tf-btn {
  background: none;
  border: none;
  color: var(--text-med);
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 5px 12px;
  cursor: pointer;
  border-radius: 3px;
  transition: var(--transition-smooth);
}

.tf-btn.active {
  background: var(--bg-elevated);
  color: var(--gold);
}

/* Benchmark Toggles */
.benchmark-toggles {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.bm-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  padding: 6px 14px;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-med);
  border-radius: var(--radius-sm);
  cursor: pointer;
  user-select: none;
  transition: var(--transition-smooth);
}

.bm-pill input {
  display: none;
}

.bm-indicator {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}

.bm-pill.active {
  color: var(--text-pure);
  border-color: var(--border-subtle);
  background: var(--bg-card);
}

.bm-pill.bm-fund .bm-indicator { background: var(--gold); box-shadow: 0 0 6px var(--gold); }
.bm-pill.bm-imoex .bm-indicator { background: var(--color-imoex); }
.bm-pill.bm-sp500 .bm-indicator { background: var(--color-sp500); }
.bm-pill.bm-btc .bm-indicator { background: var(--color-btc); }

/* Chart Container */
.chart-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 32px;
  position: relative;
}

.chart-canvas-wrapper {
  width: 100%;
  height: 380px;
  position: relative;
}

#performanceCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.chart-tooltip {
  position: absolute;
  pointer-events: none;
  background: var(--bg-card);
  border: 1px solid var(--border-active);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-pure);
  box-shadow: 0 8px 24px rgba(0,0,0,0.7);
  display: none;
  z-index: 20;
}

/* Institutional Quantitative Metrics Cards */
.quant-stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.quant-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  padding: 16px;
  transition: var(--transition-smooth);
}

.quant-card:hover {
  border-color: var(--border-subtle);
  background: var(--bg-card);
}

.quant-header {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-low);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.quant-val {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-pure);
  margin-bottom: 4px;
}

.quant-val.gain { color: var(--color-gain); }
.quant-val.loss { color: var(--color-loss); }

.quant-desc {
  font-size: 11px;
  color: var(--text-faint);
}

/* Monthly Returns Heatmap */
.heatmap-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 24px;
  overflow-x: auto;
}

.heatmap-title {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.heatmap-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 12px;
  text-align: right;
}

.heatmap-table th {
  padding: 8px 10px;
  font-size: 10px;
  color: var(--text-low);
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-hairline);
}

.heatmap-table td {
  padding: 10px;
  border-bottom: 1px solid var(--border-hairline);
  font-variant-numeric: tabular-nums;
}

.heatmap-table td.year-col {
  text-align: left;
  font-weight: 600;
  color: var(--text-high);
}

.heatmap-table td.ytd-col {
  font-weight: 700;
  border-left: 1px solid var(--border-hairline);
}

.cell-pos {
  color: #34d399;
  background: rgba(16, 185, 129, 0.05);
}

.cell-neg {
  color: #f87171;
  background: rgba(244, 63, 94, 0.05);
}

.cell-neutral {
  color: var(--text-low);
}

/* ==========================================================================
   Managing Partner / Institutional Pedigree
   ========================================================================== */
.manager-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 48px;
  align-items: start;
}

.manager-profile-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 0;
  position: relative;
  overflow: hidden;
}

.manager-portrait-container {
  width: 100%;
  height: 440px;
  position: relative;
  overflow: hidden;
  background: #000;
}

.manager-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  filter: grayscale(100%) contrast(1.08);
  transition: transform 0.8s ease;
}

.manager-portrait-container:hover .manager-portrait-img {
  transform: scale(1.02);
}

.manager-portrait-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to top, var(--bg-surface) 0%, transparent 100%);
  pointer-events: none;
}

.manager-profile-content {
  padding: 0 32px 32px 32px;
  position: relative;
  margin-top: -24px;
}

.manager-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border-active);
  background: var(--bg-card);
  padding: 3px 8px;
  border-radius: 2px;
  margin-bottom: 16px;
}

.manager-name {
  font-size: 32px;
  margin-bottom: 6px;
  color: #ffffff;
}

.manager-role {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-med);
  margin-bottom: 24px;
}

.manager-credentials-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid var(--border-hairline);
  padding-top: 24px;
}

.cred-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.cred-icon {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.cred-text strong {
  color: var(--text-pure);
  font-weight: 600;
  display: block;
  font-size: 13px;
}

.cred-text span {
  font-size: 12px;
  color: var(--text-low);
}

.manager-narrative {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.manager-quote {
  border-left: 2px solid var(--gold);
  padding-left: 24px;
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.5;
  color: var(--gold-light);
  font-style: italic;
}

.narrative-p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-med);
}

.narrative-p strong {
  color: var(--text-pure);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.approach-split-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 16px;
  margin-top: 24px;
  align-items: stretch;
}

.approach-image-card {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-hairline);
  background: var(--bg-surface);
  min-height: 280px;
}

.approach-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.1) grayscale(90%);
  transition: transform 0.8s ease;
}

.approach-image-card:hover img {
  transform: scale(1.03);
}

.approach-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(8, 9, 11, 0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  pointer-events: none;
}

.approach-image-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.approach-image-caption {
  font-size: 12px;
  color: var(--text-pure);
  font-weight: 500;
}

.pillar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  padding: 20px;
  transition: var(--transition-smooth);
}

.pillar-card:hover {
  border-color: var(--border-subtle);
  transform: translateY(-2px);
}

.pillar-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gold);
  margin-bottom: 8px;
}

.pillar-title {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-pure);
  margin-bottom: 6px;
}

.pillar-desc {
  font-size: 12px;
  color: var(--text-low);
  line-height: 1.5;
}

/* ==========================================================================
   Brevan Howard Style Architectural & Trading Desk Visual Feature
   ========================================================================== */
.trading-desk-banner {
  margin: 60px 0 0 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  height: 520px;
  border: 1px solid var(--border-hairline);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6);
}

.trading-desk-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 25% top;
  filter: brightness(0.95) contrast(1.05);
  transition: transform 1.2s ease;
}

.trading-desk-banner:hover img {
  transform: scale(1.02);
}

.trading-desk-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(270deg, rgba(8, 9, 11, 0.98) 0%, rgba(8, 9, 11, 0.88) 46%, rgba(8, 9, 11, 0.2) 75%, rgba(8, 9, 11, 0.02) 100%);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 48px 56px;
}

.trading-desk-content {
  max-width: 580px;
}

.trading-desk-title {
  font-family: var(--font-serif);
  font-size: 28px;
  color: #ffffff;
  margin-bottom: 12px;
}

.trading-desk-desc {
  font-size: 14px;
  color: var(--text-med);
  line-height: 1.6;
  margin-bottom: 24px;
}

.trading-desk-stats {
  display: flex;
  gap: 28px;
  border-top: 1px solid var(--border-hairline);
  padding-top: 16px;
}

.td-stat-val {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}

.td-stat-lbl {
  font-size: 11px;
  color: var(--text-low);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* ==========================================================================
   Allocation Products & Formats
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-smooth);
}

.product-card:hover {
  border-color: var(--border-subtle);
  background: var(--bg-card);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.5);
}

.product-card.featured {
  border-color: var(--border-active);
  background: linear-gradient(180deg, rgba(197, 168, 128, 0.05) 0%, var(--bg-surface) 100%);
}

.featured-pill {
  position: absolute;
  top: -12px;
  left: 28px;
  background: var(--gold);
  color: #08090b;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 2px;
}

.product-format-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-low);
  margin-bottom: 12px;
}

.product-title {
  font-size: 22px;
  margin-bottom: 12px;
  color: #ffffff;
}

.product-summary {
  font-size: 13px;
  color: var(--text-med);
  line-height: 1.5;
  margin-bottom: 24px;
  min-height: 60px;
}

.product-meta-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
  padding: 20px 0;
  margin-bottom: 28px;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.meta-label {
  color: var(--text-low);
}

.meta-val {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--text-pure);
}

.product-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.feature-bullet {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-med);
}

.feature-bullet svg {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   Interactive Capital & Fee Simulator (High-Water Mark)
   ========================================================================== */
.simulator-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 40px;
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.sim-input-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.slider-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.slider-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-med);
}

.slider-display-val {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 600;
  color: var(--gold);
}

.custom-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: var(--bg-elevated);
  border-radius: 3px;
  outline: none;
}

.custom-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(197, 168, 128, 0.5);
  border: 2px solid var(--bg-base);
}

.custom-range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  border: 2px solid var(--bg-base);
}

.horizon-toggle {
  display: flex;
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  padding: 3px;
  gap: 4px;
}

.hz-btn {
  flex: 1;
  background: none;
  border: none;
  color: var(--text-med);
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 8px;
  cursor: pointer;
  border-radius: 3px;
  transition: var(--transition-smooth);
}

.hz-btn.active {
  background: var(--bg-elevated);
  color: var(--text-pure);
}

.sim-output-col {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sim-metric-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--border-hairline);
  padding-bottom: 12px;
}

.sim-metric-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sim-res-label {
  font-size: 13px;
  color: var(--text-med);
}

.sim-res-val {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-pure);
}

.sim-res-val.highlight {
  font-size: 26px;
  color: var(--color-gain);
}

.hwm-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(197, 168, 128, 0.08);
  border: 1px solid rgba(197, 168, 128, 0.2);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  color: var(--gold-light);
  margin-top: 10px;
}

/* ==========================================================================
   Partnership Program Section
   ========================================================================== */
.partner-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 56px;
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 52px;
  align-items: center;
}

.partner-info-col {
  display: flex;
  flex-direction: column;
}

.partner-terms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.partner-term-item {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  padding: 20px;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.partner-term-item:hover {
  border-color: var(--border-active);
  transform: translateY(-2px);
}

.partner-term-num {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 6px;
}

.partner-term-label {
  font-size: 12px;
  color: var(--text-low);
  line-height: 1.45;
}

/* Heart & Pin Editorial Visual Card */
.partner-visual-col {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.partner-heart-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.partner-heart-card:hover {
  border-color: rgba(197, 168, 128, 0.4);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.6);
}

.partner-heart-img-wrap {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #050608;
  position: relative;
}

.partner-heart-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  filter: contrast(1.04) brightness(0.98);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
}

.partner-heart-card:hover .partner-heart-img {
  transform: scale(1.03);
  filter: contrast(1.06) brightness(1.02);
}

.partner-heart-caption-bar {
  padding: 14px 18px;
  background: rgba(13, 15, 18, 0.95);
  border-top: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.partner-heart-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(197, 168, 128, 0.1);
  border: 1px solid rgba(197, 168, 128, 0.25);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.partner-heart-text {
  font-size: 12px;
  color: var(--text-med);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   Custody & Fiduciary FAQ
   ========================================================================== */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item.active {
  border-color: rgba(197, 168, 128, 0.35);
  background: var(--bg-card);
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.7), 0 0 1px rgba(197, 168, 128, 0.2);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-pure);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 16px;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--gold);
}

.faq-item.active .faq-question {
  color: var(--gold-light);
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-answer-wrapper {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
  padding: 0 28px 24px 28px;
  color: var(--text-med);
  font-size: 14px;
  line-height: 1.7;
}

/* Fallback for legacy class */
.faq-answer {
  overflow: hidden;
}

/* ==========================================================================
   Regulatory & Risk Disclaimer
   ========================================================================== */
.disclaimer-section {
  background: #050608;
  border-top: 1px solid var(--border-hairline);
  padding: 60px 0;
  color: var(--text-faint);
  font-size: 11px;
  line-height: 1.7;
}

.disclaimer-box {
  border: 1px solid rgba(255,255,255,0.05);
  padding: 28px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.01);
}

.disclaimer-heading {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-low);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

/* ==========================================================================
   Site Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-base);
  border-top: 1px solid var(--border-hairline);
  padding: 60px 0 40px 0;
  font-size: 13px;
  color: var(--text-low);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.footer-link {
  color: var(--text-med);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-link:hover {
  color: var(--text-pure);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-hairline);
  padding-top: 24px;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   Slide-Over Allocation Drawer (Right Sheet)
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.slide-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 520px;
  max-width: 100vw;
  height: 100vh;
  background: var(--bg-sheet);
  border-left: 1px solid var(--border-subtle);
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -16px 0 48px rgba(0, 0, 0, 0.8);
}

.drawer-backdrop.open .slide-drawer {
  transform: translateX(0);
}

.drawer-header {
  padding: 32px;
  border-bottom: 1px solid var(--border-hairline);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.drawer-title {
  font-size: 24px;
  margin-bottom: 6px;
  color: #ffffff;
}

.drawer-sub {
  font-size: 13px;
  color: var(--text-med);
}

.drawer-close-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  color: var(--text-med);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.drawer-close-btn:hover {
  color: var(--text-pure);
  border-color: var(--border-subtle);
}

.drawer-body {
  padding: 32px;
  overflow-y: auto;
  flex-grow: 1;
}

.drawer-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-med);
}

.form-input, .form-select, .form-textarea {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text-pure);
  font-family: var(--font-sans);
  font-size: 14px;
  transition: var(--transition-smooth);
  width: 100%;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
  background: var(--bg-elevated);
}

.form-textarea {
  min-height: 80px;
  resize: vertical;
}

.drawer-footer {
  padding: 24px 32px;
  border-top: 1px solid var(--border-hairline);
  background: var(--bg-surface);
}

.submission-state {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.submission-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px auto;
  color: var(--color-gain);
}

.submission-title {
  font-size: 22px;
  margin-bottom: 12px;
  color: #ffffff;
}

.submission-desc {
  font-size: 14px;
  color: var(--text-med);
  line-height: 1.6;
  margin-bottom: 24px;
}

.ticket-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-active);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  color: var(--gold);
}

/* Drawer Desk Officer Badge */
.drawer-manager-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
}

.drawer-manager-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  border: 1.5px solid var(--gold);
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(197, 168, 128, 0.2);
}

.drawer-manager-info {
  display: flex;
  flex-direction: column;
}

.drawer-manager-name {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

.drawer-manager-sub {
  font-size: 11px;
  color: var(--text-med);
  line-height: 1.4;
}


/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }
  .hero-title-grand {
    font-size: 44px;
  }
  .hero-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .quant-stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .manager-grid {
    grid-template-columns: 1fr;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .simulator-box {
    grid-template-columns: 1fr;
  }
  .partner-container {
    grid-template-columns: 1fr;
    padding: 36px 24px;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero-title-grand {
    font-size: 32px;
  }
  .hero-actions-grand {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions-grand .btn {
    width: 100%;
  }
  .hero-metrics-grid {
    grid-template-columns: 1fr;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .section-title {
    font-size: 28px;
  }
  .partner-container {
    padding: 28px 16px;
    gap: 28px;
  }
  .trading-desk-banner {
    height: auto;
    min-height: 520px;
  }
  .trading-desk-overlay {
    background: linear-gradient(180deg, rgba(8, 9, 11, 0.3) 0%, rgba(8, 9, 11, 0.92) 42%, rgba(8, 9, 11, 0.98) 100%);
    padding: 240px 20px 32px 20px;
    justify-content: flex-start;
  }
  .trading-desk-stats {
    flex-wrap: wrap;
    gap: 20px;
  }
  .partner-terms-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .quant-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-metrics-grid {
    grid-template-columns: 1fr;
  }
  .slide-drawer {
    width: 100vw;
  }
  .brand-config-pill {
    display: none;
  }
}

/* ==========================================================================
   Agency-Grade Luxury Motion System (Brevan Howard / Apple Pro Standard)
   ========================================================================== */

/* 1. Hairline Scroll Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
  z-index: 10001;
  pointer-events: none;
  transition: width 0.08s linear;
  box-shadow: 0 0 10px rgba(197, 168, 128, 0.4);
}

/* 2. Header Elevated Glass State */
.site-header {
  transition: background-color 0.35s ease, backdrop-filter 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.site-header.scrolled {
  background: rgba(8, 9, 11, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: rgba(197, 168, 128, 0.2);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
}

/* 3. Hero Entrance Keyframes & Animation Classes */
@keyframes heroFadeUp {
  0% {
    opacity: 0;
    transform: translateY(28px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroKickerExpand {
  0% {
    opacity: 0;
    letter-spacing: 0.26em;
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    letter-spacing: 0.16em;
    transform: translateY(0);
  }
}

.hero-animate-kicker {
  animation: heroKickerExpand 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-animate-title {
  opacity: 0;
  animation: heroFadeUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

.hero-animate-sub {
  opacity: 0;
  animation: heroFadeUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.hero-actions-grand.hero-animate-actions {
  opacity: 0;
  animation: heroFadeUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.45s forwards;
}

.hero-metrics-grid.hero-animate-metrics {
  opacity: 0;
  animation: heroFadeUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

/* 4. Scroll-Driven Intersection Reveal */
.scroll-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

/* Stagger delay helpers for children in grids */
.scroll-reveal.reveal-stagger > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.scroll-reveal.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.scroll-reveal.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.12s; }
.scroll-reveal.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.19s; }
.scroll-reveal.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.26s; }
.scroll-reveal.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.33s; }
.scroll-reveal.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.40s; }

/* 5. Spotlight Sheen on Luxury Cards (Linear / Apple Pro Effect) */
.spotlight-card {
  position: relative;
  overflow: hidden;
}

.spotlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    480px circle at var(--mouse-x, -500px) var(--mouse-y, -500px),
    rgba(197, 168, 128, 0.08),
    transparent 80%
  );
  opacity: var(--spotlight-opacity, 0);
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 2;
  border-radius: inherit;
}

/* 6. Refined Micro-Interactions on Interactive Elements */
.metric-tile, .quant-card, .pillar-card, .product-card, .partner-term-item {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn svg {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(197, 168, 128, 0.32);
}

.btn-outline:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(197, 168, 128, 0.06);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* 7. Image Breathing on Cards */
.manager-portrait-container img,
.partner-heart-img-wrap img {
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
}

.manager-profile-card:hover .manager-portrait-container img,
.partner-heart-card:hover .partner-heart-img-wrap img {
  transform: scale(1.03);
}

/* 8. Slider Interactive Glow */
.custom-range {
  transition: box-shadow 0.3s ease;
}

.custom-range::-webkit-slider-thumb {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}

.custom-range::-webkit-slider-thumb:hover,
.custom-range::-webkit-slider-thumb:active {
  transform: scale(1.25);
  box-shadow: 0 0 16px var(--gold);
}

/* 9. Heatmap Hover Polish */
.heatmap-table tbody tr {
  transition: background-color 0.2s ease;
}

.heatmap-table tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.025);
}

/* 10. Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   Digital Boutique / Vibe-Coding Aesthetic Overhaul (Instagram Reference)
   ========================================================================== */

/* 1. Editorial High-Contrast Typography */
.editorial-sans {
  font-family: var(--font-sans);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  display: inline-block;
}

.editorial-serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.01em;
  color: var(--gold-light);
  display: inline-block;
  margin: 0 4px;
}

.hero-status-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(197, 168, 128, 0.08);
  border: 1px solid rgba(197, 168, 128, 0.25);
  padding: 6px 14px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 24px;
}

.hero-status-ribbon .pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title-editorial {
  font-size: 56px;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 24px;
  text-align: left;
  position: relative;
}

.hero-title-editorial .kinetic-line {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}

.hero-title-editorial .kinetic-line > * {
  display: inline-block;
  transform: translateY(115%);
  transition: transform 0.95s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.hero-title-editorial.is-revealed .kinetic-line:nth-child(1) > * {
  transform: translateY(0);
  transition-delay: 0.08s;
}

.hero-title-editorial.is-revealed .kinetic-line:nth-child(3) > * {
  transform: translateY(0);
  transition-delay: 0.22s;
}

.hero-title-editorial.is-revealed .kinetic-line:nth-child(4) > * {
  transform: translateY(0);
  transition-delay: 0.36s;
}

.hero-title-hairline {
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 0%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold) 0%, rgba(197, 168, 128, 0.4) 60%, transparent 100%);
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
}

.hero-title-editorial.is-revealed .hero-title-hairline {
  width: 100%;
}

.hero-subtitle-editorial {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-med);
  margin-bottom: 32px;
  max-width: 580px;
  text-align: left;
}

.hero-actions-editorial {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.hero-trust-tokens {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-hairline);
}

.trust-token-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-med);
}

.trust-token-item svg {
  color: var(--gold);
  flex-shrink: 0;
}

/* 2. Hero Split Grid */
.hero-split-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  width: 100%;
  margin-bottom: 48px;
}

.hero-content-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-pass-col {
  display: flex;
  justify-content: center;
  perspective: 1200px;
}

/* 3. Institutional Fiduciary Mandate Card */
.fiduciary-mandate-card {
  width: 100%;
  max-width: 380px;
  background: linear-gradient(165deg, rgba(24, 29, 40, 0.95) 0%, rgba(13, 16, 23, 0.98) 100%);
  border: 1px solid rgba(197, 168, 128, 0.28);
  border-radius: 14px;
  padding: 0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 20px rgba(197, 168, 128, 0.06);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.fiduciary-mandate-card:hover {
  border-color: rgba(197, 168, 128, 0.45);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.75), 0 0 30px rgba(197, 168, 128, 0.12);
  transform: translateY(-2px);
}

.mandate-card-header {
  position: relative;
  background: rgba(17, 20, 28, 0.9);
  padding: 16px 20px 14px 20px;
  border-bottom: 1px solid rgba(197, 168, 128, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ticket-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ticket-logo-mark {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 15px;
  color: var(--gold);
  letter-spacing: 0.1em;
}

.ticket-doc-type {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  padding: 3px 8px;
  border-radius: 4px;
}

.ticket-serial {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-med);
}

.ticket-body {
  padding: 24px 20px 20px 20px;
  position: relative;
}

.ticket-mandate-title {
  margin-bottom: 18px;
}

.mandate-lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 4px;
}

.mandate-name {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.ticket-kv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-hairline);
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 18px;
}

.ticket-kv {
  display: flex;
  flex-direction: column;
}

.tk-lbl {
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-med);
  margin-bottom: 3px;
}

.tk-val {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.tk-val.gold {
  color: var(--gold);
}

.ticket-barcode-wrap {
  text-align: center;
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  margin-bottom: 16px;
}

.ticket-barcode {
  width: 85%;
  height: 34px;
  color: #ffffff;
  opacity: 0.85;
}

.ticket-barcode-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--text-med);
  margin-top: 4px;
}

.ticket-claim-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #0b0d12;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.ticket-claim-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

/* 4. Interactive Quant Allocation Compass (Clock / Dial Widget from 9.5s) */
.compass-section-wrap {
  background: linear-gradient(180deg, rgba(13, 16, 23, 0.8) 0%, rgba(8, 9, 11, 0.95) 100%);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin-top: 56px;
  position: relative;
  overflow: hidden;
}

.compass-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px auto;
}

.compass-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.compass-wheel-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 420px;
}

.compass-dial {
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 1px solid rgba(197, 168, 128, 0.25);
  position: relative;
  background: radial-gradient(circle at center, rgba(197, 168, 128, 0.03) 0%, transparent 70%);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.6), inset 0 0 30px rgba(197, 168, 128, 0.05);
  user-select: none;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.compass-track-ticks {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.compass-node {
  position: absolute;
  width: 90px;
  height: 38px;
  margin-left: -45px;
  margin-top: -19px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-med);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.compass-node:hover {
  border-color: var(--gold);
  color: #ffffff;
  transform: scale(1.08);
}

.compass-node.active {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #0d0f14;
  font-weight: 700;
  border-color: #ffffff;
  box-shadow: 0 0 20px rgba(197, 168, 128, 0.5);
  transform: scale(1.12);
}

.compass-center-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #252b38 0%, #0d0f14 100%);
  border: 2px solid var(--gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(197, 168, 128, 0.25);
  z-index: 6;
  pointer-events: none;
}

.compass-hub-logo {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 18px;
  color: var(--gold);
  line-height: 1;
}

.compass-hub-sub {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-med);
  letter-spacing: 0.1em;
  margin-top: 3px;
}

.compass-needle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 140px;
  background: linear-gradient(to top, transparent 0%, var(--gold) 100%);
  transform-origin: bottom center;
  margin-left: -1px;
  margin-top: -140px;
  pointer-events: none;
  z-index: 4;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 10px var(--gold);
}

.compass-readout-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-active);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  position: relative;
}

.compass-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.compass-bracket-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gold);
  background: rgba(197, 168, 128, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(197, 168, 128, 0.2);
}

.compass-format-title {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.compass-format-desc {
  font-size: 13px;
  color: var(--text-med);
  line-height: 1.6;
  margin-bottom: 24px;
}

.compass-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
  margin-bottom: 24px;
}

.compass-metric-item {
  display: flex;
  flex-direction: column;
}

.c-lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  color: var(--text-low);
  margin-bottom: 4px;
}

.c-val {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.c-val.gain {
  color: var(--gold);
}

/* Responsive adjustments for 2-column split & compass */
@media (max-width: 1024px) {
  .hero-split-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-content-col {
    align-items: center;
  }
  .hero-title-editorial {
    font-size: 42px;
    text-align: center;
  }
  .hero-subtitle-editorial {
    text-align: center;
  }
  .hero-trust-tokens {
    justify-content: center;
    flex-wrap: wrap;
  }
  .compass-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .compass-section-wrap {
    padding: 32px 20px;
  }
}

@media (max-width: 768px) {
  .hero-title-editorial {
    font-size: 32px;
  }
  .hero-actions-editorial {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions-editorial .btn {
    width: 100%;
  }
  .compass-section-wrap {
    padding: 28px 16px;
    overflow: hidden;
  }
  .compass-wheel-container {
    transform: scale(0.78);
    min-height: 290px;
    margin: -15px auto;
  }
  .compass-readout-card {
    padding: 22px 16px;
  }
  .compass-badge-row {
    flex-wrap: wrap;
    gap: 8px;
  }
  .compass-format-title {
    font-size: 20px;
  }
  .compass-metrics-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .compass-metrics-grid .c-val {
    font-size: 14px;
    white-space: normal;
  }
}

/* ==========================================================================
   Luxury Swiss Wealth & Nathan Levy Dossier Extensions
   ========================================================================== */

/* 1. Subtle Spotlight Effect on Institutional Cards */

/* 2. Magnetic Hairline Light on Luxury Cards */
.spotlight-card,
.metric-tile,
.strategy-overview-card,
.quant-card,
.heatmap-card,
.pillar-card,
.product-card,
.partner-card,
.capital-calculator-card {
  position: relative;
  --mouse-x: -999px;
  --mouse-y: -999px;
}

.spotlight-card::before,
.metric-tile::before,
.strategy-overview-card::before,
.quant-card::before,
.heatmap-card::before,
.pillar-card::before,
.product-card::before,
.capital-calculator-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(
    320px circle at var(--mouse-x) var(--mouse-y),
    rgba(223, 186, 115, 0.45) 0%,
    rgba(197, 168, 128, 0.18) 35%,
    transparent 75%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 4;
}

.spotlight-card:hover::before,
.metric-tile:hover::before,
.strategy-overview-card:hover::before,
.quant-card:hover::before,
.heatmap-card:hover::before,
.pillar-card:hover::before,
.product-card:hover::before,
.capital-calculator-card:hover::before {
  opacity: 1;
}

/* 3. Gold Metallic Foil Shimmer on Monogram and Key Numbers */
.gold-foil-shimmer {
  background: linear-gradient(
    115deg,
    #cfab63 0%,
    #dfba73 25%,
    #ffffff 40%,
    #dfba73 55%,
    #ad823a 80%,
    #cfab63 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: background-position 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gold-foil-shimmer:hover {
  background-position: right center;
}

.metric-value.gold,
.brand-name-dynamic {
  background: linear-gradient(
    120deg,
    #c5a880 0%,
    #ffffff 30%,
    #c5a880 60%,
    #8c7352 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: background-position 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.metric-tile:hover .metric-value.gold,
.brand-wrapper:hover .brand-name-dynamic {
  background-position: right center;
}

/* 4. Nathan Levy Dossier Focus & Optical Lapel Glow */
.manager-portrait-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
  background: #08090b;
}

.manager-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
  filter: contrast(106%) brightness(96%);
}

.manager-portrait-container:hover .manager-portrait-img {
  transform: scale(1.02);
  filter: contrast(108%) brightness(100%);
}

/* 5. Capital Yield Calculator (Strict Brief Compliance) */
.capital-calculator-card {
  background: linear-gradient(180deg, rgba(18, 21, 29, 0.85) 0%, rgba(13, 15, 20, 0.95) 100%);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.calc-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.calc-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.calc-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-pure);
  margin: 0 0 8px 0;
  letter-spacing: -0.01em;
}

.calc-subtitle {
  color: var(--text-med);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  max-width: 680px;
}

.calc-hwm-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(197, 168, 128, 0.08);
  border: 1px solid rgba(197, 168, 128, 0.3);
  padding: 6px 14px;
  border-radius: 9999px;
  color: var(--gold-light);
  font-size: 10px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.calc-input-block {
  background: rgba(8, 9, 11, 0.6);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
}

.calc-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
}

.calc-slider-label {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-med);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.calc-deposit-display {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.calc-val-large {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.calc-currency {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--gold);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
}

.calc-slider-container {
  position: relative;
  width: 100%;
  height: 24px;
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}

.calc-range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  outline: none;
  position: relative;
  z-index: 2;
  cursor: pointer;
}

.calc-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffffff 0%, var(--gold) 100%);
  border: 2px solid #08090b;
  box-shadow: 0 0 14px rgba(197, 168, 128, 0.7);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.calc-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.18);
  box-shadow: 0 0 20px rgba(197, 168, 128, 0.95);
}

.calc-range-slider::-webkit-slider-thumb:active {
  transform: scale(1.28);
  box-shadow: 0 0 26px rgba(197, 168, 128, 1), 0 0 45px rgba(197, 168, 128, 0.4);
}

.calc-range-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffffff 0%, var(--gold) 100%);
  border: 2px solid #08090b;
  box-shadow: 0 0 14px rgba(197, 168, 128, 0.7);
  cursor: pointer;
}

.calc-presets-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.calc-preset-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-hairline);
  color: var(--text-med);
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.calc-preset-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.calc-preset-chip.active {
  background: rgba(197, 168, 128, 0.15);
  border-color: var(--gold);
  color: var(--gold-light);
  font-weight: 600;
}

.calc-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.calc-result-tile {
  background: rgba(8, 9, 11, 0.5);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.calc-result-tile.highlight {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, rgba(8, 9, 11, 0.6) 100%);
  border-color: rgba(16, 185, 129, 0.35);
}

.calc-res-label {
  font-family: var(--font-sans);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-med);
  margin-bottom: 8px;
}

.calc-res-val {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.calc-res-val.gold {
  color: var(--gold);
}

.calc-res-val.gain {
  color: #34d399;
}

.calc-res-sub {
  font-size: 12px;
  color: var(--text-low);
  line-height: 1.4;
  margin-top: auto;
}

.calc-recommendation-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(197, 168, 128, 0.06);
  border: 1px solid rgba(197, 168, 128, 0.25);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  gap: 20px;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.calc-recommendation-bar.is-private-mandate {
  background: linear-gradient(90deg, rgba(197, 168, 128, 0.15) 0%, rgba(13, 15, 20, 0.9) 100%);
  border-color: var(--gold);
  box-shadow: 0 0 24px rgba(197, 168, 128, 0.15);
}

.calc-rec-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.calc-rec-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  text-transform: uppercase;
}

.calc-rec-desc {
  font-size: 13px;
  color: var(--text-med);
  line-height: 1.4;
}

.calc-rec-btn {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.calc-risk-notice {
  font-size: 11px;
  color: var(--text-low);
  line-height: 1.4;
  text-align: center;
  padding-top: 6px;
}

@media (max-width: 900px) {
  .calc-results-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .calc-recommendation-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .calc-recommendation-bar .btn {
    width: 100%;
    justify-content: center;
  }
  .capital-calculator-card {
    padding: 24px 16px;
  }
}

@media (max-width: 600px) {
  .calc-slider-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .calc-val-large {
    font-size: 26px;
  }
  .calc-title {
    font-size: 21px;
    line-height: 1.25;
  }
}

/* ==========================================================================
   Interactive Trade Anatomy & Order Flow Sandbox («Show, Don't Tell»)
   ========================================================================== */
.trade-anatomy-card {
  background: linear-gradient(180deg, rgba(16, 19, 26, 0.9) 0%, rgba(11, 13, 18, 0.98) 100%);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 38px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
}

.trade-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.trade-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.trade-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-pure);
  margin: 0 0 8px 0;
  letter-spacing: -0.01em;
}

.trade-subtitle {
  color: var(--text-med);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  max-width: 720px;
}

.trade-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 6px 14px;
  border-radius: 9999px;
  color: #34d399;
  font-size: 10px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* Step Navigation Tabs */
.trade-steps-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.trade-step-tab {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
}

.trade-step-tab:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
}

.trade-step-tab.active {
  background: linear-gradient(135deg, rgba(197, 168, 128, 0.15) 0%, rgba(13, 15, 20, 0.8) 100%);
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(197, 168, 128, 0.18);
}

.trade-step-tab .step-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.7;
}

.trade-step-tab.active .step-num {
  opacity: 1;
}

.trade-step-tab .step-label {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-med);
  line-height: 1.3;
}

.trade-step-tab.active .step-label {
  color: #ffffff;
}

/* Sandbox 2-Column Grid */
.trade-sandbox-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

/* Left Canvas Panel */
.trade-canvas-panel {
  background: rgba(8, 9, 11, 0.7);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.trade-canvas-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.trade-asset-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.trade-timeframe {
  color: var(--text-low);
  font-size: 10px;
}

.trade-rr-indicator {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-light);
  background: rgba(197, 168, 128, 0.12);
  border: 1px solid rgba(197, 168, 128, 0.4);
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.trade-canvas-wrap {
  position: relative;
  width: 100%;
  height: 330px;
  background: #060709;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

#tradeAnatomyCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.trade-canvas-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border-hairline);
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-med);
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.legend-dot.dot-entry { background: #10b981; box-shadow: 0 0 6px #10b981; }
.legend-dot.dot-stop { background: #f43f5e; box-shadow: 0 0 6px #f43f5e; }
.legend-dot.dot-target { background: #c5a880; box-shadow: 0 0 6px #c5a880; }
.legend-dot.dot-vol { background: #38bdf8; box-shadow: 0 0 6px #38bdf8; }

/* Right Step Inspector Card */
.trade-inspector-card {
  background: rgba(13, 16, 23, 0.7);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.inspector-phase-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 10px;
}

.inspector-phase-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 14px 0;
  line-height: 1.35;
}

.inspector-phase-desc {
  font-size: 13px;
  color: var(--text-med);
  line-height: 1.6;
  margin: 0 0 20px 0;
}

.inspector-metrics-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  margin-top: auto;
}

.inspector-metric-box {
  background: rgba(8, 9, 11, 0.6);
  border: 1px solid var(--border-hairline);
  border-radius: 6px;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.insp-lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--text-low);
  text-transform: uppercase;
}

.insp-val {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
}

.insp-val.gold {
  color: var(--gold);
}

.insp-val.gain {
  color: #34d399;
}

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

.inspector-actions-row .btn {
  flex: 1;
  justify-content: center;
}

@media (max-width: 960px) {
  .trade-sandbox-grid {
    grid-template-columns: 1fr;
  }
  .trade-steps-nav {
    grid-template-columns: repeat(2, 1fr);
  }
  .trade-anatomy-card {
    padding: 24px 16px;
  }
}

@media (max-width: 600px) {
  .trade-steps-nav {
    grid-template-columns: 1fr;
  }
  .trade-canvas-wrap {
    height: 250px;
  }
  .trade-title {
    font-size: 21px;
    line-height: 1.25;
  }
  .trade-header-row {
    margin-bottom: 20px;
  }
  .inspector-metric-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

/* ==========================================================================
   Creative Motion Director: Flow Connectors
   ========================================================================== */

/* Section Flow Connectors (The Continuous Golden Thread) */
.section-flow-connector {
  position: relative;
  width: 100%;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 3;
  overflow: hidden;
}

.section-flow-connector .flow-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, 
    rgba(197, 168, 128, 0.45) 0%, 
    rgba(197, 168, 128, 0.1) 50%, 
    rgba(197, 168, 128, 0.45) 100%
  );
  transform: translateX(-50%);
}

.section-flow-connector .flow-node {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: rgba(8, 9, 11, 0.96);
  border: 1px solid rgba(197, 168, 128, 0.35);
  border-radius: 100px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 16px rgba(197, 168, 128, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.section-flow-connector .flow-node-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
  animation: pulseGold 2.4s infinite ease-in-out;
}

.section-flow-connector .flow-node-text {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-transform: uppercase;
}

@keyframes pulseGold {
  0%, 100% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 12px var(--gold); }
}

/* 4. Luxury Micro-Elevation on Cards */
.spotlight-card {
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.32s ease, 
              box-shadow 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.spotlight-card:hover {
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.7), 0 0 1px rgba(197, 168, 128, 0.3);
}

/* 5. Mobile Adjustments for Motion System */
@media (max-width: 768px) {
  .section-flow-connector {
    height: 60px;
  }
  .section-flow-connector .flow-node {
    padding: 4px 10px;
  }
  .section-flow-connector .flow-node-text {
    font-size: 8.5px;
    letter-spacing: 0.1em;
  }
  .hero-title-editorial {
    font-size: 34px !important;
    line-height: 1.15;
  }
}

/* ==========================================================================
   6. 3D Fiduciary Core Engine Showcase (Scroll-Driven Mechanical Experience)
   ========================================================================== */
.core-showcase-section {
  position: relative;
  height: 320vh;
  background: radial-gradient(circle at 50% 30%, #0d121c 0%, #05070a 60%, #020304 100%);
  border-top: 1px solid rgba(197, 168, 128, 0.18);
  border-bottom: 1px solid rgba(197, 168, 128, 0.18);
  box-shadow: inset 0 20px 40px rgba(0, 0, 0, 0.8), inset 0 -20px 40px rgba(0, 0, 0, 0.8);
}

.core-sticky-viewport {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 80px 40px 30px;
  box-sizing: border-box;
}

.core-bg-aura {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 700px;
  height: 700px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(197, 168, 128, 0.08) 0%, rgba(16, 185, 129, 0.04) 40%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  animation: coreAuraBreathe 8s ease-in-out infinite alternate;
}

@keyframes coreAuraBreathe {
  0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.7; }
  100% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

.core-grid-floor {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 35vh;
  background-image: 
    linear-gradient(rgba(197, 168, 128, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197, 168, 128, 0.06) 1px, transparent 1px);
  background-size: 50px 50px;
  transform: perspective(600px) rotateX(65deg);
  transform-origin: bottom center;
  mask-image: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.core-hud-top {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: rgba(12, 16, 23, 0.75);
  border: 1px solid rgba(197, 168, 128, 0.22);
  border-radius: 999px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.core-hud-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--gold-light);
}

.core-pulse-led {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.45);
  opacity: 0.9;
}

.core-hud-telemetry {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.core-hud-telemetry .hud-lbl {
  color: var(--text-low);
  margin-right: 4px;
}

.core-hud-telemetry .hud-val {
  color: var(--text-high);
}

.core-canvas-stage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

#fiduciaryCoreCanvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
  touch-action: pan-y;
}

#fiduciaryCoreCanvas:active {
  cursor: grabbing;
}

.core-drag-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(197, 168, 128, 0.7);
  background: rgba(6, 8, 12, 0.85);
  border: 1px solid rgba(197, 168, 128, 0.2);
  padding: 6px 14px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  pointer-events: none;
  z-index: 10;
  transition: opacity 0.4s ease;
}

.core-progress-track {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.04);
  z-index: 20;
}

.core-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #10b981, #c5a880, #f3e5ab);
  box-shadow: 0 0 12px rgba(197, 168, 128, 0.6);
  transition: width 0.05s linear;
}

/* Floating Stage Narrative Cards */
.core-narrative-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  pointer-events: none;
  height: 155px;
}

.core-narrative-card {
  position: absolute;
  bottom: 10px;
  left: 0;
  max-width: 440px;
  background: rgba(10, 14, 20, 0.88);
  border: 1px solid rgba(197, 168, 128, 0.28);
  box-shadow: 0 24px 50px -15px rgba(0, 0, 0, 0.9), 0 0 30px rgba(197, 168, 128, 0.08);
  border-radius: 12px;
  padding: 22px 26px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

.core-narrative-card.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.card-stage-kicker {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.card-stage-title {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 500;
  color: var(--text-high);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.card-stage-desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-mid);
  margin-bottom: 14px;
}

.card-stage-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.core-mini-tag {
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-mid);
}

.core-mini-tag.gold {
  color: var(--gold-light);
  border-color: rgba(197, 168, 128, 0.35);
  background: rgba(197, 168, 128, 0.08);
}

.core-mini-tag.emerald {
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.08);
}

.core-mini-tag.crimson {
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.08);
}

@media (max-width: 768px) {
  .core-sticky-viewport {
    padding: 70px 16px 20px;
  }
  .core-hud-top {
    flex-direction: column;
    gap: 6px;
    border-radius: 12px;
    padding: 10px 14px;
  }
  .hud-coords {
    display: none;
  }
  .core-narrative-container {
    height: 190px;
  }
  .core-narrative-card {
    max-width: 100%;
    width: 100%;
    padding: 16px 18px;
    bottom: 0;
  }
  .card-stage-title {
    font-size: 17px;
  }
  .card-stage-desc {
    font-size: 12px;
  }
}



