/* Oxagen landing pages: the opening of each page and the drawing in it.
   Five layouts, one per page, so no two pages open the same way:

     split        copy left, the chargeback statement right (consultancies)
     split-flip   the work item stack left, copy right (engineers)
     center       copy centred over the spend drill-down (finance)
     editorial    a wide headline beside the lead, the request path below
                  (security)
     figures      copy left, three figures right, merged changes per day
                  below (engineering leaders)

   Each drawing stands on the page with no frame around it, over the gold
   light site-pages.css defines as --sp-glow. Every value reads a site
   token. The drawing's markup is its final state, so a page without script
   reads right; lp-hero.js sets the first state and plays the rest. */

/* ---------- shared ---------- */
.lp-hero {
  overflow-x: clip;
}
.lp-hero-copy .lp-proof,
.lp-ed .lp-proof {
  justify-content: flex-start;
}
.lp-hero--center .lp-proof {
  justify-content: center;
}
.lp-hero-art--wide {
  margin-top: clamp(calc(var(--ox-space) * 12), 6vw, calc(var(--ox-space) * 20));
}
.lp-ico {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lp-tone {
  display: inline-flex;
  align-items: center;
  gap: calc(var(--ox-space) * 1.5);
  font-weight: 500;
}
.lp-tone.is-allowed {
  color: var(--pass-ink);
}
.lp-tone.is-denied {
  color: var(--fail-ink);
}
.lp-tone.is-approval {
  color: var(--approval-ink);
}
.lp-art {
  position: relative;
  isolation: isolate;
  color: var(--ink-2);
  font-size: var(--fs-small);
}
/* The light behind a drawing, so it sits on the page with no frame. */
.lp-art::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 4% 8%;
  background: var(--sp-glow);
  filter: blur(calc(var(--ox-space) * 12));
  pointer-events: none;
}
.lp-art-eyebrow {
  margin: 0;
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ox-tracking-eyebrow);
  text-transform: uppercase;
}
.lp-art-note {
  margin: calc(var(--ox-space) * 6) 0 0;
  color: var(--ink-3);
  font-size: var(--fs-micro);
  text-align: center;
}
[data-count] {
  font-variant-numeric: tabular-nums;
}
/* The Pause button lp-hero.js puts after each drawing. */
.lp-art-ctl {
  display: flex;
  align-items: center;
  gap: calc(var(--ox-space) * 1.5);
  height: calc(var(--ox-space) * 8);
  margin: calc(var(--ox-space) * 4) 0 0 auto;
  padding: 0 calc(var(--ox-space) * 3.5);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--ink-3);
  font: inherit;
  font-size: var(--fs-micro);
  cursor: pointer;
  transition:
    color var(--motion-control),
    border-color var(--motion-control);
}
.lp-art-ctl:hover {
  border-color: var(--border-hover);
  color: var(--ink);
}
.lp-art-ctl:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}
.lp-art-ctl .lp-ico {
  width: calc(var(--ox-space) * 3.5);
  height: calc(var(--ox-space) * 3.5);
}

/* Until lp-hero.js sets the first state, a drawing waits unseen. If the
   script never runs, it shows after a moment in its final state. */
.js .lp-art:not([data-ready]) {
  opacity: 0;
  animation: lp-art-show 0s linear 2.5s forwards;
}
@keyframes lp-art-show {
  to {
    opacity: 1;
  }
}

