/* Shared paper trail typography, states, and motion. */

.ms-page { --rule: rgba(34, 50, 44, 0.22); --ease: var(--ease-snap); display: block; }

/* ---------- Type and small parts ---------- */

.band-green .ms-kind--light { color: var(--mustard-wash); }
.ms-hero .lead { margin-top: 22px; color: var(--ink-soft); }

.ms-page .hww-label { font-family: var(--sans); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.06em; line-height: 1.3; text-transform: uppercase; color: var(--ink-soft); }
.ms-page .hww-h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; }
.ms-page .hww-section { padding-block: clamp(40px, 6vw, 84px); }

/* Status marks used on maps and steppers: ahead (open), done (green tick), now (mustard). */
.ms-mark { position: relative; display: inline-grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--ink-soft); background: var(--white); transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.ms-mark::after { content: ""; width: 10px; height: 6px; border-left: 2.4px solid var(--white); border-bottom: 2.4px solid var(--white); transform: translateY(-1px) rotate(-45deg); opacity: 0; transition: opacity 0.2s ease; }
.is-done .ms-mark { background: var(--green); border-color: var(--ink); }
.is-done .ms-mark::after { opacity: 1; }
.is-on .ms-mark { background: var(--mustard); border-color: var(--ink); box-shadow: 0 0 0 5px rgba(227, 167, 47, 0.35); }

/* Pills */
.ms-page .dr-tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px; border: 2px solid var(--ink); border-radius: 999px; background: var(--white); font-size: 0.8rem; font-weight: 700; line-height: 1.3; white-space: nowrap; }
.ms-page .dr-tag--wait { background: var(--mustard-wash); }
.ms-page .dr-tag--ok { background: var(--green-wash); color: var(--green-deep); border-color: var(--green); }
.ms-page .dr-check { display: inline-block; width: 11px; height: 6px; border-left: 2.4px solid currentColor; border-bottom: 2.4px solid currentColor; transform: translateY(-2px) rotate(-45deg); flex: none; }

/* ---------- Shared sections ---------- */

.ms-faq-intro { position: sticky; top: 24px; }
@media (max-width: 820px) { .ms-faq-intro { position: static; } }

/* ---------- Motion: each part rises in once ---------- */

html.hww-motion .ms-page [data-reveal],
html.hww-motion .ms-page [data-once] { transition: opacity 0.38s var(--ease-out), transform 0.38s var(--ease-out); transition-delay: var(--d, 0ms); }
html.hww-motion .ms-page [data-reveal]:not(.is-in),
html.hww-motion .ms-page [data-once]:not(.is-in) { opacity: 0; transform: translateY(12px); }
/* A missing script must never leave the page unreadable. */
html.hww-motion:not(.hww-live) .ms-page :is([data-reveal], [data-once]) { animation: ms-failsafe 0s 2.5s forwards; }
@keyframes ms-failsafe { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* The stages follow straight on from the hero: the hero's own bottom padding is the gap. */
.ms-page .ms-hero + .hww-section { padding-top: 0; }

/* The paper trail. */

.pt-route { padding-top: 0; }
.ms-page .ms-hero + .pt-route { padding-top: clamp(32px, 4.5vw, 64px); }

/* ---------- Hero: the promise, and the pile of papers it leads to ---------- */
.pt-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr); gap: clamp(32px, 5vw, 72px); align-items: center; }

