/* ==========================================================================
   aiuto.cc — Luxury Design System & Master Stylesheet
   Palette: Obsidian Deep Black (#070707), Matte Charcoal (#0E0F11), Champagne Gold (#D4AF37), Alabaster Silk (#F8F8F8)
   ========================================================================== */

:root {
  /* Surface & Base */
  --bg-primary: #070707;
  --bg-secondary: #0e0f11;
  --bg-tertiary: #16171a;
  --bg-card: rgba(18, 19, 22, 0.85);
  --bg-glass: rgba(14, 15, 17, 0.78);
  --bg-glass-elevated: rgba(23, 24, 28, 0.88);

  /* Accents & Metallic Trim */
  --gold-primary: #d4af37;
  --gold-light: #f3e5ab;
  --gold-muted: #a38a4d;
  --gold-dark: #6e5821;
  --gold-glow: rgba(212, 175, 55, 0.15);
  --gold-glow-strong: rgba(212, 175, 55, 0.35);

  /* Text & Readability */
  --text-primary: #f8f8f8;
  --text-secondary: #c5c5c9;
  --text-muted: #838389;
  --text-subtle: #4d4e53;

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.16);
  --border-gold: rgba(212, 175, 55, 0.3);
  --border-gold-strong: rgba(212, 175, 55, 0.7);

  /* Typography */
  --font-serif: 'Cinzel', 'Cormorant Garamond', Georgia, serif;
  --font-serif-sub: 'Cormorant Garamond', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Space Mono', monospace;

  /* Transitions & Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-full: 9999px;
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.7s cubic-bezier(0.16, 1, 0.3, 1);

  /* Elevation */
  --shadow-subtle: 0 10px 30px rgba(0, 0, 0, 0.6);
  --shadow-elevated: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 40px rgba(212, 175, 55, 0.06);
}

/* ==========================================================================
   Custom Luxury Scrollbars (-webkit & Standard)
   ========================================================================== */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--gold-muted) var(--bg-primary);
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
  border-left: 1px solid rgba(255, 255, 255, 0.04);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold-muted) 0%, var(--gold-dark) 100%);
  border-radius: 4px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  transition: var(--transition-fast);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--gold-primary) 0%, var(--gold-muted) 100%);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

::-webkit-scrollbar-corner {
  background: var(--bg-primary);
}

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

img {
  max-width: 100%;
  height: auto;
  border: none !important;
  outline: none !important;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  position: relative;
  overflow-x: clip;
}

/* Ambient Canvas */
#ambientCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* Custom Interactive Cursor (Desktop) */
.custom-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background-color: var(--gold-primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease;
}

.custom-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.custom-cursor-ring.active {
  width: 50px;
  height: 50px;
  border-color: var(--gold-primary);
  background-color: var(--gold-glow);
}

@media (max-width: 992px) {
  .custom-cursor-dot, .custom-cursor-ring {
    display: none;
  }
}

/* Typography Helpers */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  line-height: 1.25;
}

p {
  color: var(--text-secondary);
  font-weight: 300;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

.gold-gradient {
  background: linear-gradient(135deg, #fff 0%, var(--gold-light) 40%, var(--gold-primary) 70%, var(--gold-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gold {
  color: var(--gold-primary) !important;
}

.text-muted {
  color: var(--text-muted) !important;
}

.max-w-lg {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.text-center {
  text-align: center;
}

/* Section Containers */
.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--gold-primary);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  margin-bottom: 1.25rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Buttons & Triggers */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #d4af37, #9b7e28);
  color: #070707;
  font-weight: 600;
  box-shadow: 0 4px 20px var(--gold-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #e5c158, #b39130);
  box-shadow: 0 6px 28px rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-gold);
}

.btn-outline:hover {
  border-color: var(--gold-primary);
  color: var(--gold-light);
  box-shadow: 0 0 20px var(--gold-glow);
  transform: translateY(-2px);
}

.btn-glass {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-medium);
  transform: translateY(-2px);
}

