/* =========================================================
   COMPONENTS
   ========================================================= */

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  padding: var(--space-4) 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration-fast) var(--ease-out),
              background var(--duration-fast) var(--ease-out);
}

.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.82);
  border-bottom-color: var(--surface-border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--color-white);
}

.nav__brand-mark {
  width: 28px;
  height: 28px;
  position: relative;
  display: grid;
  place-items: center;
}

.nav__brand-mark::before,
.nav__brand-mark::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--color-cyan);
  border-radius: 4px;
}

.nav__brand-mark::before {
  transform: rotate(45deg);
  opacity: 0.55;
}

.nav__brand-mark::after {
  background: var(--gradient-accent);
  width: 10px;
  height: 10px;
  inset: auto;
  border: none;
  border-radius: 2px;
  box-shadow: 0 0 14px var(--color-cyan-glow);
}

.nav__brand-meta {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 4px;
}

.nav__brand-meta span:last-child {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.nav__link {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-platinum);
  transition: color var(--duration-fast) var(--ease-out);
  position: relative;
}

.nav__link:hover {
  color: var(--color-cyan);
  text-shadow: 0 0 12px rgba(91, 95, 224, 0.55);
}

.nav__link.is-active {
  color: var(--color-cyan);
}

.nav__link.is-active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-cyan);
  box-shadow: 0 0 8px var(--color-cyan);
}

.nav__progress {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.nav__progress-bar {
  width: 80px;
  height: 2px;
  background: rgba(25, 26, 48, 0.1);
  position: relative;
  border-radius: 1px;
  overflow: hidden;
}

.nav__progress-fill {
  position: absolute;
  inset: 0;
  background: var(--gradient-accent);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.2s linear;
}

@media (max-width: 900px) {
  .nav__links {
    display: none;
  }
}

/* Mobile nav: hide hamburger, show Outline button inline with brand */
@media (max-width: 768px) {
  .drawer-toggle {
    display: none;
  }

  .nav__inner {
    justify-content: space-between;
  }

  /* Show the nav links row but only the Outline button */
  .nav__links {
    display: flex;
    gap: 0;
  }

  /* Hide all nav links except the outline toggle */
  .nav__link:not(.nav__outline) {
    display: none;
  }

  /* Style outline button as a compact icon-label pill */
  .nav__outline {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.45rem 0.75rem;
    border: 1px solid var(--surface-border-strong);
    border-radius: var(--radius-pill, 999px);
    font-size: 0.65rem;
    letter-spacing: 0.16em;
    color: var(--color-platinum);
    background: rgba(25,26,48,0.04);
    cursor: pointer;
    white-space: nowrap;
  }

  .nav__outline:hover {
    border-color: rgba(91,95,224,0.5);
    color: var(--color-cyan);
  }

  /* Keep brand-meta (APS + sub) visible on mobile */
  .nav__brand-meta {
    display: flex;
  }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0.95rem 1.75rem;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: var(--radius-md);
  transition: all var(--duration-fast) var(--ease-out);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn--primary {
  background: var(--gradient-accent);
  color: var(--color-midnight);
  font-weight: 600;
  box-shadow: 0 0 0 1px rgba(91, 95, 224, 0.4), var(--shadow-glow-cyan);
}

.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(25, 26, 48, 0.22) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform var(--duration-medium) var(--ease-out);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(91, 95, 224, 0.7), var(--shadow-glow-cyan-strong);
}

.btn--primary:hover::after {
  transform: translateX(120%);
}

.btn--secondary {
  background: var(--surface-glass);
  color: var(--color-white);
  border: 1px solid var(--surface-border-strong);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.btn--secondary:hover {
  background: var(--surface-glass-strong);
  border-color: var(--color-cyan);
  box-shadow: 0 0 0 1px rgba(91, 95, 224, 0.35), 0 0 24px rgba(91, 95, 224, 0.22);
  color: var(--color-cyan);
}

.btn--ghost {
  background: transparent;
  color: var(--color-platinum);
  border: 1px solid var(--surface-border);
}

.btn--ghost:hover {
  border-color: var(--color-cyan);
  color: var(--color-cyan);
  box-shadow: 0 0 0 1px rgba(91, 95, 224, 0.3), 0 0 22px rgba(91, 95, 224, 0.18);
  text-shadow: 0 0 10px rgba(91, 95, 224, 0.4);
}

.btn--link {
  padding: 0;
  background: none;
  color: var(--color-cyan);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--color-cyan);
  border-radius: 0;
  padding-bottom: 4px;
}

.btn--link:hover {
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn__arrow {
  display: inline-block;
  width: 14px;
  height: 14px;
  position: relative;
  transition: transform var(--duration-fast) var(--ease-out);
}

.btn__arrow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: currentColor;
  transform: translateY(-50%);
}

.btn__arrow::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  width: 6px;
  height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

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

/* ============================================
   GLASS CARDS
   ============================================ */

.card {
  background: var(--surface-glass);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  position: relative;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: border-color var(--duration-fast) var(--ease-out),
              background var(--duration-fast) var(--ease-out),
              transform var(--duration-medium) var(--ease-out);
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(91, 95, 224, 0.4) 50%, transparent 100%);
  opacity: 0;
  transition: opacity var(--duration-medium) var(--ease-out);
}