.pt-stack { margin: 0; }
.pt-pile { position: relative; height: calc(4 * 64px + 132px); }
.pt-pile li { position: absolute; left: calc(var(--i) * 14px); right: calc((4 - var(--i)) * 14px); top: calc(var(--i) * 64px); transform: rotate(calc((var(--i) - 2) * 0.6deg)); transition: transform 0.3s var(--ease); }
.pt-pile a { display: grid; gap: 2px; height: 132px; padding: 10px 16px; background: var(--white); border: var(--line) solid var(--ink); border-radius: var(--r-md); box-shadow: 0 4px 0 var(--ink); text-decoration: none; color: var(--ink); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); align-content: start; }
.pt-pile li:nth-child(1) a { box-shadow: 0 4px 0 var(--ink); }
.pt-pile li:last-child a { box-shadow: 6px 7px 0 var(--mustard); }
.pt-pile-k { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green); }
.pt-pile b { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-weight: 500; font-size: 1.12rem; line-height: 1.2; }
.pt-pile-lines { display: grid; gap: 7px; margin-top: 14px; }
.pt-pile-lines span { height: 6px; border-radius: 6px; background: var(--paper-2); }
.pt-pile-lines span:nth-child(2) { width: 82%; }
.pt-pile-lines span:nth-child(3) { width: 58%; }
@media (hover: hover) and (pointer: fine) { .pt-pile a:hover { transform: translateY(-8px); } .pt-pile a:hover b { color: var(--green); } }
.pt-stack figcaption { margin-top: 26px; font-size: 0.98rem; line-height: 1.5; color: var(--ink-soft); max-width: 30em; }
.pt-stack figcaption b { color: var(--ink); font-weight: 700; }

/* The papers are dealt onto the pile, one after another. */
html.hww-motion .pt-stack[data-once]:not(.is-in) { opacity: 1; transform: none; }
html.hww-motion .pt-pile li { transition: opacity 0.45s var(--ease), transform 0.5s var(--ease); transition-delay: calc(250ms + var(--i) * 110ms); }
html.hww-motion .pt-stack:not(.is-in) .pt-pile li { opacity: 0; transform: translate(-24px, 18px) rotate(-4deg); }

@media (max-width: 960px) {
  .pt-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .pt-stack { max-width: 460px; }
}
@media (max-width: 599px) {
  .pt-pile { height: calc(4 * 58px + 112px); }
  .pt-pile li { top: calc(var(--i) * 58px); left: calc(var(--i) * 8px); right: calc((4 - var(--i)) * 8px); }
  .pt-pile a { height: 112px; padding: 10px 14px; }
  .pt-pile b { font-size: 1rem; }
}

.pt-body-grid { display: grid; grid-template-columns: 230px minmax(0, 1fr); column-gap: clamp(28px, 4vw, 52px); align-items: start; }

/* The tray: what you have so far. */
.pt-tray { position: sticky; top: 24px; padding: 18px 18px 10px; background: var(--white); border: var(--line) solid var(--ink); border-radius: var(--r-md); box-shadow: 0 6px 0 var(--ink); }
.pt-tray > .hww-label { color: var(--green); padding-bottom: 10px; border-bottom: 2px dotted rgba(34, 50, 44, 0.3); }
.pt-tray ol { margin-top: 4px; }
.pt-tray a { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: center; min-height: 44px; padding-block: 6px; text-decoration: none; color: var(--ink-soft); font-size: 0.95rem; line-height: 1.3; font-weight: 600; border-bottom: 2px dotted rgba(34, 50, 44, 0.18); transition: color 0.2s ease; }
.pt-tray li:last-child a { border-bottom: 0; }
.pt-tray li.is-done a, .pt-tray li.is-on a { color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .pt-tray a:hover span:last-child { text-decoration: underline; text-decoration-color: var(--brick); text-decoration-thickness: 2px; text-underline-offset: 4px; } }

/* A stage: the account on the left, its paper on the right. */
.pt-fit { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); column-gap: clamp(28px, 4vw, 52px); align-items: start; }
.pt-stage { padding-block: clamp(36px, 5vw, 56px) clamp(48px, 6vw, 72px); border-top: var(--line) solid var(--ink); scroll-margin-top: 24px; }
.pt-stage:first-child { padding-top: 32px; }
/* Where this stage sits: plain text. As a stage becomes the one you're reading,
   a mustard highlight sweeps in behind "Stage 2", like the site's traced phrases. */
