/* Site styles — layout + components + sections. Tokens live in tokens.css. */

/* =========================================
   Base
   ========================================= */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 1.6rem;
  line-height: 1.5;
  letter-spacing: var(--tracking);
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--brand-teal); }
strong { font-weight: 600; color: var(--ink); }

/* =========================================
   Type scale
   ========================================= */
.h-display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(4.4rem, 7vw, 8rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
}
h1, .h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.6rem, 5.4vw, 6.4rem);
  line-height: 1.05;
  letter-spacing: -0.018em;
  color: var(--ink);
}
h2, .h2 {
  font-size: clamp(2.8rem, 3.6vw, 4.4rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.012em;
  color: var(--ink);
}
h3, .h3 {
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: var(--tracking);
  color: var(--ink);
}
.eyebrow {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-teal);
}
.lede {
  font-size: 1.9rem;
  line-height: 1.55;
  color: var(--body);
  font-weight: 400;
}
.body-md {
  font-size: 1.6rem;
  line-height: 1.55;
  color: var(--body);
}
.body-sm {
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--body);
}
.caption {
  font-size: 1.3rem;
  color: var(--muted);
}

/* =========================================
   Buttons (50px full pill, scale(0.95) active)
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: var(--tracking);
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--t-fast);
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(var(--press)); }

.btn--primary {
  background: var(--brand-teal-accent);
  color: var(--canvas-soft);
  border-color: var(--brand-teal-accent);
}
.btn--primary:hover { background: var(--brand-teal-hover); border-color: var(--brand-teal-hover); color: var(--canvas-soft); }

.btn--outline {
  background: transparent;
  color: var(--brand-teal);
  border-color: var(--brand-teal);
}
.btn--outline:hover { background: var(--brand-teal); color: var(--canvas-soft); }

.btn--dark {
  background: var(--brand-teal-deep);
  color: var(--canvas-soft);
  border-color: var(--brand-teal-deep);
  padding: 10px 22px;
  font-size: 1.4rem;
}
.btn--dark:hover { background: #000; border-color: #000; }

.btn--ghost-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
  padding: 10px 22px;
  font-size: 1.4rem;
}
.btn--ghost-dark:hover { background: var(--ink); color: var(--canvas-soft); }

.btn--inverted {
  background: var(--canvas-soft);
  color: var(--brand-teal-accent);
  border-color: var(--canvas-soft);
}
.btn--inverted:hover { background: var(--sage-soft); border-color: var(--sage-soft); }

.btn--outline-dark {
  background: transparent;
  color: var(--canvas-soft);
  border-color: var(--canvas-soft);
}
.btn--outline-dark:hover { background: var(--canvas-soft); color: var(--brand-teal); }


/* =========================================
   Global nav
   ========================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--canvas-soft);
  box-shadow: var(--shadow-nav);
}
.nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  height: 72px;
  padding: 0 var(--gutter-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.6rem;
  line-height: 1;
  letter-spacing: -0.018em;
  color: var(--brand-teal);
  white-space: nowrap;
}
.wordmark__mark { width: 2.4rem; height: auto; flex: none; }
.wordmark__dot { color: var(--bronze); }
.wordmark--light { color: var(--canvas-soft); }
.nav-links {
  display: none;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: var(--tracking);
}
.nav-cta { display: flex; gap: 12px; align-items: center; }

@media (min-width: 900px) {
  .nav-inner { height: 83px; }
  .nav-links { display: flex; }
}
@media (min-width: 1200px) {
  .nav-inner { height: 99px; padding: 0 var(--gutter-lg); }
}

/* =========================================
   Hero
   ========================================= */
.hero {
  background: var(--canvas);
  padding: var(--space-9) var(--gutter-md) var(--space-8);
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  gap: var(--space-7);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero { padding: 12rem var(--gutter-lg) 9rem; }
  .hero-inner { grid-template-columns: 1fr 1.15fr; gap: var(--space-9); }
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-teal);
}
.hero h1 { margin-bottom: 24px; }
.hero .lede { max-width: 56ch; margin-bottom: 36px; }
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.hero-meta {
  margin-top: 32px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 1.3rem;
  color: var(--muted);
  letter-spacing: var(--tracking);
}
.hero-meta span { display: flex; align-items: center; gap: 6px; }