.card:hover {
  border-color: var(--surface-border-accent);
  background: var(--surface-glass-strong);
}

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

.card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.card__index {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  color: var(--color-muted);
}

.card__title {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  letter-spacing: -0.015em;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: var(--space-3);
}

.card__body {
  font-size: var(--fs-sm);
  line-height: 1.65;
  color: var(--color-platinum);
}

/* ============================================
   GLOWING NODE LIST (FEATURE / OBJECTIVE LIST)
   ============================================ */

.node-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  list-style: none;
}

.node-list__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--surface-border);
  color: var(--color-platinum);
  font-size: var(--fs-sm);
  line-height: 1.6;
}

.node-list__item:last-child {
  border-bottom: none;
}

.node-list__item::before {
  content: '';
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--color-cyan);
  box-shadow: 0 0 12px rgba(91, 95, 224, 0.55);
}

/* ============================================
   PHASE TIMELINE STEPS
   ============================================ */

.timeline {
  position: relative;
  padding-left: 0;
}

.timeline__rail {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 13px;
  width: 1px;
  background: linear-gradient(180deg, rgba(91, 95, 224, 0.4) 0%, rgba(91, 95, 224, 0.05) 100%);
}

.timeline__item {
  position: relative;
  padding: 0 0 var(--space-6) 50px;
  transition:
    transform 0.5s var(--ease-expo),
    opacity 0.5s var(--ease-out);
}

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

/* Vignette neighbouring items when one is hovered. */
.timeline:hover .timeline__item:not(:hover) {
  opacity: 0.55;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__marker {
  position: absolute;
  left: 0;
  top: 4px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--color-cyan);
  background: var(--color-midnight);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: var(--color-cyan);
  box-shadow: 0 0 16px rgba(91, 95, 224, 0.3);
  transition:
    transform 0.5s var(--ease-expo),
    box-shadow 0.5s var(--ease-expo),
    background 0.5s var(--ease-out),
    color 0.5s var(--ease-out),
    border-color 0.5s var(--ease-out);
}

.timeline__item:hover .timeline__marker {
  transform: scale(1.18);
  background: rgba(91, 95, 224, 0.16);
  border-color: rgba(91, 95, 224, 0.95);
  box-shadow:
    0 0 0 4px rgba(91, 95, 224, 0.08),
    0 0 28px rgba(91, 95, 224, 0.5);
  color: var(--color-white);
}

.timeline__title {
  transition: color 0.4s var(--ease-out), text-shadow 0.5s var(--ease-out);
}

.timeline__item:hover .timeline__title {
  color: var(--color-cyan);
  text-shadow: 0 0 14px rgba(91, 95, 224, 0.35);
}

.timeline__day {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-cyan);
  margin-bottom: var(--space-2);
}

.timeline__date {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--color-muted);
  margin-left: var(--space-3);
}

.timeline__title {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  color: var(--color-white);
  margin-bottom: var(--space-3);
  letter-spacing: -0.01em;
}

.timeline__items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.timeline__items li {
  font-size: var(--fs-sm);
  color: var(--color-platinum);
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.timeline__items li::before {
  content: '';
  flex-shrink: 0;
  margin-top: 10px;
  width: 4px;
  height: 1px;
  background: var(--color-muted);
}

/* ============================================
   PRICING / INVESTMENT BLOCKS
   ============================================ */

.investment-card {
  position: relative;
  background: linear-gradient(180deg, rgba(91, 95, 224, 0.05) 0%, rgba(25, 26, 48, 0.02) 100%);
  border: 1px solid var(--surface-border-strong);
  border-radius: var(--radius-xl);
  padding: var(--space-7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overflow: hidden;
}

.investment-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(91, 95, 224, 0.35) 0%, transparent 40%, transparent 60%, rgba(139, 111, 232, 0.25) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.investment-card__label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-cyan);
  margin-bottom: var(--space-4);
}

