/* Round 5: a teal satin sash with gold selvedge, painted in WebGL, runs edge to edge of the card over the owners' word.
   The words are real HTML underneath; the canvas is the only thing that covers them. */
.ow--r5{container-type:inline-size}
.owr5{position:absolute;z-index:2;pointer-events:none;left:0;top:0;width:100%;height:100%}
.owr5 canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
/* the words wait (invisible, still in the page) until the canvas covers them; any failure shows them */
html.js .ow--r5:not(.ow-on):not(.ow-off) .ow-tx{opacity:0}
.ow--r5.ow-off .owr5,.ow--r5.ow-done .owr5{display:none}
html:not(.js) .ow--r5::before{content:none}
.ow--r5 .ow-h,.ow--r5 .ow-t,.ow--r5 .ow-f{opacity:1!important;transform:none!important}

/* Round 6: a centred welcome with room around it, and one gold stitch under the signature, laid in after the cut.
   The free height of the sash goes above the words (into the band), so the note-to-h1 gap is a steady fraction of the h1. */
.ow--r5.ow--ribbon{text-align:center}
@media (min-width:900px){.ow--r5.ow--ribbon{margin-bottom:calc(clamp(2.6rem,.5rem + 3.15vw,6.6rem)*.55)}.ow--r5.ow--ribbon .ow-tx{justify-content:flex-end}}
@media (max-width:899px){.ow--r5.ow--ribbon .ow-tx{--ts:clamp(15px,4.2vw,19px)}}
.ow--r5.ow--ribbon .ow-h{line-height:1.12}
.ow--r5.ow--ribbon .ow-t{margin-top:.4em!important;line-height:1.3}
.ow--r5.ow--ribbon .ow-f{margin-top:.5em}
@media (min-width:900px) and (max-height:900px){.ow--r5.ow--ribbon{--band:calc(var(--rh) + 4px)}.hero .hcopy:has(.ow--ribbon){padding-block:12px}}
.ow--r5 .ow-f{justify-content:center;flex-wrap:wrap;column-gap:clamp(16px,2.4cqi,36px);row-gap:4px}
.ow--r5 .ow-s{position:relative;padding:.05em .18em .22em}
.ow--r5 .ow-s::after{content:"";position:absolute;left:.12em;right:.12em;bottom:0;height:4px;border-radius:2px;background:#D7B56D;transform-origin:0 50%}
@media (prefers-reduced-motion:no-preference){
  html.js .ow--r5:not(.ow-done):not(.ow-off) .ow-s::after{transform:scaleX(0)}
  html.js .ow--r5.ow-done .ow-s::after{animation:owr5-stitch 280ms cubic-bezier(.22,.8,.24,1) 450ms backwards}
}
@keyframes owr5-stitch{from{transform:scaleX(0)}}