/* Hero visual: brain card mosaic */
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--canvas-soft);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 1px;
  background-color: var(--border);
}
.hv-tile {
  background: var(--canvas-soft);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 1.3rem;
  color: var(--body);
  position: relative;
}
.hv-tile--dark { background: var(--brand-teal-deep); color: var(--canvas-soft); }
.hv-tile--sage { background: var(--sage-soft); color: var(--brand-teal-deep); }
.hv-tile__label {
  font-size: 1.1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.7;
}
.hv-tile__value {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.012em;
}
.hv-tile__caption {
  font-size: 1.2rem;
  line-height: 1.4;
  opacity: 0.85;
}

/* =========================================
   Section base
   ========================================= */
.section {
  padding: var(--space-9) var(--gutter-md);
}
.section--white   { background: var(--canvas-soft); }
.section--canvas  { background: var(--canvas); }
.section--ceramic { background: var(--ceramic); }
.section--dark    {
  background: var(--brand-teal-deep);
  color: var(--text-on-dark);
}
.section--dark h2,
.section--dark h3 { color: var(--canvas-soft); }
.section--dark .lede,
.section--dark .body-md,
.section--dark .body-sm { color: var(--text-on-dark-soft); }

@media (min-width: 1024px) {
  .section { padding: 11rem var(--gutter-lg); }
}
.container {
  max-width: 1280px;
  margin: 0 auto;
}
.section-head { margin-bottom: var(--space-7); max-width: 72ch; }
.section-head .eyebrow { margin-bottom: 16px; display: inline-block; }
.section-head h2 { margin-bottom: 16px; }
.section-head .lede { color: var(--body); }

/* =========================================
   Operator Trap (chevron list)
   ========================================= */
.trap-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .trap-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}
.trap-item {
  background: var(--canvas-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 32px;
  position: relative;
}
.trap-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--brand-teal-deep);
  font-weight: 600;
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.trap-title { font-weight: 600; margin-bottom: 8px; }

/* =========================================
   Brain grid (4 feature cards)
   ========================================= */
.brain-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  margin-top: 40px;
}
@media (min-width: 640px)  { .brain-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .brain-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

.brain-card {
  background: var(--canvas-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
}
.brain-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--sage-soft);
  display: grid;
  place-items: center;
  color: var(--brand-teal-deep);
  margin-bottom: 16px;
}
.brain-title {
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: var(--tracking);
}
.brain-desc {
  font-size: 1.4rem;
  color: var(--body);
  line-height: 1.5;
}

/* =========================================
   Pyramid
   ========================================= */
.pyramid-figure {
  display: grid;
  gap: var(--space-7);
  grid-template-columns: 1fr;
  align-items: center;
  margin-top: var(--space-6);
}
@media (min-width: 1024px) {
  .pyramid-figure { grid-template-columns: 1.1fr 1fr; gap: var(--space-8); }
}

.pyramid-svg {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
}
.pyramid-svg svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.pyramid-labels {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
  counter-reset: none;
  padding: 0;
}
.pyramid-labels li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 2px solid var(--sage);
  padding: 2px 0 2px 20px;
}
.pyramid-labels h4 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.008em;
  line-height: 1.2;
  margin-bottom: 4px;
}
.pyramid-num {
  color: var(--brand-teal);
  font-weight: 500;
  margin-right: 6px;
}
.pyramid-labels p {
  font-size: 1.4rem;
  color: var(--body);
  line-height: 1.55;
}

/* =========================================
   Practice grid (4 examples)
   ========================================= */
.practice-grid {
  display: grid;
  gap: 32px 64px;
  margin-top: 48px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px)  { .practice-grid { grid-template-columns: 1fr 1fr; } }

.practice-item { display: flex; flex-direction: column; gap: 12px; }
.practice-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: var(--sage-soft);
  border: 1px solid var(--sage);
  display: grid;
  place-items: center;
  color: var(--brand-teal-deep);
}
.practice-title {
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--ink);
}
.practice-desc {
  font-size: 1.5rem;
  color: var(--body);
  line-height: 1.55;
}

/* =========================================
   Gap section (two lists, split)
   ========================================= */
.gap-grid {
  display: grid;
  gap: 24px;
  margin-top: var(--space-6);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .gap-grid { grid-template-columns: 1fr 1fr; } }
