/* Generated by docs/woven.mjs: "Woven for everyone", the homepage's story. GGDS tokens only. */

/* The loom ---------------------------------------------------------------------------------------------------- */

/* The hero's drawing: the warp fans in from the top, then runs parallel off the hero's bottom edge. Beside the hero
   text from 64rem, where the loom below lines up with it; on smaller screens the loom draws its own fan. */
@media (max-width: 63.99rem) { .ggds-hero__art:has(.woven-hero-loom) { display: none; } }
@media (min-width: 64rem) {
  .ggds-hero--art:has(.woven-hero-loom) .ggds-hero__inner { align-items: stretch; }
  .ggds-hero__art:has(.woven-hero-loom) { position: relative; margin-block: -3.5rem; min-height: 24rem; }
}
.woven-hero-loom { position: absolute; inset: 0; }
.woven-hero-loom .woven-fan { position: absolute; inset: 0 0 auto; width: 100%; height: 62%; }
.woven-hero-loom .woven-warp { position: absolute; top: 62%; bottom: 0; }
.woven-fan path { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; }

/* The warp's parallel threads: one gradient, the same in the hero and the loom, so they meet without a seam. */
.woven-warp { left: 40%; width: 20%; background: linear-gradient(90deg, transparent 0.000%, transparent calc(4.167% - 1px), var(--ggds-color-flag-gold) calc(4.167% - 1px), var(--ggds-color-flag-gold) calc(4.167% + 1px), transparent calc(4.167% + 1px), transparent 8.333%, transparent 8.333%, transparent calc(12.500% - 1px), color-mix(in srgb, var(--ggds-color-text-inverse) 85%, transparent) calc(12.500% - 1px), color-mix(in srgb, var(--ggds-color-text-inverse) 85%, transparent) calc(12.500% + 1px), transparent calc(12.500% + 1px), transparent 16.667%, transparent 16.667%, transparent calc(20.833% - 1px), var(--ggds-color-flag-red) calc(20.833% - 1px), var(--ggds-color-flag-red) calc(20.833% + 1px), transparent calc(20.833% + 1px), transparent 25.000%, transparent 25.000%, transparent calc(29.167% - 1px), color-mix(in srgb, var(--ggds-color-text-inverse) 85%, transparent) calc(29.167% - 1px), color-mix(in srgb, var(--ggds-color-text-inverse) 85%, transparent) calc(29.167% + 1px), transparent calc(29.167% + 1px), transparent 33.333%, transparent 33.333%, transparent calc(37.500% - 1px), var(--ggds-color-flag-green) calc(37.500% - 1px), var(--ggds-color-flag-green) calc(37.500% + 1px), transparent calc(37.500% + 1px), transparent 41.667%, transparent 41.667%, transparent calc(45.833% - 1px), color-mix(in srgb, var(--ggds-color-text-inverse) 85%, transparent) calc(45.833% - 1px), color-mix(in srgb, var(--ggds-color-text-inverse) 85%, transparent) calc(45.833% + 1px), transparent calc(45.833% + 1px), transparent 50.000%, transparent 50.000%, transparent calc(54.167% - 1px), var(--ggds-color-flag-gold) calc(54.167% - 1px), var(--ggds-color-flag-gold) calc(54.167% + 1px), transparent calc(54.167% + 1px), transparent 58.333%, transparent 58.333%, transparent calc(62.500% - 1px), color-mix(in srgb, var(--ggds-color-text-inverse) 85%, transparent) calc(62.500% - 1px), color-mix(in srgb, var(--ggds-color-text-inverse) 85%, transparent) calc(62.500% + 1px), transparent calc(62.500% + 1px), transparent 66.667%, transparent 66.667%, transparent calc(70.833% - 1px), var(--ggds-color-flag-red) calc(70.833% - 1px), var(--ggds-color-flag-red) calc(70.833% + 1px), transparent calc(70.833% + 1px), transparent 75.000%, transparent 75.000%, transparent calc(79.167% - 1px), color-mix(in srgb, var(--ggds-color-text-inverse) 85%, transparent) calc(79.167% - 1px), color-mix(in srgb, var(--ggds-color-text-inverse) 85%, transparent) calc(79.167% + 1px), transparent calc(79.167% + 1px), transparent 83.333%, transparent 83.333%, transparent calc(87.500% - 1px), var(--ggds-color-flag-green) calc(87.500% - 1px), var(--ggds-color-flag-green) calc(87.500% + 1px), transparent calc(87.500% + 1px), transparent 91.667%, transparent 91.667%, transparent calc(95.833% - 1px), color-mix(in srgb, var(--ggds-color-text-inverse) 85%, transparent) calc(95.833% - 1px), color-mix(in srgb, var(--ggds-color-text-inverse) 85%, transparent) calc(95.833% + 1px), transparent calc(95.833% + 1px), transparent 100.000%); }
/* The loom's own parts sit on the strip's place: the phone's wider strip below 64rem, the hero's from 64rem. */
.woven-loom__art { --wv-left: 30%; --wv-width: 40%; }
@media (min-width: 64rem) { .woven-loom__art { --wv-left: 40%; --wv-width: 20%; } }
.woven-loom__art .woven-warp, .woven-cloth, .woven-fringe { left: var(--wv-left); width: var(--wv-width); }