/* ---------- the opening's entrance ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .lp-hero-copy > *,
  .js .lp-hero-art,
  .js .lp-hero-figs {
    animation: lp-rise 0.9s var(--ease-enter) both;
  }
  .js .lp-hero-copy > :nth-child(2) {
    animation-delay: 0.06s;
  }
  .js .lp-hero-copy > :nth-child(3) {
    animation-delay: 0.12s;
  }
  .js .lp-hero-copy > :nth-child(4) {
    animation-delay: 0.18s;
  }
  .js .lp-hero-copy > :nth-child(n + 5) {
    animation-delay: 0.24s;
  }
  .js .lp-ed-side > * {
    animation-delay: 0.16s;
  }
  .js .lp-hero-figs {
    animation-delay: 0.2s;
  }
  .js .lp-hero-art {
    animation-delay: 0.28s;
  }
}
@keyframes lp-rise {
  from {
    opacity: 0;
    transform: translateY(calc(var(--ox-space) * 5));
  }
}

/* ---------- split and split-flip: copy beside the drawing ---------- */
.lp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(calc(var(--ox-space) * 10), 5vw, calc(var(--ox-space) * 16));
  align-items: center;
}
.lp-hero--split-flip .lp-hero-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
}
.lp-hero--split-flip .lp-hero-art {
  order: -1;
}
.lp-hero--figures .lp-hero-grid {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: end;
}
.lp-hero-grid .lp-hero-copy h1 {
  max-width: 15ch;
  font-size: var(--fs-h1);
}
.lp-hero--figures .lp-hero-grid .lp-hero-copy h1 {
  max-width: 18ch;
}
/* The light follows the drawing to its side. */
.lp-hero--split-flip::before {
  right: auto;
  left: -12%;
}
.lp-hero--figures::before {
  top: 10%;
}
@media (max-width: 960px) {
  .lp-hero-grid,
  .lp-hero--split-flip .lp-hero-grid,
  .lp-hero--figures .lp-hero-grid {
    grid-template-columns: 1fr;
  }
  .lp-hero--split-flip .lp-hero-art {
    order: 0;
  }
}

/* ---------- editorial: a wide headline beside the lead ---------- */
.lp-ed {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: calc(var(--ox-space) * 6) clamp(calc(var(--ox-space) * 10), 5vw, calc(var(--ox-space) * 16));
  align-items: end;
}
.lp-ed .lp-ed-title h1 {
  max-width: 13ch;
  font-size: var(--fs-hero);
}
.lp-ed-side > .sp-lead {
  max-width: 46ch;
  margin: 0;
  color: var(--ink-2);
  font-size: var(--fs-lead);
}
.lp-ed-side .sp-actions {
  margin-top: calc(var(--ox-space) * 7);
}
.lp-hero--editorial::before {
  top: auto;
  bottom: -35%;
  right: auto;
  left: 50%;
  translate: -50% 0;
}
@media (max-width: 960px) {
  .lp-ed {
    grid-template-columns: 1fr;
  }
}

