/* Alternative hero layouts (hero-variants.js), only on ?hero=1 to 15. Every rule
   is scoped to html[data-hero="n"] and the landing page, so the public page and
   the studio (once a photo is chosen) are untouched. The real headline, the line
   under it and the real button (#note) stay; the tile rows are hidden. */
@font-face{font-family:HVDingwalls;src:url('/static/try-demo/dingwalls-round2-cheap.woff?v=20261120-t1') format('woff');font-display:swap}
@font-face{font-family:HVFantine;src:url('/static/try-demo/fantine-round2-cheap.woff') format('woff');font-display:swap}
@font-face{font-family:HVBeaujolais;src:url('/static/try-demo/beaujolais-feedback-1.woff') format('woff');font-display:swap}
@font-face{font-family:HVBirthdayParty;src:url('/static/try-demo/birthday-party-round2-cheap.woff') format('woff');font-display:swap}
@font-face{font-family:HVPepe;src:url('/static/try-demo/pepe-example.woff') format('woff');font-display:swap}
@font-face{font-family:HVPaloma;src:url('/static/try-demo/paloma-example.woff') format('woff');font-display:swap}
@font-face{font-family:HVRefrescos;src:url('/static/try-demo/refrescos-example.woff') format('woff');font-display:swap}

:root{--hv-ink:#191919;--hv-grey:#77777c;--hv-shadow:0 1px 2px rgb(0 0 0 / .06),0 18px 40px -18px rgb(0 0 0 / .34);--hv-shadow-lift:0 2px 4px rgb(0 0 0 / .07),0 28px 56px -20px rgb(0 0 0 / .4)}

/* The switcher pill. */
.hv-switch{position:fixed;left:50%;bottom:max(16px,env(safe-area-inset-bottom));translate:-50% 0;z-index:65;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:2px;width:340px;max-width:calc(100vw - 24px);box-sizing:border-box;padding:5px;border-radius:22px;
 background:rgb(255 255 255 / .9);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:0 0 0 1px rgb(0 0 0 / .06),0 10px 30px -10px rgb(0 0 0 / .3);font:600 13px/1 Inter,sans-serif;color:var(--hv-ink);white-space:nowrap}
.hv-switch-label{padding:0 8px 0 10px;color:var(--hv-grey)}
.hv-switch-dot{padding:0 2px;color:#bbb}
.hv-switch-br{flex-basis:100%;height:0}
nav.hv-switch{gap:2px;row-gap:2px;height:auto;margin:0}
nav.hv-switch a{flex:none;margin:0}
.hv-switch a{display:grid;place-items:center;min-width:32px;height:32px;padding:0 10px;box-sizing:border-box;border-radius:999px;color:inherit;text-decoration:none;transition:background .15s}
.hv-switch a:hover{background:#f0f0f0}
.hv-switch a[aria-current=page]{background:var(--hv-ink);color:#fff}
.hv-switch a:focus-visible{outline:2px solid var(--hv-ink);outline-offset:2px}
.fs-lock .hv-switch{display:none}
@media(max-width:400px){.hv-switch{font-size:12px;width:316px}.hv-switch a{min-width:30px;height:30px;padding:0 7px}.hv-switch-label{padding:0 4px 0 8px}}

/* Shared. */
html[data-hero]:not([data-hero="0"]) body.landing-mode .hero>.hero-examples{display:none!important}
body:not(.landing-mode) .hv{display:none!important}
html[data-hero] body.landing-mode .hv-sr{position:absolute!important;width:1px;height:1px;margin:0;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
html[data-hero]:not([data-hero="0"]) body.landing-mode .hero{min-height:calc(100svh - 82px);padding-bottom:120px}
.hv button{font:inherit;color:inherit}
.hv :is(button,[role=tab]):focus-visible{outline:2px solid var(--hv-ink);outline-offset:4px}
@media(prefers-reduced-motion:no-preference){
 .hv{animation:hv-rise .7s cubic-bezier(.2,.9,.3,1.1) both;animation-delay:calc(var(--hv-delay,0) * 1ms)}
}
@keyframes hv-rise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
/* Inter Black squeezed to read as a condensed face (no condensed face ships):
   laid out 1/.82 wide and scaled back, so it wraps and centres as drawn. */
.hv-cond{display:block;align-self:center;box-sizing:border-box;width:calc(100% / .82);max-width:none;margin-inline:0;transform:scaleX(.82);transform-origin:50% 50%;
 font-family:Inter,sans-serif;font-weight:900;font-synthesis:none;text-align:center;letter-spacing:-.02em;line-height:.9}
@media(prefers-reduced-motion:no-preference){.hv.hv-cond{animation-name:hv-rise-cond}}
@keyframes hv-rise-cond{from{opacity:0;transform:translateY(18px) scaleX(.82)}to{opacity:1;transform:scaleX(.82)}}

/* 1. Gabor. */
[data-hero="1"] body.landing-mode .hero{justify-content:flex-start;padding-top:clamp(24px,4vh,48px)}
[data-hero="1"] body.landing-mode .hero>.hv-g-title{order:2;--hv-delay:0}
[data-hero="1"] body.landing-mode .hero>.hv-g-fan{order:3;--hv-delay:140}
[data-hero="1"] body.landing-mode .hero>.hv-g-tag{order:4;--hv-delay:220}
[data-hero="1"] body.landing-mode .hero>.landing-intro{order:4}
[data-hero="1"] body.landing-mode .hero>.note{order:6;margin-top:clamp(22px,3.4vh,36px)}
.hv-g-title{margin:clamp(8px,2vh,24px) 0 0;font-size:clamp(68px,min(12vw,14.5vh),160px);color:#333}
.hv-g-fan{display:flex;justify-content:center;align-items:center;margin:clamp(18px,3.4vh,36px) 0 clamp(14px,3vh,32px);--w:clamp(84px,min(14vw,21vh),200px)}
.hv-g-card{position:relative;flex:none;width:var(--w);aspect-ratio:1;margin:0 calc(var(--w) * -.12);padding:0;border:0;border-radius:calc(var(--w) * .1);overflow:hidden;background:#f2f2f2;cursor:pointer;
 box-shadow:var(--hv-shadow);transform:translate(0,var(--y)) rotate(var(--r));transition:transform .45s cubic-bezier(.25,1.3,.4,1),box-shadow .3s ease-out}
.hv-g-card img{display:block;width:100%;height:100%;object-fit:cover;pointer-events:none}
@media(hover:hover){
 .hv-g-fan:hover .hv-g-card{transform:translate(calc(var(--i) * var(--w) * .12),calc(var(--y) - 6px)) rotate(calc(var(--r) * 1.15))}
 .hv-g-fan .hv-g-card:hover{z-index:2;box-shadow:var(--hv-shadow-lift);transform:translate(calc(var(--i) * var(--w) * .12),calc(var(--y) - 22px)) rotate(calc(var(--r) * .4)) scale(1.05)}
}
.hv-g-card:focus-visible{z-index:2}
.hv-g-tag{margin:0;font-size:clamp(40px,min(7.6vw,9.4vh),118px);line-height:.92;color:#d2d2d4;text-wrap:balance}
@media(prefers-reduced-motion:reduce){.hv-g-card{transition:none}}
@media(max-width:700px){
 [data-hero="1"] body.landing-mode .hero{padding-top:28px}
 .hv-g-title{font-size:clamp(48px,16.4vw,72px)}
 .hv-g-tag{font-size:clamp(34px,11.4vw,52px)}
 .hv-g-fan{--w:clamp(76px,22vw,110px);margin-block:26px 22px}
}

/* 2. Product window. */
[data-hero="2"] body.landing-mode .hero{justify-content:flex-start;padding-top:clamp(28px,6vh,64px)}
[data-hero="2"] body.landing-mode .hero>.landing-intro{order:1}
[data-hero="2"] body.landing-mode .hero>.note{order:2;margin-top:6px}
[data-hero="2"] body.landing-mode .hero>.hv-w{order:3;--hv-delay:450}
[data-hero="2"] body.landing-mode .landing-intro h1{font-size:clamp(40px,4.6vw,68px)}
[data-hero="2"] body.landing-mode .landing-intro p{margin-bottom:8px}
.hv-w{width:min(1080px,100%);margin:clamp(36px,6vh,60px) auto 0;border-radius:18px;background:#fff;overflow:hidden;
 box-shadow:0 0 0 1px rgb(0 0 0 / .07),0 2px 6px rgb(0 0 0 / .04),0 40px 80px -34px rgb(0 0 0 / .32)}
.hv-w-bar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;height:40px;padding:0 14px;background:#f6f5f3;border-bottom:1px solid #ecebe8;font:500 12px/1 Inter,sans-serif;color:#8a8a8e}
.hv-w-dots{display:flex;gap:7px}
.hv-w-dots i{width:11px;height:11px;border-radius:50%;background:#ff5f57}
.hv-w-dots i:nth-child(2){background:#febc2e}
.hv-w-dots i:nth-child(3){background:#28c840}
.hv-w-title{white-space:nowrap}
.hv-w-body{display:grid;grid-template-columns:76px minmax(0,.82fr) minmax(0,1.18fr);height:clamp(380px,52vh,520px)}
.hv-w-side{display:flex;flex-direction:column;gap:10px;padding:14px 12px;border-right:1px solid #f0efec;background:#fbfaf8;overflow:hidden}
.hv-w-tab{flex:none;width:52px;height:52px;padding:0;border:0;border-radius:12px;overflow:hidden;background:#eee;cursor:pointer;opacity:.55;transition:opacity .2s,box-shadow .2s}
.hv-w-tab img{display:block;width:100%;height:100%;object-fit:cover}
.hv-w-tab:hover{opacity:.85}
.hv-w-tab[aria-selected=true]{opacity:1;box-shadow:0 0 0 2px #fff,0 0 0 4px var(--hv-ink)}
.hv-w-photo{position:relative;margin:16px 0 16px 16px;padding:0;border:0;border-radius:14px;overflow:hidden;background:#f2f0ec;cursor:pointer}
.hv-w-photo img{display:block;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .5s ease}
.hv-w-photo img.is-in{opacity:1}
.hv-w-chip{position:absolute;left:12px;bottom:12px;display:flex;align-items:center;gap:7px;padding:7px 11px 7px 9px;border-radius:999px;background:rgb(255 255 255 / .92);font:600 11px/1 Inter,sans-serif;color:var(--hv-ink);box-shadow:0 4px 14px -6px rgb(0 0 0 / .3)}
.hv-w-chip-dot{width:7px;height:7px;border-radius:50%;background:#28c840}
.hv-w-font{display:flex;flex-direction:column;min-width:0;padding:22px 28px 20px}
.hv-w-meta{display:flex;align-items:baseline;gap:10px;font:600 14px/1.2 Inter,sans-serif;color:var(--hv-ink)}
.hv-w-label{font-weight:500;font-size:12px;color:var(--hv-grey)}
.hv-w-type{flex:1;display:flex;align-items:center;flex-wrap:wrap;min-height:0;overflow:hidden;font-size:clamp(44px,5.4vw,84px);line-height:1.05;color:var(--hv-ink);overflow-wrap:anywhere}
.hv-w-caret{display:inline-block;width:3px;height:.9em;margin-left:4px;border-radius:2px;background:#3b82f6;vertical-align:middle}
.hv-w-type.is-typing .hv-w-caret{animation:hv-caret 1s steps(1) infinite}
@keyframes hv-caret{50%{opacity:0}}
.hv-w-glyphs{padding:12px 0 14px;border-top:1px solid #f0efec;font-size:22px;letter-spacing:.04em;color:#a2a2a6;white-space:nowrap;overflow:hidden}
.hv-w-foot{display:flex;align-items:center;justify-content:space-between;gap:12px}
.hv-w-size{display:flex;align-items:center;gap:8px;font:600 11px/1 Inter,sans-serif;color:#a2a2a6}
.hv-w-size span:last-child{font-size:16px}
.hv-w-size i{position:relative;width:110px;height:4px;border-radius:4px;background:#ecebe8}
.hv-w-size b{position:absolute;left:62%;top:50%;width:14px;height:14px;margin:-7px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgb(0 0 0 / .25)}
.hv-w-open{height:34px;padding:0 16px;border:0;border-radius:999px;background:#f0efec;font:600 12px/1 Inter,sans-serif!important;cursor:pointer;transition:background .15s}
.hv-w-open:hover{background:#e6e5e1}
@media(prefers-reduced-motion:reduce){.hv-w-photo img{transition:none}.hv-w-type .hv-w-caret{animation:none}}
@media(max-width:700px){
 [data-hero="2"] body.landing-mode .hero{padding-top:36px}
 [data-hero="2"] body.landing-mode .landing-intro h1{font-size:clamp(36px,10.6vw,44px)}
 .hv-w{margin-top:34px;border-radius:16px}
 .hv-w-bar{height:34px}.hv-w-title{font-size:11px}.hv-w-title-name{display:none}
 .hv-w-body{grid-template-columns:minmax(0,1fr);grid-template-rows:auto 210px auto;height:auto}
 .hv-w-side{flex-direction:row;gap:8px;padding:10px 12px;border-right:0;border-bottom:1px solid #f0efec}
 .hv-w-tab{width:36px;height:36px;border-radius:9px}
 .hv-w-photo{margin:12px 12px 0}
 .hv-w-font{padding:14px 16px 14px}
 .hv-w-type{min-height:2.2em;font-size:44px}
 .hv-w-glyphs{font-size:18px;padding:8px 0 10px}
 .hv-w-size i{width:70px}
}

/* 3. Split. */
@media(min-width:901px){
 [data-hero="3"] body.landing-mode .hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:1fr auto auto 1fr;grid-template-areas:". art" "intro art" "cta art" ". art";
  column-gap:clamp(32px,5vw,96px);align-items:center;padding-inline:clamp(16px,4vw,72px);box-sizing:border-box}
 [data-hero="3"] body.landing-mode .hero>.landing-intro{grid-area:intro;max-width:none;margin:0;text-align:left}
 [data-hero="3"] body.landing-mode .hero>.note{grid-area:cta;justify-self:start;margin:30px 0 0}
 [data-hero="3"] body.landing-mode .hero>.hv-s-art{grid-area:art;justify-self:center}
 [data-hero="3"] body.landing-mode .landing-intro h1{text-align:left;font-size:clamp(52px,5vw,84px)}
}
[data-hero="3"] body.landing-mode .landing-intro p{text-align:left;font-size:16px;line-height:1.55;margin-top:20px}
[data-hero="3"] body.landing-mode .note #uploadButton{margin-inline:0}
.hv-s-art{--hv-delay:300;position:relative;width:min(420px,32vw,calc((100svh - 300px) * .8));padding:0 0 70px 40px}
.hv-s-stage{position:relative;aspect-ratio:4/5}
.hv-s-slide{position:absolute;inset:0;display:block;padding:0;border:0;background:none;cursor:pointer;opacity:0;visibility:hidden;transition:opacity .9s ease,visibility 0s linear .9s}
.hv-s-slide.is-on{opacity:1;visibility:visible;transition:opacity .9s ease,visibility 0s}
.hv-s-photo{position:absolute;inset:0;border-radius:28px;overflow:hidden;background:#f2f0ec;box-shadow:var(--hv-shadow-lift);transform:rotate(3.5deg)}
.hv-s-photo img{display:block;width:100%;height:100%;object-fit:cover}
.hv-s-card{position:absolute;left:-40px;bottom:-56px;display:flex;flex-direction:column;gap:10px;min-width:62%;max-width:96%;padding:18px 22px 20px;box-sizing:border-box;border-radius:20px;background:#fff;text-align:left;
 box-shadow:0 0 0 1px rgb(0 0 0 / .04),0 22px 44px -18px rgb(0 0 0 / .32);transform:rotate(-3deg)}
.hv-s-meta{display:flex;gap:8px;align-items:baseline;font:500 12px/1.2 Inter,sans-serif;color:var(--hv-grey)}
.hv-s-meta b{font-weight:600;color:var(--hv-ink)}
.hv-s-word{font-size:clamp(34px,3.4vw,52px);line-height:1.05;color:var(--hv-ink);white-space:nowrap}
.hv-s-slide:hover .hv-s-photo{box-shadow:0 2px 4px rgb(0 0 0 / .07),0 34px 64px -22px rgb(0 0 0 / .42)}
.hv-s-dots{position:absolute;left:40px;right:0;bottom:0;display:flex;justify-content:flex-end;gap:6px}
.hv-s-dot{width:8px;height:8px;padding:0;border:0;border-radius:50%;background:#d8d8da;cursor:pointer;transition:background .2s,width .2s}
.hv-s-dot[aria-pressed=true]{width:22px;border-radius:8px;background:var(--hv-ink)}
@media(prefers-reduced-motion:reduce){.hv-s-slide,.hv-s-slide.is-on{transition:none}}
@media(max-width:900px){
 [data-hero="3"] body.landing-mode .hero{justify-content:flex-start;padding-top:40px}
 [data-hero="3"] body.landing-mode .hero>.landing-intro{order:1;margin:0;max-width:none;text-align:left}
 [data-hero="3"] body.landing-mode .landing-intro h1{text-align:left}
 [data-hero="3"] body.landing-mode .hero>.note{order:2;align-self:flex-start;width:auto;margin:24px 0 0}
 [data-hero="3"] body.landing-mode .hero>.hv-s-art{order:3;align-self:center;width:min(300px,68vw);margin-top:44px;padding:0 0 64px 30px}
 .hv-s-card{left:-30px;bottom:-48px;padding:14px 16px 16px;border-radius:16px}
 .hv-s-word{font-size:32px}
 .hv-s-dots{left:30px}
}

/* 4. Marquee. */
[data-hero="4"] body.landing-mode .hero>.landing-intro{order:1;position:relative;z-index:2}
[data-hero="4"] body.landing-mode .hero>.hv-m{order:2;--hv-delay:250}
[data-hero="4"] body.landing-mode .hero>.note{order:3;margin-top:34px;z-index:2}

.hv-m{--t:clamp(92px,min(9.2vw,13.4vh),140px);--gap:calc(var(--t) * .13);position:relative;z-index:1;display:flex;flex-direction:column;gap:var(--gap);width:100%;margin-top:calc(var(--t) * -1.08 - var(--gap) + 14px);padding:12px 0;overflow:hidden;
 -webkit-mask-image:linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent);mask-image:linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent)}
.hv-m-row{display:flex;overflow:visible}
.hv-m-track{display:flex;flex:none;gap:var(--gap);padding:6px 0 10px;animation:hv-drift var(--dur,80s) linear infinite}
.hv-m-row.is-reverse .hv-m-track{animation-direction:reverse}
.hv-m-row.is-behind{position:relative;z-index:-1;margin-bottom:calc(var(--t) * .08);opacity:.16;filter:grayscale(.3)}
.hv-m-row.is-behind .hv-m-tile{pointer-events:none}
.hv-m:hover .hv-m-track,.hv-m:focus-within .hv-m-track{animation-play-state:paused}
@keyframes hv-drift{from{transform:translateX(0)}to{transform:translateX(calc(-50% - var(--gap) / 2))}}
.hv-m-tile{flex:none;width:var(--t);aspect-ratio:1;padding:0;border:0;border-radius:calc(var(--t) * .14);overflow:hidden;background:#f2f2f2;cursor:pointer;
 box-shadow:0 1px 2px rgb(0 0 0 / .06),0 12px 24px -14px rgb(0 0 0 / .34);transform:rotate(var(--r));transition:transform .35s cubic-bezier(.3,1.5,.5,1),box-shadow .2s}
.hv-m-tile img{display:block;width:100%;height:100%;object-fit:cover;pointer-events:none}
.hv-m-tile:hover{transform:rotate(0deg) scale(1.07);box-shadow:var(--hv-shadow-lift)}
@media(prefers-reduced-motion:reduce){
 .hv-m-track{animation:none}
 .hv-m-row{justify-content:center}
 .hv-m-row.is-reverse .hv-m-track{transform:translateX(calc(var(--t) * -.5))}
 .hv-m-tile.is-copy{visibility:hidden}
 .hv-m-tile{transition:none}
}
@media(max-width:700px){
 .hv-m{--t:92px;width:calc(100% + 40px);margin-inline:-20px}
 [data-hero="4"] body.landing-mode .hero>.note{margin-top:26px}
}

/* 5. One find. */
[data-hero="5"] body.landing-mode .hero{justify-content:flex-start;padding-top:clamp(28px,4.4vh,48px)}
[data-hero="5"] body.landing-mode .hero>.hv-o-photo{order:1}
[data-hero="5"] body.landing-mode .hero>.hv-o-title{order:2;--hv-delay:160}
[data-hero="5"] body.landing-mode .hero>.landing-intro{order:2}
[data-hero="5"] body.landing-mode .hero>.hv-o-cap{order:3;--hv-delay:260}
[data-hero="5"] body.landing-mode .hero>.note{order:4;margin-top:28px}
.hv-o-photo{align-self:center;width:min(60%,calc((100svh - 82px - 440px) * 16 / 9));min-width:min(600px,88%);aspect-ratio:16/9;padding:0;border:0;border-radius:clamp(18px,2.2vw,32px);overflow:hidden;background:#f2f0ec;cursor:pointer;
 box-shadow:var(--hv-shadow-lift);rotate:-2.2deg;transition:rotate .5s cubic-bezier(.25,1.3,.4,1),scale .5s cubic-bezier(.25,1.3,.4,1)}
.hv-o-photo img{display:block;width:100%;height:100%;object-fit:cover}
.hv-o-photo:hover{rotate:-1deg;scale:1.015}
.hv-o-title{margin:clamp(26px,4vh,40px) 0 0;text-align:center;font:700 clamp(38px,4.2vw,64px)/1.04 Inter,sans-serif;font-synthesis:none;letter-spacing:-.055em;color:var(--hv-ink)}
.hv-o-word{white-space:nowrap}
.hv-o-ch{display:inline-block}
.hv-o-ch.is-found{font-weight:400;letter-spacing:0;margin-inline:.02em;color:var(--find-colour);rotate:var(--tilt,0deg)}
.hv-o-cap{display:flex;justify-content:center;align-items:center;gap:6px;margin:16px 0 0;font:500 14px/1.3 Inter,sans-serif;color:var(--hv-grey)}
.hv-o-cap span{color:var(--hv-ink);font-weight:600}
@media(prefers-reduced-motion:reduce){.hv-o-photo{transition:none}}
@media(max-width:700px){
 [data-hero="5"] body.landing-mode .hero{padding-top:40px}
 .hv-o-photo{width:100%;min-width:0;border-radius:20px;rotate:-2deg}
 .hv-o-title{font-size:clamp(36px,10.6vw,44px);margin-top:34px}
 .hv-o-break{display:none}
 .hv-o-cap{font-size:13px}
}

/* 6 to 15: riffs on 1. Shared: the big title, the soft line and a photo card. */
.hv-riff body.landing-mode .hero{justify-content:flex-start;padding-top:clamp(20px,3.6vh,44px)}
.hv-riff body.landing-mode .hero>.note{margin-top:clamp(22px,3.4vh,36px)}
.hv-big{margin:0;font-size:clamp(68px,min(12vw,14.5vh),160px);color:#333}
.hv-soft{margin:0;font-size:clamp(40px,min(7.6vw,9.4vh),118px);line-height:.92;color:#d2d2d4;text-wrap:balance}
.hv-c{position:relative;flex:none;width:var(--w);aspect-ratio:1;padding:0;border:0;border-radius:calc(var(--w) * .1);overflow:hidden;background:#f2f2f2;cursor:pointer;box-shadow:var(--hv-shadow);
 transition:translate .45s cubic-bezier(.25,1.3,.4,1),rotate .45s cubic-bezier(.25,1.3,.4,1),scale .45s cubic-bezier(.25,1.3,.4,1),box-shadow .3s ease-out}
.hv-c img{display:block;width:100%;height:100%;object-fit:cover;pointer-events:none}
.hv-c:hover{box-shadow:var(--hv-shadow-lift)}
.hv-c:focus-visible{z-index:30!important}
@media(max-width:700px){
 .hv-big{font-size:clamp(48px,16.4vw,72px)}
 .hv-soft{font-size:clamp(34px,11.4vw,52px)}
}

/* 6. Arch. */
.hv-arch{--w:clamp(72px,min(8vw,12.4vh),120px);--R:calc(var(--w) * 3.4);--step:20deg;position:relative;width:100%;height:calc(var(--R) * (1 - cos(var(--step) * 3)) + var(--w) * 1.2);margin-top:clamp(18px,3vh,36px)}
.hv-arch .hv-c{position:absolute;left:calc(50% - var(--w) / 2 + sin(var(--k) * var(--step)) * var(--R));top:calc((1 - cos(var(--k) * var(--step))) * var(--R));rotate:calc(var(--k) * var(--step))}
.hv-arch .hv-c:hover{z-index:2;scale:1.07}
.hv-arch-title{margin-top:calc(var(--hv-lift,0px) - 4px)}
[data-hero="6"] .hv-soft{margin-top:clamp(6px,1.4vh,16px)}
@media(max-width:700px){
 .hv-arch{--w:58px;--R:calc(var(--w) * 2.9);--step:17deg}
}

/* 7. Found title. */
.hv-ft{margin:clamp(8px,2vh,24px) 0 0;text-align:center;font:700 clamp(60px,min(10vw,13vh),148px)/1.02 Inter,sans-serif;font-synthesis:none;letter-spacing:-.045em;color:#333}
.hv-ft-word{white-space:nowrap}
.hv-ft-ch{display:inline-block}
.hv-ft-ch.is-found{font-weight:400;letter-spacing:0;margin-inline:.012em;rotate:var(--t,0deg)}
.hv-ft-tag{margin-top:clamp(10px,2vh,22px)}
.hv-ft-fan{margin-top:clamp(26px,4.4vh,48px)!important}
@media(max-width:700px){.hv-ft{font-size:clamp(46px,14vw,64px)}}

/* 8. Deck: deals out as the page scrolls, or on hover. */
@property --hv-fs{syntax:'<number>';inherits:true;initial-value:.3}
@property --hv-fh{syntax:'<number>';inherits:true;initial-value:0}
.hv-deck{--w:clamp(100px,min(12vw,20vh),180px);--sp:.7;--f:max(var(--hv-fs),var(--hv-fh));position:relative;width:100%;height:calc(var(--w) * 1.5);margin:clamp(18px,3vh,34px) 0 clamp(8px,1.6vh,20px);transition:--hv-fh .6s cubic-bezier(.3,1.2,.5,1)}
.hv-deck:hover,.hv-deck:focus-within{--hv-fh:1}
.hv-deck .hv-c{position:absolute;left:calc(50% - var(--w) / 2);top:calc(var(--w) * .12);
 translate:calc(var(--k) * var(--w) * var(--sp) * var(--f)) calc(var(--d) * var(--d) * var(--w) * .05 * var(--f));rotate:calc(var(--k) * 6deg * var(--f));transition:scale .3s,box-shadow .3s}
.hv-deck .hv-c:hover{z-index:20!important;scale:1.05}
@supports (animation-timeline:scroll()){
 @media(prefers-reduced-motion:no-preference){.hv.hv-deck{animation:hv-deal linear both;animation-timeline:scroll(root);animation-range:0 260px}}
}
@keyframes hv-deal{from{--hv-fs:.16}to{--hv-fs:1}}
@media(prefers-reduced-motion:reduce){.hv-deck{--hv-fs:1}}
.hv-outline{color:transparent;-webkit-text-stroke:1.5px #bdbdc2}
@media(max-width:700px){.hv-deck{--w:84px;--sp:.56}.hv-outline{-webkit-text-stroke-width:1.2px}}

/* 9. Spill under the title. */
.hv-spill-stage{--w:clamp(84px,min(10.4vw,17vh),160px);display:grid;place-items:center;width:100%;margin-top:clamp(10px,2vh,24px)}
.hv-spill{grid-area:1/1;position:relative;width:min(100%,calc(var(--w) * 7.4));height:calc(var(--w) * 2.3)}
.hv-spill .hv-c{position:absolute;left:calc(50% - var(--w) / 2 + var(--x) * (100% - var(--w)) / 100);top:calc(50% - var(--w) / 2 + var(--y) * var(--w) / 100);rotate:var(--r)}
.hv-spill .hv-c:hover{z-index:5;scale:1.07;rotate:0deg}
.hv-spill-title{grid-area:1/1;position:relative;z-index:3;pointer-events:none;font-size:clamp(72px,min(13vw,16vh),190px);paint-order:stroke fill;-webkit-text-stroke:.09em #fff}
[data-hero="9"] .hv-soft{margin-top:clamp(14px,2.6vh,30px)}
@media(max-width:700px){.hv-spill-stage{--w:62px}.hv-spill-title{font-size:clamp(54px,17.6vw,76px)}}

/* 10. Tower. */
.hv-tower{--w:clamp(110px,min(13vw,17.5vh),190px);position:relative;width:calc(var(--w) * 1.5);height:calc(var(--w) * 3.6);margin:clamp(16px,3vh,32px) auto}
.hv-tower .hv-c{position:absolute;left:calc(50% - var(--w) / 2 + var(--x));top:calc(var(--k) * var(--w) * .65);rotate:var(--r)}
.hv-tower .hv-c:hover{z-index:9;translate:-10% 0;rotate:0deg}
@media(min-width:901px){
 html[data-hero="10"] body.landing-mode .hero{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);grid-template-rows:1fr auto auto auto 1fr;column-gap:4vw;padding-inline:clamp(0px,2vw,40px)}
 [data-hero="10"] .hero>.hv-big{grid-area:2/1;font-size:clamp(80px,min(10.6vw,16vh),170px)}
 [data-hero="10"] .hero>.hv-soft{grid-area:3/1;margin-top:clamp(10px,2vh,22px);font-size:clamp(40px,min(5.4vw,8vh),92px)}
 [data-hero="10"] .hero>.note{grid-area:4/1;justify-self:start;margin-inline:0!important}
 [data-hero="10"] .hero>.hv-tower{grid-area:1/2/6/3;align-self:center}
 .hv-left{width:calc(100% / .82);text-align:left;transform-origin:0 50%}
 [data-hero="10"] .note #uploadButton{margin-inline:0}
}
@media(max-width:900px){.hv-tower{--w:clamp(72px,22vw,96px)}}

/* 11. Ring. */
@property --hv-spin{syntax:'<angle>';inherits:true;initial-value:0deg}
.hv-ring-stage{--w:clamp(66px,min(7.2vw,11vh),108px);position:relative;display:grid;place-items:center;width:min(100%,1040px);height:clamp(360px,50vh,500px);margin-top:4px;align-self:center}
.hv-ring{position:absolute;inset:0}
.hv-ring .hv-c{position:absolute;left:calc(50% - var(--w) / 2 + cos(var(--a) + var(--hv-spin)) * (50% - var(--w) * .62));top:calc(50% - var(--w) / 2 + sin(var(--a) + var(--hv-spin)) * (50% - var(--w) * .62));rotate:var(--r)}
.hv-ring .hv-c:hover{z-index:5;scale:1.08}
@media(prefers-reduced-motion:no-preference){
 .hv-ring{animation:hv-spin 150s linear infinite}
 .hv-ring-stage:hover .hv-ring,.hv-ring-stage:focus-within .hv-ring{animation-play-state:paused}
}
@keyframes hv-spin{to{--hv-spin:360deg}}
.hv-ring-title{position:relative;z-index:1;margin:0;font-size:clamp(64px,min(8.6vw,10.6vh),124px);line-height:.86;pointer-events:none}
[data-hero="11"] .hv-soft{margin-top:clamp(4px,1vh,12px)}
@media(max-width:700px){.hv-ring-stage{--w:58px;height:420px}.hv-ring-title{font-size:58px}}

/* 12. Wave. */
.hv-wave{--w:clamp(74px,min(8.4vw,13vh),124px);display:flex;justify-content:center;width:100%;padding:clamp(40px,6vh,60px) 0 clamp(36px,5vh,52px)}
.hv-wave .hv-c{margin:0 calc(var(--w) * -.05);translate:0 var(--y);rotate:var(--r)}
.hv-wave .hv-c:hover{z-index:5;scale:1.1;rotate:0deg}
@media(prefers-reduced-motion:no-preference){.hv-wave .hv-c{animation:hv-bob 4.6s ease-in-out infinite;animation-delay:calc(var(--k) * -.5s)}}
@keyframes hv-bob{50%{transform:translateY(-12px)}}
@media(max-width:700px){.hv-wave{--w:64px;padding-block:36px 30px}.hv-wave .hv-c:nth-child(n+6){display:none}}

/* 13. Photo in the letters. */
.hv-filled{margin-top:clamp(4px,1.4vh,16px);font-size:clamp(76px,min(14.4vw,17vh),208px);line-height:.86;color:transparent;background-size:cover;background-position:center 45%;-webkit-background-clip:text;background-clip:text}
.hv-flat-fan .hv-g-card{margin:0 calc(var(--w) * .04)}
@media(max-width:700px){.hv-filled{font-size:clamp(56px,18.4vw,80px)}.hv-flat-fan{--w:60px!important}}

/* 14. Tagline first, the fan over the title's foot. */
.hv-over-tag{margin-top:clamp(4px,1vh,12px);color:#d6d6d8}
.hv-over-title{position:relative;z-index:1;margin-top:clamp(10px,2vh,22px);font-size:clamp(80px,min(14vw,17vh),206px)}
.hv-over-fan{position:relative;z-index:2;margin-top:calc(var(--w) * -.2)!important}
@media(max-width:700px){.hv-over-title{font-size:clamp(56px,18.4vw,80px)}.hv-over-fan{--w:64px!important;margin-top:-10px!important}}

/* 15. Pile that spreads; the tagline in sign-paint colours. */
.hv-pile{--w:clamp(96px,min(11.4vw,18vh),164px);position:relative;width:100%;height:calc(var(--w) * 1.5);margin:clamp(18px,3vh,34px) 0 clamp(6px,1.4vh,16px)}
.hv-pile .hv-c{position:absolute;left:calc(50% - var(--w) / 2);top:calc(var(--w) * .25);translate:var(--x) var(--y);rotate:var(--r);transition-duration:.6s}
.hv-pile:hover .hv-c,.hv-pile:focus-within .hv-c{translate:calc(var(--k) * var(--w) * 1.1) 0;rotate:calc(var(--k) * 1.6deg)}
.hv-pile .hv-c:hover{z-index:9;scale:1.06}
.hv-paint{font-weight:900}
@media(hover:none),(max-width:700px){
 .hv-pile{--w:clamp(52px,14.4vw,64px);height:calc(var(--w) * 1.6)}
 .hv-pile .hv-c,.hv-pile:hover .hv-c{translate:calc(var(--k) * var(--w) * 1.04) calc(var(--y) * .3);rotate:calc(var(--r) * .3)}
}
@media(prefers-reduced-motion:reduce){.hv-c{transition:none}}

/* Hero 1, revised: the title and the tagline the same size and weight (Bold,
   not Black), smaller than before; the tagline on two lines. */
[data-hero="1"] .hv-g-title,[data-hero="1"] .hv-g-tag{font-weight:700;font-size:clamp(44px,min(6.4vw,8.6vh),96px);line-height:.95;letter-spacing:-.03em}
@media(max-width:700px){[data-hero="1"] .hv-g-title,[data-hero="1"] .hv-g-tag{font-size:clamp(36px,11vw,52px)}}
/* Hero 1: Inter at its own width, no horizontal squeeze. */
[data-hero="1"] .hv-g-title.hv-cond,[data-hero="1"] .hv-g-tag.hv-cond{width:100%;transform:none;letter-spacing:-.035em}
@media(prefers-reduced-motion:no-preference){[data-hero="1"] .hv.hv-cond{animation-name:hv-rise}}
@media(max-width:700px){[data-hero="1"] .hv-g-title,[data-hero="1"] .hv-g-tag{font-size:clamp(30px,9.2vw,46px)}}
/* Hero 1: the title, photos, tagline and button centred in the screen below the nav. */
[data-hero="1"] body.landing-mode .hero{justify-content:center;padding-top:clamp(24px,4vh,48px);padding-bottom:clamp(48px,8vh,96px)}
@media(max-width:700px){[data-hero="1"] body.landing-mode .hero{padding-top:24px;padding-bottom:64px}}
/* Hero 1: smaller and heavier (Inter Black). */
[data-hero="1"] .hv-g-title,[data-hero="1"] .hv-g-tag{font-weight:900;font-size:clamp(36px,min(5.2vw,7vh),78px);letter-spacing:-.04em}
@media(max-width:700px){[data-hero="1"] .hv-g-title,[data-hero="1"] .hv-g-tag{font-size:clamp(26px,8.2vw,40px)}}
/* Hero 1: the tagline a shade darker. */
[data-hero="1"] .hv-g-tag{color:#b3b3b7}
/* Hero 1: between Bold and Black. The site has Inter at 700 and 900 only, so this is
   Bold thickened by a hairline stroke; found letters swapped in keep their own weight. */
[data-hero="1"] .hv-g-title,[data-hero="1"] .hv-g-tag{font-weight:700;-webkit-text-stroke:.022em currentColor;paint-order:stroke fill}
[data-hero="1"] :is(.hv-g-title,.hv-g-tag) .swap-alt{-webkit-text-stroke:0}
/* Hero 1: the tagline darker again. */
[data-hero="1"] .hv-g-tag{color:#9b9ba1}
/* Hero 1 photos on hover: the one under the pointer straightens, lifts and
   grows a little, the others ease aside and dim slightly; "Test me" follows
   the pointer (example-cursor.js). */
@media(hover:hover) and (pointer:fine){
 [data-hero="1"] .hv-g-card{transition:transform .38s cubic-bezier(.22,1.3,.36,1),box-shadow .3s ease,filter .3s ease}
 [data-hero="1"] .hv-g-fan:hover .hv-g-card{filter:saturate(.85) brightness(.97)}
 [data-hero="1"] .hv-g-fan .hv-g-card:hover{filter:none;z-index:3;box-shadow:var(--hv-shadow-lift);transform:translate(calc(var(--i) * var(--w) * .14),calc(var(--y) - 26px)) rotate(0deg) scale(1.08)}
}
/* The hero's Choose a photo: 44px tall. */
[data-hero] body.landing-mode .hero #uploadButton{height:44px;min-height:44px;padding-inline:22px;font-size:14px}
/* Hero 1: title and tagline both near-black; the photos' hover slower with a softer bounce. */
html[data-hero="1"] body .hero .hv-g-title,html[data-hero="1"] body .hero .hv-g-tag{color:#1c1c1e}
@media(hover:hover) and (pointer:fine){[data-hero="1"] .hv-g-card{transition:transform .7s cubic-bezier(.25,1.12,.4,1),box-shadow .5s ease,filter .5s ease}}
/* Hero 1: photos can be dragged (also by touch) onto Choose a photo; when they
   change, each image slides out to one side as it fades and the next comes in
   from the other (--d: -1 or 1). */
[data-hero="1"] .hv-g-card{touch-action:none}
/* The whole card changes: it fades out sliding right, and the next comes in from the left with a little bounce. */
html[data-hero="1"] body .hero .hv-g-card:not(.is-held){transition:transform .7s cubic-bezier(.25,1.12,.4,1),box-shadow .5s ease,filter .5s ease,opacity .22s ease,translate .45s cubic-bezier(.3,1.35,.5,1),scale .45s cubic-bezier(.3,1.35,.5,1)}
html[data-hero="1"] body .hero .hv-g-card.is-leaving{opacity:0!important;translate:22px 0!important;scale:.96!important;transition:opacity .16s ease,translate .18s cubic-bezier(.4,0,.7,1),scale .18s ease!important}
html[data-hero="1"] body .hero .hv-g-card.is-entering{opacity:0!important;translate:-22px 0!important;scale:.96!important;transition:none!important}
/* Hero 1 on load: a soft, friendly bounce, one thing after another. Found Letters,
   then each photo, then the tagline, then the button. The hero stays hidden until
   it is built (the guard in index.html's head), so these start only once it shows.
   translate and scale add to the cards' own fan transforms. */
@keyframes hv-pop-in{
 0%{opacity:0;translate:0 18px;scale:.96}
 60%{opacity:1;translate:0 -1.5px;scale:1.004}
 100%{opacity:1;translate:0 0;scale:1}
}
@media(prefers-reduced-motion:no-preference){
 html[data-hero="1"] body.landing-mode .hero>:is(.hv-g-title,.hv-g-tag,.note),
 html[data-hero="1"] body.landing-mode .hero .hv-g-card{animation:none}
 html[data-hero="1"][data-hero-ready] body.landing-mode .hero>:is(.hv-g-title,.hv-g-tag,.note),
 html[data-hero="1"][data-hero-ready] body.landing-mode .hero .hv-g-card{
  animation:hv-pop-in .5s cubic-bezier(.25,.8,.35,1) backwards;animation-delay:var(--pop,0ms)}
 html[data-hero="1"] body.landing-mode .hero>.hv-g-title{--pop:0ms}
 html[data-hero="1"] body.landing-mode .hero .hv-g-card:nth-child(1){--pop:60ms}
 html[data-hero="1"] body.landing-mode .hero .hv-g-card:nth-child(2){--pop:95ms}
 html[data-hero="1"] body.landing-mode .hero .hv-g-card:nth-child(3){--pop:130ms}
 html[data-hero="1"] body.landing-mode .hero .hv-g-card:nth-child(4){--pop:165ms}
 html[data-hero="1"] body.landing-mode .hero .hv-g-card:nth-child(5){--pop:200ms}
 html[data-hero="1"] body.landing-mode .hero>.hv-g-tag{--pop:240ms}
 html[data-hero="1"] body.landing-mode .hero>.note{--pop:290ms}
}
/* Choose a photo: on hover it grows a little and lifts on a soft shadow, with a cute bounce. */
html[data-hero="1"] body.landing-mode .hero #uploadButton{
 transition:scale .55s cubic-bezier(.34,1.8,.5,1),box-shadow .45s ease,background-color .2s;
 box-shadow:0 0 0 rgb(0 0 0/0)}
@media(hover:hover) and (pointer:fine){
 html[data-hero="1"] body.landing-mode .hero #uploadButton:hover{scale:1.07;transform:none;box-shadow:0 14px 28px -10px rgb(0 0 0/.42),0 4px 10px -4px rgb(0 0 0/.2)}
}
/* No press-in: a click keeps the hover lift (buttons.css). */
/* A photo picked up and dragged goes in front of everything: the title, the
   tagline, the button and the sections below (showcase-motion.js marks it is-held). */
html[data-hero] .hero:has(.is-held){position:relative;z-index:60}
html[data-hero] .hero .hv-g-fan:has(.is-held){position:relative;z-index:60}