/* The loom: straight under the hero, in its colour, laid out on the hero's grid so the threads line up. */
.woven-loom { position: relative; background: var(--ggds-color-institution-deep); color: var(--ggds-color-text-inverse); view-timeline: --woven-loom block; }
main { timeline-scope: --woven-loom; }
.woven-loom__inner { max-width: var(--ggds-size-content-max); margin-inline: auto; padding: var(--ggds-space-8) var(--ggds-size-gutter) 0; }
.woven-loom__text { padding-bottom: var(--ggds-space-8); }
.woven-loom__text p { max-width: 36rem; font-size: var(--ggds-font-size-lg); }
.woven-loom h2 { margin-top: 0; color: var(--ggds-color-text-inverse); font-size: var(--ggds-font-size-3xl); }
.woven-loom .woven-kicker { color: var(--ggds-color-flag-gold); }
.woven-loom a, .woven-loom a:visited { color: var(--ggds-color-text-inverse); }
.woven-cue { margin-top: var(--ggds-space-6); font-weight: var(--ggds-font-weight-bold); }
.woven-loom__art { position: relative; height: min(34rem, 72svh); overflow: hidden; }
.woven-loom__fan { position: absolute; inset: 0 0 auto; height: 30%; }
.woven-loom__fan .woven-fan { width: 100%; height: 100%; }
.woven-warp--loom { position: absolute; top: 30%; height: 8%; }
.woven-heddle { position: absolute; top: 38%; left: calc(var(--wv-left) - 6%); width: calc(var(--wv-width) + 12%); height: 10px; border-radius: 5px; background: var(--ggds-color-flag-gold); box-shadow: 0 2px 0 color-mix(in srgb, var(--ggds-color-text) 40%, transparent); }
.woven-cloth { position: absolute; top: calc(38% + 18px); bottom: var(--ggds-space-6); overflow: hidden; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ggds-color-text) 30%, transparent); }
.woven-shuttle { position: absolute; top: calc(38% + 12px); left: var(--wv-left); width: calc(var(--wv-width) * 0.3); height: 12px; border-radius: 50%; background: var(--ggds-color-text-inverse); box-shadow: inset 0 -3px 0 color-mix(in srgb, var(--ggds-color-text) 25%, transparent); }

@media (min-width: 64rem) {
  .woven-loom__inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--ggds-space-12); padding-top: 0; }
  .woven-loom__text { align-self: center; padding-block: var(--ggds-space-16); }
  .woven-loom__art { height: auto; min-height: 30rem; }
  /* The hero brings the threads: here they arrive at the top, already parallel. */
  .woven-loom__fan { display: none; }
  .woven-warp--loom { top: 0; height: 22%; }
  .woven-heddle { top: 22%; }
  .woven-shuttle { top: calc(22% + 12px); }
  .woven-cloth { top: calc(22% + 18px); }
}

/* The cloth: an original woven pattern (a placeholder for one drawn by Ghanaian weavers), repeating every 168px:
   a gold block with the institution's colour woven in (so the cloth follows the theme), thin stripes, then a green
   block with gold. Light edges hold it together, as woven borders do. It sits two repeats higher than its box, so it
   can flow down. */