/* ---------- consultancies: the month's invoices split by client ---------- */
.lp-st-total {
  display: inline-block;
  margin: calc(var(--ox-space) * 2) 0 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  letter-spacing: var(--ox-tracking-headline);
  line-height: 1.1;
}
.lp-art-statement [data-i="0"] {
  --seg: color-mix(in srgb, var(--ink) 80%, transparent);
}
.lp-art-statement [data-i="1"] {
  --seg: color-mix(in srgb, var(--ink) 54%, transparent);
}
.lp-art-statement [data-i="2"] {
  --seg: color-mix(in srgb, var(--ink) 34%, transparent);
}
.lp-art-statement [data-i="3"] {
  --seg: color-mix(in srgb, var(--ink) 18%, transparent);
}
.lp-st-bar {
  display: flex;
  gap: calc(var(--ox-space) * 1.5);
  height: calc(var(--ox-space) * 3);
  margin-top: calc(var(--ox-space) * 6);
  transition: gap 0.7s var(--ease-enter);
}
.lp-st-seg {
  flex: var(--share) 1 0;
  min-width: calc(var(--ox-space) * 2);
  border-radius: var(--r-pill);
  background: var(--seg);
  transition:
    background-color 0.6s var(--ease-enter),
    opacity 0.4s var(--ease-enter),
    border-radius 0.6s var(--ease-enter);
}
.lp-st-lines {
  display: grid;
  gap: calc(var(--ox-space) * 1);
  margin: calc(var(--ox-space) * 6) 0 0;
  padding: 0;
  list-style: none;
}
.lp-st-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  grid-template-areas:
    "key name runs cost"
    ". id id id";
  align-items: center;
  gap: calc(var(--ox-space) * 0.5) calc(var(--ox-space) * 4);
  padding: calc(var(--ox-space) * 3) calc(var(--ox-space) * 4);
  border-radius: var(--r-lg);
  transition:
    background-color 0.4s var(--ease-enter),
    box-shadow 0.4s var(--ease-enter),
    opacity 0.6s var(--ease-enter),
    transform 0.6s var(--ease-enter);
}
/* The lines arrive one after another when the invoice splits. */
.lp-art-statement[data-phase="split"]:not(.has-on) .lp-st-line:nth-child(2) {
  transition-delay: 0.08s;
}
.lp-art-statement[data-phase="split"]:not(.has-on) .lp-st-line:nth-child(3) {
  transition-delay: 0.16s;
}
.lp-art-statement[data-phase="split"]:not(.has-on) .lp-st-line:nth-child(4) {
  transition-delay: 0.24s;
}
.lp-st-key {
  grid-area: key;
  width: calc(var(--ox-space) * 2.5);
  height: calc(var(--ox-space) * 2.5);
  border-radius: var(--r-pill);
  background: var(--seg);
}
.lp-st-line b {
  grid-area: name;
  overflow: hidden;
  color: var(--ink);
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lp-st-runs {
  grid-area: runs;
  color: var(--ink-3);
  font-size: var(--fs-micro);
  font-variant-numeric: tabular-nums;
}
.lp-st-cost {
  grid-area: cost;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.lp-st-id {
  grid-area: id;
  overflow: hidden;
  color: var(--ink-3);
  font-size: var(--fs-micro);
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.4s var(--ease-enter);
}
.lp-st-check {
  display: flex;
  align-items: center;
  gap: calc(var(--ox-space) * 2);
  margin: calc(var(--ox-space) * 5) 0 0;
  padding-left: calc(var(--ox-space) * 4);
  color: var(--ink-3);
  font-size: var(--fs-micro);
  transition:
    opacity 0.5s var(--ease-enter),
    transform 0.5s var(--ease-enter);
}
/* One client's line at a time stands out, with its share of the bar. */
.lp-art-statement.has-on .lp-st-seg:not(.is-on) {
  opacity: 0.3;
}
.lp-st-line.is-on {
  background: var(--raised);
  box-shadow: inset 0 0 0 1px var(--line);
}
.lp-st-line.is-on .lp-st-id {
  color: var(--ink-2);
}
/* The invoice before it splits: one bar in one tone, no lines yet. */
.lp-art-statement[data-phase="invoice"] .lp-st-bar {
  gap: 0;
}
.lp-art-statement[data-phase="invoice"] .lp-st-seg {
  border-radius: 0;
  background: color-mix(in srgb, var(--ink) 46%, transparent);
}
.lp-art-statement[data-phase="invoice"] .lp-st-seg:first-child {
  border-radius: var(--r-pill) 0 0 var(--r-pill);
}
.lp-art-statement[data-phase="invoice"] .lp-st-seg:last-child {
  border-radius: 0 var(--r-pill) var(--r-pill) 0;
}
.lp-art-statement[data-phase="invoice"] .lp-st-line {
  opacity: 0;
  transform: translateY(calc(var(--ox-space) * -3));
}
.lp-art-statement:is([data-phase="invoice"], [data-phase="split"]) .lp-st-check {
  opacity: 0;
  transform: translateY(calc(var(--ox-space) * 2));
}
@media (max-width: 560px) {
  .lp-st-line {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "key name cost"
      ". id id";
    padding-inline: calc(var(--ox-space) * 3);
  }
  .lp-st-runs {
    display: none;
  }
}

/* ---------- engineers: work items from several agents, front one checked ---------- */
.lp-art-stack {
  padding-top: calc(var(--ox-space) * 14);
}
/* A dot grid behind the stack, faded at its edges. */
.lp-art-stack::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -6% -10%;
  background-image: var(--sp-dots);
  background-size: var(--sp-dots-size);
  -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, var(--ink), transparent);
  mask-image: radial-gradient(60% 60% at 50% 50%, var(--ink), transparent);
  pointer-events: none;
}
.lp-stack {
  display: grid;
  max-width: calc(var(--ox-space) * 130);
  margin-inline: auto;
}
.lp-card {
  grid-area: 1 / 1;
  align-self: start;
  z-index: calc(10 - var(--pos));
  padding: calc(var(--ox-space) * 6);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--panel);
  box-shadow: var(--lit), var(--panel-shadow);
  opacity: max(0, calc(1 - var(--pos) * 0.3));
  transform: translateY(calc(var(--pos) * var(--ox-space) * -4.5)) scale(calc(1 - var(--pos) * 0.05));
  transform-origin: 50% 0;
  transition:
    transform 0.65s var(--ease-enter),
    opacity 0.65s var(--ease-enter);
}
/* A card behind the front one shows only its header strip above it. */
.lp-card > :not(.lp-card-head) {
  transition: opacity 0.35s var(--ease-enter);
}
.lp-card:not([data-pos="0"]) > :not(.lp-card-head) {
  opacity: 0;
}
.lp-card.is-leaving {
  opacity: 0;
  transform: translateX(-60%) rotate(-5deg);
  transition-duration: 0.5s;
}
.lp-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(var(--ox-space) * 3);
  color: var(--ink-3);
  font-size: var(--fs-micro);
}
.lp-card-id {
  font-family: var(--font-mono);
}
.lp-card-agent {
  display: inline-flex;
  align-items: center;
  gap: calc(var(--ox-space) * 1.5);
  color: var(--ink-2);
}
.lp-agent-dot {
  width: calc(var(--ox-space) * 1.75);
  height: calc(var(--ox-space) * 1.75);
  border-radius: var(--r-pill);
  background: var(--gold-mark);
}
.lp-card-title {
  margin: calc(var(--ox-space) * 2) 0 0;
  color: var(--ink);
  font-size: var(--fs-card);
  font-weight: 500;
  line-height: 1.3;
}
.lp-card-label {
  margin: calc(var(--ox-space) * 5) 0 calc(var(--ox-space) * 3);
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ox-tracking-eyebrow);
  text-transform: uppercase;
}
.lp-card-list {
  display: grid;
  gap: calc(var(--ox-space) * 2.5);
  margin: 0;
  padding: 0;
  list-style: none;
}
.lp-card-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: calc(var(--ox-space) * 3);
  color: var(--ink-2);
  font-size: var(--fs-small);
  line-height: 1.45;
  transition: color 0.3s var(--ease-enter);
}
.lp-tick {
  display: grid;
  place-items: center;
  width: calc(var(--ox-space) * 5);
  height: calc(var(--ox-space) * 5);
  border: 1px solid var(--rule);
  border-radius: var(--r-pill);
  color: transparent;
  transition:
    background-color 0.3s var(--ease-enter),
    border-color 0.3s var(--ease-enter),
    color 0.3s var(--ease-enter),
    transform 0.3s var(--ease-enter);
}
.lp-tick .lp-ico {
  width: calc(var(--ox-space) * 3);
  height: calc(var(--ox-space) * 3);
  stroke-width: 2.2;
}
.lp-card-list li.is-done {
  color: var(--ink);
}
.lp-card-list li.is-done .lp-tick {
  border-color: var(--pass);
  background: color-mix(in srgb, var(--pass) 14%, transparent);
  color: var(--pass-ink);
  animation: lp-tick 0.4s var(--ease-enter);
}
@keyframes lp-tick {
  40% {
    transform: scale(1.18);
  }
}
.lp-card-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: calc(var(--ox-space) * 2) calc(var(--ox-space) * 4);
  margin-top: calc(var(--ox-space) * 5);
  padding-top: calc(var(--ox-space) * 4);
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: var(--fs-micro);
}
.lp-card-count b {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.lp-card-pr {
  font-family: var(--font-mono);
}
.lp-card-checks {
  display: flex;
  align-items: center;
  gap: calc(var(--ox-space) * 2);
  margin: calc(var(--ox-space) * 3) 0 0;
  color: var(--ink-3);
  font-size: var(--fs-micro);
  transition:
    opacity 0.4s var(--ease-enter),
    transform 0.4s var(--ease-enter);
}
.lp-art-stack[data-play] .lp-card:not(.is-checked) .lp-card-checks {
  opacity: 0;
  transform: translateY(calc(var(--ox-space) * 1.5));
}

/* ---------- finance: the month's total opened column by column ---------- */
.lp-dr-top {
  text-align: center;
}
.lp-dr-total {
  display: inline-block;
  margin: calc(var(--ox-space) * 2) 0 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  letter-spacing: var(--ox-tracking-headline);
  line-height: 1.05;
}
.lp-dr-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: calc(var(--ox-space) * 8);
  margin: calc(var(--ox-space) * 10) 0 0;
  padding: 0;
  list-style: none;
}
.lp-dr-col {
  min-width: 0;
  transition:
    opacity 0.6s var(--ease-enter),
    transform 0.6s var(--ease-enter);
}
.lp-art-drill[data-play] .lp-dr-col:not(.is-shown) {
  opacity: 0;
  transform: translateX(calc(var(--ox-space) * -4));
}
.lp-dr-head {
  margin: 0 0 calc(var(--ox-space) * 3);
  padding-bottom: calc(var(--ox-space) * 3);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ox-tracking-eyebrow);
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.lp-dr-col ul {
  display: grid;
  gap: calc(var(--ox-space) * 1);
  margin: 0;
  padding: 0;
  list-style: none;
}
.lp-dr-col li {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: calc(var(--ox-space) * 3);
  padding: calc(var(--ox-space) * 2.5) calc(var(--ox-space) * 3);
  border-radius: var(--r-lg);
  color: var(--ink-2);
}
.lp-dr-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lp-dr-name code {
  font-size: var(--fs-micro);
}
.lp-dr-name small {
  display: block;
  color: var(--ink-3);
  font-size: var(--fs-micro);
}
.lp-dr-val {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.lp-dr-col li.is-open {
  background: var(--raised);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink);
}
/* The arrow from the row that opened to the column it opened. */
.lp-dr-col li > .lp-ico {
  position: absolute;
  top: 50%;
  right: calc(var(--ox-space) * -6.5);
  width: calc(var(--ox-space) * 4);
  height: calc(var(--ox-space) * 4);
  color: var(--ink-3);
  opacity: 0;
  translate: calc(var(--ox-space) * -2) -50%;
  transition:
    opacity 0.4s var(--ease-enter),
    translate 0.4s var(--ease-enter);
}
.lp-dr-col li.is-open > .lp-ico {
  opacity: 1;
  translate: 0 -50%;
}
.lp-dr-col li.is-rest {
  color: var(--ink-3);
}
.lp-dr-col li.is-rest .lp-dr-val {
  color: var(--ink-3);
}
@media (max-width: 1040px) {
  .lp-dr-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lp-dr-col li > .lp-ico {
    display: none;
  }
}
@media (max-width: 560px) {
  .lp-dr-cols {
    grid-template-columns: 1fr;
    gap: calc(var(--ox-space) * 6);
  }
}

