/* Local review: interaction-only additions to the existing LP visual language. */
body.lp-micro-enabled { --lp-micro-accent: #ffad45; --lp-micro-ease: cubic-bezier(.22, 1, .36, 1); }

/* Navigation: a travelling rule and a small stagger when the menu opens. */
.lp-micro-enabled .lp-navigation-links a {
  position: relative;
  background-image: linear-gradient(90deg, #ff980015, transparent 85%);
  background-position: 0 50%; background-size: 0% 100%; background-repeat: no-repeat;
  transition: color .2s ease, background-size .3s var(--lp-micro-ease);
}
.lp-micro-enabled .lp-navigation-links a::after {
  content: ""; position: absolute; bottom: -1px; left: 0; width: 100%; height: 1px;
  background: #ffad45; transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--lp-micro-ease); pointer-events: none;
}
.lp-micro-enabled .lp-navigation-links a:is(:hover, :focus-visible) { background-size: 100% 100%; }
.lp-micro-enabled .lp-navigation-links a:is(:hover, :focus-visible)::after { transform: scaleX(1); }
.lp-micro-enabled .lp-navigation-links a:is(:hover, :focus-visible) .lp-navigation-number { color: #ffad45; }
.lp-micro-enabled .lp-navigation-number { transition: color .2s; }
.lp-micro-enabled :is(.lp-navigation-close, .lp-navigation-guide, .lp-rail-toggle) { transition: color .18s, border-color .18s, background-color .18s; }
.lp-micro-enabled .lp-navigation-close:is(:hover, :focus-visible) { color: #ffad45; background: #ff98000d; }

/* Buttons feel responsive; existing sizes, fills and hit areas are retained. */
.lp-micro-enabled :is(.moody-cta-btn, .lp-action-secondary, .about-hero-cta, .journey-reader-link, .lost-primary, .case-glance-jump, .case-glance-story, .lp-stack-link, .lp-cinematic-footer__cta) {
  transition: color .2s ease, border-color .2s ease, box-shadow .2s ease, background-color .2s ease, translate .22s var(--lp-micro-ease);
}
.lp-micro-enabled :is(.lp-stack-arrow, .lp-refcard-open svg, .lp-cinematic-footer__cta > span:not(.lp-micro-sheen), .case-glance-jump > span:not(.lp-micro-sheen), .case-glance-story > span:not(.lp-micro-sheen), .lp-navigation-guide > span:not(.lp-micro-sheen)) {
  transition: translate .24s var(--lp-micro-ease);
}
.lp-micro-enabled :is(.moody-cta-btn, .lp-action-secondary, .about-hero-cta, .journey-reader-link, .lost-primary):focus-visible {
  outline: 2px solid #ffbd5b; outline-offset: 5px;
}

/* Emphasize the existing underline; a second background rule would duplicate it. */
.lp-micro-enabled :is(.lp-footer-v28__navrow nav a, .lp-footer-v28__bottom a, .home-leadership a, .about-content-section a, .reader-navigation a, .case-summary-evidence a, .case-evidence-record a, .case-deep-dive a, .lp-navigation-bottom a, .lp-contact-email, .lp-review-credits main a) {
  text-decoration-color: #ffad4570; text-underline-offset: 5px;
  transition: color .18s, text-decoration-color .18s;
}
.lp-micro-enabled :is(.lp-footer-v28__navrow nav a, .lp-footer-v28__bottom a, .home-leadership a, .about-content-section a, .reader-navigation a, .case-summary-evidence a, .case-evidence-record a, .case-deep-dive a, .lp-navigation-bottom a, .lp-contact-email):is(:hover, :focus-visible) {
  text-decoration-color: #ffad45;
}

/* A soft, bounded pointer light on artwork; never over the page or body copy. */
.lp-micro-enabled [data-lp-micro-light] { position: relative; }
.lp-micro-light {
  position: absolute; inset: 0; z-index: 4; pointer-events: none; border-radius: inherit;
  background: radial-gradient(300px circle at var(--lp-light-x, 50%) var(--lp-light-y, 50%), #ffd0912b, #ff98000b 45%, transparent 75%);
  opacity: 0; transition: opacity .24s ease;
}
.lp-micro-enabled [data-lp-micro-light]:focus-within > .lp-micro-light { opacity: 1; }
.lp-micro-enabled .lp-refcard-link:focus-visible .lp-micro-light,
.lp-micro-enabled .lp-stack-panel:focus-within .lp-micro-light { opacity: 1; }

/* Quiet emphasis for facts, principles and process steps, without implying a link. */
.lp-micro-enabled :is(.home-leadership-grid > article, .about-outcomes-grid > article, .about-leadership-grid > article, .about-practice-grid > article, .about-principles > li, .about-education > li, .case-glance-item, .discoverbg, .price-plan-card) {
  transition: border-color .24s ease, box-shadow .24s ease;
}
.lp-micro-enabled :is(.home-pillar-number, .about-education-number, .case-glance-item dt, .journey-chapter-number) { transition: color .2s ease; }

/* Disclosures stay native: keyboard, search and open/closed state remain intact. */
.lp-micro-enabled :is(.journey-reader details, .case-scope-details, .case-evidence-record details, .case-deep-dive details) {
  transition: border-color .22s ease;
}
.lp-micro-enabled :is(.journey-reader details, .case-scope-details, .case-evidence-record details, .case-deep-dive details)[open] { border-color: #ff980078; }
.lp-micro-enabled :is(.journey-reader summary, .case-scope-details summary, .case-evidence-record summary, .case-deep-dive summary) {
  transition: color .2s ease, background-color .2s ease;
}
.lp-micro-enabled :is(.journey-reader summary, .case-scope-details summary, .case-evidence-record summary, .case-deep-dive summary):is(:hover, :focus-visible) { color: #ffb549; background-color: #ff980007; }
.lp-micro-enabled .journey-reader details[open] .journey-chapter-number { color: #ffad45; }

.lp-micro-enabled .about-page-nav a { transition: color .2s, background-color .2s, border-color .2s; }
.lp-micro-enabled .about-page-nav a:is(:hover, :focus-visible) { background-color: #ff980009; }
.lp-micro-enabled .about-page-nav a[aria-selected="true"] { color: #ffad45; }
.lp-micro-enabled :is(.discoverbg, .price-plan-card):is(:hover, :focus-within) { box-shadow: inset 0 2px #ff98008c; }
.lp-micro-enabled :is(.inner_banner_bg section a, .lost-links a, .lost-footer a):is(:hover, :focus-visible) { text-decoration-color: #ffad45; text-underline-offset: 5px; }
.lp-micro-enabled.lp-review-credits main a { text-underline-offset: 5px; transition: color .2s, text-decoration-color .2s; }
.lp-micro-enabled.lp-review-credits main a:is(:hover, :focus-visible) { color: #ffad45; }

/* Chapter tracking is separate from the portfolio's already-reviewed pill tabs. */
.lp-micro-enabled .case-story-nav a { transition: color .2s, border-color .2s, background-color .2s; }
.lp-micro-enabled .case-story-nav a[aria-current="location"] { color: #ffb549; border-color: #ff980080; background: #ff98000c; }
.lp-micro-reading {
  position: fixed; z-index: 9998; top: 0; left: 0; width: 100%; height: 2px;
  pointer-events: none; opacity: 0; transition: opacity .18s; background: transparent;
}
.lp-micro-reading[data-started] { opacity: 1; }
.lp-micro-reading > span { display: block; width: 0; height: 100%; background: #ff9800; }
.lp-rail-menu-open > .lp-micro-reading,
body:has(.journey-shell):not(.journey-reading) > .lp-micro-reading { visibility: hidden; }

/* Gallery arrows and adjacent-project links point in the direction of travel. */
.lp-micro-enabled .ewallet-gallery-arrow { transition: color .18s, background-color .18s, border-color .18s, translate .18s; }
.lp-micro-enabled .ewallet-gallery-arrow:disabled { cursor: default; }
.lp-micro-enabled .lp-project-navigation a { transition: color .2s, border-color .2s, background-color .2s; }
.lp-micro-enabled .lp-project-navigation a:is(:hover, :focus-visible) { background-color: #ff980008; border-color: #ff980066; }
.lp-micro-enabled .ewallet-gallery-arrow:not(:disabled):is(:hover, :focus-visible) { color: #090909; background: #ffad45; border-color: #ffad45; }

/* Focus feedback follows the field; validation and submission remain page-owned. */
.lp-micro-enabled #contact-form :is(.form-group label, .lp-contact-topic label) { transition: color .18s; }
.lp-micro-enabled #contact-form :is(.form-group, .lp-contact-topic):focus-within > label { color: #ffb549; }
.lp-micro-enabled #contact-form :is(input:not([type="hidden"]), textarea, select) {
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.lp-micro-enabled #contact-form :is(input:not([type="hidden"]), textarea, select):focus {
  border-color: #ffad45; box-shadow: inset 0 -2px #ff9800; background-color: #ff980009;
}
.lp-micro-enabled #contact-form :is(input, textarea):user-invalid:not(:focus) { border-color: #e89b7c; }
.lp-micro-enabled #contact-form button[type="submit"]:active:not(:disabled) { filter: brightness(1.12); }

@media (prefers-reduced-motion: no-preference) {
  .lp-micro-enabled .lp-navigation-dialog[open] .lp-navigation-links a { animation: lp-micro-menu .4s var(--lp-micro-ease) var(--lp-nav-delay, 0ms) both; }
  .lp-micro-enabled .lp-navigation-links a:nth-child(2) { --lp-nav-delay: 35ms; }
  .lp-micro-enabled .lp-navigation-links a:nth-child(3) { --lp-nav-delay: 70ms; }
  .lp-micro-enabled .lp-navigation-links a:nth-child(4) { --lp-nav-delay: 105ms; }
  .lp-micro-enabled .lp-navigation-links a:nth-child(5) { --lp-nav-delay: 140ms; }
  @keyframes lp-micro-menu { from { opacity: .15; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }
  .lp-micro-enabled :is(.moody-cta-btn, .lp-action-secondary, .about-hero-cta, .journey-reader-link, .lost-primary, .lp-stack-link, .lp-cinematic-footer__cta):active { translate: 0 1px; }
  .lp-micro-enabled .lp-stack-link:is(:hover, :focus-visible) .lp-stack-arrow,
  .lp-micro-enabled .lp-refcard-link:is(:hover, :focus-visible) .lp-refcard-open svg,
  .lp-micro-enabled .lp-navigation-guide:is(:hover, :focus-visible) > span { translate: 2px -2px; }
  .lp-micro-enabled .lp-cinematic-footer__cta:is(:hover, :focus-visible) > span { translate: 4px 0; }
  .lp-micro-enabled :is(.case-glance-jump, .case-glance-story):is(:hover, :focus-visible) > span { translate: 0 3px; }
  .lp-micro-enabled .ewallet-gallery-arrow[data-gallery-direction="1"]:active:not(:disabled) { translate: 2px 0; }
  .lp-micro-enabled .ewallet-gallery-arrow[data-gallery-direction="-1"]:active:not(:disabled) { translate: -2px 0; }
  @media (hover: hover) and (pointer: fine) {
    .lp-micro-enabled :is(.moody-cta-btn, .lp-action-secondary, .about-hero-cta, .journey-reader-link, .lost-primary):hover { translate: 0 -2px; box-shadow: 0 6px 24px #ff980014; }
    .lp-micro-enabled .lp-archive-card img { transition: scale .4s var(--lp-micro-ease); }
    .lp-micro-enabled .lp-archive-card:is(:hover, :focus-visible) img { scale: 1.035; }
    .lp-micro-enabled .about-tool-group li img { transition: translate .25s var(--lp-micro-ease); }
    .lp-micro-enabled .about-tool-group li:hover img { translate: 0 -3px; }
    .lp-micro-enabled [data-lp-micro-light]:hover > .lp-micro-light { opacity: 1; }
  }
}
@media (hover: hover) and (pointer: fine) {
  .lp-micro-enabled :is(.home-leadership-grid > article, .about-outcomes-grid > article, .about-leadership-grid > article, .about-practice-grid > article, .about-principles > li, .about-education > li, .case-glance-item, .discoverbg, .price-plan-card):hover { border-color: #ff980080; }
  .lp-micro-enabled :is(.home-leadership-grid > article:hover .home-pillar-number, .about-education > li:hover .about-education-number, .case-glance-item:hover dt) { color: #ffb549; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-micro-enabled .lp-micro-light { display: none; }
  .lp-micro-enabled :is(.lp-micro-reading, .lp-navigation-links a, .lp-stack-arrow, .lp-refcard-open svg, .lp-cinematic-footer__cta > span:not(.lp-micro-sheen)),
  .lp-micro-enabled .lp-navigation-links a::after { animation: none; transition: none; }
}
@media print {
  .lp-micro-reading, .lp-micro-light { display: none !important; }
}

/* Signature interactions: visible responses, with the original resting layout. */
.lp-micro-enabled [data-lp-logo-motion] { position: relative; isolation: isolate; }
.lp-micro-enabled [data-lp-logo-motion] img {
  transform-origin: 50% 60%;
  transition: transform .65s cubic-bezier(.2,1.65,.3,1), filter .3s ease;
}.lp-micro-enabled [data-lp-logo-motion]:focus-visible img { filter: drop-shadow(0 0 9px #ff980095); }

.lp-micro-enabled [data-lp-button-motion] { position: relative; }
.lp-micro-enabled .lp-micro-sheen {
  /* Decorative paint must never inherit a button's arrow or glyph layout. */
  position: absolute !important; inset: 0 !important; display: block !important;
  width: auto !important; height: auto !important; min-width: 0 !important; min-height: 0 !important;
  margin: 0 !important; padding: 0 !important; border: 0 !important; flex: none !important;
  font-size: 0 !important; line-height: 0 !important; transform: none !important;
  border-radius: inherit; pointer-events: none;
  background: linear-gradient(110deg, transparent 32%, #fff8 49%, transparent 66%);
  background-size: 300% 100%; background-position: 100% 0;
  opacity: 0; mix-blend-mode: soft-light; translate: none !important;
}
.lp-micro-enabled .lp-micro-sheen::before,
.lp-micro-enabled .lp-micro-sheen::after { content: none !important; display: none !important; }
.lp-micro-enabled [data-lp-button-motion]:focus-visible {
  box-shadow: 0 0 0 4px #ff98001a, 0 8px 26px #ff980026;
}
.lp-micro-enabled :is(.home-leadership-grid > article, .about-outcomes-grid > article, .about-leadership-grid > article, .about-practice-grid > article, .about-principles > li, .about-education > li, .case-glance-item, .discoverbg, .price-plan-card, .lp-credibility__metrics > li, .lp-contact-next li) {
  transition: border-color .28s, box-shadow .28s, background-color .28s;
}
.lp-micro-enabled :is(.home-pillar-number, .about-education-number, .case-glance-item dt, .lp-credibility__metrics strong, .discoverbg h4, .about-tool-group li img) {
  transition: color .25s, translate .35s var(--lp-micro-ease), filter .25s;
}
.lp-micro-enabled :is(.lp-refcard-open, .lp-project-navigation a, .ewallet-gallery-arrow, .lp-footer-v28__linkedin) {
  transition: color .25s, border-color .25s, background-color .25s, box-shadow .25s, scale .3s var(--lp-micro-ease);
}
.lp-micro-enabled .lp-navigation-links a > span:nth-child(2) { transition: translate .35s var(--lp-micro-ease); }
.lp-micro-enabled .lp-navigation-close > span { transition: rotate .35s var(--lp-micro-ease); }
.lp-micro-enabled .lp-refcard-caption h3 { transition: color .25s; }
.lp-micro-enabled .lp-refcard-link:is(:hover, :focus-visible) .lp-refcard-caption h3 { color: #ffb549 !important; }
.lp-micro-enabled .lp-refcard-link:is(:hover, :focus-visible) .lp-refcard-open { box-shadow: 0 0 0 6px #ff980018, 0 8px 24px #ff980033; }
.lp-micro-enabled .lp-stack-panel:has(.lp-stack-link:is(:hover, :focus-visible)) { border-color: #ffad4590; }
.lp-micro-enabled .lp-stack-panel { transition: border-color .3s; }
.lp-micro-enabled :is(.ewallet-gallery-arrow:not(:disabled), .lp-project-navigation a):focus-visible { box-shadow: 0 0 0 4px #ff980025; }
.lp-micro-enabled #contact-form :is(input:not([type="hidden"]), textarea, select):focus { box-shadow: inset 0 -3px #ff9800, 0 5px 22px #ff980012; }

@media (prefers-reduced-motion: no-preference) {
  .lp-micro-enabled [data-lp-button-motion] { transition: translate .45s cubic-bezier(.2,1.4,.3,1), box-shadow .25s, color .2s, background-color .2s, border-color .2s; }
  .lp-micro-enabled [data-lp-button-motion]:active:not(:disabled) { translate: 0 2px; }
  .lp-micro-enabled .lp-navigation-close:is(:hover, :focus-visible) > span { rotate: 90deg; }
  .lp-micro-enabled .lp-navigation-links a:is(:hover, :focus-visible) > span:nth-child(2) { translate: 10px 0; }
  .lp-micro-enabled .lp-stack-link:is(:hover, :focus-visible) .lp-stack-arrow,
  .lp-micro-enabled .lp-refcard-link:is(:hover, :focus-visible) .lp-refcard-open svg { translate: 4px -4px; }
  .lp-micro-enabled .lp-refcard-link:is(:hover, :focus-visible) .lp-refcard-open { scale: 1.08; }
  .lp-micro-enabled .lp-project-navigation a:is(:hover, :focus-visible) { box-shadow: inset 0 -3px #ff980080; }
  .lp-micro-enabled .lp-footer-v28__navrow nav a { transition: color .2s, translate .25s, text-decoration-color .2s; }
  .lp-micro-enabled .lp-footer-v28__navrow nav a:is(:hover, :focus-visible) { translate: 0 -3px; }
  .lp-micro-enabled .lp-footer-v28__linkedin:is(:hover, :focus-visible) { box-shadow: 0 0 0 5px #ff980012; scale: 1.025; }
  @keyframes lp-micro-sweep {
    0% { background-position: 100% 0; opacity: 0; }
    18% { opacity: .65; }
    100% { background-position: 0% 0; opacity: 0; }
  }
  @media (hover: hover) and (pointer: fine) {
    .lp-micro-enabled [data-lp-logo-motion]:hover img {
      transform: perspective(220px) translate(var(--lp-pointer-x, 0px), var(--lp-pointer-y, -2px)) rotateX(var(--lp-logo-rx, -8deg)) rotateY(var(--lp-logo-ry, 10deg)) scale(1.12);
      filter: drop-shadow(0 0 7px #ff980080) drop-shadow(0 4px 10px #ff980038);
      transition-duration: .18s, .25s;
    }
    .lp-micro-enabled [data-lp-button-motion]:hover:not(:disabled) {
      translate: var(--lp-pointer-x, 0px) calc(var(--lp-pointer-y, 0px) - 2px);
      box-shadow: 0 0 0 4px #ff980012, 0 10px 30px #ff980028;
    }
    .lp-micro-enabled [data-lp-button-motion]:hover:not(:disabled) > .lp-micro-sheen { animation: lp-micro-sweep .8s var(--lp-micro-ease) both; }
    .lp-micro-enabled :is(.home-leadership-grid > article, .about-outcomes-grid > article, .about-leadership-grid > article, .about-practice-grid > article, .about-principles > li, .about-education > li, .case-glance-item, .discoverbg, .price-plan-card, .lp-credibility__metrics > li, .lp-contact-next li):hover {
      border-color: #ff980099; box-shadow: inset 0 3px #ff9800; background-color: #ff980009;
    }
    .lp-micro-enabled :is(.home-leadership-grid > article:hover .home-pillar-number, .about-education > li:hover .about-education-number, .case-glance-item:hover dt, .discoverbg:hover h4) { color: #ffb549; translate: 5px 0; }
    .lp-micro-enabled .about-tool-group li:hover img { translate: 0 -6px; filter: drop-shadow(0 5px 7px #ff980040); }
    .lp-micro-enabled .ewallet-gallery-arrow:not(:disabled):hover { scale: 1.1; box-shadow: 0 0 0 5px #ff98001c; }
    .lp-micro-enabled .lp-archive-card:is(:hover, :focus-visible) img { scale: 1.055; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .lp-micro-enabled [data-lp-logo-motion] img { transform: none !important; }
  .lp-micro-enabled :is([data-lp-button-motion], .lp-navigation-links a > span, .lp-navigation-close > span, .lp-footer-v28__navrow nav a, .lp-refcard-open) { translate: none !important; scale: none !important; rotate: none !important; transition: none; }
  .lp-micro-enabled .lp-micro-sheen { display: none !important; }
}
@media print {
  .lp-micro-sheen { display: none !important; }
}

/* Equal breathing room for the editorial surfaces highlighted on hover. */
body.lp-micro-enabled { --lp-micro-inset: 24px; }
body.lp-micro-enabled :is(.home-leadership-grid > article, .about-outcomes-grid > article, .about-leadership-grid > article, .about-practice-grid > article, .about-principles > li, .about-education > li, .case-glance-item, .lp-project-leadership article, .lp-credibility__metrics > li, .lp-contact-next li) {
  box-sizing: border-box; min-width: 0; padding: var(--lp-micro-inset);
}
body.lp-micro-enabled :is(.home-leadership-grid > article, .about-outcomes-grid > article, .about-leadership-grid > article, .about-practice-grid > article, .about-principles > li, .about-education > li, .case-glance-item, .lp-project-leadership article, .lp-credibility__metrics > li, .lp-contact-next li) > :first-child { margin-top: 0; }
body.lp-micro-enabled :is(.home-leadership-grid > article, .about-outcomes-grid > article, .about-leadership-grid > article, .about-practice-grid > article, .about-principles > li, .about-education > li, .case-glance-item, .lp-project-leadership article, .lp-credibility__metrics > li, .lp-contact-next li) > :last-child { margin-bottom: 0; }
/* Keep the principle number inside the same inset as the text. */
body.lp-micro-enabled .about-principles > li {
  display: grid; grid-template-columns: 24px minmax(0, 1fr); column-gap: 12px; align-content: start;
}
body.lp-micro-enabled .about-principles > li::before {
  position: static; grid-column: 1; grid-row: 1; align-self: start; padding-top: 5px;
}
body.lp-micro-enabled .about-principles > li > * { grid-column: 2; }
body.lp-micro-enabled .about-tab-panel .about-principles > li { padding: var(--lp-micro-inset); }
@media (max-width: 767px) { body.lp-micro-enabled { --lp-micro-inset: 20px; } }