.woven-loom {
  --wv-cloth-size: auto, 12% 168px, 52% 168px, 10% 168px, 44% 168px, 100% 168px;
  --wv-cloth:
    repeating-linear-gradient(90deg, color-mix(in srgb, var(--ggds-color-text) 14%, transparent) 0 1px, transparent 1px 5px),
    linear-gradient(to bottom, transparent 22px, var(--ggds-color-flag-gold) 22px 46px, transparent 46px),
    linear-gradient(to bottom, transparent 12px, var(--ggds-color-institution) 12px 56px, transparent 56px),
    linear-gradient(to bottom, transparent 104px, var(--ggds-color-text) 104px 140px, transparent 140px),
    linear-gradient(to bottom, transparent 108px, var(--ggds-color-flag-gold) 108px 136px, transparent 136px),
    linear-gradient(to bottom, var(--ggds-color-flag-gold) 0 68px, var(--ggds-color-flag-red) 68px 72px, var(--ggds-color-text) 72px 76px, var(--ggds-color-flag-gold) 76px 82px, var(--ggds-color-flag-red) 82px 88px, var(--ggds-color-text) 88px 92px, var(--ggds-color-flag-green) 92px 168px);
}
.woven-cloth__weave, .woven-loom__side::before { background-image: var(--wv-cloth); background-size: var(--wv-cloth-size); background-position: 0 0, center 0, center 0, center 0, center 0, 0 0; background-repeat: repeat, repeat-y, repeat-y, repeat-y, repeat-y, repeat-y; }
.woven-cloth__weave { position: absolute; inset: -336px 0 0; }
.woven-cloth { box-shadow: inset 3px 0 0 color-mix(in srgb, var(--ggds-color-text-inverse) 80%, transparent), inset -3px 0 0 color-mix(in srgb, var(--ggds-color-text-inverse) 80%, transparent); }
.woven-cloth::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: color-mix(in srgb, var(--ggds-color-text-inverse) 80%, transparent); }

/* The end of the cloth: a fringe of loose threads, below the loom. */
.woven-fringe { position: absolute; bottom: 0; height: var(--ggds-space-6); background: linear-gradient(90deg, transparent 0.000%, transparent calc(4.167% - 1px), var(--ggds-color-flag-gold) calc(4.167% - 1px), var(--ggds-color-flag-gold) calc(4.167% + 1px), transparent calc(4.167% + 1px), transparent 8.333%, transparent 8.333%, transparent calc(12.500% - 1px), color-mix(in srgb, var(--ggds-color-text-inverse) 85%, transparent) calc(12.500% - 1px), color-mix(in srgb, var(--ggds-color-text-inverse) 85%, transparent) calc(12.500% + 1px), transparent calc(12.500% + 1px), transparent 16.667%, transparent 16.667%, transparent calc(20.833% - 1px), var(--ggds-color-flag-red) calc(20.833% - 1px), var(--ggds-color-flag-red) calc(20.833% + 1px), transparent calc(20.833% + 1px), transparent 25.000%, transparent 25.000%, transparent calc(29.167% - 1px), color-mix(in srgb, var(--ggds-color-text-inverse) 85%, transparent) calc(29.167% - 1px), color-mix(in srgb, var(--ggds-color-text-inverse) 85%, transparent) calc(29.167% + 1px), transparent calc(29.167% + 1px), transparent 33.333%, transparent 33.333%, transparent calc(37.500% - 1px), var(--ggds-color-flag-green) calc(37.500% - 1px), var(--ggds-color-flag-green) calc(37.500% + 1px), transparent calc(37.500% + 1px), transparent 41.667%, transparent 41.667%, transparent calc(45.833% - 1px), color-mix(in srgb, var(--ggds-color-text-inverse) 85%, transparent) calc(45.833% - 1px), color-mix(in srgb, var(--ggds-color-text-inverse) 85%, transparent) calc(45.833% + 1px), transparent calc(45.833% + 1px), transparent 50.000%, transparent 50.000%, transparent calc(54.167% - 1px), var(--ggds-color-flag-gold) calc(54.167% - 1px), var(--ggds-color-flag-gold) calc(54.167% + 1px), transparent calc(54.167% + 1px), transparent 58.333%, transparent 58.333%, transparent calc(62.500% - 1px), color-mix(in srgb, var(--ggds-color-text-inverse) 85%, transparent) calc(62.500% - 1px), color-mix(in srgb, var(--ggds-color-text-inverse) 85%, transparent) calc(62.500% + 1px), transparent calc(62.500% + 1px), transparent 66.667%, transparent 66.667%, transparent calc(70.833% - 1px), var(--ggds-color-flag-red) calc(70.833% - 1px), var(--ggds-color-flag-red) calc(70.833% + 1px), transparent calc(70.833% + 1px), transparent 75.000%, transparent 75.000%, transparent calc(79.167% - 1px), color-mix(in srgb, var(--ggds-color-text-inverse) 85%, transparent) calc(79.167% - 1px), color-mix(in srgb, var(--ggds-color-text-inverse) 85%, transparent) calc(79.167% + 1px), transparent calc(79.167% + 1px), transparent 83.333%, transparent 83.333%, transparent calc(87.500% - 1px), var(--ggds-color-flag-green) calc(87.500% - 1px), var(--ggds-color-flag-green) calc(87.500% + 1px), transparent calc(87.500% + 1px), transparent 91.667%, transparent 91.667%, transparent calc(95.833% - 1px), color-mix(in srgb, var(--ggds-color-text-inverse) 85%, transparent) calc(95.833% - 1px), color-mix(in srgb, var(--ggds-color-text-inverse) 85%, transparent) calc(95.833% + 1px), transparent calc(95.833% + 1px), transparent 100.000%); }