.gap-card {
  border-radius: var(--r-card);
  padding: 32px;
}
.gap-card--filled {
  background: var(--sage-soft);
  border: 1px solid var(--sage);
}
.gap-card--outlined {
  background: var(--canvas-soft);
  border: 1px dashed var(--border-mid);
}
.gap-card h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
  color: var(--brand-teal-deep);
}
.gap-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gap-card li {
  font-size: 1.5rem;
  color: var(--ink);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.gap-card li::before {
  content: "";
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-teal);
  margin-top: 9px;
  flex-shrink: 0;
}
.gap-card--outlined li::before { background: var(--border-mid); }

/* =========================================
   Department cards (3 cards)
   ========================================= */
.dept-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  margin-top: var(--space-6);
}
@media (min-width: 768px) { .dept-grid { grid-template-columns: repeat(3, 1fr); } }
.dept-card {
  background: var(--canvas-soft);
  border-radius: var(--r-card);
  padding: 36px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.dept-card--accent {
  background: var(--brand-teal-deep);
  color: var(--canvas-soft);
}
.dept-card--accent h3 { color: var(--canvas-soft); }
.dept-card--accent .body-md { color: var(--text-on-dark-soft); }
.dept-card .eyebrow {
  display: block;
  margin-bottom: 12px;
  font-size: 1.1rem;
  letter-spacing: 0.16em;
}
.dept-card--accent .eyebrow { color: var(--bronze-soft); }
.dept-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 2.4rem; line-height: 1.15; margin-bottom: 12px; letter-spacing: -0.01em; }

/* =========================================
   Phased timeline
   ========================================= */
.phases {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  margin-top: var(--space-6);
}
@media (min-width: 1024px) { .phases { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

.phase {
  background: var(--canvas-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 32px;
  position: relative;
}
.phase-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: var(--brand-teal);
  color: var(--canvas-soft);
  border-radius: 50%;
  font-weight: 600;
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.phase-when {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-teal);
  margin-bottom: 6px;
}
.phase-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.2rem;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.phase-desc {
  font-size: 1.5rem;
  color: var(--body);
  line-height: 1.55;
}

/* =========================================
   Case study archetypes
   ========================================= */
.cases-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  margin-top: var(--space-6);
}
@media (min-width: 768px)  { .cases-grid { grid-template-columns: repeat(3, 1fr); } }

.case-card {
  background: var(--canvas-soft);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-top: 4px solid var(--brand-teal);
}
.case-archetype {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-teal);
}
.case-context {
  font-size: 1.4rem;
  color: var(--muted);
  font-style: italic;
  line-height: 1.45;
  margin-top: -10px;
}
.case-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.case-section-label {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-teal);
}
.case-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  margin: 0;
}
.case-list li {
  font-size: 1.5rem;
  color: var(--ink);
  padding-left: 18px;
  position: relative;
  line-height: 1.4;
}
.case-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 2px;
  background: var(--brand-teal);
  border-radius: 1px;
}
.case-section--outcome {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.case-outcome-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.2;
  color: var(--brand-teal-deep);
  letter-spacing: -0.008em;
}
.case-outcome-detail {
  font-size: 1.4rem;
  color: var(--body);
  line-height: 1.5;
}

/* =========================================
   Pricing strip
   ========================================= */
.pricing-strip {
  text-align: center;
  max-width: 64ch;
  margin: 0 auto;
}
.pricing-strip .h2 { margin-bottom: 16px; }
.pricing-strip .lede { margin-bottom: 32px; }

/* =========================================
   Final CTA band (dark feature band)
   ========================================= */
.cta-band {
  background: var(--brand-teal-deep);
  color: var(--canvas-soft);
  padding: var(--space-9) var(--gutter-md);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(168,181,160,0.16), transparent 60%);
  pointer-events: none;
}
.cta-band-inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.cta-band h2 { color: var(--canvas-soft); margin-bottom: 16px; }
.cta-band p { color: var(--text-on-dark-soft); margin-bottom: 32px; max-width: 56ch; margin-inline: auto; }
.cta-band .btn-row {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}

/* =========================================
   Footer
   ========================================= */
.footer {
  background: var(--brand-teal-deep);
  color: var(--canvas-soft);
  padding: 64px var(--gutter-md) 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .footer-inner { grid-template-columns: 2fr 1fr 1fr; } }