.investment-card__amount {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--color-white);
  margin-bottom: var(--space-3);
}

.investment-card__amount sup {
  font-size: 0.45em;
  font-weight: 400;
  color: var(--color-cyan);
  margin-left: 4px;
  letter-spacing: 0;
  vertical-align: super;
}

.investment-card__sub {
  font-size: var(--fs-sm);
  color: var(--color-muted);
  margin-bottom: var(--space-6);
}

.investment-card__schedule {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--surface-glass-faint);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-6);
}

@media (max-width: 600px) {
  .investment-card__schedule {
    grid-template-columns: 1fr;
  }
}

.investment-card__schedule-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.investment-card__schedule-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.investment-card__schedule-amount {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.investment-card__schedule-trigger {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--color-cyan);
  text-transform: uppercase;
}

/* ============================================
   SOFT PRICING DISCLOSURE
   ============================================ */

.soft-price {
  background: var(--surface-glass-faint);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  flex-wrap: wrap;
}

.soft-price__label {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.soft-price__title {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-cyan);
}

.soft-price__hint {
  font-size: var(--fs-sm);
  color: var(--color-muted);
}

.soft-price__reveal-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0.7rem 1.4rem;
  background: transparent;
  border: 1px solid var(--surface-border-strong);
  border-radius: var(--radius-pill);
  color: var(--color-platinum);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

.soft-price__reveal-btn:hover {
  border-color: var(--color-cyan);
  color: var(--color-cyan);
  box-shadow: 0 0 0 1px rgba(91, 95, 224, 0.3), 0 0 20px rgba(91, 95, 224, 0.18);
}

.soft-price__value {
  display: none;
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  color: var(--color-white);
  letter-spacing: -0.025em;
  line-height: 1;
}

.soft-price__value sub {
  font-family: var(--font-mono);
  font-size: 0.35em;
  font-weight: 400;
  color: var(--color-muted);
  letter-spacing: 0.1em;
  margin-left: 6px;
  vertical-align: baseline;
}

.soft-price.is-revealed .soft-price__value {
  display: block;
  animation: fadeIn 0.6s var(--ease-out);
}

.soft-price.is-revealed .soft-price__reveal-btn {
  display: none;
}

/* ============================================
   HERO ELEMENTS
   ============================================ */

.hero-mark {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0.5rem 1rem;
  background: var(--surface-glass);
  border: 1px solid var(--surface-border-accent);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-cyan);
}

.hero-mark__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-cyan);
  box-shadow: 0 0 10px var(--color-cyan);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}

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

/* ============================================
   SECTION HEADER
   ============================================ */

.section-header {
  margin-bottom: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 64rem;
}

.section-header__index {
  display: flex;
  align-items: baseline;
  gap: var(--space-4);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-cyan);
}

.section-header__index-num {
  font-size: var(--fs-md);
  color: var(--color-white);
  letter-spacing: 0;
}

.section-header__index-divider {
  color: var(--color-muted);
}

/* ============================================
   PHASE NAVIGATOR (SIDE/BOTTOM)
   ============================================ */

.phase-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding: var(--space-6);
  background: var(--surface-glass);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
}

.phase-nav__title {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: var(--space-3);
}

.phase-nav__link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-top: 1px solid var(--surface-border);
  color: var(--color-platinum);
  font-size: var(--fs-sm);
  transition: color var(--duration-fast) var(--ease-out);
}

.phase-nav__link:hover {
  color: var(--color-cyan);
  text-shadow: 0 0 12px rgba(91, 95, 224, 0.5);
}

.phase-nav__link.is-current {
  color: var(--color-cyan);
}

.phase-nav__link-num {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--color-muted);
  letter-spacing: 0.1em;
  min-width: 28px;
}

/* ============================================
   STAT / METRIC TILES
   ============================================ */

.metric {
  padding: var(--space-5);
  background: var(--surface-glass-faint);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
}

.metric__value {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  color: var(--color-white);
  letter-spacing: -0.025em;
  margin-bottom: var(--space-2);
}

.metric__label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-muted);
}

/* ============================================
   BLUEPRINT GRID BACKGROUND
   ============================================ */

.blueprint-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(91, 95, 224, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 95, 224, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: center center;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 0%, transparent 80%);
  z-index: var(--z-base);
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
  position: relative;
  padding: var(--space-9) 0;
  text-align: center;
  overflow: hidden;
}