/* ---------- security: one request's path from person to decision ---------- */
.lp-art-flow {
  --reach: 4;
}
.lp-fl-path {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
/* The line between the five dots, and the part of it the request has
   travelled. Each column is a fifth, so the dots sit at 10%, 30%, and on. */
.lp-fl-path::before,
.lp-fl-path::after {
  content: "";
  position: absolute;
  top: calc(var(--ox-space) * 2.5);
  left: 10%;
  height: 1px;
}
.lp-fl-path::before {
  right: 10%;
  background: var(--line);
}
.lp-fl-path::after {
  width: calc(20% * var(--reach));
  background: var(--ink-2);
  transition: width 0.4s var(--ease-enter);
}
.lp-fl-node {
  min-width: 0;
  padding: 0 calc(var(--ox-space) * 2);
  text-align: center;
}
.lp-fl-dot {
  position: relative;
  z-index: 1;
  display: block;
  width: calc(var(--ox-space) * 5);
  height: calc(var(--ox-space) * 5);
  margin: 0 auto calc(var(--ox-space) * 4);
  border: 1px solid var(--rule);
  border-radius: var(--r-pill);
  background: var(--ground);
  transition:
    background-color 0.3s var(--ease-enter),
    border-color 0.3s var(--ease-enter),
    box-shadow 0.3s var(--ease-enter);
}
.lp-art-flow[data-play] .lp-fl-node.is-lit .lp-fl-dot,
.lp-art-flow:not([data-play]) .lp-fl-dot {
  border-color: var(--ink);
  background: var(--ink);
  box-shadow: 0 0 0 calc(var(--ox-space) * 1.5) color-mix(in srgb, var(--ink) 12%, transparent);
}
/* The agent's dot is the one gold mark in the drawing. */
.lp-art-flow[data-play] .lp-fl-node.is-lit[data-node="1"] .lp-fl-dot,
.lp-art-flow:not([data-play]) [data-node="1"] .lp-fl-dot {
  border-color: var(--gold-mark);
  background: var(--gold-mark);
  box-shadow: 0 0 0 calc(var(--ox-space) * 1.5) color-mix(in srgb, var(--gold-mark) 22%, transparent);
}
.lp-fl-k {
  margin: 0;
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ox-tracking-eyebrow);
  text-transform: uppercase;
}
.lp-fl-v {
  margin: calc(var(--ox-space) * 2) 0 0;
  color: var(--ink);
  font-weight: 500;
  overflow-wrap: anywhere;
}
.lp-fl-s {
  margin: calc(var(--ox-space) * 1) 0 0;
  color: var(--ink-3);
  font-size: var(--fs-micro);
}
.lp-fl-v,
.lp-fl-s {
  transition:
    opacity 0.18s var(--ease-enter),
    transform 0.18s var(--ease-enter);
}
.lp-fl-node.is-swap .lp-fl-v,
.lp-fl-node.is-swap .lp-fl-s {
  opacity: 0;
  transform: translateY(calc(var(--ox-space) * 1));
}
.lp-fl-log {
  max-width: calc(var(--ox-space) * 200);
  margin: calc(var(--ox-space) * 12) auto 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
  /* The record fades at its sides into the page. */
  -webkit-mask-image: linear-gradient(to right, transparent, var(--ink) 6%, var(--ink) 94%, transparent);
  mask-image: linear-gradient(to right, transparent, var(--ink) 6%, var(--ink) 94%, transparent);
}
.lp-fl-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.2fr) auto;
  align-items: center;
  gap: calc(var(--ox-space) * 6);
  padding: calc(var(--ox-space) * 3.5) calc(var(--ox-space) * 8);
  border-bottom: 1px solid var(--line);
  transition:
    opacity 0.5s var(--ease-enter),
    transform 0.5s var(--ease-enter);
}
.lp-art-flow[data-play] .lp-fl-row:not(.is-shown) {
  opacity: 0;
  transform: translateY(calc(var(--ox-space) * -2));
}
.lp-fl-row time {
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-variant-numeric: tabular-nums;
}
.lp-fl-req {
  overflow: hidden;
  color: var(--ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lp-fl-rule {
  overflow: hidden;
  color: var(--ink-3);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lp-fl-dec {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: calc(var(--ox-space) * 0.5);
  white-space: nowrap;
}
.lp-fl-dec small {
  color: var(--ink-3);
  font-size: var(--fs-micro);
}
.lp-fl-lock {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(var(--ox-space) * 2);
  margin: calc(var(--ox-space) * 5) 0 0;
  color: var(--ink-3);
  font-size: var(--fs-micro);
  transition:
    opacity 0.5s var(--ease-enter),
    transform 0.5s var(--ease-enter);
}
.lp-art-flow[data-play]:not(.is-locked) .lp-fl-lock {
  opacity: 0;
  transform: translateY(calc(var(--ox-space) * 2));
}
@media (max-width: 760px) {
  .lp-fl-path {
    grid-template-columns: 1fr;
    gap: calc(var(--ox-space) * 4);
  }
  .lp-fl-path::before,
  .lp-fl-path::after {
    display: none;
  }
  .lp-fl-node {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: calc(var(--ox-space) * 4);
    padding: 0;
    text-align: left;
  }
  .lp-fl-dot {
    grid-row: 1 / span 3;
    margin: 0;
  }
  .lp-fl-v {
    margin-top: calc(var(--ox-space) * 1);
  }
  .lp-fl-row {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: calc(var(--ox-space) * 3);
    padding-inline: calc(var(--ox-space) * 4);
  }
  .lp-fl-rule {
    display: none;
  }
  .lp-fl-log {
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* ---------- engineering leaders: three figures and the month's merges ---------- */
.lp-figs {
  display: grid;
  gap: calc(var(--ox-space) * 6);
  margin: 0;
}
.lp-fig {
  display: flex;
  flex-direction: column-reverse;
  gap: calc(var(--ox-space) * 2);
  padding-bottom: calc(var(--ox-space) * 6);
  border-bottom: 1px solid var(--line);
}
.lp-fig:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.lp-fig dt {
  color: var(--ink-3);
  font-size: var(--fs-small);
}
.lp-fig dd {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  letter-spacing: var(--ox-tracking-headline);
  line-height: 1;
}
.lp-fig dd span {
  display: inline-block;
}
.lp-ch-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: calc(var(--ox-space) * 2) calc(var(--ox-space) * 6);
}
.lp-ch-read {
  display: flex;
  gap: calc(var(--ox-space) * 3);
  margin: 0;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.lp-ch-read b {
  color: var(--ink);
  font-weight: 500;
}
.lp-ch-bars {
  display: flex;
  align-items: flex-end;
  gap: calc(var(--ox-space) * 1.5);
  height: clamp(calc(var(--ox-space) * 32), 22vw, calc(var(--ox-space) * 52));
  margin: calc(var(--ox-space) * 5) 0 0;
  padding: 0;
  border-bottom: 1px solid var(--line);
  list-style: none;
}
.lp-ch-bars li {
  flex: 1 1 0;
  height: calc(var(--h) * 1%);
  min-height: calc(var(--ox-space) * 0.5);
  border-radius: var(--r-badge) var(--r-badge) 0 0;
  background: color-mix(in srgb, var(--ink) 34%, transparent);
  transform-origin: 50% 100%;
  transition:
    transform 0.8s var(--ease-enter) calc(var(--i) * 0.025s),
    background-color var(--motion-control);
}
.lp-ch-bars li.is-weekend {
  background: color-mix(in srgb, var(--ink) 16%, transparent);
}
.lp-ch-bars li.is-cur {
  background: var(--ink);
}
.lp-art-chart[data-play]:not(.is-grown) .lp-ch-bars li {
  transform: scaleY(0);
}
.lp-ch-axis {
  display: flex;
  justify-content: space-between;
  margin-top: calc(var(--ox-space) * 2);
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
}
@media (max-width: 560px) {
  .lp-ch-bars {
    gap: calc(var(--ox-space) * 0.75);
  }
}
