/* wbf.css: lane WEB family ornaments (piece 70-wbf, paint day 2026-11-10). Prefix .wbf-
   1. Hanko seals: icon tiles inside [data-wbf-seals] become carved red seals, pressed in once on arrival.
   2. Hot figures: numbers inside [data-wbf-hot="dark|light"] arrive white-hot and cool to ember orange,
      then a coal breathes on one of them now and then (script, seeded, pause-aware).
   Without JS nothing here applies (classes are added by wbf.js): the original tiles and numbers show. */

/* ── 1. Hanko seals ── */
.wbf-seal{position:relative;isolation:isolate;background:none!important;transform:rotate(var(--wbf-r,0deg))}
.wbf-seal::before,.wbf-seal::after{content:"";position:absolute;inset:-3px;z-index:-1;pointer-events:none;
  -webkit-mask:var(--wbf-mask) center/100% 100% no-repeat;mask:var(--wbf-mask) center/100% 100% no-repeat}
.wbf-seal::before{background:radial-gradient(130% 120% at 28% 22%,#c63c22 0,#b8321b 52%,#a32b16 100%)}
.wbf-seal::after{background:#b8321b;opacity:0;filter:blur(1.2px)}
.wbf-seal>svg{position:relative;color:#f6eedd!important}
.wbf-seal>svg [stroke-width]{stroke-width:1.8}
.wbf-seal--a{--wbf-mask:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><mask id='m'><path d='M10.5 3.1 12.3 3.6 14.1 3.0 15.9 3.9 17.7 3.1 19.5 3.5 21.3 3.3 23.1 3.9 24.9 3.6 26.7 4.0 28.5 3.4 30.3 3.0 32.1 3.3 33.9 3.4 35.7 3.6 37.5 3.6 39.3 3.2 41.1 3.3 42.9 3.3 44.7 3.0 46.5 4.1 48.3 4.2 50.1 3.0 51.9 3.4 53.7 3.1 55.4 4.0 57.2 4.4 58.2 5.9 59.3 7.2 60.0 8.8 59.8 10.5 59.9 12.3 60.7 14.1 60.4 15.9 60.6 17.7 61.1 19.5 59.9 21.3 60.2 23.1 60.9 24.9 60.5 26.7 59.8 28.5 60.6 30.3 60.0 32.1 60.0 33.9 60.2 35.7 59.9 37.5 59.8 39.3 60.8 41.1 60.1 42.9 61.1 44.7 59.9 46.5 60.3 48.3 60.8 50.1 60.4 51.9 60.6 53.7 59.8 55.4 59.7 57.2 57.0 57.1 56.6 59.0 55.2 60.1 53.5 61.1 51.7 60.0 49.9 60.8 48.1 59.8 46.3 60.5 44.5 60.5 42.7 60.8 40.9 60.1 39.1 60.5 37.3 61.2 35.5 60.9 33.7 58.5 31.9 60.4 30.1 61.2 28.3 59.8 26.5 61.0 24.7 61.2 22.9 60.6 21.1 61.2 19.3 59.8 17.5 60.1 15.7 61.2 13.9 60.6 12.1 60.6 10.3 59.9 8.7 59.7 6.9 59.4 6.0 57.9 4.3 57.0 3.3 55.4 3.7 53.5 4.1 51.7 3.9 49.9 3.3 48.1 4.2 46.3 3.7 44.5 3.3 42.7 4.0 40.9 3.4 39.1 3.0 37.3 4.0 35.5 3.7 33.7 3.3 31.9 3.8 30.1 3.9 28.3 3.3 26.5 3.2 24.7 4.0 22.9 3.3 21.1 5.6 19.3 5.6 17.5 4.1 15.7 4.1 13.9 4.0 12.1 3.5 10.3 4.1 8.6 4.2 6.7 5.7 5.6 8.3 6.7 8.7 3.7Z' fill='white'/><rect x='8.6' y='8.6' width='46.8' height='46.8' rx='4' fill='none' stroke='black' stroke-width='1.7' stroke-dasharray='46 1.8 63 2.5' stroke-dashoffset='8'/><ellipse cx='20.6' cy='8.2' rx='0.9' ry='0.5' fill='black'/><ellipse cx='4.7' cy='19.0' rx='1.0' ry='0.9' fill='black'/><ellipse cx='15.7' cy='17.5' rx='1.1' ry='0.7' fill='black'/><ellipse cx='55.8' cy='36.7' rx='1.1' ry='0.8' fill='black'/><ellipse cx='7.1' cy='7.0' rx='1.1' ry='1.0' fill='black'/><ellipse cx='9.9' cy='6.7' rx='1.4' ry='1.1' fill='black'/><ellipse cx='55.8' cy='47.2' rx='1.0' ry='1.0' fill='black'/><ellipse cx='46.8' cy='28.7' rx='1.4' ry='1.1' fill='black'/><ellipse cx='4.5' cy='25.7' rx='0.8' ry='0.6' fill='black'/></mask><rect width='64' height='64' fill='white' mask='url%28%23m%29'/></svg>")}
.wbf-seal--b{--wbf-mask:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><mask id='m'><path d='M10.5 4.1 12.3 3.4 14.1 3.6 15.9 3.5 17.7 4.0 19.5 3.9 21.3 3.6 23.1 3.9 24.9 3.6 26.7 4.2 28.5 4.1 30.3 3.2 32.1 3.6 33.9 3.5 35.7 3.2 37.5 3.7 39.3 4.1 41.1 3.1 42.9 3.4 44.7 3.3 46.5 3.3 48.3 2.8 50.1 3.7 51.9 3.1 53.7 3.7 55.5 3.7 57.2 4.3 58.3 5.8 59.1 7.3 60.2 8.7 60.8 10.5 60.6 12.3 60.4 14.1 60.7 15.9 60.1 17.7 60.0 19.5 60.3 21.3 59.3 23.1 60.0 24.9 59.9 26.7 59.9 28.5 60.2 30.3 60.6 32.1 60.9 33.9 60.3 35.7 60.3 37.5 60.2 39.3 60.2 41.1 60.9 42.9 60.6 44.7 60.2 46.5 59.9 48.3 60.9 50.1 60.8 51.9 61.0 53.7 59.9 55.4 59.6 57.1 58.8 58.9 57.0 59.7 55.4 60.9 53.5 60.0 51.7 61.2 49.9 59.9 48.1 60.4 46.3 59.8 44.5 60.9 42.7 60.8 40.9 61.2 39.1 60.9 37.3 61.1 35.5 60.6 33.7 61.2 31.9 60.8 30.1 60.3 28.3 61.2 26.5 60.3 24.7 60.1 22.9 59.9 21.1 60.5 19.3 60.1 17.5 61.1 15.7 61.1 13.9 60.1 12.1 59.9 10.3 60.5 8.7 59.8 6.9 59.5 5.2 58.7 4.7 56.8 3.8 55.3 2.9 53.5 3.6 51.7 3.7 49.9 3.0 48.1 3.1 46.3 2.9 44.5 3.2 42.7 3.6 40.9 3.2 39.1 5.2 37.3 3.9 35.5 3.8 33.7 3.6 31.9 3.1 30.1 3.4 28.3 3.4 26.5 4.6 24.7 3.3 22.9 3.7 21.1 3.4 19.3 3.0 17.5 3.9 15.7 2.9 13.9 4.1 12.1 5.5 10.4 4.1 8.6 4.4 6.8 5.6 5.5 8.2 6.4 8.9 4.4Z' fill='white'/><rect x='8.6' y='8.6' width='46.8' height='46.8' rx='4' fill='none' stroke='black' stroke-width='1.7' stroke-dasharray='42 1.5 70 1.2' stroke-dashoffset='55'/><ellipse cx='15.0' cy='6.3' rx='1.1' ry='0.6' fill='black'/><ellipse cx='8.5' cy='37.1' rx='1.3' ry='0.6' fill='black'/><ellipse cx='52.7' cy='59.2' rx='1.5' ry='1.1' fill='black'/><ellipse cx='41.0' cy='6.9' rx='1.0' ry='0.7' fill='black'/><ellipse cx='20.2' cy='55.8' rx='0.8' ry='0.5' fill='black'/><ellipse cx='38.7' cy='42.2' rx='1.5' ry='0.9' fill='black'/><ellipse cx='5.6' cy='17.3' rx='1.5' ry='0.9' fill='black'/><ellipse cx='5.6' cy='57.5' rx='1.4' ry='0.5' fill='black'/><ellipse cx='18.9' cy='8.4' rx='1.3' ry='0.5' fill='black'/></mask><rect width='64' height='64' fill='white' mask='url%28%23m%29'/></svg>")}
.wbf-seal--c{--wbf-mask:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><mask id='m'><path d='M10.5 3.3 12.3 3.2 14.1 3.3 15.9 4.2 17.7 2.8 19.5 3.6 21.3 3.1 23.1 2.8 24.9 3.6 26.7 3.1 28.5 2.9 30.3 4.7 32.1 4.0 33.9 3.1 35.7 2.9 37.5 4.1 39.3 3.6 41.1 3.4 42.9 2.9 44.7 3.3 46.5 3.6 48.3 3.4 50.1 3.7 51.9 3.2 53.7 2.8 55.6 3.4 57.2 4.4 58.5 5.6 59.1 7.4 59.6 8.9 60.5 10.5 60.3 12.3 60.8 14.1 60.1 15.9 60.3 17.7 60.5 19.5 60.9 21.3 59.8 23.1 59.8 24.9 61.1 26.7 60.8 28.5 60.2 30.3 60.1 32.1 60.7 33.9 60.2 35.7 59.9 37.5 60.2 39.3 60.1 41.1 60.0 42.9 60.2 44.7 60.7 46.5 60.4 48.3 59.9 50.1 60.7 51.9 60.2 53.7 59.9 55.4 59.4 57.1 58.0 58.1 56.8 59.4 55.1 59.7 53.5 60.0 51.7 60.6 49.9 60.7 48.1 60.7 46.3 60.9 44.5 60.2 42.7 59.8 40.9 60.1 39.1 61.0 37.3 60.0 35.5 60.0 33.7 60.0 31.9 60.6 30.1 60.6 28.3 60.8 26.5 60.3 24.7 59.9 22.9 59.3 21.1 60.0 19.3 58.9 17.5 59.9 15.7 60.2 13.9 60.1 12.1 60.1 10.3 60.4 8.5 60.3 6.9 59.5 6.5 57.4 4.3 57.0 3.3 55.4 3.4 53.5 3.1 51.7 3.2 49.9 3.0 48.1 3.3 46.3 2.9 44.5 3.4 42.7 3.0 40.9 3.8 39.1 2.8 37.3 3.9 35.5 2.8 33.7 3.0 31.9 3.7 30.1 3.9 28.3 3.3 26.5 3.7 24.7 4.0 22.9 3.7 21.1 2.8 19.3 2.9 17.5 3.4 15.7 3.4 13.9 4.0 12.1 3.1 10.3 3.5 8.4 4.8 7.0 5.8 5.7 7.1 4.4 9.2 5.4Z' fill='white'/><rect x='8.6' y='8.6' width='46.8' height='46.8' rx='4' fill='none' stroke='black' stroke-width='1.7' stroke-dasharray='40 2.9 59 1.9' stroke-dashoffset='31'/><ellipse cx='58.0' cy='13.5' rx='1.5' ry='0.6' fill='black'/><ellipse cx='49.5' cy='58.8' rx='1.4' ry='1.1' fill='black'/><ellipse cx='55.6' cy='11.1' rx='1.0' ry='0.5' fill='black'/><ellipse cx='51.5' cy='57.6' rx='1.2' ry='1.0' fill='black'/><ellipse cx='17.8' cy='58.5' rx='1.3' ry='0.5' fill='black'/><ellipse cx='44.1' cy='49.9' rx='1.4' ry='0.9' fill='black'/><ellipse cx='58.9' cy='56.8' rx='1.1' ry='0.8' fill='black'/><ellipse cx='58.9' cy='11.9' rx='1.4' ry='0.5' fill='black'/><ellipse cx='14.3' cy='58.9' rx='0.8' ry='1.0' fill='black'/></mask><rect width='64' height='64' fill='white' mask='url%28%23m%29'/></svg>")}
/* arrival: each seal is pressed onto the paper in reading order, ink squeezes out, then it rests */
.wbf-seal.wbf-pre{opacity:0}
.wbf-seal.wbf-go{animation:wbf-press .6s cubic-bezier(.55,0,.8,.3) both;animation-delay:calc(var(--wbf-i,0)*140ms + 100ms)}
.wbf-seal.wbf-go::after{animation:wbf-bleed 1.2s cubic-bezier(.2,.7,.3,1) both;animation-delay:calc(var(--wbf-i,0)*140ms + 430ms)}
@keyframes wbf-press{
  0%{opacity:0;transform:rotate(calc(var(--wbf-r,0deg) - 5deg)) scale(1.24)}
  55%{opacity:1;transform:rotate(var(--wbf-r,0deg)) scale(.94);animation-timing-function:cubic-bezier(.2,.7,.3,1)}
  78%{opacity:1;transform:rotate(var(--wbf-r,0deg)) scale(1.012)}
  100%{opacity:1;transform:rotate(var(--wbf-r,0deg)) scale(1)}}
@keyframes wbf-bleed{0%{opacity:.6;transform:scale(.99)}100%{opacity:0;transform:scale(1.16)}}
/* a hand seats the seal: hover, keyboard focus or a tap on the card (or the tile's own column) rocks it once */
:is(a,[data-wbf-host]):is(:hover,:focus-visible,:active) .wbf-seal,:is(:hover,:active)>.wbf-seal{animation:wbf-rock .8s ease-in-out}
@keyframes wbf-rock{
  0%,100%{transform:rotate(var(--wbf-r,0deg))}
  28%{transform:rotate(calc(var(--wbf-r,0deg) - 3deg)) scale(.96)}
  62%{transform:rotate(calc(var(--wbf-r,0deg) + 2deg)) scale(.975)}}

/* ── 2. Hot figures ── */
.wbf-hot--dark .wbf-hotn{text-shadow:0 0 18px rgba(230,73,37,.34)}          /* at rest the iron is still warm */
.wbf-hot--dark.wbf-hot-pre .wbf-hotn{filter:brightness(2.8) saturate(.28) drop-shadow(0 0 2px rgba(255,236,190,.9)) drop-shadow(0 0 11px rgba(255,150,60,.85))}
.wbf-hot--light.wbf-hot-pre .wbf-hotn{filter:brightness(1.35) saturate(1.5) hue-rotate(24deg) drop-shadow(0 0 6px rgba(255,170,50,.8))}
.wbf-hot--dark.wbf-hot-go .wbf-hotn{animation:wbf-cool 2.8s linear both;animation-delay:calc(var(--wbf-i,0)*240ms + 200ms)}
.wbf-hot--light.wbf-hot-go .wbf-hotn{animation:wbf-cool-l 2.4s linear both;animation-delay:calc(var(--wbf-i,0)*240ms + 200ms)}
@keyframes wbf-cool{   /* white heat, straw, orange, then the resting ember colour */
  0%{filter:brightness(2.8) saturate(.28) drop-shadow(0 0 2px rgba(255,236,190,.9)) drop-shadow(0 0 11px rgba(255,150,60,.85))}
  14%{filter:brightness(2.55) saturate(.4) drop-shadow(0 0 2px rgba(255,226,170,.85)) drop-shadow(0 0 12px rgba(255,140,50,.85));animation-timing-function:cubic-bezier(.3,0,.5,1)}
  42%{filter:brightness(1.75) saturate(1.1) drop-shadow(0 0 1px rgba(255,200,120,.5)) drop-shadow(0 0 9px rgba(255,120,40,.7))}
  72%{filter:brightness(1.18) saturate(1.05) drop-shadow(0 0 0 rgba(255,200,120,0)) drop-shadow(0 0 5px rgba(240,90,40,.4))}
  100%{filter:brightness(1) saturate(1) drop-shadow(0 0 0 rgba(255,200,120,0)) drop-shadow(0 0 0 rgba(230,73,37,0))}}
@keyframes wbf-cool-l{   /* on paper the iron shows as a yellow-orange glow that settles to ember */
  0%{filter:brightness(1.35) saturate(1.5) hue-rotate(24deg) drop-shadow(0 0 6px rgba(255,170,50,.8))}
  18%{filter:brightness(1.35) saturate(1.5) hue-rotate(22deg) drop-shadow(0 0 8px rgba(255,160,50,.8));animation-timing-function:cubic-bezier(.3,0,.5,1)}
  55%{filter:brightness(1.15) saturate(1.2) hue-rotate(9deg) drop-shadow(0 0 4px rgba(240,110,40,.45))}
  100%{filter:brightness(1) saturate(1) hue-rotate(0deg) drop-shadow(0 0 0 rgba(230,73,37,0))}}


/* ── 3. Ink plate: the page's sumi-e sketch on a burnt sheet (EDGES frame), signed with the studio chop ── */
.wbf-plate{width:min(100%,400px);transform:rotate(-1.2deg)}
.wbf-plate--wide{width:min(100%,480px)}
.wbf-plate img{background:#fff}
.wbf-chop{position:absolute;right:11%;bottom:13%;width:30px;height:30px;z-index:3;transform:rotate(-5deg);pointer-events:none}
.wbf-chop svg{display:block;width:100%;height:100%;overflow:visible}
.wbf-plate--chop-tr .wbf-chop{top:12%;bottom:auto}
.wbf-plate--chop-bl .wbf-chop{left:11%;right:auto}
.wbf-plate--chop-tl .wbf-chop{top:12%;bottom:auto;left:11%;right:auto}
.wbf-plate--chop-edge .wbf-chop{right:6.5%;bottom:7%}
.wbf-plate-pre .wbf-chop{opacity:0}
.wbf-plate-go .wbf-chop{animation:wbf-sign .6s cubic-bezier(.55,0,.8,.3) .9s both}
@keyframes wbf-sign{
  0%{opacity:0;transform:rotate(-11deg) scale(1.35)}
  55%{opacity:1;transform:rotate(-5deg) scale(.93);animation-timing-function:cubic-bezier(.2,.7,.3,1)}
  100%{opacity:1;transform:rotate(-5deg) scale(1)}}

/* web-hosting only: the stone lantern lights once the sheet has landed, then its flame stirs (CSS loop, held by the
   site pause). It sits outside the frame so its motion never re-runs the frame's shadow filter. */
.wbf-lampwrap{position:relative;width:min(100%,400px);transform:rotate(-1.2deg)}
.wbf-lampwrap.wbf-plate--wide{width:min(100%,480px)}
.wbf-lampwrap>.wbf-plate{width:100%;transform:none}
.wbf-lamp{position:absolute;left:65%;top:33%;width:30%;aspect-ratio:1;transform:translate(-50%,-50%);pointer-events:none;z-index:4;
  opacity:1;transition:opacity 1.4s cubic-bezier(.3,0,.2,1) .3s}
.wbf-lamp::before{content:"";position:absolute;inset:0;border-radius:50%;
  background:radial-gradient(circle,rgba(255,206,120,.42) 0,rgba(255,176,80,.18) 34%,rgba(255,160,60,0) 68%);
  animation:wbf-flicker 6.7s ease-in-out infinite}
.wbf-lampwrap:has(.wbf-plate-pre) .wbf-lamp{opacity:0}
@keyframes wbf-flicker{0%{opacity:.86}9%{opacity:1}17%{opacity:.8}23%{opacity:.93}38%{opacity:.84}51%{opacity:1}
  58%{opacity:.9}71%{opacity:.78}80%{opacity:.96}91%{opacity:.85}100%{opacity:.86}}

/* phones: two figure tiles share 390 px, so a long word ("Enterprise", "$155B+") must fit on one line */
@media (max-width:420px){
  [data-wbf-hot]>div{padding-left:.7rem;padding-right:.7rem}
  [data-wbf-hot] .font-display{font-size:1.5rem;line-height:1.25;white-space:nowrap}
}
@media (prefers-reduced-motion:reduce){
  .wbf-seal,.wbf-seal::after,.wbf-hotn{animation:none!important}
  .wbf-seal.wbf-pre,.wbf-plate-pre .wbf-chop{opacity:1}
  .wbf-chop,.wbf-lamp::before{animation:none!important}
  .wbf-lamp{transition:none}
  .wbf-hot-pre .wbf-hotn{filter:none}
}
@media (forced-colors:active){
  .wbf-seal::before,.wbf-seal::after{display:none}
  .wbf-seal>svg{color:CanvasText!important}
  .wbf-hotn{filter:none!important;text-shadow:none!important}
  .wbf-lamp{display:none}
}
@media print{.wbf-seal.wbf-pre,.wbf-plate-pre .wbf-chop{opacity:1}.wbf-hotn{filter:none!important;animation:none!important}}