.cta-section__heading {
  font-family: var(--font-display);
  font-size: var(--fs-section);
  margin-bottom: var(--space-4);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.cta-section__sub {
  font-size: var(--fs-md);
  color: var(--color-platinum);
  margin: 0 auto var(--space-7);
  max-width: 56ch;
  line-height: 1.55;
}

.cta-section__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ============================================
   THREE.JS CANVAS LAYER
   ============================================ */

.three-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-base);
  pointer-events: none;
}

.hero-canvas-wrap {
  position: absolute;
  inset: 0;
  z-index: var(--z-base);
  pointer-events: none;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  padding: var(--space-8) 0 var(--space-6);
  border-top: 1px solid var(--surface-border);
  margin-top: var(--space-9);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-5);
  flex-wrap: wrap;
}

.footer__meta {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.footer__legal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid var(--surface-border);
}

.footer__legal-link {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
  transition: color var(--duration-fast) var(--ease-out);
}

.footer__legal-link:hover {
  color: var(--color-cyan);
}

.footer__legal-divider {
  color: var(--color-faint);
  font-size: var(--fs-xs);
}

/* ============================================
   PROGRESS DOTS (INTRA-PHASE)
   ============================================ */

.phase-dots {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.phase-dots__count {
  color: var(--color-cyan);
}

.phase-dots__track {
  display: flex;
  gap: 4px;
}

.phase-dots__dot {
  width: 18px;
  height: 2px;
  background: rgba(25, 26, 48, 0.12);
  border-radius: 1px;
  transition: background var(--duration-fast) var(--ease-out);
}

.phase-dots__dot.is-active {
  background: var(--color-cyan);
  box-shadow: 0 0 8px var(--color-cyan-glow);
}

.phase-dots__dot.is-past {
  background: rgba(91, 95, 224, 0.4);
}

/* ============================================
   TABLE (INVESTMENT BREAKDOWN)
   ============================================ */

.invest-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface-glass);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.invest-table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-cyan);
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--surface-border);
  background: rgba(91, 95, 224, 0.04);
}

.invest-table td {
  padding: var(--space-5);
  border-bottom: 1px solid var(--surface-border);
  font-size: var(--fs-sm);
  color: var(--color-platinum);
  vertical-align: middle;
}

.invest-table tr:last-child td {
  border-bottom: none;
}

.invest-table tr:hover td {
  background: rgba(91, 95, 224, 0.025);
}

.invest-table__phase {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-cyan);
  white-space: nowrap;
}

.invest-table__name {
  color: var(--color-white);
  font-weight: 500;
  font-size: var(--fs-base);
}

.invest-table__amount {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  color: var(--color-white);
  letter-spacing: -0.015em;
  white-space: nowrap;
  text-align: right;
}

.invest-table__total {
  background: rgba(91, 95, 224, 0.06) !important;
  border-top: 1px solid var(--color-cyan) !important;
}

.invest-table__total td {
  padding-block: var(--space-6);
}

.invest-table__total .invest-table__name {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  color: var(--color-cyan);
}

.invest-table__total .invest-table__amount {
  font-size: var(--fs-2xl);
  color: var(--color-white);
}

/* ============================================
   FINAL CTA — STRIPE / PANDADOC / DISCOVERY
   ============================================ */

.action-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-8);
}

@media (max-width: 900px) {
  .action-grid {
    grid-template-columns: 1fr;
  }
}

.action-tile {
  display: flex;
  flex-direction: column;
  padding: var(--space-6);
  background: var(--surface-glass);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  transition: all var(--duration-medium) var(--ease-out);
  position: relative;
  overflow: hidden;
  text-align: left;
}

.action-tile:hover {
  border-color: var(--color-cyan);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card), var(--shadow-glow-cyan);
}

.action-tile__index {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-cyan);
  margin-bottom: var(--space-4);
}

.action-tile__title {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  color: var(--color-white);
  letter-spacing: -0.015em;
  margin-bottom: var(--space-3);
  line-height: 1.2;
}

.action-tile__desc {
  font-size: var(--fs-sm);
  color: var(--color-platinum);
  margin-bottom: var(--space-5);
  flex: 1;
  line-height: 1.55;
}

.action-tile__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-cyan);
  border-top: 1px solid var(--surface-border);
  padding-top: var(--space-4);
}

.action-tile--primary {
  background: linear-gradient(180deg, rgba(91, 95, 224, 0.08) 0%, rgba(91, 95, 224, 0.02) 100%);
  border-color: rgba(91, 95, 224, 0.35);
}