/* 1. Security Ribbon Header */
.security-ribbon {
  background-color: rgba(5, 5, 6, 0.95);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.45rem 2rem;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  position: relative;
  z-index: 100;
}

.ribbon-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ribbon-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-muted);
}

.status-indicator {
  width: 6px;
  height: 6px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  display: inline-block;
}

.pulse-text {
  color: var(--gold-primary);
  animation: pulseGlow 3s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; text-shadow: 0 0 10px var(--gold-primary); }
}

/* 2. Main Site Header */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 90;
  transition: var(--transition-fast);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  display: flex;
  align-items: baseline;
}

.logo-mark {
  color: #ffffff;
}

.logo-ext {
  color: var(--gold-primary);
  font-size: 1.1rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 24px;
  height: 20px;
  position: relative;
  z-index: 101;
  margin-left: 1.5rem;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  position: absolute;
  left: 0;
  transition: var(--transition-fast);
}

.hamburger-line:nth-child(1) { top: 0; }
.hamburger-line:nth-child(2) { top: 9px; }
.hamburger-line:nth-child(3) { top: 18px; }

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
  top: 9px;
  transform: rotate(45deg);
}
.mobile-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.active .hamburger-line:nth-child(3) {
  top: 9px;
  transform: rotate(-45deg);
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  padding: 0.3rem 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1px;
  background-color: var(--gold-primary);
  transition: var(--transition-fast);
}

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

@media (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-primary);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s ease, opacity 0.4s ease, visibility 0s linear 0.4s;
    z-index: 100;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transition: transform 0.4s ease, opacity 0.4s ease, visibility 0s linear 0s;
  }

  .nav-menu .nav-link {
    font-size: 1.2rem;
  }

  .mobile-menu-btn {
    display: block;
  }
}

/* 3. Global Desks Ticker Bar */
.global-desks-ticker {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.6rem 2rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  overflow-x: auto;
  white-space: nowrap;
}

.ticker-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.desk-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.desk-city {
  color: var(--text-muted);
  font-weight: 500;
}

.desk-time {
  color: var(--gold-light);
}

.ticker-dot {
  color: var(--border-medium);
}

/* 4. Hero Section */
.hero-section {
  min-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 5rem 2rem 4rem;
  text-align: center;
  z-index: 1;
  overflow: hidden;
}

.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.35; /* Adjusted to keep text readable */
  pointer-events: none;
}

.hero-container {
  max-width: 980px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1.1rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--gold-light);
  margin-bottom: 2rem;
}

.gold-diamond {
  color: var(--gold-primary);
  font-size: 0.6rem;
}

.hero-title {
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.02em;
  margin-bottom: 1.8rem;
}

.title-line {
  display: block;
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 780px;
  margin: 0 auto 2.8rem;
  font-weight: 300;
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.hero-metrics-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
  padding: 1.8rem 2.5rem;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  max-width: 860px;
  margin: 0 auto;
}

.metric-card {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.metric-value {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold-light);
}

.metric-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.metric-divider {
  width: 1px;
  height: 35px;
  background-color: var(--border-subtle);
}

.scroll-prompt {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

.scroll-arrow {
  animation: bounce 2s infinite ease-in-out;
  color: var(--gold-primary);
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* 5. The Charter Section */
.charter-section {
  padding: 8rem 0;
  border-top: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.charter-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4.5rem;
  align-items: start;
}

.charter-sticky {
  position: sticky;
  top: 100px;
}

.charter-signature {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.charter-seal {
  width: 60px;
  height: 60px;
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 0.75rem;
  color: var(--gold-light);
  letter-spacing: 0.1em;
}

.charter-seal small {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  color: var(--text-muted);
}

.signature-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.signature-text strong {
  color: var(--text-primary);
}

.signature-text span {
  color: var(--gold-muted);
}

.charter-cards {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  position: relative;
  transition: var(--transition-smooth);
}

.pillar-card:hover {
  border-color: var(--border-gold);
  transform: translateX(6px);
  box-shadow: var(--shadow-elevated);
}

.pillar-index {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--gold-primary);
  margin-bottom: 0.75rem;
}

.pillar-title {
  font-size: 1.35rem;
  margin-bottom: 0.9rem;
}

.pillar-desc {
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.pillar-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  padding: 0.25rem 0.7rem;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  color: var(--gold-light);
}

/* 6. Enterprise & B2B Solutions Section */
.enterprise-section {
  padding: 8rem 0;
  border-top: 1px solid var(--border-subtle);
  background-color: var(--bg-primary);
}

.enterprise-grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.enterprise-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.4rem 2rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.enterprise-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-5px);
  box-shadow: var(--shadow-elevated);
}

