/*
 * VLF Magic Circle Editorial 12.15.67
 * Cravath-inspired institutional colour edition (not affiliated with Cravath).
 * Baseline: the unchanged v12.15.56 chapter composition and eight translations.
 * Three solid chapter grounds: navy > white > cool grey, repeated 22 times.
 * No animated rainbow rails, multicolour separators, or decorative gradients.
 * All rules target only the combined homepage's .vlf-magic-home wrappers.
 */

html body .vlf-page.vlf-magic-home {
  --vlf-cravath-night:#142B48;
  --vlf-cravath-deep:#0C1F35;
  --vlf-cravath-ink:#1F2E40;
  --vlf-cravath-copy:#46566B;
  --vlf-cravath-blue:#365D84;
  --vlf-cravath-sky:#91C3FE;
  --vlf-cravath-grey:#F2F4F7;
  --vlf-cravath-rule:#D8E0E9;
  --ink:#1F2E40;
  --muted:#46566B;
  --line:#D8E0E9;
  --plum:#142B48;
  --plum2:#365D84;
  --accent:#365D84;
  --violet:#365D84;
  --paper:#fff;
  --soft:#F2F4F7;
}

/* Chapters 02, 05, 08, 11, 14, 17 and 20 — pure white. */
html body .vlf-page.vlf-magic-home:is(
  .vlf-magic-home-chapter-02,.vlf-magic-home-chapter-05,
  .vlf-magic-home-chapter-08,.vlf-magic-home-chapter-11,
  .vlf-magic-home-chapter-14,.vlf-magic-home-chapter-17,
  .vlf-magic-home-chapter-20
) .vlf-section {
  background-color:#fff!important;
  color:#1F2E40!important;
  --ink:#1F2E40;
  --muted:#46566B;
  --line:#D8E0E9;
}

/* Chapters 03, 06, 09, 12, 15, 18 and 21 — cool editorial grey. */
html body .vlf-page.vlf-magic-home:is(
  .vlf-magic-home-chapter-03,.vlf-magic-home-chapter-06,
  .vlf-magic-home-chapter-09,.vlf-magic-home-chapter-12,
  .vlf-magic-home-chapter-15,.vlf-magic-home-chapter-18,
  .vlf-magic-home-chapter-21
) .vlf-section {
  background-color:#F2F4F7!important;
  color:#1F2E40!important;
  --ink:#1F2E40;
  --muted:#46566B;
  --line:#D8E0E9;
}

/* Chapters 01, 04, 07, 10, 13, 16, 19 and 22 — solid deep navy. */
html body .vlf-page.vlf-magic-home:is(
  .vlf-magic-home-chapter-01,.vlf-magic-home-chapter-04,
  .vlf-magic-home-chapter-07,.vlf-magic-home-chapter-10,
  .vlf-magic-home-chapter-13,.vlf-magic-home-chapter-16,
  .vlf-magic-home-chapter-19,.vlf-magic-home-chapter-22
) .vlf-section {
  background-color:#142B48!important;
  color:#fff!important;
  border-color:#37516D!important;
  --ink:#fff;
  --muted:#D4E0EC;
  --line:rgba(255,255,255,.22);
  --vlf-domain-accent:#91C3FE;
}

/* Remove the broad white gradient used inside practice and finance shells.
 * Chapter colours remain visible behind distinct white interactive panels. */
html body .vlf-page.vlf-magic-home :is(
  .vlf-practice-domain>.vlf-shell,
  .vlf-finance-chapter>.vlf-shell,
  .vlf-transition-mega-inner,
  .vlf-office-unified-atmosphere
) {
  background-image:none!important;
}
html body .vlf-page.vlf-magic-home .vlf119-critical::before {
  background-image:none!important;
}

