.footer-breadcrumbs{
      /* Inverted order:Home is darkest, each child becomes slightly lighter. */
      --page-1: var(--pw-dark);
      --page-2:var(--pw-deep);
      --page-3:color-mix(in srgb,var(--pw-deep) 75%,var(--pw-deep-raised));
      --page-4:color-mix(in srgb,var(--pw-deep) 40%,var(--pw-deep-raised));
      --page-5:var(--pw-deep-raised);
      --page-6:color-mix(in srgb,var(--pw-deep-raised) 80%,var(--pw-primary-base)); /* ~10% lighter continuation after the lightest supplied green */

      --background:var(--pw-dark); /* full-width background from the preceding design */
      --text-color:var(--pw-on-dark); /* Text + home icon:98% visible */
      --row-height: 36px;
      --tip:16px;
      --fade-width:52px;
    }
    .breadcrumb-band { width:100%; background:var(--background); }
    .breadcrumb-scroll {
      width:100%;
      overflow-x:auto;
      overflow-y:hidden;
      scrollbar-width:none;
      overscroll-behavior-x:contain;
      -webkit-overflow-scrolling:touch;
    }
    .breadcrumb-scroll::-webkit-scrollbar { display:none; }
    .breadcrumb-scroll.has-left-overflow {
      -webkit-mask-image:linear-gradient(to right, transparent 0, color-mix(in srgb,var(--pw-primary-base) 2.00%,var(--pw-dark)) var(--fade-width), color-mix(in srgb,var(--pw-primary-base) 2.00%,var(--pw-dark)) 100%);
      mask-image:linear-gradient(to right, transparent 0, color-mix(in srgb,var(--pw-primary-base) 2.00%,var(--pw-dark)) var(--fade-width), color-mix(in srgb,var(--pw-primary-base) 2.00%,var(--pw-dark)) 100%);
    }

    /* Every item stays at its natural text width, regardless of page count. */
    .breadcrumbs {
      display:inline-flex;
      align-items:stretch;
      width:max-content;
      min-width:0;
      gap:0;
      padding:0;
      margin:0;
      list-style:none;
    }
    .breadcrumbs li {
      display:flex;
      flex:0 0 auto;
      min-width:0;
    }

    /* Each preceding tip fills the following item's V-notch: no visual gaps. */
    .breadcrumbs li + li { margin-left:calc(-1 * var(--tip)); }

    .crumb {
      display:flex;
      flex:0 0 auto;
      align-items:center;
      justify-content:center;
      min-width:0;
      height:var(--row-height);
      /* 10px of breathing room on both sides of the visible text. */
      padding-inline:calc(var(--tip) + 10px);
      text-align:center;
      color:var(--text-color);
      background:var(--fill);
      font-size:calc(12px * var(--pw-type-scale,1));
      font-weight:585; /* 10% lighter than 650 */
      line-height:1;
      text-decoration:none;
      clip-path:polygon(
        0 0,
        calc(100% - var(--tip)) 0,
        100% 50%,
        calc(100% - var(--tip)) 100%,
        0 100%,
        var(--tip) 50%
      );
    }
    /* Small, decorative outline house before the homepage label. */
    .home-icon {
      width:13px;
      height:13px;
      flex:none;
      margin-right:6px;
      fill:none;
      stroke:currentColor;
      stroke-width:1.8;
      stroke-linecap:round;
      stroke-linejoin:round;
    }
    .crumb-label {
      display:block;
      min-width:0;
      max-width:100%;
      overflow:hidden;
      text-overflow:ellipsis;
      white-space:nowrap;
    }

    /* First page has a truly straight 90° left edge, but retains the right-pointing tip. */
    .breadcrumbs li:first-child .crumb {
      padding-left:10px;
      clip-path:polygon(
        0 0,
        calc(100% - var(--tip)) 0,
        100% 50%,
        calc(100% - var(--tip)) 100%,
        0 100%
      );
    }

    .breadcrumbs li:nth-child(6n + 1) { --fill:var(--page-1); }
    .breadcrumbs li:nth-child(6n + 2) { --fill:var(--page-2); }
    .breadcrumbs li:nth-child(6n + 3) { --fill:var(--page-3); }
    .breadcrumbs li:nth-child(6n + 4) { --fill:var(--page-4); }
    .breadcrumbs li:nth-child(6n + 5) { --fill:var(--page-5); }
    .breadcrumbs li:nth-child(6n + 6) { --fill:var(--page-6); }

    a.crumb:hover { filter:brightness(1.22); }
    a.crumb:focus-visible,
    .breadcrumb-scroll:focus-visible {
      outline:2px solid var(--pw-on-dark);
      outline-offset:-3px;
    }
    .crumb[aria-current="page"] { font-weight:675; /* 10% lighter than 750 */ }

    @media (max-width: 640px) {
      .footer-breadcrumbs {
        --row-height:28px;
        --tip:12px;
        --fade-width:34px;
      }
      .crumb {
        font-size:calc(10px * var(--pw-type-scale,1));
        font-weight:585; /* 10% lighter than 650 */
      }
      .home-icon { width:11px; height:11px; margin-right:5px; }
    }
    @media (prefers-reduced-motion: reduce) {
      a.crumb { transition:none; }
    }

/* Full-width first footer row, with the supplied flush left edge. */
.site-footer>.footer-breadcrumbs{--footer-gutter:clamp(20px,6vw,96px);width:calc(100% + 2 * var(--footer-gutter));margin-inline:calc(-1 * var(--footer-gutter));box-sizing:border-box}
.footer-breadcrumbs,.footer-breadcrumbs *{box-sizing:border-box}
.site-footer .footer-breadcrumbs a{color:var(--text-color);text-decoration:none}
.site-footer .footer-breadcrumbs a:focus-visible{outline:2px solid var(--pw-on-dark);outline-offset:-3px;border-radius:0}
.footer-breadcrumbs .breadcrumb-scroll{display:block;line-height:0}
@media(max-width:600px){.site-footer>.footer-breadcrumbs{--footer-gutter:18px}}