/* Strips already woven, hanging either side of the loom, as finished strips wait to be sewn to the new one. Faint
   and behind everything: depth, not something to read. */
.woven-loom__side { position: absolute; top: 30%; bottom: -20%; width: 18%; opacity: 0.16; }
.woven-loom__side::before { content: ""; position: absolute; inset: 0; }
.woven-loom__side--start { left: 4%; }
.woven-loom__side--end { right: 4%; }
.woven-loom__side--end::before { background-position-y: 84px; }
@media (min-width: 64rem) { .woven-loom__side { top: 0; width: 14%; } .woven-loom__side--start { left: 8%; } .woven-loom__side--end { right: 8%; } }

/* As people scroll the loom works, in layers that move at different speeds: the cloth flows down from the heddle
   (near, fastest), the shuttle crosses and the heddle beats each pass into place, the threads draw tight, and the
   finished strips either side drift up (far, slowest). Transform only, so it is smooth; it moves only while people
   scroll, and only while the loom is on screen. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .woven-cloth__weave { will-change: transform; animation: woven-flow linear both; animation-timeline: --woven-loom; animation-range: cover 0% cover 100%; }
    .woven-shuttle { will-change: transform; animation: woven-pass linear both; animation-timeline: --woven-loom; animation-range: cover 0% cover 100%; }
    .woven-heddle { animation: woven-beat linear both; animation-timeline: --woven-loom; animation-range: cover 0% cover 100%; }
    .woven-loom__fan .woven-fan { transform-origin: 50% 100%; animation: woven-tighten linear both; animation-timeline: --woven-loom; animation-range: entry 0% cover 50%; }
    .woven-loom__side { will-change: transform; animation: woven-drift linear both; animation-timeline: --woven-loom; animation-range: cover 0% cover 100%; }
    .woven-loom__side--end { animation-name: woven-drift-far; }
  }
}
@keyframes woven-flow { to { transform: translateY(336px); } }
@keyframes woven-pass {
  0%, 25%, 50%, 75%, 100% { transform: translateX(0); }
  12.5%, 37.5%, 62.5%, 87.5% { transform: translateX(233%); }
}
@keyframes woven-beat {
  0%, 10%, 15%, 35%, 40%, 60%, 65%, 85%, 90%, 100% { transform: translateY(0); }
  12.5%, 37.5%, 62.5%, 87.5% { transform: translateY(6px); }
}
@keyframes woven-tighten { from { transform: scaleY(0.82); } }
@keyframes woven-drift { from { transform: translateY(var(--ggds-space-12)); } to { transform: translateY(calc(-1 * var(--ggds-space-12))); } }
@keyframes woven-drift-far { from { transform: translateY(var(--ggds-space-6)); } to { transform: translateY(calc(-1 * var(--ggds-space-6))); } }

/* The scenes -------------------------------------------------------------------------------------------------- */

