/* Echo Motion's shared palette. Blue belongs to AI and workflow details. */
:root {
  --echo-gold: #e8be59;
  --echo-blue: #a5c7ff;
  --echo-charcoal: #191a1e;
  --echo-white: #f2ebdd;
  --echo-muted: #cbc4b9;
  --echo-panel: #222329;
  --echo-border: #5f6068;
  --echo-control-border: #85858e;
  --echo-gold-hover: #f2d187;
  --echo-blue-hover: #c4daff;
  --black: var(--echo-charcoal);
  --white: var(--echo-white);
  --gold: var(--echo-gold);
  --soft-gold: var(--echo-gold);
  --muted: var(--echo-muted);
  --line: var(--echo-border);
  --blush: var(--echo-gold);
}

body, body.ai-page, body.wedding-portfolio {
  background-color: var(--echo-charcoal);
  color: var(--echo-white);
}
body.wedding-portfolio {
  --paper: var(--echo-white);
  --wgold: var(--echo-gold);
}
header.nav, body.has-scrolled header.nav,
header.nav .mobile-menu[open] .menu-panel {
  background-color: var(--echo-charcoal);
  border-color: var(--echo-border);
  box-shadow: none;
}
.mark, .echo-brand, .editorial em, .eyebrow,
.mobile-menu .menu-panel .menu-kicker,
.mobile-menu .menu-panel .menu-email,
.mobile-menu .menu-panel .menu-signature {
  color: var(--echo-gold);
}
header.nav .mobile-menu summary {
  background: var(--echo-panel);
  color: var(--echo-gold);
  border-color: var(--echo-gold);
}
header.nav .mobile-menu summary:hover,
header.nav .mobile-menu[open] summary,
.mobile-menu .menu-panel nav a:hover,
.mobile-menu .menu-panel nav a:focus-visible {
  background-color: var(--echo-panel);
  color: var(--echo-gold-hover);
}
.mobile-menu .menu-panel nav a,
.mobile-menu .menu-panel nav a[aria-current="page"] {
  color: var(--echo-white);
  border-color: var(--echo-border);
}

.btn:not(.ghost, .secondary),
.pill, .header-contact, .floating-contact,
.mobile-menu .menu-panel nav a.pill,
.wp-inquire .btn, .ai-button:not(.ai-secondary),
.ai-button[href="#employers"], .ai-skip {
  background: var(--echo-gold);
  color: var(--echo-charcoal) !important;
  border-color: var(--echo-gold);
}
.btn:not(.ghost, .secondary):hover,
.pill:hover, .header-contact:hover, .floating-contact:hover,
.mobile-menu .menu-panel nav a.pill:hover,
.wp-inquire .btn:hover, .ai-button:not(.ai-secondary):hover,
.ai-button[href="#employers"]:hover {
  background: var(--echo-gold-hover);
  border-color: var(--echo-gold-hover);
}
.ai-secondary {
  border-color: var(--echo-gold);
  color: var(--echo-gold);
}
.ai-button:hover { box-shadow: none; }

.btn[href="/ai-automation/"],
.ai-button[href^="/ai-systems/recruiting-research/"],
.ai-button[href="#testing"] {
  background: var(--echo-blue);
  border-color: var(--echo-blue);
  color: var(--echo-charcoal) !important;
}
.btn[href="/ai-automation/"]:hover,
.ai-button[href^="/ai-systems/recruiting-research/"]:hover,
.ai-button[href="#testing"]:hover {
  background: var(--echo-blue-hover);
  border-color: var(--echo-blue-hover);
}
.btn.ghost[href="/ai-systems/"],
.ai-button.ai-secondary:is([href="/ai-systems/"], [href="#ai-agents"]) {
  background: transparent;
  color: var(--echo-blue) !important;
  border-color: var(--echo-blue);
}
.btn.ghost[href="/ai-systems/"]:hover,
.ai-button.ai-secondary:is([href="/ai-systems/"], [href="#ai-agents"]):hover {
  background: var(--echo-panel);
  border-color: var(--echo-blue-hover);
  color: var(--echo-blue-hover) !important;
}
.ai-kicker, .ai-page .field label, .ai-page a[href^="mailto:"] {
  color: var(--echo-gold);
}
#ai-agents .ai-example .ai-kicker, #projects .ai-kicker,
.ai-tags li, .ai-flow li::before, #testing .ai-example .ai-kicker,
.ed-flow span, .ed-flow b {
  color: var(--echo-blue);
}
.ai-card, .ai-example, .ai-gallery figure, .ai-workflow-proof,
.ai-flow li {
  background-color: var(--echo-panel);
  border-color: var(--echo-border);
}
.ai-tags li, .ai-flow li, .ed-flow span,
#ai-agents .ai-example, #testing .ai-example {
  border-color: var(--echo-blue);
}
.ed-flow span { animation: none; box-shadow: none; }
.ai-hero h1, .ai-section h2, .ai-card h3, .ai-example h3 {
  color: var(--echo-white);
}
.ai-lead, .ai-intro, .ai-card p:last-child, .ai-flow span,
.ai-gallery figcaption, .ai-workflow-proof figcaption {
  color: var(--echo-muted);
}
.ai-section { border-color: var(--echo-border); }
.field :is(input, textarea, select), .ai-page .field select {
  background: var(--echo-panel);
  border-color: var(--echo-control-border);
  color: var(--echo-white);
}
.field :is(input, textarea)::placeholder { color: var(--echo-muted); }
:where(a, button, summary, input, select, textarea):focus-visible,
.ai-page :focus-visible {
  outline: 2px solid var(--echo-gold);
  outline-offset: 4px;
}
:is(a, button):is([href^="/ai-systems/"], [href="/ai-automation/"], [href="#ai-agents"], [href="#testing"]):focus-visible {
  outline-color: var(--echo-blue);
}

/* Keep scrolling text from showing through the gutters beside the sticky nav. */
header.nav {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
header.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  box-shadow: 0 0 0 100vmax var(--echo-charcoal);
  clip-path: inset(0 -100vmax);
}