/* Readable dark-chapter editorial introductions and section headings. */
html body .vlf-page.vlf-magic-home:is(
  .vlf-magic-home-chapter-04,.vlf-magic-home-chapter-07,
  .vlf-magic-home-chapter-10,.vlf-magic-home-chapter-13,
  .vlf-magic-home-chapter-16,.vlf-magic-home-chapter-19,
  .vlf-magic-home-chapter-22
) .vlf-section :is(
  .vlf-legal-head h2,.vlf-legal-head h3,
  .vlf-practice-intro h2,.vlf-practice-intro>p,
  .vlf-legal-head>p,.vlf-legal-head .vlf-kicker,
  .vlf-transition-expansion-subtitle,
  .vlf-contact-title h2,.vlf-contact-copy>p,
  .vlf-b03__title,.vlf-b03__lead,
  .vlf-kicker,.vlf-integrated-title,
  .vlf119-hero h2,.vlf119-deck
) {
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
html body .vlf-page.vlf-magic-home:is(
  .vlf-magic-home-chapter-04,.vlf-magic-home-chapter-07,
  .vlf-magic-home-chapter-10,.vlf-magic-home-chapter-13,
  .vlf-magic-home-chapter-16,.vlf-magic-home-chapter-19,
  .vlf-magic-home-chapter-22
) .vlf-section :is(
  .vlf-practice-intro p,.vlf-practice-intro strong,
  .vlf-contact-intro p,.vlf-finance-chapter .vlf-practice-intro p,
  .vlf-b03__intro p,.vlf-integrated-lead
) {
  color:#DEE7F1!important;
  -webkit-text-fill-color:#DEE7F1!important;
}

/* White article, directory and widget surfaces always retain dark copy. */
html body .vlf-page.vlf-magic-home :is(
  .vlf-practice-circle-visual,.vlf-practice-circle-directory,
  .vlf-practice-circle-focus,.vlf-practice-circle-topic,
  .vlf-finance-depth-panel,.vlf-office-unified-workbench,
  .vlf119-infographic,.vlf119-directory,
  .vlf-b03__article,.vlf-b03__directory,
  .vlf-dir__item,.vlf-contact-route
) {
  --ink:#1F2E40;
  --muted:#46566B;
  --line:#D8E0E9;
  --vlf-circle-ink:#1F2E40;
  --vlf-circle-muted:#46566B;
}

/* The 06 Sector Groups directory was previously dark blue even on light
 * chapters. Here its container and cards are light, with legible labels. */
html body .vlf-page.vlf-magic-home-chapter-06 :is(#vlf-directory-sector,.vlf-dir--sector) {
  --vlf-dir-ink:#1F2E40;
  --vlf-dir-muted:#46566B;
  --vlf-dir-rule:#D8E0E9;
  --vlf-dir-wine:#365D84;
  --vlf-dir-ember:#365D84;
  --vlf-dir-amber:#365D84;
  background:#F2F4F7!important;
  background-image:none!important;
  color:#1F2E40!important;
  border-color:#D8E0E9!important;
}
html body .vlf-page.vlf-magic-home-chapter-06 .vlf-dir--sector::before {
  background:#365D84!important;
  animation:none!important;
}
html body .vlf-page.vlf-magic-home-chapter-06 .vlf-dir--sector :is(
  .vlf-dir__heading h2,.vlf-dir__heading .vlf-kicker,
  .vlf-dir__intro p,.vlf-dir__total,.vlf-dir__counter,
  .vlf-dir__counter strong,.vlf-dir__item h3,
  .vlf-dir__item p,.vlf-dir__item-no,.vlf-dir__item-bottom,
  .vlf-dir__item-bottom b,.vlf-dir__empty
) {
  color:#1F2E40!important;
  -webkit-text-fill-color:#1F2E40!important;
}
html body .vlf-page.vlf-magic-home-chapter-06 .vlf-dir--sector :is(
  .vlf-dir__search,.vlf-dir__item
) {
  background:#fff!important;
  color:#1F2E40!important;
  border-color:#D8E0E9!important;
}
html body .vlf-page.vlf-magic-home-chapter-06 .vlf-dir--sector .vlf-dir__grid {
  background:#D8E0E9!important;
  border-color:#D8E0E9!important;
}
html body .vlf-page.vlf-magic-home-chapter-06 .vlf-dir--sector .vlf-dir__search input {
  background:#fff!important;
  color:#1F2E40!important;
  -webkit-text-fill-color:#1F2E40!important;
  caret-color:#365D84!important;
  font-size:max(16px,1rem)!important;
}
html body .vlf-page.vlf-magic-home-chapter-06 .vlf-dir--sector .vlf-dir__search input::placeholder {
  color:#546477!important;
  opacity:1!important;
}
html body .vlf-page.vlf-magic-home-chapter-06 .vlf-dir--sector .vlf-dir__item:is(:hover,:focus-visible) {
  background:#E9EFF5!important;
  box-shadow:inset 0 0 0 1px #91C3FE!important;
}

/* Solid navy first and last chapter; editorial hero picture remains intact. */
html body.home .vlf-page.vlf-magic-home-chapter-01 :is(
  .vlf62-editorial-hero,.vlf62-editorial-frame,.vlf62-editorial-visual
) {
  background-color:#142B48!important;
}
html body.home .vlf-page.vlf-magic-home-chapter-01 .vlf62-editorial-visual::after {
  background:rgba(12,31,53,.72)!important;
}
html body .vlf-page.vlf-magic-home-chapter-01 .vlf125-wayfinder {
  background:#142B48!important;
  background-image:none!important;
}
html body .vlf-page.vlf-magic-home-chapter-22 .vlf-contact {
  background:#142B48!important;
}
html body .vlf-page.vlf-magic-home-chapter-22 :is(
  .vlf-contact-title h2,.vlf-contact-copy p,.vlf-contact-assurance p
) {
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
html body .vlf-page.vlf-magic-home-chapter-22 .vlf-contact-route {
  background:#fff!important;
  border-color:#D8E0E9!important;
}
html body .vlf-page.vlf-magic-home-chapter-22 .vlf-contact-route :is(h3,p,b,span) {
  color:#1F2E40!important;
  -webkit-text-fill-color:#1F2E40!important;
}

/* The news chapter displays dark text in white article cards and white
 * editorial headers above them. */
html body .vlf-page.vlf-magic-home-chapter-04 .vlf-b03 :is(
  .vlf-b03__title,.vlf-b03__lead,.vlf-b03__eyebrow
) {
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
html body .vlf-page.vlf-magic-home-chapter-04 .vlf-b03__article :is(
  .vlf-b03__article-title,.vlf-b03__article-title a,.vlf-b03__excerpt,.vlf-b03__date
) {
  color:#1F2E40!important;
  -webkit-text-fill-color:#1F2E40!important;
}

/* Monochrome interactive graphics, no spinning rainbow / dual-colour lines. */
html body .vlf-page.vlf-magic-home :is(
  .vlf-practice-circle-glow,.vlf125-wheel__glow,
  .vlf119-wheel-glow
) {
  display:none!important;
  animation:none!important;
}
html body .vlf-page.vlf-magic-home :is(
  .vlf-practice-circle-wheel,.vlf-practice-circle-visual,
  .vlf-practice-circle-core,.vlf-practice-circle-focus,
  .vlf125-wheel__core,.vlf119-wheel-ring,
  .vlf119-wheel-core,.vlf-transition-mega-inner
) {
  background-image:none!important;
}
html body .vlf-page.vlf-magic-home .vlf-office-unified-atmosphere::before {
  background-image:none!important;
}
html body .vlf-page.vlf-magic-home :is(
  .vlf-practice-circle-wheel,.vlf-practice-circle-visual,
  .vlf-practice-circle-core,.vlf-practice-circle-focus,
  .vlf119-wheel-ring,.vlf119-wheel-core
) {
  background-color:#fff!important;
  border-color:#D8E0E9!important;
}
html body .vlf-page.vlf-magic-home .vlf-practice-circle-rings::after {
  animation:none!important;
  border-top-color:#365D84!important;
  border-bottom-color:#365D84!important;
}
html body .vlf-page.vlf-magic-home .vlf-practice-circle-beam {
  background:#91C3FE!important;
  box-shadow:none!important;
}
html body .vlf-page.vlf-magic-home .vlf-practice-circle-rings::before {
  animation:none!important;
}
html body .vlf-page.vlf-magic-home .vlf-practice-circle-visual::before {
  background:#365D84!important;
  animation:none!important;
}
/* Neutralise the remaining high-visibility gradients from historic module CSS
 * without suppressing real editorial images or the functioning diagrams. */
html body .vlf-page.vlf-magic-home :is(
  .vlf97-diagram,.vlf97-core,.vlf86-360,.vlf86-360-diagram,
  .vlf92-pure-directory>.vlf89-shell
) {
  background:#F2F4F7!important;
}
html body .vlf-page.vlf-magic-home :is(
  .vlf97-ring-middle,.vlf97-grid-lines
) {
  background-image:none!important;
}
html body .vlf-page.vlf-magic-home .vlf97-focus-panel::before,
html body .vlf-page.vlf-magic-home .vlf86-360::before,
html body .vlf-page.vlf-magic-home .vlf68-knowledge-stage::before {
  background-image:none!important;
}
html body .vlf-page.vlf-magic-home .vlf97-ring-middle {
  border-color:#365D84!important;
  background:transparent!important;
}
html body .vlf-page.vlf-magic-home :is(
  .vlf97-beam,.vlf97-progress span,
  .vlf68-knowledge-stage__progress span
) {
  background:#91C3FE!important;
  box-shadow:none!important;
}
html body .vlf-page.vlf-magic-home :is(
  .vlf97-focus-panel,.vlf68-knowledge-stage:not([hidden]),
  .vlf86-360-core,.vlf125-wheel__core
) {
  background:#142B48!important;
  background-image:none!important;
}
html body .vlf-page.vlf-magic-home .vlf-b03__art {
  background-color:#22314B!important;
  background-image:var(--vlf-b03-image,none)!important;
}
html body .vlf-page.vlf-magic-home #vlf-architecture-knowledge::before,
html body .vlf-page.vlf-magic-home .vlf-xp-edge {
  background:#365D84!important;
  background-image:none!important;
}
html[data-vlf-ultradynamic] body.home nav.vlf-ux-rail[data-vlf-rail-side='right'] .vlf-ux-rail-progress {
  background:#365D84!important;
  background-image:none!important;
}
html body .vlf-page.vlf-magic-home :is(
  .vlf-finance-depth,.vlf-transition-mega-progress,
  .vlf-office-unified-progress,.vlf119-wheel-ring
) {
  border-color:#91C3FE!important;
}
html body .vlf-page.vlf-magic-home :is(
  .vlf-finance-depth-panel summary:hover,
  .vlf-practice-circle-topic:hover,
  .vlf-practice-circle-topic.is-active
) {
  background-color:#ECF2F8!important;
}

/* Suppress optional decorative rainbow rails, spectrum separators and their
 * motion while keeping the actual 22-chapter navigation and all JS intact. */
/* Original animated 4px strip: vlfDomainAccentFlow in vlf-blocks.css. */
html body .vlf-page.vlf-magic-home .vlf-practice-domain > .vlf-shell::after {
  content:none!important;
  display:none!important;
  animation:none!important;
  background:none!important;
}
html body .vlf-page.vlf-magic-home :is(
  [class*="rainbow"],[class*="spectrum"],[class*="chromatic-line"],
  [class*="gradient-line"],[class*="prism-line"]
) {
  background-image:none!important;
  animation:none!important;
}
html body .vlf-page.vlf-magic-home .vlf-ux-rail-link::before,
html body .vlf-page.vlf-magic-home .vlf-ux-rail-link::after,
html body .vlf-page.vlf-magic-home .vlf-dir--sector::before,
html body .vlf-page.vlf-magic-home .vlf-contact-route::before {
  background-image:none!important;
}
html body .vlf-page.vlf-magic-home .vlf-kicker::before,
html body .vlf-page.vlf-magic-home .vlf-contact-route::before,
html body .vlf-page.vlf-magic-home .vlf-b03__eyebrow-rule,
html body .vlf-page.vlf-magic-home .vlf-practice-circle-visual::before {
  background-color:#91C3FE!important;
}

/* Readable control and keyboard focus states in the complete edition. */
html body .vlf-page.vlf-magic-home :is(a,button,input,summary):focus-visible {
  outline:3px solid #91C3FE!important;
  outline-offset:3px;
}
html body .vlf-page.vlf-magic-home .vlf-btn-primary,
html body .vlf-page.vlf-magic-home .vlf-btn-light {
  background:#22314B!important;
  border-color:#22314B!important;
  color:#fff!important;
}
html body .vlf-page.vlf-magic-home :is(.vlf-btn-primary,.vlf-btn-light):hover {
  background:#365D84!important;
  border-color:#365D84!important;
}
@media (prefers-reduced-motion: reduce) {
  html body .vlf-page.vlf-magic-home :is(
    .vlf-practice-circle-rings,.vlf-practice-circle-beam,
    .vlf-finance-depth-panel,.vlf-transition-mega-progress
  ) {
    animation:none!important;
    transition-duration:.001ms!important;
  }
}