.woven-scene { position: relative; margin-top: var(--ggds-space-12); padding: var(--ggds-space-8) var(--ggds-space-4) var(--ggds-space-8) var(--ggds-space-6); border-radius: var(--ggds-radius-lg); background: var(--ggds-color-surface); }
@media (min-width: 48rem) { .woven-scene { padding-inline: var(--ggds-space-6); } }

/* The selvedge: a woven edge down the side of each scene, woven in as people read down it, so the page keeps
   weaving between the drawings. Beside the words, never under them. */
.woven-scene::before { content: ""; position: absolute; inset: var(--ggds-space-8) auto var(--ggds-space-8) 0; width: 4px; border-radius: 2px; background: repeating-linear-gradient(var(--ggds-color-flag-gold) 0 14px, var(--ggds-color-flag-green) 14px 20px, var(--ggds-color-flag-gold) 20px 34px, var(--ggds-color-flag-red) 34px 40px, var(--ggds-color-institution) 40px 46px); transform-origin: 50% 0; }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .woven-scene::before { animation: woven-selvedge linear both; animation-timeline: view(); animation-range: entry 40% exit 10%; }
  }
}
@keyframes woven-selvedge { from { transform: scaleY(0); } }
.woven-scene--alt { background: var(--ggds-color-surface-sunken); }
.woven-scene h2 { margin-top: 0; font-size: var(--ggds-font-size-2xl); }
.woven-kicker { margin: 0 0 var(--ggds-space-2); color: var(--ggds-color-institution-deep); font-weight: var(--ggds-font-weight-bold); font-size: var(--ggds-font-size-sm); letter-spacing: 0.04em; text-transform: uppercase; }

/* A scene's stage: the words, then the drawing; side by side on wide screens. It starts at the top, so there is no
   empty pause as a pinned scene arrives. */
.woven-stage { display: grid; gap: var(--ggds-space-6); align-content: start; }
@media (min-width: 64rem) { .woven-stage { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; } }
.woven-stage__text > :last-child { margin-bottom: 0; }
.woven-art { display: block; width: 100%; height: auto; max-height: 56svh; overflow: visible; }
/* A phone shows the drawing smaller, so its words are set larger to stay readable. */
@media (max-width: 63.99rem) { .woven-art .wv-label-text { font-size: 16px; } .woven-art .wv-small { font-size: 15px; } .woven-art .wv-faint-text { font-size: 17px; } }

