/* Owner's word. Lives in .hcopy above the h1. Real HTML text always; canvas is only the painted layer. */
.ow{--owh:max(108px,calc(18vh - 36px));--hs:max(21px,calc(var(--owh)*.22));--ts:max(15px,calc(var(--owh)*.125));--cs:max(13px,calc(var(--ts)*.84));--ss:calc(var(--owh)*.34);--band:calc(var(--owh)*.33);
  --gold:#D7B56D;--ink:#10282A;--teal:#0A5456;
  position:relative;display:block;margin:0 0 clamp(8px,1.1vh,24px);color:var(--ink);isolation:isolate}
.ow-cv{position:absolute;left:0;top:0;pointer-events:none;z-index:0}
.ow-tx{position:relative;z-index:1;display:flex;flex-direction:column;justify-content:flex-end;height:var(--owh);padding-top:var(--band)}
.ow-tx p{margin:0}
.ow-h{font:italic 400 var(--hs)/1.12 Cardo,"Iowan Old Style",Georgia,serif;color:var(--ink);letter-spacing:.005em}
.ow-t{font:400 var(--ts)/1.35 Jost,"Segoe UI",system-ui,sans-serif;color:#25403F;margin-top:.3em!important}
.ow-f{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-top:2px}
.ow-c{font:400 var(--cs)/1.3 Jost,"Segoe UI",system-ui,sans-serif;color:var(--muted,#46605F)}
.ow-c a{color:var(--acc,#0A5456);text-underline-offset:3px}
/* placeholder signature: the owner's real handwriting replaces it */
.ow-s{font:italic 400 var(--ss)/.8 Cardo,Georgia,serif;color:var(--teal);transform:rotate(-4deg);margin:calc(var(--ss)*-.55) 6px 0 0!important;padding:.1em .15em}
.ow-h,.ow-t,.ow-c{-webkit-mask-image:linear-gradient(90deg,#000 calc(var(--fx,9999px) - 40px),transparent var(--fx,9999px));mask-image:linear-gradient(90deg,#000 calc(var(--fx,9999px) - 40px),transparent var(--fx,9999px))}
.ow-s{-webkit-mask-image:linear-gradient(90deg,#000 calc(var(--ks,110)*1% - 14%),transparent calc(var(--ks,110)*1%));mask-image:linear-gradient(90deg,#000 calc(var(--ks,110)*1% - 14%),transparent calc(var(--ks,110)*1%))}
.ow-done .ow-h,.ow-done .ow-t,.ow-done .ow-c,.ow-done .ow-s{-webkit-mask-image:none;mask-image:none}
/* no JS: a plain 4 px gold rule stands in for the painted layer (the finished still ships as WebP) */
html:not(.js) .ow{border-top:4px solid var(--gold);padding-top:10px}
.hero .hcopy .ow+h1{margin-top:0}
@media (min-width:900px){.hero .hcopy .ow+h1{margin-top:0}}
@media (max-width:899px){
  /* phone: slim strip under the hero, paper ground, plays when scrolled into view */
  .ow{--owh:auto;--hs:clamp(22px,6.2vw,30px);--ts:max(15px,4.1vw);--cs:14px;--ss:clamp(40px,12vw,56px);--band:clamp(54px,15vw,72px);margin:0;padding:0 var(--gut,16px) 22px;background:linear-gradient(160deg,#F9FCFB,#F4F8F6 45%,#E6EFEC);position:relative;z-index:2}
  .ow-cv{left:0}
  .ow-tx{height:auto;padding-top:var(--band);padding-inline:0}
  .ow-s{margin:0 6px 0 0!important}
}

@media (min-width:900px) and (max-height:900px){.hero .hcopy{padding-block:26px}}

.ow-k{color:#82631A}
/* ribbon (round 2): left-aligned under a satin band at the top; the words fade up after the cut, nothing is half-visible */
.ow--ribbon{--owh:max(112px,min(calc(30vh - 124px),calc(112px + (100vh - 800px)*.14 + max(0px,100vh - 1080px)*1.2)));--rh:clamp(26px,calc(var(--owh)*.15),54px);--band:calc(var(--rh) + clamp(10px,calc(var(--owh)*.06),22px));container-type:inline-size}
.ow--ribbon .ow-tx{--hs:min(7.4cqi,max(calc(var(--owh)*.27),calc(36px + (100vh - 800px)*.028)));--ts:max(15px,min(3.7cqi,max(calc(var(--owh)*.115),calc(18px + (100vh - 800px)*.011))));--cs:max(13px,calc(var(--ts)*.8));--ss:calc(var(--ts)*1.8);height:auto;min-height:var(--owh);justify-content:flex-start}
.ow--ribbon .ow-h{opacity:var(--oh,1);transform:translateY(calc((1 - var(--oh,1))*12px));-webkit-mask-image:none;mask-image:none}
.ow--ribbon .ow-t{opacity:var(--ot,1);transform:translateY(calc((1 - var(--ot,1))*12px));-webkit-mask-image:none;mask-image:none}
.ow--ribbon .ow-f{justify-content:flex-start;align-items:center;gap:clamp(20px,3cqi,44px);margin-top:.45em;opacity:var(--oc,1)}
.ow--ribbon .ow-s{order:-1;margin:0!important;padding:.05em .1em;font-size:var(--ss);transform:rotate(-3deg)}
.ow--ribbon .ow-c{-webkit-mask-image:none;mask-image:none}
html:not(.js) .ow--ribbon{border-top:0;padding-top:0}
html:not(.js) .ow--ribbon::before{content:"";position:absolute;left:calc(-1*clamp(28px,3.6vw,84px));right:calc(-1*clamp(28px,3.6vw,84px));top:0;bottom:0;background:url(ribbon-still-1280.webp) 0 0/100% 100% no-repeat}
@media (min-width:1600px){html:not(.js) .ow--ribbon::before{background-image:url(ribbon-still-1920.webp)}}
@media (min-width:2200px){html:not(.js) .ow--ribbon::before{background-image:url(ribbon-still-2560.webp)}}
@media (max-width:899px){
  .ow--ribbon{--rh:24px;--band:36px;padding-top:0}
  .ow--ribbon .ow-tx{--hs:clamp(22px,6.4vw,30px);--ts:max(15px,4.2vw);--ss:clamp(38px,11vw,50px);min-height:0}
  .ow--ribbon .ow-f{flex-wrap:wrap;gap:6px 18px}
  html:not(.js) .ow--ribbon::before{left:0;right:0;background-image:url(ribbon-still-390.webp)}
}
@media (max-width:359px){html:not(.js) .ow--ribbon::before{background-image:url(ribbon-still-320.webp)}}
@media (min-width:900px) and (max-height:900px){.hero .hcopy:has(.ow--ribbon){padding-block:16px}}
@media (min-width:900px){.ow--ribbon .ow-h{line-height:1.04}.ow--ribbon .ow-t{line-height:1.22;margin-top:.15em!important}.ow--ribbon .ow-f{margin-top:.1em}}
@media (min-width:900px) and (max-height:900px){.ow--ribbon{margin-bottom:calc(6px + (100vh - 800px)*.02)}}