.action-tile--primary .action-tile__cta {
  color: var(--color-white);
  border-top-color: rgba(91, 95, 224, 0.3);
}


/* ============================================
   SOW / MSA REFERENCE CARD (replaces inline pricing)
   ============================================ */

.sow-card {
  background: var(--surface-glass-faint);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.sow-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--gradient-accent);
  opacity: 0.55;
}

.sow-card__label {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1 1 320px;
  min-width: 0;
}

.sow-card__eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-cyan);
}

.sow-card__title {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  color: var(--color-white);
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.sow-card__hint {
  font-size: var(--fs-sm);
  color: var(--color-platinum);
  line-height: 1.55;
  max-width: 60ch;
}

@media (max-width: 700px) {
  .sow-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================
   ACTION GRID — used on summary CTA section
   ============================================ */

.action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-7);
}

@media (max-width: 1000px) {
  .action-grid { grid-template-columns: 1fr; }
}

.action-tile {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-6);
  background: var(--surface-glass);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all 0.5s var(--ease-expo);
  position: relative;
  overflow: hidden;
  min-height: 220px;
  backdrop-filter: blur(20px);
}

.action-tile:hover {
  transform: translateY(-3px);
  border-color: var(--color-cyan);
  background: var(--surface-glass-strong);
  box-shadow: 0 18px 48px rgba(60, 62, 110, 0.35), 0 0 28px rgba(91, 95, 224, 0.18);
}

.action-tile--primary {
  background: linear-gradient(180deg, rgba(91,95,224,0.10) 0%, rgba(139,111,232,0.04) 100%);
  border-color: rgba(91,95,224,0.35);
  box-shadow: 0 0 0 1px rgba(91,95,224,0.15), 0 20px 40px rgba(60, 62, 110,0.35);
}

.action-tile--primary:hover {
  box-shadow: 0 0 0 1px rgba(91,95,224,0.6), 0 20px 60px rgba(91,95,224,0.18);
}

.action-tile__index {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-cyan);
}

.action-tile__title {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  color: var(--color-white);
  letter-spacing: -0.015em;
  margin-top: var(--space-2);
}

.action-tile__desc {
  font-size: var(--fs-sm);
  color: var(--color-platinum);
  line-height: 1.6;
  flex: 1;
}

.action-tile__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-cyan);
  margin-top: var(--space-3);
}

.action-tile:hover .action-tile__cta .btn__arrow {
  transform: translateX(4px);
}

/* ============================================
   PHASE SCOPE TABLE (no pricing)
   ============================================ */

.scope-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface-glass);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.scope-table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-cyan);
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--surface-border);
  background: rgba(91, 95, 224, 0.04);
}

.scope-table td {
  padding: var(--space-5);
  border-bottom: 1px solid var(--surface-border);
  vertical-align: top;
}

.scope-table tr:last-child td {
  border-bottom: none;
}

/* Phases-within-phases: row glow on hover, with neighbouring rows vignetted. */
.scope-table tbody tr {
  transition:
    background 0.5s var(--ease-out),
    box-shadow 0.5s var(--ease-expo),
    opacity 0.45s var(--ease-out);
}

.scope-table tbody:hover tr:not(:hover) {
  opacity: 0.55;
}

.scope-table tbody tr:hover {
  background: rgba(91, 95, 224, 0.04);
  box-shadow:
    inset 3px 0 0 0 var(--color-cyan),
    inset 0 0 36px rgba(91, 95, 224, 0.10),
    0 0 28px rgba(91, 95, 224, 0.10);
}

.scope-table__phase {
  transition:
    color 0.45s var(--ease-out),
    text-shadow 0.5s var(--ease-out);
}

.scope-table tbody tr:hover .scope-table__phase {
  color: var(--color-white);
  text-shadow: 0 0 14px rgba(91, 95, 224, 0.6);
}

.scope-table__name {
  transition: color 0.45s var(--ease-out);
}

.scope-table tbody tr:hover .scope-table__name {
  color: var(--color-cyan);
}

.scope-table__phase {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-cyan);
  white-space: nowrap;
}

.scope-table__name {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  color: var(--color-white);
  letter-spacing: -0.015em;
}

@media (max-width: 800px) {
  .scope-table, .scope-table thead, .scope-table tbody,
  .scope-table th, .scope-table td, .scope-table tr {
    display: block;
  }
  .scope-table thead { display: none; }
  .scope-table tr {
    border-bottom: 1px solid var(--surface-border);
    padding: var(--space-3) 0;
  }
  .scope-table tr:last-child { border-bottom: none; }
  .scope-table td { border: none; padding: var(--space-2) var(--space-5); }
}