.footer h4 {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze-soft);
  margin-bottom: 16px;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer a { color: var(--text-on-dark-soft); font-size: 1.4rem; }
.footer a:hover { color: var(--canvas-soft); }
.footer-brand p {
  font-size: 1.4rem;
  color: var(--text-on-dark-soft);
  max-width: 36ch;
  margin-top: 12px;
  line-height: 1.55;
}
.footer-base {
  max-width: 1280px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 1.2rem;
  color: var(--text-on-dark-soft);
  letter-spacing: var(--tracking);
}

/* =========================================
   Frap (floating book-a-call CTA)
   ========================================= */
.frap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px 14px 18px;
  background: var(--brand-teal-accent);
  color: var(--canvas-soft);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-frap);
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: var(--tracking);
  transition: all var(--t-fast);
}
.frap:hover { background: var(--brand-teal-hover); color: var(--canvas-soft); }
.frap:active { transform: scale(var(--press)); box-shadow: var(--shadow-frap-active); }
.frap__circle {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--canvas-soft);
  color: var(--brand-teal-accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .frap span.frap__label { display: none; }
  .frap { padding: 14px; }
}

/* =========================================
   Interactions (hover, motion, focus)
   ========================================= */

:root {
  --t-spring: 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-soft:   0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1);   opacity: 1;   }
  50%      { transform: scale(1.7); opacity: 0.4; }
}
@keyframes float-arrow {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(3px); }
}

/* Buttons: spring lift + arrow slide */
.btn { transition: transform var(--t-spring), background-color var(--t-soft), border-color var(--t-soft), color var(--t-soft), box-shadow var(--t-spring); }
.btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 20px rgba(14,43,42,0.14), 0 2px 4px rgba(14,43,42,0.08);
}
.btn:active { transform: scale(0.95); box-shadow: none; }
.btn svg { transition: transform var(--t-spring); }
.btn:hover svg { transform: translateX(5px); }

/* Wordmark: bronze dot spins on hover */
.wordmark { transition: transform var(--t-spring); }
.wordmark:hover { transform: translateY(-1px); }
.wordmark__dot {
  display: inline-block;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: center;
}
.wordmark:hover .wordmark__dot { transform: scale(1.4) rotate(360deg); }

/* Nav links: underline grows from left */
.nav-links a {
  position: relative;
  padding-bottom: 6px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  height: 2px; width: 0;
  background: var(--brand-teal);
  transition: width var(--t-soft);
}
.nav-links a:hover { color: var(--brand-teal); }
.nav-links a:hover::after { width: 100%; }

/* Hero eyebrow dot: gentle infinite pulse */
.hero-eyebrow .dot { animation: pulse-dot 2.4s ease-in-out infinite; }

/* Hero CTAs arrow: gentle bobbing on idle */
.hero-cta .btn--primary svg { animation: float-arrow 2.8s ease-in-out infinite; }
.hero-cta .btn--primary:hover svg { animation: none; transform: translateX(5px); }

/* Hero stat tiles: lift + halo on hover */
.hv-tile { transition: transform var(--t-soft), z-index 0s var(--t-soft); cursor: default; }
.hv-tile:hover { transform: translateY(-3px); position: relative; z-index: 2; }

/* Trap items: lift + number tilt */
.trap-item { transition: transform var(--t-soft), box-shadow var(--t-soft), border-color var(--t-soft); }
.trap-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: var(--sage);
}
.trap-num { transition: transform var(--t-spring), background-color var(--t-spring); }
.trap-item:hover .trap-num {
  transform: rotate(-10deg) scale(1.08);
  background: var(--sage);
  color: var(--brand-teal-deep);
}

/* Brain cards: lift + icon rotate-pop */
.brain-card { transition: transform var(--t-soft), box-shadow var(--t-soft), border-color var(--t-soft); }
.brain-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(14,43,42,0.1), 0 2px 4px rgba(14,43,42,0.06);
  border-color: var(--sage);
}
.brain-icon { transition: transform var(--t-spring), background-color var(--t-spring); }
.brain-card:hover .brain-icon {
  transform: rotate(-8deg) scale(1.12);
  background: var(--sage);
}

