/* Van Leeuwen Law Firm 12.14.59 — Compact Editorial Experience Layer.
 * A measured visual system: PwC-style information architecture, global-law-firm
 * editorial hierarchy and digital-service interactivity. Original VLF assets,
 * saved options, content, header and footer retain their own ownership.
 */

.vlf-page.vlf-xp-chapter {
  --vlf-xp-accent: #7a284b;
  --vlf-xp-ink: #2b1e27;
  --vlf-xp-copper: #c57c42;
  --vlf-xp-paper: #fffdfc;
  scroll-margin-top: 82px;
}
.vlf-page.vlf-xp-chapter > .vlf-xp-section {
  position: relative;
}
.vlf-page .vlf-xp-edge {
  position: absolute;
  z-index: 20;
  pointer-events: none;
  top: 0;
  left: 0;
  width: clamp(3px,.27vw,5px);
  height: 100%;
  background: linear-gradient(180deg,var(--vlf-xp-accent) 0%,var(--vlf-xp-copper) 55%,transparent 100%);
  transform: scaleY(0);
  transform-origin: top;
  opacity: .9;
  transition: transform 900ms cubic-bezier(.17,.75,.26,1);
}
.vlf-page.vlf-xp-chapter.vlf-xp-visited .vlf-xp-edge {
  transform: scaleY(.32);
}
.vlf-page.vlf-xp-chapter.vlf-xp-current .vlf-xp-edge {
  transform: scaleY(1);
}
.vlf-page .vlf-xp-section-index {
  display: block;
  position: absolute;
  z-index: 12;
  right: clamp(18px,3.7vw,58px);
  top: clamp(18px,3vw,44px);
  padding: 7px 9px;
  border-top: 1px solid color-mix(in srgb,var(--vlf-xp-accent) 45%,transparent);
  color: var(--vlf-xp-accent);
  background: rgba(255,253,252,.79);
  font: 700 10px/1.5 Arial,Helvetica,sans-serif;
  letter-spacing: .14em;
  white-space: nowrap;
  pointer-events: none;
  opacity: .76;
}
.vlf-page .vlf-dir--sector .vlf-xp-section-index,
.vlf-page .vlf-hero .vlf-xp-section-index,
.vlf-page .vlf-purpose-hero .vlf-xp-section-index {
  background: rgba(39,28,35,.7);
  color: #f0c39c;
  border-top-color: #d49f76;
}
.vlf-page.vlf-xp-current > .vlf-xp-section .vlf-xp-section-index {
  opacity: 1;
}

/* The heading choreography is only activated after JS attaches observers.
 * It never hides content for no-JS visitors. */
html.vlf-xp-js:not(.vlf-xp-reduce) .vlf-page .vlf-xp-reveal-target {
  opacity: 0;
  transform: translate3d(0,24px,0);
  filter: blur(5px);
  transition:
    opacity 850ms cubic-bezier(.2,.67,.22,1),
    transform 850ms cubic-bezier(.2,.67,.22,1),
    filter 850ms cubic-bezier(.2,.67,.22,1);
}
html.vlf-xp-js:not(.vlf-xp-reduce) .vlf-page .vlf-xp-reveal-target.vlf-xp-revealed {
  opacity: 1;
  transform: translateZ(0);
  filter: blur(0);
}