/* ============================================
   NAV CLOCK
   ============================================ */

.nav__clock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--color-platinum);
  padding-right: var(--space-4);
  border-right: 1px solid var(--surface-border);
  min-width: 90px;
}

.nav__clock::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--color-cyan);
  box-shadow: 0 0 8px var(--color-cyan);
  animation: pulse 1.8s ease-in-out infinite;
}

.nav__progress {
  padding-left: var(--space-4);
}

@media (max-width: 720px) {
  .nav__clock { display: none; }
  .nav__progress { padding-left: 0; }
}

/* ============================================
   MOBILE SCOPE TABLE — clean stack cards
   ============================================ */

@media (max-width: 800px) {
  .scope-table {
    background: transparent;
    border: none;
    border-radius: 0;
    backdrop-filter: none;
    display: block;
  }
  .scope-table thead { display: none; }
  .scope-table tbody, .scope-table tr { display: block; }
  .scope-table tr {
    background: var(--surface-glass);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    padding: var(--space-5);
    margin-bottom: var(--space-3);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    backdrop-filter: blur(20px);
  }
  .scope-table td {
    display: block;
    padding: 0;
    border: none;
  }
  .scope-table__phase {
    color: var(--color-cyan);
    font-size: 11px;
  }
  .scope-table__name {
    font-size: var(--fs-md);
    margin-top: var(--space-1);
  }
}

/* ============================================
   PAGE-HERO RESPONSIVE
   ============================================ */

@media (max-width: 700px) {
  .page-hero {
    min-height: clamp(440px, 70vh, 620px);
    padding: calc(var(--space-9) + 32px) 0 var(--space-6);
  }
  .page-hero__title {
    font-size: clamp(2rem, 9.5vw, 3rem);
    max-width: 16ch;
  }
  .page-hero__lead {
    font-size: 1rem;
  }
}


/* ============================================
   NAV BRAND wrap fix
   ============================================ */

.nav__brand {
  white-space: nowrap;
  flex-shrink: 0;
}

.nav__brand-meta {
  flex-shrink: 0;
}

.nav__brand-meta span:first-child {
  white-space: nowrap;
}

.nav__brand-meta span:last-child {
  white-space: nowrap;
}

/* Phase tag no-wrap */
.page-hero__meta-tag {
  white-space: nowrap;
}

.page-hero__meta {
  flex-wrap: wrap;
}

/* On compact viewports, hide the brand-meta sub-line so the bar doesn't wrap */
@media (max-width: 1100px) {
  .nav__brand-meta span:last-child { display: none; }
}
@media (max-width: 720px) {
  .nav__brand-meta { display: none; }
}


/* ============================================
   PHASE DRAWER (left)
   ============================================ */

.drawer-toggle {
  position: fixed;
  top: 22px;
  left: 22px;
  z-index: 130;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--surface-border-strong);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

.drawer-toggle:hover {
  border-color: var(--color-cyan);
  background: rgba(91, 95, 224, 0.08);
}

.drawer-toggle__line {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--color-white);
  margin: 2.5px 0;
  transition: all 0.35s var(--ease-expo);
}

.drawer-toggle[aria-expanded="true"] .drawer-toggle__line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.drawer-toggle[aria-expanded="true"] .drawer-toggle__line:nth-child(2) {
  opacity: 0;
}
.drawer-toggle[aria-expanded="true"] .drawer-toggle__line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(30, 31, 60, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  z-index: 110;
  transition: opacity 0.55s var(--ease-expo);
}

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

.drawer {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: min(380px, 86vw);
  background: linear-gradient(180deg, var(--color-midnight) 0%, var(--color-midnight-deep) 100%);
  border-right: 1px solid var(--surface-border);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease-expo);
  z-index: 120;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 32px 0 80px rgba(60, 62, 110, 0.5);
}

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

.drawer__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: var(--space-6) var(--space-6) var(--space-5);
  border-bottom: 1px solid var(--surface-border);
}

.drawer__brand-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.drawer__brand {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--color-white);
}

.drawer__sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.drawer__close {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--surface-border-strong);
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  margin-top: 2px;
}

.drawer__close:hover {
  border-color: var(--color-cyan);
  color: var(--color-cyan);
}

.drawer__close-line {
  position: absolute;
  width: 14px;
  height: 1px;
  background: currentColor;
  color: var(--color-platinum);
}