/* Pyramid: badges grow on hover, labels highlight */
.pyramid-svg circle {
  transition: transform var(--t-spring), filter var(--t-spring);
  transform-origin: center;
  transform-box: fill-box;
}
.pyramid-svg g[transform]:hover {
  cursor: default;
}
.pyramid-svg g[transform]:hover circle {
  transform: scale(1.2);
  filter: drop-shadow(0 4px 8px rgba(31,78,74,0.35));
}
.pyramid-labels li {
  transition: border-color var(--t-soft), padding-left var(--t-soft);
  cursor: default;
}
.pyramid-labels li:hover {
  border-color: var(--brand-teal);
  padding-left: 28px;
}
.pyramid-labels h4 { transition: color var(--t-soft); }
.pyramid-labels li:hover h4 { color: var(--brand-teal); }
.pyramid-num { transition: color var(--t-soft); }

/* Practice icons: rotate-pop on parent hover */
.practice-item { cursor: default; }
.practice-icon { transition: transform var(--t-spring), background-color var(--t-spring), border-color var(--t-spring); }
.practice-item:hover .practice-icon {
  transform: rotate(-10deg) scale(1.15);
  background: var(--sage);
  border-color: var(--brand-teal);
}

/* Gap cards: gentle lift */
.gap-card { transition: transform var(--t-soft), box-shadow var(--t-soft); }
.gap-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

/* Department cards: pronounced lift */
.dept-card { transition: transform var(--t-soft), box-shadow var(--t-soft); }
.dept-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(14,43,42,0.14), 0 4px 8px rgba(14,43,42,0.08);
}
.dept-card--accent:hover {
  box-shadow: 0 18px 36px rgba(14,43,42,0.4), 0 4px 8px rgba(14,43,42,0.2);
}

/* Phase cards: number does a full spin */
.phase { transition: transform var(--t-soft), border-color var(--t-soft), box-shadow var(--t-soft); }
.phase:hover {
  transform: translateY(-4px);
  border-color: var(--sage);
  box-shadow: var(--shadow-card);
}
.phase-num { transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), background-color var(--t-soft); }
.phase:hover .phase-num {
  transform: rotate(360deg) scale(1.08);
}

/* Case study cards: lift + top accent thickens */
.case-card {
  transition: transform var(--t-soft), box-shadow var(--t-soft), border-top-width var(--t-spring);
}
.case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(14,43,42,0.1), 0 4px 8px rgba(14,43,42,0.05);
  border-top-width: 6px;
}
.case-outcome-headline { transition: color var(--t-soft); }
.case-card:hover .case-outcome-headline { color: var(--brand-teal); }

/* Frap: scale + calendar icon spins */
.frap { transition: transform var(--t-spring), background-color var(--t-soft), box-shadow var(--t-spring); }
.frap:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 0 6px rgba(14,43,42,0.24), 0 14px 22px rgba(14,43,42,0.18);
}
.frap:active { transform: scale(0.95); }
.frap__circle { transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), background-color var(--t-soft); }
.frap:hover .frap__circle { transform: rotate(360deg); }

/* CTA band buttons: subtle inverse hover */
.cta-band .btn--inverted:hover { transform: translateY(-2px) scale(1.03); }
.cta-band .btn--outline-dark:hover { transform: translateY(-2px) scale(1.03); }

/* Footer links: slide in on hover */
.footer ul a { transition: color var(--t-soft), padding-left var(--t-soft); display: inline-block; }
.footer ul a:hover { padding-left: 6px; color: var(--canvas-soft); }

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

/* =========================================
   Helpers
   ========================================= */
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.center { text-align: center; }
.mt-3 { margin-top: 24px; }
.mt-5 { margin-top: 40px; }
.hide-mobile { display: none; }
@media (min-width: 768px) { .hide-mobile { display: initial; } }

/* ============================================================
   DARK SCHEME — piece 2: hero + nav (dashboard aesthetic)
   Scoped overrides; the rest of the site is converted section by section.
   ============================================================ */