/* Shared interaction language for all card-based chapters. */
@media (hover:hover) and (pointer:fine) {
  html.vlf-xp-js:not(.vlf-xp-reduce) .vlf-page [data-vlf-xp-card] {
    transform-style: preserve-3d;
    backface-visibility: hidden;
    transition:
      transform 380ms cubic-bezier(.2,.7,.2,1),
      box-shadow 380ms cubic-bezier(.2,.7,.2,1),
      border-color 300ms ease !important;
  }
  html.vlf-xp-js:not(.vlf-xp-reduce) .vlf-page [data-vlf-xp-card].vlf-xp-hovered {
    transform:
      perspective(1500px)
      rotateX(var(--vlf-xp-rotate-x,0deg))
      rotateY(var(--vlf-xp-rotate-y,0deg))
      translateY(-5px) !important;
    box-shadow: 0 22px 40px -24px rgba(46,27,43,.30),0 3px 16px rgba(46,27,43,.07) !important;
    border-color: color-mix(in srgb,var(--vlf-xp-accent) 45%,#ddd) !important;
    z-index: 2;
    position: relative;
  }
}
.vlf-page .vlf-section :is(a,button,summary):focus-visible {
  outline: 3px solid var(--vlf-xp-accent,#7a284b) !important;
  outline-offset: 4px !important;
}

/* A restrained sense of continuity across distinct editorial chapters. */
.vlf-page.vlf-xp-chapter .vlf-section-head > h2,
.vlf-page.vlf-xp-chapter .vlf-mini-head > h2 {
  text-wrap: balance;
}
.vlf-page.vlf-xp-chapter .vlf-dir__heading > h2,
.vlf-page.vlf-xp-chapter .vlf-section-head > p {
  text-wrap: pretty;
}
.vlf-page.vlf-xp-chapter.vlf-xp-current .vlf-kicker {
  text-decoration-color: var(--vlf-xp-accent);
}

/* Legal, investigations and regulatory chapters: at-a-glance topic controls. */
.vlf-page .vlf-xp-accordion-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 15px;
  padding: 12px 15px;
  border: 1px solid #e2d4ce;
  background: linear-gradient(90deg,#fbf5f0 0%,#fffdfb 100%);
}
.vlf-page .vlf-xp-accordion-label {
  color: #78566a;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-weight: 800;
}
.vlf-page .vlf-xp-accordion-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 37px;
  padding: 9px 14px;
  color: #702d45 !important;
  background: #fff !important;
  border: 1px solid #bd9a9f !important;
  border-radius: 0;
  font: 700 11px/1.3 Arial,Helvetica,sans-serif !important;
  letter-spacing: .05em;
  cursor: pointer;
  transition: background 180ms ease,color 180ms ease;
}
.vlf-page .vlf-xp-accordion-toggle:hover {
  background: #68243d !important;
  color: #fff !important;
}

/* Full-page reading progress, independent from the existing main menu. */
.vlf-xp-page-track {
  position: fixed;
  z-index: 100050;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  pointer-events: none;
  background: transparent;
}
.vlf-xp-page-track-fill {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg,#782343 0%,#b83d3d 33%,#c86a35 66%,#e2a85e 100%);
  box-shadow: 0 0 12px rgba(181,73,56,.18);
}
body.admin-bar .vlf-xp-page-track {top: 32px;}

/* The chapter controller is a separate interface layer outside .vlf-page. */
.vlf-xp-widget {
  --vlf-xp-ui-ink: #f9f2ee;
  --vlf-xp-ui-muted: #ddc7ce;
  position: fixed;
  z-index: 100045;
  right: max(18px,env(safe-area-inset-right));
  bottom: max(20px,env(safe-area-inset-bottom));
  width: min(360px,calc(100vw - 32px));
  font-family: Arial,Helvetica,sans-serif;
  font-size: 14px;
  box-sizing: border-box;
  isolation: isolate;
}
.vlf-xp-widget *, .vlf-xp-widget *::before, .vlf-xp-widget *::after {
  box-sizing: border-box;
}
.vlf-xp-controller {
  display: grid;
  grid-template-columns: 44px minmax(0,1fr) 44px;
  min-height: 68px;
  overflow: hidden;
  color: var(--vlf-xp-ui-ink);
  background: #35202b;
  border: 1px solid rgba(238,188,158,.52);
  box-shadow: 0 14px 40px rgba(30,21,28,.26),0 0 0 1px rgba(255,255,255,.06) inset;
  backdrop-filter: blur(10px);
}
.vlf-xp-widget button {
  appearance: none;
  -webkit-appearance: none;
  margin: 0 !important;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  border-radius: 0;
  background: transparent;
}
.vlf-xp-controller button:focus-visible,
.vlf-xp-panel button:focus-visible,
.vlf-xp-panel input:focus-visible,
.vlf-xp-chapter-link:focus-visible {
  outline: 3px solid #e8a365 !important;
  outline-offset: -3px !important;
}
.vlf-xp-step {
  display: grid;
  place-items: center;
  color: #eac0a1;
  font-size: 23px;
  font-weight: 300;
  border-right: 1px solid rgba(255,255,255,.14) !important;
  transition: background 200ms ease,color 200ms ease;
}
.vlf-xp-step:last-child {
  border-left: 1px solid rgba(255,255,255,.14) !important;
  border-right: 0 !important;
}
.vlf-xp-step:hover {background: #4f2a3a;color: #fff;}
.vlf-xp-step:disabled {opacity: .38;cursor: not-allowed;}
.vlf-xp-trigger {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 11px 12px !important;
  gap: 12px;
  color: #fff6f3;
  text-align: left;
}
.vlf-xp-trigger:hover,.vlf-xp-trigger[aria-expanded="true"] {background: #4a2938;}
.vlf-xp-trigger-count {
  flex: 0 0 36px;
  font: 400 29px/.95 Georgia,'Times New Roman',serif;
  letter-spacing: -.06em;
  color: #edae7b;
}
.vlf-xp-trigger-text {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 4px;
}
.vlf-xp-trigger-eyebrow {
  display: block;
  color: #e6b9a2;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.vlf-xp-trigger-title {
  display: block;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 600;
  color: #fff9f5;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.vlf-xp-trigger-symbol {color: #efb68e;font-size: 19px;font-weight: 400;}

/* Searchable, keyboard-accessible 13-chapter atlas. */
.vlf-xp-panel {
  display: flex;
  flex-direction: column;
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  width: min(435px,calc(100vw - 32px));
  max-height: min(75dvh,750px);
  min-height: 250px;
  overflow: hidden;
  background: #fffefa;
  color: #2c2229;
  border: 1px solid #ddc6bd;
  box-shadow: 0 28px 70px rgba(29,17,29,.33);
  animation: vlfXpPanel 280ms cubic-bezier(.16,.71,.28,1) both;
}
.vlf-xp-panel[hidden]{display:none !important;}
.vlf-xp-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 26px 25px 21px;
  gap: 16px;
  background: linear-gradient(125deg,#3c2030,#612b40 68%,#813c40);
}
.vlf-xp-panel-eyebrow {
  display: block;
  margin-bottom: 12px;
  color: #efbc9f;
  font-size: 10px;
  letter-spacing: .19em;
  font-weight: 700;
}
.vlf-xp-panel-title {
  margin: 0;
  font: 400 clamp(24px,3.7vw,33px)/1.1 Georgia,'Times New Roman',serif;
  letter-spacing: -.035em;
  color: #fffaf6;
}
.vlf-xp-close {
  flex: 0 0 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.37) !important;
  color: #fff;
  font: 300 29px/1 Arial,Helvetica,sans-serif;
  transition: background 180ms ease;
}
.vlf-xp-close:hover {background: rgba(255,255,255,.16);}
.vlf-xp-search-group {
  position: relative;
  padding: 19px 23px;
  border-bottom: 1px solid #eadfdc;
}
.vlf-xp-search {
  display: block;
  width: 100%;
  height: 46px;
  padding: 0 14px !important;
  background: #fbf7f3 !important;
  border: 1px solid #d8c7c2 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #33212c !important;
  font: 14px/1.4 Arial,Helvetica,sans-serif !important;
}
.vlf-xp-search::placeholder {color: #786770;opacity: 1;}
.vlf-xp-panel-nav {
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: #ba9a93 #f7eeea;
  scrollbar-width: thin;
}
.vlf-xp-chapter-list {
  padding: 0;
  margin: 0;
  list-style: none;
}
.vlf-xp-chapter-item[hidden]{display:none!important;}
.vlf-xp-chapter-group {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 39px;
  padding: 10px 23px 8px;
  background: #f3edf2;
  border-top: 1px solid #e8dce6;
  border-bottom: 1px solid #e5dbe4;
  color: #673752;
}
.vlf-xp-chapter-group[hidden]{display:none!important;}
.vlf-xp-group-index {
  font: 400 18px/1 Georgia,'Times New Roman',serif;
  color: #a96c63;
  letter-spacing: -.04em;
}
.vlf-xp-group-label {
  font: 800 10px/1.4 Arial,Helvetica,sans-serif;
  letter-spacing: .115em;
  text-transform: uppercase;
}
.vlf-xp-chapter-link {
  display: grid;
  grid-template-columns: 47px minmax(0,1fr);
  align-items: center;
  column-gap: 8px;
  min-height: 48px;
  padding: 8px 23px;
  border-bottom: 1px solid #efe7e3;
  color: #3b2e32;
  text-decoration: none !important;
  background: #fffefa;
  transition: background 170ms ease,color 170ms ease,padding-left 170ms ease;
}
.vlf-xp-chapter-link:hover,
.vlf-xp-chapter-link.vlf-xp-selected {
  padding-left: 28px;
  background: #f8eee8;
  color: #702c47;
}
.vlf-xp-chapter-link.vlf-xp-selected {box-shadow: inset 4px 0 #9b3f4c;}
.vlf-xp-list-number {
  font: 400 21px/1 Georgia,'Times New Roman',serif;
  letter-spacing: -.055em;
  color: #ad6f5b;
}
.vlf-xp-list-label {
  min-width: 0;
  font-size: 12px;
  line-height: 1.43;
  font-weight: 600;
  letter-spacing: -.005em;
}
.vlf-xp-no-results {
  color: #6c5963;
  padding: 14px 25px;
  margin: 0;
  font-size: 13px;
}
.vlf-xp-no-results[hidden]{display:none!important;}
.vlf-xp-panel-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 23px;
  background: #f7f0eb;
  color: #6a505c;
  border-top: 1px solid #eadfdc;
  font-size: 10px;
  letter-spacing: .13em;
  font-weight: 700;
}
.vlf-xp-top {
  color: #6d2e46;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-weight: 800;
  padding: 7px 5px !important;
}
.vlf-xp-top:hover {color: #b04e3a;}

@keyframes vlfXpPanel {
  from {opacity: 0;transform: translate3d(0,14px,0);}
  to {opacity: 1;transform: translateZ(0);}
}
@media (max-width: 900px) {
  .vlf-page .vlf-xp-section-index {right: 16px;top: 14px;}
}
@media (max-width: 640px) {
  .vlf-page .vlf-xp-section-index {display:none;}
  .vlf-page.vlf-xp-chapter {scroll-margin-top: 56px;}
  .vlf-xp-widget {
    width: min(320px,calc(100vw - 24px));
    right: 12px;
    bottom: max(12px,env(safe-area-inset-bottom));
  }
  .vlf-xp-controller {grid-template-columns:40px minmax(0,1fr) 40px;min-height:60px;}
  .vlf-xp-trigger {gap: 8px;padding: 8px 9px!important;}
  .vlf-xp-trigger-count {font-size: 25px;flex-basis: 30px;}
  .vlf-xp-trigger-title {font-size: 11px;}
  .vlf-xp-trigger-symbol {display:none;}
  .vlf-xp-panel {
    width: min(390px,calc(100vw - 24px));
    max-height: min(72dvh,650px);
  }
  .vlf-xp-panel-head {padding: 20px 19px 18px;}
  .vlf-xp-search-group {padding: 14px 16px;}
  .vlf-xp-chapter-link {padding: 9px 16px;}
}
@media (max-width: 782px) {
  body.admin-bar .vlf-xp-page-track {top: 46px;}
}
/* The compact navigation is deliberately pale and editorial: burgundy accents,
 * ivory surfaces, generous spacing and unambiguous section grouping.
 * The original content sections retain their own per-block light styles. */
.vlf-xp-widget {
  --vlf-xp-ui-ink: #332232;
  --vlf-xp-ui-muted: #6f5969;
}
.vlf-xp-controller {
  color: #392a39;
  background: rgba(255,253,251,.98);
  border: 1px solid #cbb6c8;
  box-shadow: 0 14px 42px -15px rgba(55,36,51,.32),0 2px 8px rgba(55,36,51,.06);
}
.vlf-xp-step {
  color: #7b405b;
  border-right-color: #e2d5df !important;
}
.vlf-xp-step:last-child {border-left-color: #e2d5df !important;}
.vlf-xp-step:hover {background: #f1e7ef;color: #552440;}
.vlf-xp-trigger {color: #352338;}
.vlf-xp-trigger:hover,.vlf-xp-trigger[aria-expanded="true"] {background: #f5edf3;}
.vlf-xp-trigger-count {color: #7a3555;}
.vlf-xp-trigger-eyebrow {color: #8b5774;}
.vlf-xp-trigger-title {color: #382538;}
.vlf-xp-trigger-symbol {color: #a16674;}
.vlf-xp-panel {
  background: #fffdfa;
  border-color: #d5c2d1;
  box-shadow: 0 24px 65px -17px rgba(41,24,43,.35);
}
.vlf-xp-panel-head {
  background: linear-gradient(125deg,#faf5f8 0%,#f0e7ef 72%,#f7eee9 100%);
  border-bottom: 2px solid #85425e;
}
.vlf-xp-panel-eyebrow {color: #834965;}
.vlf-xp-panel-title {color: #3d2940;}
.vlf-xp-close {color: #7b3b56;border-color: #b99eb0 !important;}
.vlf-xp-close:hover {background: #e8d8e5;}
.vlf-xp-panel-footer {background: #f9f5f7;}
.vlf-page .vlf-dir__item--unavailable {
  opacity: .56;
  cursor: default;
  pointer-events: none;
}
.vlf-xp-chapter-link:hover,
.vlf-xp-chapter-link.vlf-xp-selected {background: #f7eff4;color: #632d4d;}
.vlf-xp-chapter-link.vlf-xp-selected {box-shadow: inset 4px 0 #83425f;}
.vlf-xp-controller button:focus-visible,
.vlf-xp-panel button:focus-visible,
.vlf-xp-panel input:focus-visible,
.vlf-xp-chapter-link:focus-visible {outline-color: #985075 !important;}
@media (max-width: 640px) {
  .vlf-xp-widget {width: min(344px,calc(100vw - 24px));}
  .vlf-xp-panel {max-height: min(72dvh,630px);}
  .vlf-xp-chapter-group {padding: 10px 16px 8px;}
  .vlf-xp-chapter-link {min-height: 48px;}
}
@media (prefers-reduced-motion: reduce) {
  .vlf-xp-widget *,
  .vlf-page .vlf-xp-edge, .vlf-page [data-vlf-xp-card],
  .vlf-page .vlf-xp-reveal-target {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    filter: none !important;
  }
  .vlf-page .vlf-xp-reveal-target {opacity: 1 !important;}
  .vlf-xp-page-track-fill {transition: none !important;transform-origin: left !important;}
}
@media print {
  .vlf-xp-widget,.vlf-xp-page-track,.vlf-page .vlf-xp-edge,
  .vlf-page .vlf-xp-section-index {display:none!important;}
  .vlf-page .vlf-xp-reveal-target {opacity:1!important;transform:none!important;filter:none!important;}
}