.ent-icon-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 1.2rem;
  border: none;
  background: none;
  box-shadow: none;
}

.ent-icon-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border: none;
  outline: none;
  box-shadow: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
  filter: brightness(0.95);
}

.enterprise-card:hover .ent-icon-img {
  transform: translateY(-2px) scale(1.06);
  filter: brightness(1.15) drop-shadow(0 0 8px rgba(212, 175, 55, 0.4));
}

.ent-title {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
  color: var(--gold-light);
}

.ent-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.4rem;
  flex-grow: 1;
}

.ent-list {
  list-style: none;
  font-size: 0.78rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ent-list li::before {
  content: '◆ ';
  color: var(--gold-primary);
  font-size: 0.6rem;
}

/* 7. Disciplines Section */
.disciplines-section {
  padding: 8rem 0;
  border-top: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.disciplines-grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
}

.discipline-card {
  height: 480px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  transition: var(--transition-smooth);
}

.discipline-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-6px);
  box-shadow: var(--shadow-elevated);
}

.discipline-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s ease, filter 0.5s ease;
  filter: grayscale(85%) brightness(0.65);
  z-index: 1;
}

.discipline-card:hover .discipline-bg {
  transform: scale(1.05);
  filter: grayscale(10%) brightness(0.85);
}

.discipline-content {
  position: relative;
  z-index: 2;
}

.discipline-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--gold-primary);
  margin-bottom: 0.5rem;
}

.discipline-name {
  font-size: 1.45rem;
  margin-bottom: 0.6rem;
}

.discipline-summary {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
}

.discipline-specs {
  list-style: none;
  margin-bottom: 1.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.6;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 0.8rem;
}

.discipline-specs span {
  color: var(--gold-light);
  font-weight: 500;
}

.discipline-btn {
  background: transparent;
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  padding: 0.55rem 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.discipline-btn:hover {
  background: var(--gold-primary);
  color: #070707;
  font-weight: 600;
}

/* 8. Chain of Custody Section */
.custody-section {
  padding: 8rem 0;
  border-top: 1px solid var(--border-subtle);
  background-color: var(--bg-primary);
}

.custody-timeline {
  margin-top: 4.5rem;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  position: relative;
  gap: 1.5rem;
}

.custody-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.step-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--gold-primary);
  margin-bottom: 1rem;
}

.step-node {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--gold-primary);
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 12px var(--gold-glow);
}

.node-inner {
  width: 8px;
  height: 8px;
  background-color: var(--gold-primary);
  border-radius: 50%;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem 1.6rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  transition: var(--transition-smooth);
}

.step-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
}

.step-title {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
}

.step-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.step-meta {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gold-muted);
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
}

.custody-connector {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-muted), var(--gold-primary));
  align-self: center;
  margin-top: -1.5rem;
}

@media (max-width: 900px) {
  .custody-timeline {
    flex-direction: column;
  }
  .custody-connector {
    width: 1px;
    height: 30px;
    margin: 0.5rem auto;
  }
}

/* 9. Intake CTA Card Section */
.intake-cta-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.intake-cta-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
}

.cta-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.cta-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--gold-primary);
  margin-bottom: 1rem;
}