.nav { background: #0E2B2A; border-bottom: 1px solid rgba(242,235,220,.10); }
.nav .wordmark { color: #fff; }
.nav .wordmark__dot { color: var(--bronze); }
.nav-links a { color: rgba(242,235,220,.82); }
.nav-links a:hover { color: #fff; }
.nav .btn--dark { background: var(--bronze); color: var(--brand-teal-deep); border-color: var(--bronze); }

.hero {
  background:
    radial-gradient(120% 90% at 50% -10%, #16403C 0%, #0E2B2A 48%, #081D1C 100%),
    #081D1C;
  color: var(--canvas);
  position: relative; overflow: hidden;
}
.hero-eyebrow .eyebrow { color: var(--bronze); }
.hero-eyebrow .dot { background: var(--sage); }
.hero h1 { color: #fff; }
.hero .lede { color: rgba(242,235,220,.78); }
.hero-meta { color: rgba(242,235,220,.60); }
.hero-meta span svg { color: var(--sage); }
.hero .btn--primary { background: var(--bronze); border-color: var(--bronze); color: var(--brand-teal-deep); }
.hero .btn--primary:hover { filter: brightness(1.07); background: var(--bronze); border-color: var(--bronze); }
.hero .btn--outline { border-color: rgba(242,235,220,.40); color: var(--canvas); background: transparent; }
.hero .btn--outline:hover { background: rgba(242,235,220,.10); color: #fff; }

/* Demo card (replaces the four stat tiles) */
.hero-demo { display: flex; align-items: center; justify-content: center; position: relative; }
.hero-demo::before {
  content: ''; position: absolute; left: -12%; top: -12%; width: 124%; height: 124%; z-index: 0; pointer-events: none;
  background: radial-gradient(52% 52% at 50% 45%, rgba(127,200,160,.32), transparent 70%); filter: blur(14px);
}
.demo-card {
  width: 100%; max-width: 540px; position: relative; z-index: 1;
  background: linear-gradient(180deg, rgba(48,96,89,.97), rgba(22,57,54,.98));
  border: 1px solid rgba(127,200,160,.42); border-radius: 18px; overflow: hidden;
  box-shadow: 0 50px 100px rgba(0,0,0,.55), 0 0 80px rgba(127,200,160,.22), inset 0 1px 0 rgba(255,255,255,.10);
  backdrop-filter: blur(14px);
}
.dc-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid rgba(242,235,220,.12); }
.dc-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(242,235,220,.22); }
.dc-title { margin-left: 8px; font: 600 12px 'Inter', sans-serif; color: rgba(242,235,220,.60); }
.dc-body { padding: 16px; display: flex; flex-direction: column; gap: 11px; }
.dc-msg { align-self: flex-start; max-width: 90%; background: rgba(242,235,220,.07); border: 1px solid rgba(242,235,220,.12);
  border-radius: 13px; border-bottom-left-radius: 4px; padding: 11px 14px; font: 13.5px/1.5 'Inter', sans-serif; color: var(--canvas); }
.dc-skill { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; background: var(--brand-teal); color: #fff;
  font: 600 12.5px 'Inter', sans-serif; padding: 9px 14px; border-radius: 50px; }
.dc-skill .tag { font: 700 8px 'Inter', sans-serif; letter-spacing: .1em; color: rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.3); border-radius: 4px; padding: 2px 5px; }
.dc-steps { background: #FFFDF7; border-radius: 11px; padding: 11px 13px; display: flex; flex-direction: column; gap: 8px; }
.dc-step { display: flex; align-items: center; gap: 9px; font: 13px 'Inter', sans-serif; color: #46544f; }
.dc-step .ck { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--brand-teal); color: #fff; font-size: 11px; font-weight: 700; }
.dc-step.pending { opacity: .5; }
.dc-step.pending .ck { background: #fff; border: 2px solid #d9d4c6; }
.dc-cta { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 2px 16px 16px;
  background: var(--bronze); color: var(--brand-teal-deep); font: 600 14px 'Inter', sans-serif; text-decoration: none; padding: 13px; border-radius: 11px; }
.dc-cta:hover { filter: brightness(1.07); }

/* Hero demo card — lift + live badge */
.dc-title { color: rgba(242,235,220,.80) !important; }
.dc-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font: 700 10px 'Inter', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #9fe0c0; }
.dc-live-dot { width: 7px; height: 7px; border-radius: 50%; background: #36d399; animation: dc-pulse 1.8s ease-out infinite; }
@keyframes dc-pulse { 0% { box-shadow: 0 0 0 0 rgba(54,211,153,.55); } 70% { box-shadow: 0 0 0 7px rgba(54,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(54,211,153,0); } }