.pt-n { margin-bottom: 10px; font-size: 1rem; font-weight: 700; line-height: 1.4; }
.pt-n-k { padding: 1px 3px 1px 6px; margin-left: -6px; border-radius: 6px; color: var(--green); background: linear-gradient(var(--mustard-wash), var(--mustard-wash)) no-repeat 0 0 / 0% 100%; transition: background-size 0.55s var(--ease), color 0.3s ease; }
.pt-n-of { margin-left: 2px; color: var(--ink-soft); font-weight: 600; }
.pt-stage.is-on .pt-n-k { background-size: 100% 100%; color: var(--ink); }
.pt-body { margin-top: 12px; color: var(--ink-soft); }
.pt-ex { margin-top: 20px; display: grid; gap: 10px; }
.pt-ex > div { padding: 12px 16px; border-radius: var(--r-sm); background: var(--paper-2); }
.pt-ex > div + div { background: var(--green-wash); }
.pt-ex dt { margin-bottom: 2px; }
.pt-ex > div:first-child dt { color: var(--brick-deep); }
.pt-ex > div + div dt { color: var(--green-deep); }
.pt-ex dd { margin: 0; line-height: 1.5; }
.pt-ex > div + div dd { font-weight: 600; }

/* The paper itself. */
.pt-doc { background: var(--white); border: var(--line) solid var(--ink); border-radius: var(--r-md); padding: 16px 22px 22px; box-shadow: 6px 7px 0 var(--sky); font-size: 0.98rem; line-height: 1.5; }
.pt-doc-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 2px dotted rgba(34, 50, 44, 0.3); }
.pt-sample { display: inline-flex; padding: 2px 10px; border-radius: 999px; background: var(--paper-2); font-size: 0.78rem; font-weight: 700; color: var(--ink-soft); }
.pt-doc-t { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-size: 1.35rem; font-weight: 500; line-height: 1.2; margin-bottom: 12px; }
.pt-doc--prop { box-shadow: 6px 7px 0 var(--mustard); }

.pt-bul li { position: relative; padding-left: 22px; }
.pt-bul li + li { margin-top: 4px; }
.pt-bul li::before { content: ""; position: absolute; left: 1px; top: 0.45em; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--ink); background: var(--mustard); }
.pt-notes > div:last-child .pt-bul li::before { background: var(--brick); border-radius: 3px; }
.pt-notes > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 14px; padding-block: 12px; border-top: 2px dotted rgba(34, 50, 44, 0.25); }
.pt-notes dt { padding-top: 3px; }
.pt-notes dd { margin: 0; }

.pt-table { border-top: 2px solid var(--ink); }
.pt-tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr); gap: 14px; padding-block: 12px; border-bottom: 2px dotted rgba(34, 50, 44, 0.25); font-size: 0.93rem; line-height: 1.45; }
.pt-th { padding-block: 8px; }
.pt-tr b { font-weight: 700; }
.pt-ba .pt-tr { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); align-items: center; }

.pt-prop > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 14px; padding-block: 11px; border-top: 2px dotted rgba(34, 50, 44, 0.25); }
.pt-prop dt { padding-top: 3px; }
.pt-prop dd { margin: 0; }
.pt-blank { display: inline-block; min-width: 9em; padding: 1px 10px; border: 2px dashed rgba(34, 50, 44, 0.4); border-radius: 999px; font-size: 0.82rem; font-weight: 600; color: var(--ink-soft); }
.pt-sign { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--mustard-wash); }
.pt-sign .hww-label { margin-right: auto; color: var(--ink); }
.pt-box { display: inline-flex; align-items: center; justify-content: center; min-width: 70px; min-height: 38px; padding: 0 16px; border: 2px solid var(--ink); border-radius: 999px; background: var(--white); font-weight: 700; box-shadow: 0 3px 0 var(--ink); }

.pt-queue li { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr) auto; gap: 14px; align-items: center; padding-block: 12px; border-top: 2px dotted rgba(34, 50, 44, 0.25); }
.pt-q-who { display: flex; flex-direction: column; }
.pt-q-who b { font-weight: 700; }
.pt-q-who .dr-data { color: var(--ink-soft); font-size: 0.85rem; }
.pt-q-what { font-size: 0.93rem; line-height: 1.45; }
.pt-foot { margin-top: 12px; padding: 10px 14px; border-radius: var(--r-sm); background: var(--green-wash); font-weight: 600; }

