/* Wall of love: the testimonial board on the home page (inside the Framer to Astro panel).
   A pannable, zoomable canvas. Items are absolutely placed in a fixed-size world, see #wall-data in index.html. */
.fa-panel.wb { --wb-bg: #101010; --wb-dot: rgba(255, 255, 255, 0.075); --wb-tx: rgba(255, 255, 255, 0.8); --wb-mut: rgba(255, 255, 255, 0.45); --wb-hi: #fff; --wb-ui: rgba(26, 26, 26, 0.88); --wb-uib: #2c2c2c; --wb-card: #1b1b1b; --wb-cardb: #2a2a2a;
  position: relative; overflow: hidden; background: var(--wb-bg); cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; outline: none; }
html.light .fa-panel.wb { --wb-bg: #ebeae5; --wb-dot: rgba(20, 20, 20, 0.12); --wb-tx: rgba(20, 20, 20, 0.8); --wb-mut: rgba(20, 20, 20, 0.5); --wb-hi: #141414; --wb-ui: rgba(255, 255, 255, 0.9); --wb-uib: #e2e0d9; --wb-card: #fff; --wb-cardb: #e4e2db; box-shadow: inset 0 0 0 1px var(--line); }
.fa-panel.wb.panning, .fa-panel.wb.panning * { cursor: grabbing !important; }
.fa-panel.wb:focus-visible { box-shadow: inset 0 0 0 2px var(--blue); }
.wb-world { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform;
  background-image: radial-gradient(var(--wb-dot) 1.2px, transparent 1.5px); background-size: 26px 26px; }
.wb-edge { position: absolute; inset: 0; z-index: 5; pointer-events: none; box-shadow: inset 0 0 60px 20px var(--wb-bg); }

/* every item */
.wb-i { position: absolute; transform: rotate(var(--r, 0deg)); transition: box-shadow 0.2s, filter 0.2s; }
.wb-i.lift { cursor: grabbing; filter: drop-shadow(0 22px 30px rgba(0, 0, 0, 0.45)); }

/* plain text quotes, straight on the canvas */
.wb-q p { margin: 0; font-size: 17px; line-height: 26px; letter-spacing: -0.15px; color: var(--wb-tx); }
.wb-q p::before { content: '\201C'; margin-right: 3px; font-family: var(--serif); font-size: 30px; line-height: 0; vertical-align: -9px; color: var(--accent); }
.wb-by { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-family: var(--body); font-size: 14px; line-height: 18px; letter-spacing: 0; color: var(--wb-mut); }
.wb-by b { font-weight: 400; color: var(--wb-hi); }
.wb-by i { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--wb-card); box-shadow: inset 0 0 0 1px var(--wb-cardb); font-family: var(--title); font-style: normal; font-size: 10px; letter-spacing: 0; color: var(--wb-hi); }
/* sticky notes (a few quotes only) */
.wb-q.note { padding: 20px 20px 16px; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06), 0 18px 30px -16px rgba(0, 0, 0, 0.55); }
.wb-q.note p { font-family: var(--title); font-size: 19px; line-height: 26px; letter-spacing: -0.3px; color: #1b1b1b; }
.wb-q.note p::before { content: none; }
.wb-q.note .wb-by { color: rgba(0, 0, 0, 0.55); }
.wb-q.note .wb-by b { color: #1b1b1b; }
.wb-q.note .wb-by i { background: #1b1b1b; box-shadow: none; color: #fff; }
.wb-q.y { background: #f6d86b; } .wb-q.l { background: #cbbdff; } .wb-q.g { background: #c4e8ab; } .wb-q.p { background: #ffc0ab; }

/* numbers as landmarks */
.wb-n { white-space: nowrap; }
.wb-n strong { display: block; font-family: var(--title); font-weight: 300; font-size: 60px; line-height: 54px; letter-spacing: -2.6px; color: var(--wb-hi); }
.wb-n span { display: block; margin-top: 10px; font-family: var(--dm); font-size: 11px; line-height: 15px; letter-spacing: 0.5px; text-transform: uppercase; color: var(--wb-mut); }

/* handwriting */
.wb-hand { font-family: var(--hand); font-size: 24px; line-height: 26px; white-space: nowrap; color: var(--wb-mut); }

/* videos (our own file) and Looms */
.wb-lab { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 24px; font-family: var(--title); font-size: 13px; line-height: 16px; color: var(--wb-mut); white-space: nowrap; }
.wb-lab b { font-weight: 400; color: var(--wb-hi); overflow: hidden; text-overflow: ellipsis; }
.wb-lab .x { display: none; place-items: center; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 6px; background: var(--wb-card); box-shadow: inset 0 0 0 1px var(--wb-cardb); color: var(--wb-hi); cursor: pointer; }
.wb-lab .x svg { width: 10px; height: 10px; }
.wb-i.open .wb-lab .x { display: grid; }
.wb-media { position: relative; overflow: hidden; border-radius: 12px; background: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 30px 60px -26px rgba(0, 0, 0, 0.85); cursor: pointer; }
.wb-media img, .wb-media video, .wb-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.wb-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(0, 0, 0, 0.7)); pointer-events: none; transition: opacity 0.3s; }
.wb-play { position: absolute; left: 50%; top: 50%; z-index: 2; display: grid; place-items: center; width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); color: #fff; pointer-events: none; transition: transform 0.25s var(--ease), opacity 0.25s; }
.wb-play svg { width: 18px; height: 18px; margin-left: 3px; }
.wb-i.lead .wb-play { width: 72px; height: 72px; margin: -36px 0 0 -36px; background: var(--accent); box-shadow: 0 10px 30px -6px rgba(255, 90, 40, 0.6); }
.wb-media:hover .wb-play { transform: scale(1.06); }
.wb-dur { position: absolute; right: 12px; top: 12px; z-index: 2; padding: 3px 8px; border-radius: 6px; background: rgba(0, 0, 0, 0.55); font-family: var(--dm); font-size: 11px; color: #fff; pointer-events: none; }
.wb-cap { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; font-size: 15px; line-height: 21px; color: #fff; pointer-events: none; transition: opacity 0.3s; }
.wb-cap span { display: block; margin-top: 4px; font-family: var(--dm); font-size: 10.5px; letter-spacing: 0.3px; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.wb-prog { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 3px; background: rgba(255, 255, 255, 0.18); opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.wb-prog b { display: block; width: 100%; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }
.wb-i.playing .wb-play { opacity: 0; transform: scale(0.8); }
.wb-i.playing .wb-media:hover .wb-play { opacity: 1; transform: none; }
.wb-i.playing .wb-play .pl, .wb-play .pa { display: none; }
.wb-i.playing .wb-play .pa { display: block; margin: 0; }
.wb-i.started .wb-media::after, .wb-i.started .wb-cap, .wb-i.started .wb-dur { opacity: 0; }
.wb-i.started .wb-prog { opacity: 1; }
.wb-i.open .wb-media { cursor: auto; }
.wb-i.open .wb-media::after, .wb-i.open .wb-play, .wb-i.open .wb-cap, .wb-i.open .wb-dur { display: none; }
.wb-loomtag { position: absolute; left: 12px; top: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 6px; background: rgba(0, 0, 0, 0.55); font-family: var(--dm); font-size: 10.5px; letter-spacing: 0.3px; text-transform: uppercase; color: #fff; pointer-events: none; }
.wb-loomtag i { width: 7px; height: 7px; border-radius: 50%; background: #625df5; }

/* Slack (dark theme, like the screenshots) */
.wb-sl { overflow: hidden; border-radius: 12px; background: #1c1d20; box-shadow: inset 0 0 0 1px #2e3135, 0 24px 50px -22px rgba(0, 0, 0, 0.85); font-family: Lato, 'Helvetica Neue', Helvetica, Arial, sans-serif; color: #d1d2d3; }
.wb-sl-top { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-bottom: 1px solid #2e3135; font-size: 14px; font-weight: 700; color: #ececec; }
.wb-sl-top img { width: 20px; height: 20px; border-radius: 5px; }
.wb-sl-top span { margin-left: auto; font-size: 11.5px; font-weight: 400; color: #9a9b9d; }
.wb-sl-m { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 10px; padding: 12px 14px 2px; }
.wb-sl-m:last-child { padding-bottom: 14px; }
.wb-sl-m img { width: 40px; height: 40px; border-radius: 8px; }
.wb-sl-h b { margin-right: 6px; font-size: 15px; font-weight: 700; color: #f8f8f8; }
.wb-sl-h time { font-size: 12px; color: #9a9b9d; }
.wb-sl-t { margin: 2px 0 0; font-size: 15px; line-height: 22px; color: #d1d2d3; }
.wb-sl-t .at { padding: 0 2px; border-radius: 3px; background: rgba(242, 199, 68, 0.16); color: #e8b84a; }
.wb-sl-rx { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.wb-sl-rx span { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 9px; border-radius: 13px; background: rgba(29, 155, 209, 0.12); box-shadow: inset 0 0 0 1.5px #1d9bd1; font-size: 13px; font-weight: 700; color: #36a6d9; }

/* screen controls */
.wb-ui { position: absolute; z-index: 10; cursor: auto; }
.wb-name { left: 14px; top: 14px; display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 12px 0 8px; border-radius: 10px; background: var(--wb-ui); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--wb-uib); font-size: 14px; color: var(--wb-hi); pointer-events: none; }
.wb-name img { width: 22px; height: 22px; border-radius: 6px; }
.wb-name span { font-family: var(--dm); font-size: 11px; letter-spacing: 0.4px; text-transform: uppercase; color: var(--wb-mut); }
.wb-tools { left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; align-items: center; gap: 2px; height: 42px; padding: 0 5px; border-radius: 12px; background: var(--wb-ui); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--wb-uib), 0 12px 30px -12px rgba(0, 0, 0, 0.6); color: var(--wb-mut); }
.wb-tools button { display: grid; place-items: center; min-width: 32px; height: 32px; padding: 0 7px; border: 0; border-radius: 8px; background: none; color: inherit; font-family: var(--dm); font-size: 12px; letter-spacing: 0.3px; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.wb-tools button:hover { background: var(--ghost); color: var(--wb-hi); }
.wb-tools button.hand { background: var(--accent); color: #fff; cursor: default; }
.wb-tools button svg { width: 16px; height: 16px; }
.wb-tools .z { min-width: 54px; color: var(--wb-hi); font-variant-numeric: tabular-nums; }
.wb-tools i { width: 1px; height: 20px; margin: 0 3px; background: var(--wb-uib); }
.wb-mini { right: 14px; bottom: 14px; width: 140px; opacity: 0.85; transition: opacity 0.2s; border-radius: 10px; background: var(--wb-ui); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--wb-uib); overflow: hidden; cursor: pointer; }
.wb-mini:hover { opacity: 1; }
.wb-mini i { position: absolute; border-radius: 1.5px; background: var(--wb-mut); opacity: 0.55; }
.wb-mini i.v { background: var(--accent); opacity: 1; }
.wb-mini b { position: absolute; border: 1.5px solid var(--accent); border-radius: 3px; background: rgba(255, 90, 40, 0.08); pointer-events: none; }

@media (max-width: 640px) {
  .fa-panel.wb { aspect-ratio: auto; height: 470px; }
  .wb-mini { display: none; }
  .wb-name span { display: none; }
  .wb-tools { bottom: 12px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) { .wb-i, .wb-play, .wb-media::after { transition: none; } }

/* hover: a Figma-style blue selection frame with the layer name and its size; kept the same screen size at any zoom */
.fa-panel.wb { --inv: 1; --sel: #0d99ff; }
.wb-i:hover { z-index: 3; }
.wb-sel { position: absolute; inset: calc(-5px * var(--inv)); border: calc(1.5px * var(--inv)) solid var(--sel); opacity: 0; pointer-events: none; transition: opacity 0.12s; }
.wb-i:hover > .wb-sel { opacity: 1; }
.fa-panel.wb.panning .wb-sel { opacity: 0 !important; }
.wb-sel em, .wb-sel u { position: absolute; padding: 2px 6px; background: var(--sel); color: #fff; font-family: var(--dm); font-style: normal; text-decoration: none; font-size: 11px; line-height: 15px; letter-spacing: 0.3px; white-space: nowrap; }
.wb-sel em { left: calc(-1.5px * var(--inv)); bottom: 100%; border-radius: 3px 3px 3px 0; transform: scale(var(--inv)); transform-origin: 0 100%; }
.wb-sel u { left: 50%; top: 100%; margin-top: calc(6px * var(--inv)); border-radius: 3px; transform: translateX(-50%) scale(var(--inv)); transform-origin: 50% 0; }
.wb-sel i { position: absolute; width: 8px; height: 8px; margin: -4px; background: #fff; border: 1.5px solid var(--sel); box-sizing: border-box; transform: scale(var(--inv)); }
.wb-sel i:nth-of-type(1) { left: 0; top: 0; } .wb-sel i:nth-of-type(2) { right: 0; top: 0; } .wb-sel i:nth-of-type(3) { left: 0; bottom: 0; } .wb-sel i:nth-of-type(4) { right: 0; bottom: 0; }
@media (hover: none) { .wb-sel { display: none; } }
