/* Shared light field. Lavender, teal, and navy. Brass stays in the logo artwork. */

html:has(body.landing),
html:has(body.site) {
  background: #f4f1fb;
  color-scheme: light;
}

body.landing,
body.site {
  --paper: #f4f1fb;
  --ink: #16141f;
  --ink-soft: #3d3850;
  --lavender: #4c3399;
  --lavender-soft: #d9cef8;
  --teal: #d7f3ee;
  --navy: #14161f;
  --on-dark: #f4f1fb;
  --focus: #2d1b69;
  --focus-on-dark: #f4f1fb;

  --void: #f4f1fb;
  --obsidian: #ffffff;
  --graphite: #ffffff;
  --panel: #ffffff;
  --panel-solid: #ffffff;
  --panel-border: rgba(22, 20, 31, 0.12);
  --panel-border-subtle: rgba(22, 20, 31, 0.08);
  --panel-border-bright: rgba(76, 51, 153, 0.45);

  --text-primary: #16141f;
  --text-secondary: #3d3850;
  --text-muted: #3d3850;
  --text-faint: #3d3850;
  --brass: #16141f;
  --brass-bright: #16141f;
  --brass-dim: #3d3850;

  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
}

body.landing .footer,
body.site .footer {
  --void: #14161f;
  --text-primary: #f4f1fb;
  --text-secondary: #d9d4ea;
  --text-muted: #d9d4ea;
  --text-faint: #d9d4ea;
  --brass: #f4f1fb;
  --brass-bright: #f4f1fb;
  --panel-border: rgba(244, 241, 251, 0.16);
  background: #14161f;
  color: #f4f1fb;
}

body.site .header,
body.landing .header {
  background: rgba(244, 241, 251, 0.92);
  border-bottom-color: rgba(22, 20, 31, 0.1);
  transition: background-color 160ms var(--ease-out);
}

body.site .menu-toggle,
body.landing .menu-toggle {
  color: #16141f;
}

body.site .nav-cta,
body.site .btn-primary,
body.landing .nav-cta {
  background: #4c3399;
  color: #ffffff;
  border-color: transparent;
  border-radius: 999px;
  box-shadow: none;
}

body.site .nav-cta:focus-visible,
body.site .btn-primary:focus-visible,
body.site .nav-cta:focus,
body.site .btn-primary:focus,
body.landing .nav-cta:focus-visible,
body.landing .btn-primary:focus-visible,
body.landing .nav-cta:focus,
body.landing .btn-primary:focus {
  outline: 2px solid #f4f1fb;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px #2d1b69;
}

body.site .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid #3d3850;
  background: #ffffff;
  color: #16141f;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
}

body.site .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
  body.site .nav-cta:hover,
  body.site .btn-primary:hover,
  body.landing .nav-cta:hover {
    background: #3d2880;
    color: #ffffff;
    box-shadow: none;
  }
}

body.site a:focus-visible,
body.site button:focus-visible,
body.site .form-control:focus-visible,
body.site a:focus,
body.site button:focus,
body.site .form-control:focus,
body.landing a:focus-visible,
body.landing button:focus-visible,
body.landing .form-control:focus-visible,
body.landing a:focus,
body.landing button:focus,
body.landing .form-control:focus {
  outline: 2px solid #2d1b69;
  outline-offset: 3px;
}

body.site .footer a:focus-visible,
body.site .footer a:focus,
body.landing .footer a:focus-visible,
body.landing .footer a:focus,
body.landing .band-navy a:focus-visible,
body.landing .band-navy a:focus,
body.landing .band-navy button:focus-visible,
body.landing .band-navy button:focus,
body.landing .band-close .inquiry-copy a:focus-visible,
body.landing .band-close .inquiry-copy a:focus {
  outline-color: #f4f1fb;
}

body.site .page-header {
  background: #f4f1fb;
  border-bottom-color: rgba(22, 20, 31, 0.1);
}

body.site .page-header-title {
  font-size: clamp(56px, 7vw, 92px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

body.site .page-header-desc,
body.site .vector-detail-intro p,
body.site .thesis-deep-card p {
  font-size: 18px;
  color: #3d3850;
}

body.site .vector-detail-block,
body.site .thesis-deep-card {
  background: #f4f1fb;
  border-bottom-color: rgba(22, 20, 31, 0.1);
}

body.site .vector-detail-intro h2,
body.site .thesis-deep-card h2 {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

body.site .vector-spec-panel,
body.site .thesis-architecture-box,
body.site .matrix-tier {
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(22, 20, 31, 0.06);
}

body.site .matrix-tier.featured {
  background: #efeafb;
  border-color: rgba(76, 51, 153, 0.35);
  box-shadow: none;
}

body.site .thesis-flow-step,
body.site .thesis-architecture-box--inset {
  background: #f4f1fb;
}

body.site .vector-deliverables,
body.site .learning-takeaway {
  background: #efeafb;
  border-color: rgba(76, 51, 153, 0.28);
}

body.site .ambient-glow-top,
body.site .ambient-glow-mid,
body.site .bg-grid-ambient {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  body.site .nav-cta:active,
  body.site .btn-primary:active,
  body.site .matrix-tier:hover {
    transform: none;
  }
}