.pt-next { margin-top: 18px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--mustard-wash); }
.pt-next > .hww-label { color: var(--ink); }
.pt-next ul { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 8px; }
.pt-next li { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.pt-tick { width: 18px; height: 18px; border: 2px solid var(--ink); border-radius: 5px; background: var(--white); }

html.hww-motion .pt-paper[data-once]:not(.is-in) { transform: translateY(16px) rotate(0.6deg); }

/* Pinned stages. With motion allowed (html.hww-pin, set by js/how-we-work/paper-trail.js)
   one stage is on screen at a time beside the tray, and scrolling on hands over to the
   next. js/steps.js runs it and "Pinned steps" in css/styles.css lays it out; these are
   this page's own sizes. The stage starts level with the top of the tray. */
html.hww-pin .pt-track { --pin-top: 24px; }
html.hww-pin .pt-stage { padding-block: 0 48px; border-top: 0; }
/* A stage with room to spare is scaled up to use it (the script sets how far), from its top left corner. */
html.hww-pin .pt-fit { transform-origin: 0 0; }
/* The blanks in the before-and-after table take their own width, so the table still fits when the stage is drawn narrower to be scaled up. */
html.hww-pin .pt-ba .pt-blank { min-width: 0; }
/* On a wide screen the pinned stages take a wider column than the rest of the page, so there is
   room to grow into, and the tray grows by the same amount (--pt-k, set by the script). */
@media (min-width: 1200px) {
  html.hww-pin .pt-route > .wrap { max-width: calc(var(--wrap) * 1.35 + 2 * var(--gut)); }
  html.hww-pin .pt-body-grid { grid-template-columns: calc(230px * var(--pt-k, 1)) minmax(0, 1fr); }
  html.hww-pin .pt-tray { width: 230px; transform: scale(var(--pt-k, 1)); transform-origin: 0 0; }
}
.pt-stage h3:focus { outline: none; }

@media (max-width: 1199px) { .pt-fit { grid-template-columns: minmax(0, 1fr); row-gap: 24px; } }
@media (max-width: 1023px) { .pt-body-grid { grid-template-columns: minmax(0, 1fr); } .pt-tray { display: none; } }
@media (max-width: 599px) {
  .pt-notes > div, .pt-prop > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .pt-tr { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .pt-th { display: none; }
  .pt-tr > span:first-child { font-weight: 700; }
  .pt-tr [data-l]::before { content: attr(data-l); display: block; margin-top: 8px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
  .pt-ba .pt-tr { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pt-ba .pt-tr > span:first-child { grid-column: 1 / -1; }
  .pt-ba .pt-th { display: grid; }
  .pt-ba .pt-th > span:first-child { display: none; }
  .pt-blank { min-width: 0; }
  .pt-queue li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .pt-queue .dr-tag { justify-self: start; }
  .pt-doc { padding-inline: 16px; }
}

/* ---------- How we'll know it worked: four papers on the green band ---------- */
.pt-measures-head { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 16px clamp(32px, 5vw, 72px); align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
.pt-measures-head .ms-kind { margin-bottom: 8px; }
.pt-measures-head .lead { font-size: clamp(1.02rem, 1.3vw, 1.15rem); }
/* Each measure: the change, what it is, and two bars with their readings. No cards. */
.pt-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid rgba(255, 251, 241, 0.5); border-bottom: 2px solid rgba(255, 251, 241, 0.5); }
.pt-k { display: flex; flex-direction: column; padding: 24px 22px 26px; border-left: 2px dotted rgba(255, 251, 241, 0.35); }
.pt-k:first-child { border-left: 0; padding-left: 0; }
.pt-k:last-child { padding-right: 0; }
.pt-k-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pt-k-t { font-family: var(--sans); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.06em; line-height: 1.3; text-transform: uppercase; color: var(--mustard-wash); }
.pt-k-delta { flex: none; display: inline-flex; align-items: center; gap: 6px; font-family: var(--serif); font-variation-settings: "SOFT" 100; font-size: 1.25rem; font-weight: 600; line-height: 1; color: var(--mustard); white-space: nowrap; transition: opacity 0.3s ease, transform 0.4s var(--ease); }
/* A small arrow showing which way the measure moved. */
.pt-k-arrow { width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; }
.pt-k-delta--down .pt-k-arrow { border-top: 8px solid var(--mustard); }
.pt-k-delta--up .pt-k-arrow { border-bottom: 8px solid var(--mustard); }
.pt-k-x { margin-top: 10px; font-size: 0.92rem; line-height: 1.5; color: var(--on-green-soft); }

.pt-k-rows { display: grid; gap: 12px; margin-top: 18px; }
.pt-k-row dt { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-green-soft); margin-bottom: 5px; }
.pt-k-row--after dt { color: var(--white); }
.pt-k-row dd { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.pt-k-track { position: relative; height: 14px; border-radius: 999px; background: rgba(255, 251, 241, 0.14); overflow: hidden; }
.pt-k-fill { position: absolute; inset: 0; border-radius: 999px; transform-origin: 0 50%; transform: scaleX(var(--w)); }
.pt-k-row--before .pt-k-fill { background: rgba(255, 251, 241, 0.55); }
.pt-k-row--after .pt-k-fill { background: var(--mustard); }
.pt-k-val { min-width: 4.2em; text-align: right; font-family: var(--serif); font-variation-settings: "SOFT" 100; font-size: 1.35rem; line-height: 1; font-variant-numeric: tabular-nums; color: var(--white); white-space: nowrap; }
.pt-k-row--after .pt-k-val { color: var(--mustard-wash); font-weight: 600; }
.pt-k-note { margin-top: 16px; padding-top: 12px; border-top: 2px dotted rgba(255, 251, 241, 0.25); font-size: 0.86rem; line-height: 1.45; color: var(--white); }

/* Playing once: waiting, then the baseline, then the move to the new reading. */
.pt-k.is-waiting .pt-k-fill { transform: scaleX(0); }
.pt-k.is-waiting .pt-k-val { opacity: 0; }
.pt-k.is-waiting .pt-k-delta, .pt-k.is-before:not(.is-done) .pt-k-delta { flex: none; display: inline-flex; align-items: center; gap: 6px; font-family: var(--serif); font-variation-settings: "SOFT" 100; font-size: 1.25rem; font-weight: 600; line-height: 1; color: var(--mustard); white-space: nowrap; transition: opacity 0.3s ease, transform 0.4s var(--ease); }
/* A small arrow showing which way the measure moved. */
.pt-k-arrow { width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; }
.pt-k-delta--down .pt-k-arrow { border-top: 8px solid var(--mustard); }
.pt-k-delta--up .pt-k-arrow { border-bottom: 8px solid var(--mustard); }
.pt-k.is-waiting .pt-k-note, .pt-k.is-before:not(.is-done) .pt-k-note { opacity: 0.35; }
.pt-k.is-before .pt-k-row--before .pt-k-fill { transform: scaleX(var(--w)); transition: transform 0.8s var(--ease); }
.pt-k.is-before:not(.is-after) .pt-k-row--after .pt-k-fill { transform: scaleX(0); }
.pt-k.is-before:not(.is-after) .pt-k-row--after .pt-k-val { opacity: 0; }
.pt-k.is-after .pt-k-row--after .pt-k-fill { transform: scaleX(var(--w)); transition: transform 0.9s var(--ease); }
.pt-k-val, .pt-k-note { transition: opacity 0.3s ease; }

@media (max-width: 1000px) {
  .pt-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pt-k:nth-child(3) { border-left: 0; padding-left: 0; }
  .pt-k:nth-child(n + 3) { border-top: 2px dotted rgba(255, 251, 241, 0.35); }
  .pt-k:nth-child(2) { padding-right: 0; }
}
@media (max-width: 560px) {
  .pt-kpis { grid-template-columns: minmax(0, 1fr); }
  .pt-k { padding-inline: 0; border-left: 0; }
  .pt-k + .pt-k { border-top: 2px dotted rgba(255, 251, 241, 0.35); }
}
@media (max-width: 820px) { .pt-measures-head { grid-template-columns: minmax(0, 1fr); } }

.pt-k-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 18px; }
.pt-k-more { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: var(--white); cursor: pointer; text-align: left; }
.pt-k-more:hover { text-decoration: underline; text-decoration-color: var(--mustard); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.pt-k-plus { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--ink); background: var(--mustard); box-shadow: 0 2px 0 var(--ink); transition: transform 0.25s var(--ease), background-color 0.2s ease; }
.pt-k-plus::before, .pt-k-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2.5px; margin: -1.25px 0 0 -6px; border-radius: 2px; background: var(--ink); }
.pt-k-plus::after { transform: rotate(90deg); }
.pt-k-more[aria-expanded="true"] .pt-k-plus { transform: rotate(45deg); background: var(--white); }

/* ---------- "And whatever matters most": the note unrolls when the plus is pressed ---------- */
.pt-k-plus { transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease; }
.pt-k-more[aria-expanded="true"] .pt-k-plus { transform: rotate(135deg); }
/* A ripple from the button on each press. */
.pt-k-more { position: relative; }
.pt-k-more::before { content: ""; position: absolute; left: 0; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; border: 2px solid var(--mustard); opacity: 0; pointer-events: none; }
.pt-k-more.is-pulse::before { animation: pt-ripple 0.6s var(--ease); }
@keyframes pt-ripple { from { opacity: 0.9; transform: scale(1); } to { opacity: 0; transform: scale(2.4); } }

.pt-k-more-a { width: fit-content; max-width: min(100%, 880px); margin-left: 44px; padding: 14px 18px 16px; border-radius: var(--r-md); background: rgba(255, 251, 241, 0.1); border: 2px solid rgba(255, 251, 241, 0.25); color: var(--white); clip-path: inset(0 100% 100% 0 round var(--r-md)); transition: clip-path 0.5s cubic-bezier(0.65, 0, 0.35, 1); }
.pt-k-more-a.is-open { clip-path: inset(0 0 0 0 round var(--r-md)); }
.pt-k-more-t { font-size: 1.02rem; line-height: 1.5; }
.pt-w { display: inline-block; opacity: 0; transform: translateY(8px); transition: opacity 0.3s ease, transform 0.4s var(--ease); }
.pt-k-more-a.is-open .pt-w { opacity: 1; transform: none; transition-delay: calc(180ms + var(--i) * 35ms); }

.pt-k-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pt-k-chips li { display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px; border-radius: 999px; border: 2px dashed rgba(255, 251, 241, 0.55); font-size: 0.86rem; font-weight: 600; opacity: 0; transform: translateY(10px) scale(0.85); transition: opacity 0.3s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1); }
.pt-k-chips li::before { content: ""; width: 9px; height: 5px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-1px) rotate(-45deg); display: none; }
.pt-k-more-a.is-open .pt-k-chips li { opacity: 1; transform: none; transition-delay: calc(700ms + var(--c) * 140ms); animation: pt-add 0.35s var(--ease) both; animation-delay: calc(1050ms + var(--c) * 140ms); }
.pt-k-more-a.is-open .pt-k-chips li:not(.is-yours)::before { display: block; }
@keyframes pt-add { from { background: transparent; border-style: dashed; color: var(--white); } to { background: var(--mustard); border-style: solid; border-color: var(--ink); color: var(--ink); } }
.pt-k-more-a.is-open .pt-k-chips li.is-yours { animation: none; }
@media (max-width: 599px) { .pt-k-more-a { margin-left: 0; } }

.pt-example-note { margin-block: 24px; color: var(--mustard-wash); max-width: 42em; }