/* The cloth's colours: flag colours as thread only, and the institution's, so the cloth follows the theme. */
.wv-fill-gold { fill: var(--ggds-color-flag-gold); }
.wv-fill-red { fill: var(--ggds-color-flag-red); }
.wv-fill-green { fill: var(--ggds-color-flag-green); }
.wv-fill-ink { fill: var(--ggds-color-text); }
.wv-fill-inst { fill: var(--ggds-color-institution); }
.wv-fill-deep { fill: var(--ggds-color-institution-deep); }
.wv-stroke-gold { stroke: var(--ggds-color-flag-gold); }
.wv-stroke-red { stroke: var(--ggds-color-flag-red); }
.wv-stroke-green { stroke: var(--ggds-color-flag-green); }
.wv-stroke-ink { stroke: var(--ggds-color-text); }
.wv-stroke-inst { stroke: var(--ggds-color-institution); }
.wv-stroke-light { stroke: color-mix(in srgb, var(--ggds-color-text-inverse) 85%, transparent); }
.wv-stroke-faint { stroke: color-mix(in srgb, var(--ggds-color-flag-gold) 35%, var(--ggds-color-surface)); }
.wv-thread { fill: none; stroke-width: 8; stroke-linecap: round; }
.wv-warp { fill: none; stroke: var(--ggds-color-border-subtle); stroke-width: 2; }
.wv-loom { fill: var(--ggds-color-surface); stroke: var(--ggds-color-border-strong); stroke-width: 2; }
.wv-tie { fill: none; stroke: var(--ggds-color-border-strong); stroke-width: 2; stroke-dasharray: 4 4; }
.wv-stitch { fill: none; stroke: var(--ggds-color-text-inverse); stroke-width: 2; }
.wv-label { fill: var(--ggds-color-surface); stroke: var(--ggds-color-border-strong); }
.wv-label-text, .wv-small, .wv-input-text, .wv-screen-title, .wv-screen-amount, .wv-faint-text { fill: var(--ggds-color-text); font-size: 13px; }
.wv-label-text, .wv-button-text, .wv-tag-text { text-anchor: middle; font-weight: 700; }
.wv-faint-text { fill: var(--ggds-color-status-danger-strong); font-weight: 700; }
.wv-button { fill: var(--ggds-color-brand-700); }
.wv-button-text { fill: var(--ggds-color-text-inverse); font-size: 15px; }
.wv-input { fill: var(--ggds-color-surface); stroke: var(--ggds-color-border-control); stroke-width: 2; }
.wv-input-text { font-family: var(--ggds-font-family-mono); font-size: 15px; }
.wv-tag { fill: var(--ggds-color-status-success-subtle); stroke: var(--ggds-color-status-success-strong); }
.wv-tag-text { fill: var(--ggds-color-status-success-strong); font-size: 14px; }
.wv-check-ring { fill: var(--ggds-color-status-success-subtle); stroke: var(--ggds-color-status-success-strong); stroke-width: 2; }
.wv-check { fill: none; stroke: var(--ggds-color-status-success-strong); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.woven-strip-shuttle { fill: var(--ggds-color-text); }
.wv-phone { fill: none; stroke: var(--ggds-color-text); stroke-width: 8; }
.wv-screen { fill: var(--ggds-color-surface); }
.wv-screen-title { font-weight: 700; font-size: 15px; }
.wv-screen-amount { font-weight: 700; font-size: 20px; }
.wv-radio { fill: var(--ggds-color-surface); stroke: var(--ggds-color-border-control); stroke-width: 2; }

/* The colours: a cloth swatch for each institution, under the theme picker. */
.woven-swatches { display: flex; flex-wrap: wrap; gap: var(--ggds-space-2); margin: var(--ggds-space-6) 0 0; padding: 0; list-style: none; }
.woven-swatch { width: var(--ggds-space-12); height: var(--ggds-space-16); border-radius: var(--ggds-radius-sm);
  background-image: linear-gradient(transparent 30%, var(--ggds-color-flag-gold) 30% 38%, transparent 38% 62%, var(--ggds-color-flag-gold) 62% 70%, transparent 70%); }

/* The people. */
.woven-people { --ggds-scroll-row-bleed: var(--ggds-space-4); display: grid; gap: var(--ggds-space-4); margin: var(--ggds-space-6) 0; padding: 0; list-style: none; }
@media (min-width: 48rem) { .woven-people { grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); } }
.woven-person { padding: var(--ggds-space-4); border-top: 4px solid var(--ggds-color-institution); border-radius: var(--ggds-radius-md); background: var(--ggds-color-surface); }
.woven-person h3 { margin: var(--ggds-space-2) 0 var(--ggds-space-1); font-size: var(--ggds-font-size-lg); }
.woven-person p { margin: 0; }
.woven-person__icon { display: inline-flex; padding: var(--ggds-space-2); border-radius: 50%; background: color-mix(in srgb, var(--ggds-color-institution) 12%, var(--ggds-color-surface)); color: var(--ggds-color-institution); }