.drawer__close-line:nth-child(1) { transform: rotate(45deg); }
.drawer__close-line:nth-child(2) { transform: rotate(-45deg); }

.drawer__nav {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-3) 0;
}

.drawer__link {
  display: grid;
  grid-template-columns: 48px 1fr 16px;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  text-decoration: none;
  color: var(--color-platinum);
  border-left: 2px solid transparent;
  transition:
    background var(--duration-fast) var(--ease-out),
    color var(--duration-fast) var(--ease-out),
    border-color var(--duration-fast) var(--ease-out),
    box-shadow 0.5s var(--ease-expo),
    opacity 0.45s var(--ease-out),
    filter 0.45s var(--ease-out),
    transform 0.45s var(--ease-expo);
  position: relative;
}

.drawer__link:hover {
  background:
    linear-gradient(
      90deg,
      rgba(91, 95, 224, 0.10) 0%,
      rgba(91, 95, 224, 0.04) 60%,
      rgba(91, 95, 224, 0) 100%
    );
  color: var(--color-white);
  border-left-color: rgba(91, 95, 224, 0.55);
  box-shadow:
    inset 0 0 28px rgba(91, 95, 224, 0.10),
    0 0 22px rgba(91, 95, 224, 0.10);
}

/* Vignette the surrounding items when one drawer link is hovered. */
.drawer__nav:hover .drawer__link:not(:hover) {
  opacity: 0.42;
  filter: blur(0.35px) saturate(0.85);
}

.drawer__nav:hover .drawer__link:not(:hover) .drawer__num {
  color: var(--color-faint);
}

.drawer__link.is-current {
  background: rgba(91, 95, 224, 0.06);
  color: var(--color-white);
  border-left-color: var(--color-cyan);
  box-shadow: inset 0 0 24px rgba(91, 95, 224, 0.08);
}

.drawer__num {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  color: var(--color-muted);
}

.drawer__link.is-current .drawer__num,
.drawer__link:hover .drawer__num {
  color: var(--color-cyan);
}

.drawer__label {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.drawer__label em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.drawer__link.is-current .drawer__label em,
.drawer__link:hover .drawer__label em {
  color: var(--color-cyan);
}

.drawer__arrow {
  width: 16px;
  height: 1px;
  background: currentColor;
  position: relative;
  opacity: 0.35;
  transition: all var(--duration-fast) var(--ease-out);
}

.drawer__arrow::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.drawer__link:hover .drawer__arrow,
.drawer__link.is-current .drawer__arrow {
  opacity: 1;
  transform: translateX(2px);
}

.drawer__footer {
  display: flex;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  border-top: 1px solid var(--surface-border);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
}

/* Hide top-nav links when drawer toggle is present (we still keep them for quick-jumps on desktop) */
@media (max-width: 700px) {
  .drawer__header { padding: var(--space-5) var(--space-5) var(--space-4); }
  .drawer__link { padding: var(--space-3) var(--space-5); grid-template-columns: 40px 1fr 14px; }
  .drawer__footer { padding: var(--space-4) var(--space-5); }
}

/* Push nav brand right a touch so the drawer toggle has breathing room */
.nav__inner {
  padding-left: 56px;
}

@media (max-width: 700px) {
  .nav__inner { padding-left: 52px; }
}


/* ============================================
   OUTLINE NAV LINK (desktop opens drawer)
   ============================================ */

.nav__outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
}

.nav__outline::before {
  content: '';
  width: 1px;
  height: 12px;
  background: var(--surface-border-strong);
  margin-right: 4px;
}

.nav__outline-glyph {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  width: 12px;
}

.nav__outline-glyph::before,
.nav__outline-glyph::after {
  content: '';
  width: 100%;
  height: 1px;
  background: currentColor;
  display: block;
}

.nav__outline-glyph::after {
  width: 70%;
}

@media (max-width: 900px) {
  .nav__outline { display: none; }
}

/* ============================================
   DRAWER PLACEMENT — desktop: left; mobile: right
   ============================================ */

/* Desktop: hide the floating hamburger; outline link in navbar handles it */
@media (min-width: 901px) {
  .drawer-toggle { display: none; }
  .nav__inner { padding-left: 0; }
}