.cta-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 1.2rem;
}

.cta-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2.2rem;
}

/* 10. Modals & Forms */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(14px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  padding: 1.2rem;
  box-sizing: border-box;
  overflow: hidden;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: #0d0e11;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  width: min(840px, 95vw);
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: var(--shadow-elevated);
  transform: translateY(20px) scale(0.98);
  transition: var(--transition-smooth);
  box-sizing: border-box;
}

.modal-backdrop.open .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 1.6rem 2rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

.modal-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--gold-primary);
  margin-bottom: 0.3rem;
}

.modal-title {
  font-size: 1.35rem;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.4rem;
  line-height: 1;
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: var(--text-primary);
}

.modal-body {
  padding: clamp(1.4rem, 2.5vw, 2.2rem);
  box-sizing: border-box;
  overflow-x: hidden;
}

.form-section-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--gold-light);
  margin: 1.8rem 0 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border-subtle);
}

.form-section-title:first-of-type {
  margin-top: 0;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  margin-bottom: 1.2rem;
  width: 100%;
  box-sizing: border-box;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 0.6rem;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.form-input {
  background: #060708;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  outline: none;
  transition: var(--transition-fast);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.form-input:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 12px var(--gold-glow);
}

.form-input.invalid-field {
  border-color: #ef4444 !important;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.3) !important;
}

.field-hint {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--gold-muted);
  margin-top: 0.25rem;
  line-height: 1.4;
  display: block;
}

.field-hint.error-hint {
  color: #f87171 !important;
}

/* In-Person Consultation Block */
.inperson-consultation-block {
  background: rgba(212, 175, 55, 0.03);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  margin: 1.2rem 0;
  box-sizing: border-box;
  animation: fadeInBlock 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInBlock {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.inperson-header {
  margin-bottom: 1.2rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.6rem;
}

.inperson-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--gold-primary);
  display: block;
  margin-bottom: 0.2rem;
}

.inperson-title {
  font-size: 1.1rem;
  color: var(--gold-light);
}

.custom-date-input {
  color-scheme: dark;
}

.custom-date-input::-webkit-calendar-picker-indicator {
  filter: invert(0.85) sepia(60%) saturate(600%) hue-rotate(5deg);
  cursor: pointer;
}

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

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.6rem;
  width: 100%;
  box-sizing: border-box;
}

.checkbox-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #060708;
  border: 1px solid var(--border-subtle);
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition-fast);
  box-sizing: border-box;
}

.checkbox-pill:hover {
  border-color: var(--border-medium);
}

.checkbox-pill input:checked + span {
  color: var(--gold-light);
  font-weight: 500;
}

.form-agreement {
  margin: 1.6rem 0;
  padding: 1rem;
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  box-sizing: border-box;
}

.checkbox-label {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.5;
  cursor: pointer;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border-subtle);
}

/* 11. Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.toast-message {
  background: #0f1013;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  padding: 1rem 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-primary);
  box-shadow: var(--shadow-elevated);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  animation: slideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 380px;
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* 12. Site Footer */
.site-footer {
  background-color: #050506;
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 0 2rem;
  position: relative;
  z-index: 1;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 0.5rem;
}

.footer-logo-img {
  max-height: 46px;
  width: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  filter: brightness(0.95);
  transition: var(--transition-fast);
}

.footer-logo-img:hover {
  filter: brightness(1.1);
}

.footer-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 1rem 0 1.5rem;
}

.footer-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.badge-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  padding: 0.25rem 0.6rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--gold-muted);
}

.footer-heading {
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
  color: var(--text-primary);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-sec-box {
  background: #090a0c;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.sec-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.sec-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.sec-val {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gold-light);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-status-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-light);
}

/* Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .charter-grid {
    grid-template-columns: 1fr;
  }
  .charter-sticky {
    position: static;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-metrics-grid {
    flex-direction: column;
    gap: 1.2rem;
  }
  .metric-divider {
    width: 60px;
    height: 1px;
  }
}