/* Each person's card acts out its promise as it arrives: the phone shrinks to fit, the signal fills bar by bar, the
   sun turns, the sound goes out, and "Bigger words" grows. On a phone, where the cards are a row people swipe, each
   one plays as it is swiped in (the first as the row comes up the screen). Words never fade. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .woven-person__icon > svg, .woven-person--eye h3 { animation: linear both; animation-timeline: view(); animation-range: entry 30% cover 50%; }
    .woven-person--mobile .woven-person__icon > svg { animation-name: woven-fit; }
    .woven-person--wifi .woven-person__icon > svg { animation-name: woven-signal; }
    .woven-person--sun .woven-person__icon > svg { animation-name: woven-sun; }
    .woven-person--volume .woven-person__icon > svg { animation-name: woven-sound; }
    .woven-person--eye h3 { animation-name: woven-bigger; transform-origin: 0 50%; }
  }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 47.99rem) {
  @supports (animation-timeline: view()) {
    .woven-person:not(:first-child) :is(.woven-person__icon > svg, h3) { animation-timeline: view(inline); animation-range: entry 25% entry 100%; }
  }
}
@keyframes woven-fit { from { transform: scale(1.8); } }
@keyframes woven-signal { from { clip-path: inset(100% 0 0 0); } }
@keyframes woven-sun { from { transform: rotate(-180deg) scale(0.6); } }
@keyframes woven-sound { from { clip-path: inset(0 100% 0 0); } }
@keyframes woven-bigger { from { transform: scale(0.7); } }

/* The weaver's mark: a woven label with the proof, and the threads loosening into an invitation. */
.woven-label { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(8rem, 100%), 1fr)); gap: var(--ggds-space-1); margin: var(--ggds-space-6) 0 0; padding: var(--ggds-space-2); border: 2px dashed var(--ggds-color-flag-gold); border-radius: var(--ggds-radius-md); background: var(--ggds-color-institution-deep); }
.woven-label div { padding: var(--ggds-space-3); }
.woven-label dt { color: var(--ggds-color-text-inverse); font-size: var(--ggds-font-size-sm); }
.woven-label dd { margin: 0; color: var(--ggds-color-flag-gold); font-size: var(--ggds-font-size-2xl); font-weight: var(--ggds-font-weight-bold); line-height: var(--ggds-line-height-tight); }
.woven-label__note { display: block; margin-top: var(--ggds-space-1); color: var(--ggds-color-text-inverse); font-size: var(--ggds-font-size-sm); font-weight: var(--ggds-font-weight-regular); }
.woven-mark__threads { display: block; width: 100%; height: var(--ggds-space-16); margin: var(--ggds-space-4) 0; }
.woven-mark__threads path { fill: none; stroke-width: 4; }
.woven-mark__cta { margin: 0 0 var(--ggds-space-3); font-size: var(--ggds-font-size-xl); }

/* Moments the general scroll effects do not cover: the shuttle crossing the strip in scene 2, and the pale thread
   falling away in scene 1. Only where scenes are pinned, as in motion.css. On a still page there is no pale thread:
   it exists only to fall. */
.woven-faint { display: none; }
@media (prefers-reduced-motion: no-preference) and (min-width: 64rem) and (min-height: 36rem) {
  @supports (animation-timeline: view()) {
    .ggds-scene--pinned .woven-strip-shuttle { animation: woven-strip-shuttle linear both; animation-timeline: --ggds-scene; animation-range: contain 6% contain 64%; }
    .ggds-scene--pinned .woven-faint { display: inline; animation: woven-fall linear both; animation-timeline: --ggds-scene; animation-range: contain 34% contain 52%; }
  }
}
/* On a phone (motion.css: the drawing builds as it rises up the screen) the same moments follow the drawing. */
@media (prefers-reduced-motion: no-preference) and (max-width: 63.99rem) {
  @supports (animation-timeline: view()) {
    .ggds-scene--pinned .woven-strip-shuttle { animation: woven-strip-shuttle linear both; animation-timeline: --ggds-scene-art; animation-range: cover 8% cover 50%; }
    .ggds-scene--pinned .woven-faint { display: inline; animation: woven-fall linear both; animation-timeline: --ggds-scene-art; animation-range: cover 22% cover 36%; }
  }
}
@keyframes woven-strip-shuttle {
  0% { transform: translateX(0); }
  33% { transform: translateX(370px); }
  66% { transform: translateX(0); }
  100% { transform: translateX(370px); opacity: 0; }
}
@keyframes woven-fall {
  to { opacity: 0; transform: translateY(var(--ggds-space-12)); }
}