/* Mobile / tablet: floating toggle moves to the right; drawer slides in from right */
@media (max-width: 900px) {
  .drawer-toggle {
    left: auto;
    right: 18px;
    top: 18px;
  }

  .drawer {
    left: auto;
    right: 0;
    transform: translateX(100%);
    border-right: none;
    border-left: 1px solid var(--surface-border);
    box-shadow: -32px 0 80px rgba(60, 62, 110, 0.5);
  }
  .drawer.is-open { transform: translateX(0); }

  .nav__inner { padding-left: 0; }
}


/* ============================================
   INTAKE-CARD — single focused CTA replacing
   former 3-step SOW/MSA/payment grid.
   ============================================ */

.intake-card {
  position: relative;
  max-width: 760px;
  margin-inline: auto;
  padding: var(--space-8) var(--space-7);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(91, 95, 224, 0.10) 0%, transparent 60%),
    var(--surface-glass);
  border: 1px solid rgba(91, 95, 224, 0.28);
  border-radius: var(--radius-lg);
  text-align: center;
  backdrop-filter: blur(24px);
  overflow: hidden;
  transition:
    transform 0.5s var(--ease-expo),
    border-color 0.5s var(--ease-out),
    box-shadow 0.5s var(--ease-expo);
}

.intake-card:hover {
  border-color: rgba(91, 95, 224, 0.6);
  box-shadow:
    0 24px 64px rgba(60, 62, 110, 0.4),
    0 0 0 1px rgba(91, 95, 224, 0.3),
    0 0 64px rgba(91, 95, 224, 0.16);
}

.intake-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--color-white);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-top: var(--space-3);
  text-wrap: balance;
}

.intake-card__desc {
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--color-platinum);
  max-width: 60ch;
  margin: var(--space-4) auto 0;
}

.intake-card__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-3) var(--space-5);
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--surface-border);
}

.intake-card__meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 90px;
}

.intake-card__meta-num {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  color: var(--color-white);
  letter-spacing: -0.005em;
}

.intake-card__meta-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.intake-card__meta-divider {
  width: 1px;
  height: 22px;
  background: var(--surface-border);
}

.intake-card__cta {
  margin-top: var(--space-6);
}

.intake-card__fineprint {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-top: var(--space-5);
}

@media (max-width: 600px) {
  .intake-card {
    padding: var(--space-6) var(--space-5);
  }
  .intake-card__meta-divider { display: none; }
}

/* ============================================
   EXPIRED / REMOVED CONTENT NOTICE
   ============================================ */

.expired-card {
  position: relative;
  max-width: 640px;
  margin-inline: auto;
  padding: var(--space-8) var(--space-7);
  background: var(--surface-glass);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  text-align: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
}

.expired-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: var(--space-5);
  border-radius: 50%;
  border: 1px solid rgba(194, 65, 90, 0.3);
  background: rgba(194, 65, 90, 0.08);
  color: var(--color-crimson);
}

.expired-card__contact {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  color: var(--color-muted);
  margin-top: var(--space-6);
}

.expired-card__contact a {
  color: var(--color-cyan);
  border-bottom: 1px solid rgba(91, 95, 224, 0.35);
  transition: color var(--duration-fast) var(--ease-out);
}

.expired-card__contact a:hover {
  color: var(--color-white);
  border-color: var(--color-white);
}

@media (max-width: 600px) {
  .expired-card {
    padding: var(--space-6) var(--space-5);
  }
}

/* ===========================================================
   LIGHT THEME REFINEMENTS (v2)
   Periwinkle-indigo + violet on crisp white.
   =========================================================== */

/* Surfaces lift off the white ground with a soft indigo shadow */
.card,
.action-tile,
.invest-table,
.scope-table,
.phase-nav,
.sow-card,
.intake-card,
.investment-card {
  box-shadow: var(--shadow-card);
}

/* Frosted cards read cleaner with a touch more white behind the blur */
.card { background: var(--surface-glass); }
.card:hover { background: var(--surface-glass-strong); }

/* Corner brackets retired in v2 (not in the kept motif set) */
.corner-brackets::before,
.corner-brackets::after { display: none; }

/* Primary button: white text + a light sheen sweep over the indigo gradient */
.btn--primary { color: #FFFFFF; }
.btn--primary::after {
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.40) 50%, transparent 70%) !important;
}

/* Timeline marker: white disc on the light ground */
.timeline__marker { background: #FFFFFF; }

/* Investment "total" row tint stays readable on white */
.invest-table__total .invest-table__name { color: var(--color-cyan); }
.invest-table__total .invest-table__amount { color: var(--color-white); }

/* Drawer toggle hamburger lines: ink on the frosted toggle */
.drawer-toggle__line { background: var(--color-white); }
