/* Ludovica Dagna: a palazzo walked through in one take. Bodoni for the voice, Inter for the facts. Two fonts, nothing else.
   The first room is burgundy, all the others the white of the gallery; every door holds a picture. Without WebGL or with
   reduced motion the same pages stand still, one after another, with a soft seam after the burgundy. */
:root{
  --wine:#50102a;
  --plaster:#cac4c0;
  --ivory:#f4eddf;
  --ink:#17120e;
  --gold:#e8bd6c;
  --claret:#74102f;
  --paper:#eeeae3;
  --tone:#e4dfd6;
  --stone:#cdc6ba;
  --muted:#4f4a44;
  --line:rgba(28,27,25,.14);
  --accent:#9f1f58;
  --accent-ink:#ffffff;

  --serif:"Bodoni Moda","Bodoni 72",Didot,"Times New Roman",serif;
  --sans:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif;
  --step-small:.9375rem;
  --step-body:clamp(1.0625rem,1rem + .25vw,1.1875rem);
  --step-lead:clamp(1.25rem,1.1rem + .5vw,1.6rem);
  --step-head:clamp(3rem,1.6rem + 4.6vw,6.5rem);
  --step-quote:clamp(1.9rem,1.1rem + 2.7vw,4rem);
  --step-big:clamp(2.2rem,1rem + 4.6vw,6rem);
  --step-display:clamp(4.4rem,min(1rem + 10.5vw,calc(var(--svh)*19)),12.5rem);

  --svh:1svh;      /* site.js holds it still once it has read it */
  --m:clamp(18px,4vw,64px);
  --ease:cubic-bezier(.16,1,.3,1);
  --arch:50% 50% 0 0 / 33.735% 33.735% 0 0;     /* a door of the palazzo: 2.8 m wide, 4.15 m tall, a full semicircle on top */
}
@supports not (height:1svh){:root{--svh:1vh}}
.t-dark{--fg:var(--ivory);--fg2:rgba(244,237,223,.82);--rule:rgba(244,237,223,.24);--acc:var(--gold);--btn-bg:var(--ivory);--btn-fg:var(--ink);--btn-hov:var(--gold);color:var(--fg);-webkit-font-smoothing:antialiased}
.t-light{--fg:var(--ink);--fg2:rgba(23,18,14,.8);--rule:rgba(23,18,14,.26);--acc:var(--claret);--btn-bg:var(--ink);--btn-fg:var(--ivory);--btn-hov:var(--claret);color:var(--fg)}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scrollbar-width:thin;scrollbar-color:rgba(80,16,42,.55) transparent}
@media (prefers-reduced-motion:no-preference){html.glide{scroll-behavior:smooth}}   /* from the first render on (site.js): a link opened at #profile lands at once */
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:var(--step-body);line-height:1.6;text-rendering:optimizeLegibility}
body.palazzo{background:var(--plaster);color:var(--ink);overflow-x:hidden;overflow-x:clip}
.js.film body.palazzo{background:var(--room,var(--wine))}     /* what shows above the page and behind a phone's bars: the room the camera is in */
img{display:block;max-width:100%;height:auto}
a{color:inherit}
h1,h2,h3{font-family:var(--serif);font-weight:400;letter-spacing:-.01em;line-height:1;margin:0;font-optical-sizing:auto}
h3{font-family:var(--sans);font-weight:500;font-size:var(--step-small);letter-spacing:0;line-height:1.3;color:var(--fg2,var(--muted))}
p,ul,ol,dl,dd,figure{margin:0}
ul,ol{padding:0;list-style:none}
i,em{font-style:italic}
::selection{background:var(--gold);color:var(--ink)}
:focus-visible{outline:2px solid var(--acc,var(--accent));outline-offset:3px}
[tabindex="-1"]:focus{outline:none}
.skip{position:absolute;left:-9999px}
.skip:focus{left:var(--m);top:var(--m);z-index:120;background:var(--ivory);color:var(--ink);padding:12px 16px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
p,li,figcaption{text-wrap:pretty}
h1,h2,.hero-role,.hero-lead,.contact-say,.programme-intro,blockquote p{text-wrap:balance}
figcaption{margin-top:12px;font-size:var(--step-small);color:var(--fg2,var(--muted));line-height:1.4}

/* a button is a small door; the colour rises in it from the floor */
.btn{position:relative;isolation:isolate;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:6px 30px 0;background:var(--btn-bg,var(--ink));color:var(--btn-fg,var(--paper));border-radius:2.2em 2.2em 0 0;border:0;font:500 1rem/1.2 var(--sans);text-decoration:none;letter-spacing:.01em;cursor:pointer;transition:color .3s,transform .6s var(--ease)}
.btn::before{content:"";position:absolute;inset:0;z-index:-1;background:var(--btn-hov,var(--accent));transform:translateY(101%);transition:transform .55s var(--ease)}
@media (hover:hover) and (pointer:fine){.btn:hover::before{transform:none}}
.btn:active{transform:scale(.97)}
/* a link draws its line, then lets it run */
.ul{position:relative;text-decoration:none;padding-bottom:.18em;background:linear-gradient(currentColor,currentColor) 0 100%/100% 1px no-repeat;transition:background-size .6s var(--ease),color .25s}
@media (hover:hover) and (pointer:fine){.ul:hover{background-size:0 1px;background-position:100% 100%;color:var(--acc,var(--accent))}}

/* top */
.top{position:absolute;inset:0 0 auto 0;z-index:50;display:flex;align-items:center;gap:32px;padding:26px var(--m);font-size:var(--step-small)}
.palazzo .top{color:var(--nav,var(--ivory));--acc:var(--gold);transition:color .7s,transform .8s var(--ease),opacity .5s;-webkit-font-smoothing:antialiased;pointer-events:none}
.js .palazzo .top{position:fixed}
html[data-tone="light"] .palazzo .top{--acc:var(--claret)}
html:not(.js) .langs{display:none}
.palazzo .top.is-hid{transform:translateY(-110%);opacity:0}
/* the veil exists only while it shows: Safari on iOS 26 takes the colour of its bars from the page, and a fixed bar with a painted background on it, even a transparent one, holds them still */
.palazzo .top::before{content:"";display:none;position:absolute;inset:0 0 -34px 0;z-index:-1;background:linear-gradient(var(--room,var(--wine)) 34%,transparent);opacity:0;transition:opacity .7s;transition:opacity .7s,display .7s allow-discrete;pointer-events:none}
.palazzo .top.is-veiled::before{display:block;opacity:.94}
@starting-style{.palazzo .top.is-veiled::before{opacity:0}}
.palazzo .top>*{pointer-events:auto}
@media (prefers-reduced-motion:no-preference){
  .palazzo .top>*{transition:opacity 1.1s var(--ease),transform 1.3s var(--ease)}
  .palazzo .top nav{transition-delay:.1s}
  .palazzo .top .langs{transition-delay:.2s}
  .js:not(.is-lit) .palazzo .top>*{opacity:0;transform:translateY(-14px)}
}
html[data-tone="light"]{--nav:var(--ink)}
.wordmark{font-family:var(--serif);font-size:1.35rem;letter-spacing:-.01em;text-decoration:none;white-space:nowrap}
.top nav{margin-left:auto;display:flex;gap:30px}
.top nav a{position:relative;text-decoration:none;padding:6px 0}
.top nav a::after{content:"";position:absolute;left:0;right:0;bottom:2px;height:1px;background:currentColor;transform:scaleX(0);transform-origin:100% 50%;transition:transform .55s var(--ease)}
@media (hover:hover) and (pointer:fine){.top nav a:hover::after{transform:none;transform-origin:0 50%}}
.langs{display:flex;gap:2px}
.langs button{min-width:34px;min-height:40px;padding:0 4px;background:none;border:0;color:inherit;opacity:.72;font:500 var(--step-small)/1 var(--sans);cursor:pointer;transition:opacity .25s}
.langs button[aria-pressed="true"]{opacity:1;text-decoration:underline;text-underline-offset:.3em}
@media (hover:hover) and (pointer:fine){.langs button:hover{opacity:1}}
@media (max-width:899px){.top{gap:12px;padding:18px var(--m)}.top nav a:not(.keep){display:none}.top nav{gap:0}}
@media (max-width:599px){.top{gap:8px}.wordmark{font-size:1.15rem}.langs{gap:0}.langs button{min-width:30px;padding:0}}
@media (max-width:359px){.top nav{display:none}}

/* the pictures: an arch, a loader drawn like an arch, a blurred copy until the real one comes up from the floor */
.shot{position:relative;display:block;overflow:hidden;background:rgba(0,0,0,.2);border-radius:var(--arch)}
.door-fig>.shot{aspect-ratio:2.8/4.15}
.shot-lq{position:absolute;inset:-8%;background-size:cover;background-position:var(--pos,50% 50%);filter:blur(16px) saturate(1.15);transition:opacity 1.1s .25s}
.shot img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:var(--pos,50% 50%)}
.js .shot img{clip-path:inset(100% 0 0 0);transform:scale(1.16);transition:clip-path 1.3s var(--ease),transform 2.1s var(--ease)}
.js .shot.is-on img{clip-path:inset(0);transform:none}
.shot.is-on .shot-lq{opacity:0;visibility:hidden;transition:opacity 1.1s .25s,visibility 0s 1.4s}
.shot-l{position:absolute;left:50%;top:50%;width:44px;height:66px;margin:-33px 0 0 -22px;overflow:visible;filter:drop-shadow(0 0 5px rgba(15,12,11,.6));transition:opacity .45s}
.shot-l path{fill:none;stroke:var(--ivory);stroke-width:11;stroke-linecap:round;stroke-dasharray:.3 .7}
.shot-l .b{stroke-dasharray:none;opacity:.32}
.shot.is-seen:not(.is-on) .shot-l path:not(.b){animation:archrun 1.25s linear infinite}     /* runs only while it is being watched */
.shot.is-on .shot-l{opacity:0}
@keyframes archrun{to{stroke-dashoffset:-1}}
.hero-photo{--pos:72% 100%}
.statement-photo{--pos:50% 90%}
.profile-photo{--pos:50% 14%}

/* words come up one by one from behind the line they stand on */
.wd{display:inline-block;overflow:hidden;vertical-align:top;padding:.2em .16em .3em;margin:-.2em -.16em -.3em}
.wi{display:inline-block}
.js [data-split] .wi{transform:translateY(120%);transition:transform 1.1s var(--ease);transition-delay:min(calc(var(--i,0)*var(--st,18ms)),.75s)}
.js [data-split].is-in .wi{transform:none}
.js [data-reveal]{opacity:0;transform:translateY(26px);transition:opacity 1s var(--ease),transform 1.1s var(--ease);transition-delay:var(--d,0ms)}
.js [data-reveal].is-in{opacity:1;transform:none}

/* the name: letter by letter, as film titles rise */
.name{font-size:var(--step-display);line-height:.86;letter-spacing:-.025em;margin-left:-.05em}
.name .ln{display:block;overflow:hidden;padding:0 .04em .26em .1em;margin:0 -.04em -.18em -.1em}
.name .ln>span{display:block}
.name i{color:var(--acc,var(--accent))}
.ch{display:inline-block}
.nb{white-space:nowrap}
.js .ch{transform:translateY(128%) rotate(7deg);transform-origin:0 100%;transition:transform 1.25s var(--ease);transition-delay:calc(var(--i,0)*42ms)}
.js .is-open .ch,.js .foot-name.is-in .ch,.js .mail.is-in .ch{transform:none}

/* hero */
.hero{display:grid;grid-template-columns:repeat(12,1fr);column-gap:24px;min-height:calc(var(--svh)*100);padding:clamp(104px,calc(var(--svh)*13),160px) var(--m) clamp(48px,calc(var(--svh)*7),80px);align-items:end}
.hero-text{grid-column:1/8;display:flex;flex-direction:column;gap:clamp(14px,calc(var(--svh)*2.6),28px);padding-bottom:8px}
.hero-more{display:flex;flex-direction:column;gap:clamp(14px,calc(var(--svh)*2.6),28px)}
.hero-role{font-family:var(--serif);font-style:italic;font-size:var(--step-lead);line-height:1.2}
.hero-lead{max-width:36rem;font-size:clamp(1.15rem,1.05rem + .4vw,1.4rem);line-height:1.45}
.hero-actions{display:flex;align-items:center;gap:28px;flex-wrap:wrap}
.next{border-top:1px solid var(--rule);padding-top:14px;max-width:36rem;font-size:var(--step-small);line-height:1.45}
@media (min-width:600px){.next{display:grid;grid-template-columns:max-content 1fr;column-gap:14px;align-items:baseline}.next .k{grid-row:1 / span 2}.next .t,.next .w{grid-column:2}}
.next .k{color:var(--fg2)}
.next .t{font-family:var(--serif);font-size:1.25rem;line-height:1.25;margin:2px 0}
.next .w{color:var(--acc);font-weight:500}
.hero-photo{grid-column:8/13;align-self:end}
.js .hero-actions>*,.js .next>*{opacity:0;transform:translateY(16px);transition:opacity 1s var(--ease) .35s,transform 1.2s var(--ease) .35s}
.js .is-open .hero-actions>*,.js .is-open .next>*{opacity:1;transform:none}
.js .next{border-top-color:transparent;transition:border-color 1.3s ease .5s}
.js .is-open .next{border-top-color:var(--rule)}
@media (max-width:899px){
  .hero{display:flex;flex-direction:column;align-items:stretch;min-height:0;padding-top:104px}
  .hero-text{display:contents}
  .hero-more{display:contents}
  .name{order:1;font-size:clamp(3.6rem,17vw,6rem)}
  .hero-role{order:2;margin-top:20px}
  .hero-photo{order:3;margin-top:28px;width:min(82vw,420px);align-self:center}
  .hero-lead{order:4;margin-top:32px}
  .hero-actions{order:5;margin-top:28px}
  .next{order:6;margin-top:40px}
}
.cue{display:none}

/* statement */
.statement{display:grid;grid-template-columns:repeat(12,1fr);column-gap:24px;align-items:center;padding:clamp(72px,9vw,128px) var(--m)}
.statement-photo{grid-column:1/6}
.statement blockquote{grid-column:7/13;margin:0}
.statement blockquote p{font-family:var(--serif);font-style:italic;font-size:var(--step-quote);line-height:1.14;letter-spacing:-.01em;max-width:20ch}
@media (max-width:899px){
  .statement{grid-template-columns:1fr;row-gap:40px;padding:72px var(--m)}
  .statement-photo,.statement blockquote{grid-column:auto}
  .statement-photo{width:min(82vw,420px);justify-self:center}
}

/* exhibitions: a billboard. The picture in the door follows the row being read */
.programme{display:grid;grid-template-columns:repeat(12,1fr);column-gap:24px;padding:clamp(80px,10vw,140px) var(--m) clamp(120px,14vw,200px)}
.programme-list{grid-column:1/8}
.programme h2{font-size:var(--step-head);margin-bottom:22px}
.programme-intro{max-width:46ch;margin-bottom:56px;color:var(--fg2)}
.group{margin-top:64px}
.group:first-of-type{margin-top:0}
.group-name{font-size:var(--step-small);color:var(--fg2);padding-bottom:10px;border-bottom:1px solid var(--rule)}
.row{position:relative;display:grid;grid-template-columns:1fr auto;column-gap:24px;align-items:baseline;padding:20px 0;border-bottom:1px solid var(--rule);cursor:default}
.row::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:1px;background:var(--acc);transform:scaleX(0);transform-origin:0 50%;transition:transform .9s var(--ease)}
.row .dot{display:none}
.group:not(.is-past) .row:first-child .d{color:var(--acc)}
.row .t{font-family:var(--serif);font-size:clamp(1.5rem,1.1rem + 1.1vw,2.35rem);line-height:1.12;transition:color .35s,transform .7s var(--ease)}
.row .p{display:block;font-family:var(--sans);font-size:var(--step-small);color:var(--fg2);margin-top:6px}
.row .d{font-size:var(--step-small);font-variant-numeric:tabular-nums;color:var(--fg2);text-align:right;white-space:nowrap;transition:color .35s}
.row.is-shown .t{color:var(--acc);transform:translateX(10px)}
.row.is-shown::after{transform:none}
.js .row{opacity:0;transform:translateY(30px);transition:opacity .9s var(--ease),transform 1.1s var(--ease)}
.js .row.is-in{opacity:1;transform:none}
@media (hover:hover) and (pointer:fine){.row:hover .t{color:var(--acc)}.row{cursor:pointer}}
@media (max-width:599px){.row{grid-template-columns:1fr}.row .d{text-align:left;margin-top:6px}}
.programme-cta{margin-top:48px}
.preview{grid-column:9/13;position:sticky;top:calc(var(--svh)*12);align-self:start;margin:0}
.preview-frame{position:relative;aspect-ratio:2.8/4.15;overflow:hidden;background:rgba(0,0,0,.25);border-radius:var(--arch)}
.preview-frame>*{position:absolute;inset:0}
.preview-frame>.is-out{opacity:0;transition:opacity .8s var(--ease)}
.preview-frame>.is-new{clip-path:inset(100% 0 0 0);transition:clip-path 1.1s var(--ease)}
.preview-frame>.is-new.go{clip-path:inset(0)}
.preview-frame .shot{border-radius:0;height:100%}
#preview-cap{transition:opacity .4s}
/* the shows without a photograph yet get a poster: their title, printed in burgundy. It already says what the caption would */
.preview-frame{container-type:inline-size}
.preview:has(.poster)>#preview-cap{visibility:hidden}
.poster{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:.55em;padding:14% 9% 9%;background:radial-gradient(120% 62% at 50% 0,rgba(255,255,255,.2),transparent 70%),linear-gradient(transparent 62%,rgba(0,0,0,.14)),var(--wine);color:var(--ivory);font-size:clamp(.8rem,4cqi,1.05rem);line-height:1.3;text-align:center}
.poster i{order:-1;margin-bottom:auto;padding-top:18%;font:italic 400 1.5em/1.2 var(--serif)}
.poster b{font:400 clamp(2.2rem,17cqi,5.4rem)/.98 var(--serif);letter-spacing:-.02em;text-wrap:balance;margin-bottom:auto}
.poster span{font-variant-numeric:tabular-nums}
.poster span:last-of-type{padding-top:.5em;border-top:1px solid currentColor;min-width:60%}
@media (max-width:899px){
  .programme{grid-template-columns:1fr;padding:80px var(--m)}
  .programme-list,.preview{grid-column:auto}
  .preview{position:relative;top:auto;margin-top:56px;width:min(82vw,420px);justify-self:center}
  .row .d{white-space:normal}
}

/* about me */
.profile{display:grid;grid-template-columns:repeat(12,1fr);column-gap:24px;row-gap:clamp(64px,8vw,120px);padding:clamp(100px,13vw,190px) var(--m)}
.profile-photo{grid-column:1/5;grid-row:1 / span 2;align-self:start;position:sticky;top:calc(var(--svh)*12)}
.profile-text{grid-column:6/13;display:grid;gap:20px;align-content:start}
.profile-text h2{font-size:var(--step-head);margin-bottom:14px}
.profile-text p{max-width:58ch}
.profile-lead{font-size:var(--step-lead);line-height:1.45}
.facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 32px;margin-top:28px;padding-top:28px;border-top:1px solid var(--rule)}
.facts dt{font-size:var(--step-small);color:var(--fg2)}
.facts dd{font-family:var(--serif);font-size:1.3rem;line-height:1.3;margin-top:4px}
.records{grid-column:6/13;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:56px 32px}
.records>div:last-child,.records>.records-wide{grid-column:1/-1}
.records-note{max-width:62ch;margin:-4px 0 14px;color:var(--fg2);font-size:var(--step-small)}
.venues.shows li>:first-child{font-family:var(--sans);font-size:var(--step-small);line-height:1.4}
.venues.shows b{font-family:var(--serif);font-weight:400;font-size:1.22rem;line-height:1.25}
.facts>div:last-child{grid-column:1/-1}
.facts>div:last-child dd{font-size:1.15rem}
.records h3{margin-bottom:12px}
.records li{display:flex;justify-content:space-between;gap:16px;padding:11px 0;border-bottom:1px solid var(--rule);font-size:var(--step-small);transition:padding-left .6s var(--ease)}
.records li>:last-child:not(:first-child){color:var(--fg2);text-align:right;white-space:nowrap;flex:none}
.venues{columns:2;column-gap:32px}
.venues li{break-inside:avoid;align-items:baseline}
.venues li>:first-child{font-family:var(--serif);font-size:1.22rem;line-height:1.25}
.records a{text-decoration:none;padding-bottom:.12em;background:linear-gradient(currentColor,currentColor) 0 100%/0 1px no-repeat;transition:background-size .6s var(--ease)}
.records a.ul{background-size:100% 1px}
@media (hover:hover) and (pointer:fine){.records li:hover{padding-left:10px}.records a:hover{background-size:100% 1px}.records a.ul:hover{background-size:0 1px;background-position:100% 100%}}
@media (max-width:899px){
  .profile{grid-template-columns:1fr}
  .profile-photo,.profile-text,.records{grid-column:auto}
  .profile-photo{position:relative;top:auto;grid-row:auto;width:min(82vw,420px);justify-self:center}
  .records{grid-template-columns:1fr}
  .venues{columns:1}
}

/* contact */
.contact{padding:clamp(100px,13vw,180px) var(--m) clamp(80px,9vw,120px);display:grid;gap:28px;container-type:inline-size}
.contact h2{font-size:var(--step-head);max-width:14ch}
.contact-say{max-width:44ch;color:var(--fg2);font-size:var(--step-lead);line-height:1.45}
.mail{font-family:var(--serif);font-size:min(var(--step-big),7.2vw);white-space:nowrap;line-height:1.05;letter-spacing:-.02em;text-decoration:none;margin-top:24px;padding:.06em .06em .3em;margin-left:-.06em;overflow:hidden;background:linear-gradient(currentColor,currentColor) .06em 100%/calc(100% - .12em) 1px no-repeat;justify-self:start;transition:color .4s,background-size .8s var(--ease)}
@supports (width:1cqi){.mail{font-size:min(var(--step-big),calc(100cqi / 12.8))}}
.mail{font-variation-settings:"opsz" 30}
.mail .at{font-family:var(--sans);font-weight:400;font-size:.8em;letter-spacing:0;margin:0 .05em}
.js .mail .ch{transition-delay:calc(var(--i,0)*20ms)}
.js .mail{background-size:0 1px}
.js .mail.is-in{background-size:calc(100% - .12em) 1px;transition:color .4s,background-size 1.4s var(--ease) .3s}
@media (hover:hover) and (pointer:fine){.mail:hover,.js .mail.is-in:hover{color:var(--acc);background-size:0 1px;background-position:100% 100%}}
.contact-foot{display:flex;flex-wrap:wrap;gap:14px 40px;margin-top:28px;font-size:var(--step-body)}
.contact-foot a{text-decoration:none;padding-bottom:.2em;background:linear-gradient(currentColor,currentColor) 0 100%/100% 1px no-repeat;transition:background-size .6s var(--ease)}
@media (hover:hover) and (pointer:fine){.contact-foot a:hover{background-size:0 1px;background-position:100% 100%}}
@media (max-width:599px){.contact-foot{flex-direction:column;gap:0;align-items:flex-start}.contact-foot a{margin:10px 0}}

/* the end credits */
.foot{color:var(--fg2);padding:0 var(--m) 32px;font-size:var(--step-small)}
.foot-name{font-family:var(--serif);font-size:clamp(2.2rem,min(12vw,1rem + 9vw),10rem);line-height:.92;letter-spacing:-.025em;color:var(--ink);padding:48px .06em .24em;margin:0 -.06em -.24em;overflow:hidden}
.foot-name i{color:var(--acc)}
.foot-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:56px}
.foot-row ul{display:grid;gap:8px;align-content:start}
.foot a{text-decoration:none;padding-bottom:.12em;background:linear-gradient(currentColor,currentColor) 0 100%/0 1px no-repeat;transition:background-size .6s var(--ease),color .25s}
@media (hover:hover) and (pointer:fine){.foot a:hover{color:var(--acc);background-size:100% 1px}}
.legal{display:flex;justify-content:space-between;gap:16px;margin-top:64px;padding-top:20px;border-top:1px solid var(--rule)}
@media (max-width:599px){.foot-row{grid-template-columns:1fr 1fr}.legal{flex-direction:column}}

/* without the film the first room stands in its burgundy and the seam is soft: it fades out over the empty top margin of the next; the rest is the page's plaster */
.palazzo .hero{background:var(--wine)}
.palazzo .statement{background:linear-gradient(var(--wine),var(--plaster) clamp(72px,9vw,128px))}
.js.film .palazzo :is(.hero,.statement){background:transparent}

/* ----- the film ----- */
.enfilade{position:fixed;left:0;top:0;width:100%;height:100vh;height:100lvh;z-index:-1;display:block}
.titles{display:none;position:fixed;inset:0;z-index:100;background:var(--wine);transition:opacity .55s ease}
.js.film .titles{display:block}
/* on a phone the titles stop short of the edges, or Safari's bars keep their burgundy for good; the body shows there, in the same colour, until they lift */
@media (pointer:coarse){.titles{clip-path:inset(16px 0)}.is-titled .enfilade{clip-path:inset(16px 0)}.is-lifting .enfilade{clip-path:inset(0 0);transition:clip-path .55s ease}}
.titles svg{position:absolute;left:var(--tx,50%);top:var(--ty,50%);width:var(--tw,180px);height:var(--th,270px);overflow:visible}
.titles path{fill:none;stroke:var(--ivory);stroke-width:1.3;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-dasharray:1 1;stroke-dashoffset:calc(1 - var(--p,0));transition:stroke-dashoffset .35s linear}
.is-intro,.is-intro body{overflow:hidden}
/* a follower for the mouse: a ring that opens over what can be clicked */
.lens{position:fixed;left:0;top:0;z-index:95;width:34px;height:34px;margin:-17px 0 0 -17px;border-radius:50%;border:1px solid rgba(244,237,223,.9);mix-blend-mode:difference;pointer-events:none;opacity:0;transition:opacity .4s,width .45s var(--ease),height .45s var(--ease),margin .45s var(--ease);will-change:transform}
.lens.is-on{opacity:1}
.lens.is-over{width:72px;height:72px;margin:-36px 0 0 -36px}

/* the doors: pictures anchored to the palazzo by cinema.js */
.film .door-anchored{position:fixed;left:0;top:0;width:var(--door-w);height:var(--door-h);margin:0;z-index:2;transform-origin:0 0;will-change:transform,opacity;visibility:hidden}
.film .profile-photo.door-anchored{z-index:-1}   /* behind the hall's last frame, seen through it */
.film .door-anchored>.shot,.film .door-anchored>.preview-frame{position:absolute;inset:0;aspect-ratio:auto;box-shadow:0 0 0 1px rgba(0,0,0,.18)}
/* the caption lies on the oak, in front of the threshold */
.film .door-anchored>figcaption{position:absolute;left:-40%;right:-40%;top:calc(100% + var(--door-h)*.07);margin:0;text-align:center;font-size:.8125rem;text-shadow:0 0 10px rgba(236,226,212,.75);opacity:calc(var(--cap,1)*var(--cap2,1))}
.film .t-dark .door-anchored>figcaption{text-shadow:0 1px 8px rgba(0,0,0,.6)}

/* the first two rooms are one pinned shot */
.scenes .sequence{position:relative;height:calc(var(--seq,4.3)*calc(var(--svh)*100))}
.scenes:not(.wide) .sequence{--seq:5.6}
.scenes .seq-pin{position:sticky;top:0;height:calc(var(--svh)*100);overflow:hidden;overflow:clip}
.scenes .hero,.scenes .statement{position:absolute;inset:0;display:block;min-height:0;padding:0}
.scenes .statement{opacity:0}
.scenes .hero.is-past{pointer-events:none}
.scenes .plane{will-change:transform,opacity;transform-origin:0 0}

/* hero, wide screens: the name on the wall, Ludovica's picture in the door */
.wide .hero-text{position:absolute;left:var(--m);top:0;bottom:0;width:calc(var(--door-l,60vw) - var(--m) - clamp(20px,3vw,48px));display:flex;flex-direction:column;justify-content:flex-end;padding:clamp(76px,calc(var(--svh)*10),120px) 0 clamp(26px,calc(var(--svh)*5),56px);container-type:inline-size;z-index:3}
.wide .name{font-size:min(23.2cqi,calc(var(--svh)*20),var(--name-fit,999px))}
.wide .hero-lead{font-size:clamp(1rem,calc(var(--svh)*2.1),1.4rem)}
@media (max-height:640px){.wide .next{display:none}}
/* hero, tall screens: the name above the door, the rest on the floor in front of it */
.scenes:not(.wide) .hero-text{position:absolute;inset:0;display:block;z-index:3}
.scenes:not(.wide) .name{position:absolute;left:var(--m);right:var(--m);top:clamp(64px,calc(var(--svh)*9.5),92px);font-size:min(17.6vw,calc(var(--svh)*11.5));text-align:center;margin:0}
.scenes:not(.wide) .name .ln{margin-inline:auto}
.scenes:not(.wide) .hero-role{position:absolute;left:var(--m);right:var(--m);top:calc(clamp(64px,calc(var(--svh)*9.5),92px) + 1.98*min(17.6vw,calc(var(--svh)*11.5)));margin:0;text-align:center;font-size:clamp(1.05rem,4.6vw,1.35rem)}
.scenes:not(.wide) .hero-more{position:absolute;left:var(--m);right:var(--m);bottom:clamp(20px,calc(var(--svh)*4),44px);display:flex;gap:clamp(10px,calc(var(--svh)*2),20px);text-align:center;align-items:center;opacity:0;pointer-events:none}
.scenes:not(.wide) .hero-lead{font-size:clamp(1rem,4.5vw,1.25rem);line-height:1.42;margin:0}
.scenes:not(.wide) .hero-actions{margin:0;justify-content:center;gap:12px 22px}
.scenes:not(.wide) .next{margin:0;width:100%;text-align:left}
.cue{position:absolute;left:var(--cue-x,50%);bottom:18px;width:1px;height:44px;overflow:hidden;background:rgba(244,237,223,.22);display:block;z-index:1;opacity:0;transition:opacity .8s}
.cue::after{content:"";position:absolute;left:0;top:0;width:1px;height:100%;background:var(--ivory);transform:translateY(-100%);animation:cue 2.1s var(--ease) infinite}
@keyframes cue{to{transform:translateY(100%)}}
.cue.is-off{display:none}
.scenes:not(.wide) .cue{display:none}
.js:not(.scenes) .cue{display:none}

/* the quote, lit word by word */
.wide .statement blockquote{position:absolute;left:var(--m);top:0;bottom:0;width:calc(var(--door-l2,60vw) - var(--m) - clamp(24px,4vw,64px));display:flex;align-items:center;margin:0;z-index:3}
.scenes:not(.wide) .statement blockquote{position:absolute;left:var(--m);right:var(--m);bottom:clamp(30px,calc(var(--svh)*7),80px);margin:0;text-align:center;z-index:3}
.scenes .statement blockquote p{max-width:none;font-size:min(var(--step-quote),calc(var(--svh)*7.8))}
.scenes:not(.wide) .statement blockquote p{font-size:min(8.2vw,calc(var(--svh)*5.2))}
.statement blockquote .wd{padding-inline:.3em;margin-inline:-.3em}   /* the swashes of an italic f and j lean far out of their word */
.scenes .statement blockquote .wd{opacity:.14;transition:opacity .5s ease}
.scenes .statement blockquote .wd.on{opacity:1}
.scenes .statement blockquote .wi{transform:none}

/* reading rooms: the text keeps clear of the door */
.wide .programme{display:block;padding:clamp(120px,calc(var(--svh)*22),240px) var(--m) calc(var(--svh)*40)}
.wide .programme-list{position:relative;z-index:3;width:calc(var(--door-l3,60vw) - var(--m) - clamp(24px,4vw,64px))}
.film:not(.wide) .programme{padding:calc(var(--svh)*18) var(--m) calc(var(--svh)*40)}
.wide .profile{display:block;padding:clamp(110px,calc(var(--svh)*15),180px) var(--m) calc(var(--svh)*30) calc(var(--door-r5,40vw) + clamp(24px,4vw,64px))}
.wide .records{margin-top:clamp(64px,calc(var(--svh)*10),110px)}
@media (max-width:1100px){.wide .records{grid-template-columns:1fr}.wide .venues{columns:1}}
.film:not(.wide) .profile{padding:calc(var(--svh)*26) var(--m) calc(var(--svh)*24)}
.wide .contact{max-width:calc(var(--door-lc,70vw) - clamp(24px,4vw,64px));padding-right:0}
.film .contact{margin-top:calc(var(--svh)*125);padding-top:clamp(96px,calc(var(--svh)*11),120px)}     /* a link lands with the heading clear of the bar */
.film .foot{margin-top:calc(var(--svh)*105)}

/* artists' websites: a gallery wall that moves sideways as the page scrolls (only without WebGL) */
.hall{position:relative}
.hall-pin{padding:clamp(96px,12vw,160px) 0}
.hall-track{display:flex;align-items:center;gap:clamp(56px,8vw,150px);padding:0 var(--m);overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;color:var(--ink);--fg:var(--ink);--fg2:rgba(23,18,14,.8);--acc:var(--claret);--rule:rgba(23,18,14,.26)}
.hall-track::-webkit-scrollbar{display:none}
/* nothing moves the wall sideways here (no JavaScript, or a visitor who asked for less motion): it hangs as one column */
html:not(.js) .hall-track{flex-direction:column;align-items:flex-start;overflow:visible;scroll-snap-type:none}
@media (prefers-reduced-motion:reduce){.hall-track{flex-direction:column;align-items:flex-start;overflow:visible;scroll-snap-type:none}}
.hall-intro{flex:none;width:min(30rem,78vw);scroll-snap-align:start}
.hall-intro h2{font-size:var(--step-head);margin-bottom:24px}
.hall-intro p{max-width:34ch;margin-bottom:20px}
.hall-packs{flex:none;width:min(30rem,78vw);scroll-snap-align:start}
.hall-packs h3{font-family:var(--serif);font-weight:400;font-size:var(--step-head);line-height:1;letter-spacing:-.01em;color:var(--ink);margin-bottom:24px}
.hall-packs p{max-width:34ch;margin-bottom:20px}
/* without WebGL a package is one more frame on the sliding wall, with its poster */
.pack-poster{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5em;height:100%;background:var(--wine);color:var(--ivory);text-align:center;font-size:var(--step-small)}
.pack .view{container-type:size}
.pack-poster i{font:italic 400 clamp(1rem,4cqi,1.6rem)/1 var(--serif)}
.pack-poster b{font:400 min(clamp(1.6rem,11cqi,4.5rem),30cqb)/1 var(--serif);letter-spacing:-.02em}
@container (max-height:150px){.pack-poster i,.pack-poster>span{display:none}}     /* in so little height the name alone */
.work.pack .label{inline-size:0;min-inline-size:100%}     /* as wide as its frame, whatever the length of a line */
.hall.is-pinned .pack .pk-list{display:none}     /* on the sliding wall there is height only for the name, what it is for and the way to a quote */
.work{flex:none;scroll-snap-align:center;transform:scale(var(--s,1));transform-origin:50% 60%}
.work a{display:block;text-decoration:none;color:inherit}
.frame{display:block;border:clamp(6px,.6vw,9px) solid var(--ink);background:#fbfbf9;padding:clamp(12px,2.1vw,32px)}
.view{display:block;overflow:hidden;width:min(56vw,calc((calc(var(--svh)*100) - 320px) * 1.6));aspect-ratio:16/10;background:var(--stone)}
.view .shot{height:100%;border-radius:0}
.view img{width:112%;max-width:none;height:100%;margin-left:-6%;object-fit:cover}
.js .view .shot.is-on img{transform:translate3d(var(--px,0%),0,0)}
.label{display:grid;gap:1px;margin-top:22px;font-size:var(--step-small);line-height:1.45}
.label b{font-size:var(--step-body);font-weight:600}
.label .dom{color:var(--fg2);display:inline-flex;align-items:center;gap:6px;transition:color .25s}
@media (hover:hover) and (pointer:fine){.work a:hover .dom{color:var(--acc)}}
.hall-foot{display:none;color:var(--ink);transition:opacity .5s var(--ease)}
@media (max-height:500px){.hall.at-end .hall-foot{opacity:0}}
.hall.is-pinned .hall-pin{position:sticky;top:0;height:calc(var(--svh)*100);padding:0;overflow:hidden;display:flex;align-items:center}
.hall.is-pinned .hall-track{overflow:visible;width:max-content;will-change:transform}
.hall.is-pinned .hall-foot{display:flex;position:absolute;left:var(--m);right:var(--m);bottom:clamp(20px,calc(var(--svh)*4),40px);align-items:center;gap:20px;font-size:var(--step-small);font-variant-numeric:tabular-nums}
.hall-bar{flex:1;height:1px;background:var(--stone);position:relative}
.hall-bar i{position:absolute;inset:0;background:var(--ink);transform-origin:0 50%;transform:scaleX(var(--p,0))}
@media (max-width:767px){
  .view{width:80vw}
  .hall-track{gap:40px}
  .hall-intro{width:84vw}
}

/* the 3D hall: its arch opens at the end of the room of the exhibitions (cinema.js), it ends through the last frame (gallery3d.js) */
.hall.is-3d .hall-pin{position:sticky;top:0;height:calc(var(--svh)*100);padding:0;overflow:hidden;background:var(--plaster);clip-path:inset(100%)}
.hall.is-3d .hall-pin.is-through{background:transparent}
.mat-bevel{position:absolute;z-index:1;pointer-events:none;box-shadow:0 0 0 1px rgba(70,60,50,.32),0 0 0 5px #f6f3ec,0 0 0 6px rgba(70,60,50,.16),inset 0 12px 26px -6px rgba(10,6,4,.42),inset 0 0 5px rgba(10,6,4,.4)}
.hall-canvas{position:absolute;inset:0;width:100%;height:100%;display:block;opacity:0;transition:opacity 1.2s var(--ease);transform-origin:var(--fx,50%) var(--fy,50%)}
.hall.is-ready .hall-canvas{opacity:1}
.hall.is-3d .hall-track{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.hall.is-3d .hall-foot{display:flex;position:absolute;z-index:2;left:var(--m);right:var(--m);bottom:clamp(20px,calc(var(--svh)*4),40px);align-items:center;gap:20px;font-size:var(--step-small);font-variant-numeric:tabular-nums}
.hall.is-3d .hall-foot.is-gone,.hall.in-arch .hall-foot{opacity:0}
.hall-ui{--fg:var(--ink);--fg2:rgba(23,18,14,.8);--acc:var(--claret);--rule:rgba(23,18,14,.26);color:var(--ink)}
.hall-ui>*{position:absolute;z-index:2;opacity:0;transform:translateY(14px);transition:opacity .6s var(--ease),transform .8s var(--ease);pointer-events:none}
.hall-ui>.is-on{opacity:1;transform:none;pointer-events:auto}
.ui-intro{left:var(--m);top:50%;margin-top:-6svh;width:min(32rem,86vw);translate:0 -50%;background:var(--paper);padding:34px 34px 14px}
.ui-intro h2{font-family:var(--serif);font-size:clamp(2.6rem,1.6rem + 3.6vw,5.25rem);margin-bottom:24px}
.ui-intro p{max-width:34ch;margin-bottom:20px}
.ui-intro,.ui-label{box-shadow:0 1px 1px rgba(45,35,25,.14),0 16px 34px -6px rgba(45,35,25,.24)}     /* panels hung on the wall, not cards on a screen */
.ui-intro.is-focus a{outline:2px solid var(--claret);outline-offset:3px}
.ui-label{left:var(--m);bottom:calc(clamp(20px,calc(var(--svh)*4),40px) + 44px);display:grid;gap:1px;background:var(--paper);padding:14px 20px 16px;min-width:15rem;font-size:var(--step-small);line-height:1.45;text-decoration:none;color:var(--ink)}
.ui-label.is-focus{outline:2px solid var(--claret);outline-offset:3px}
.ui-label b{font-family:var(--serif);font-weight:400;letter-spacing:-.01em;font-size:1.5rem}
.ui-label .dom{color:var(--fg2);display:inline-flex;align-items:center;gap:6px;transition:color .25s}
.ui-label .piece{font-style:italic;color:var(--ink);margin-top:2px}
@media (hover:hover) and (pointer:fine){.ui-label:hover .dom{color:var(--acc)}}
@media (max-width:767px){.ui-intro{top:calc(var(--svh)*9);margin-top:0;translate:none;background:var(--paper);padding:22px 20px 6px;width:auto;right:var(--m)}.ui-label{bottom:calc(clamp(20px,calc(var(--svh)*4),40px) + 34px)}}
/* the room of the packages: its panel, and beside each poster the details and the way to a quote */
.hall-ui>.ui-packs{left:auto;right:var(--m);top:auto;bottom:calc(clamp(20px,calc(var(--svh)*4),40px) + 44px);margin:0;translate:none;width:min(27rem,86vw)}
.ui-packs h3{font-family:var(--serif);font-weight:400;font-size:clamp(2rem,1.5rem + 1.7vw,3.2rem);line-height:1.02;letter-spacing:-.01em;color:var(--ink);margin-bottom:16px}
.ui-packs p{max-width:34ch;margin-bottom:16px}
@media (min-aspect-ratio:1/1){.hall-ui>.ui-packs{width:min(34rem,46vw)}.ui-packs p{max-width:none}}
.hall-ui>.ui-packs.is-strip{left:var(--m);width:auto;bottom:calc(clamp(20px,calc(var(--svh)*4),40px) + 26px);padding:12px 20px 12px;display:grid;grid-template-columns:auto 1fr;gap:4px 32px;align-items:center}
.ui-packs.is-strip h3{grid-row:1/3;max-width:11em;margin:0;font-size:clamp(1.5rem,1rem + 1.6vw,2.3rem)}
.ui-packs.is-strip p{margin:0;font-size:.8125rem;line-height:1.35}
.ui-label.is-pack{width:min(24rem,40vw);min-width:17rem;padding:18px 22px 20px}
.pk-badge{font-style:italic;color:var(--fg2)}
.pk-tag{color:var(--ink);margin-top:4px;text-wrap:balance}
.pk-list{display:grid;gap:5px;margin:12px 0 14px;padding-top:12px;border-top:1px solid var(--rule);color:var(--fg2)}
.ui-label .dom>span,.label .dom>span{background:linear-gradient(currentColor,currentColor) 0 100%/100% 1px no-repeat;padding-bottom:.12em}
.ui-label.is-pack .dom{color:var(--ink);font-weight:500}
@media (max-width:767px) and (max-aspect-ratio:999/1000){.ui-label.is-pack{left:var(--m);right:var(--m);width:auto;min-width:0;padding:14px 18px 16px;bottom:calc(clamp(20px,calc(var(--svh)*4),40px) + 34px)}.ui-label.is-pack .pk-list{margin:8px 0 10px;padding-top:8px;gap:3px}.hall-ui>.ui-packs{left:var(--m);right:var(--m);width:auto;top:calc(var(--svh)*9);bottom:auto;padding:22px 20px 6px}}
@media (max-height:500px){.ui-label.is-pack{bottom:calc(clamp(20px,calc(var(--svh)*4),40px) + 26px);padding:10px 16px 12px;font-size:.8125rem;line-height:1.35}.ui-label.is-pack .pk-list{margin:6px 0 8px;padding-top:6px;gap:1px}.ui-label.is-pack b{font-size:1.2rem}}
.ui-index{display:none!important;font:inherit}
.ui-index button{font:inherit}
/* the hall's own loader, in the light of its arch while the rooms are being hung */
.hall-ui>.ui-wait{left:50%;top:50%;width:38px;height:56px;margin:-28px 0 0 -19px;opacity:1;transform:none;transition:opacity .6s}
.ui-wait svg{width:100%;height:100%;overflow:visible}
.ui-wait path{fill:none;stroke:var(--ink);stroke-width:11;stroke-linecap:round;stroke-dasharray:1 1;stroke-dashoffset:calc(1 - var(--p,.04));transition:stroke-dashoffset .4s linear}
.is-ready .ui-wait{opacity:0}

/* smooth scroll */
html.lenis, html.lenis body{height:auto}
.lenis.lenis-smooth{scroll-behavior:auto!important}
html.lenis{scroll-behavior:auto}   /* Lenis does the gliding: a native smooth scroll under it turned its jumps into glides */
.lenis.lenis-stopped{overflow:hidden}

/* the contact form: the last, empty frame of the hall */
.note{position:relative;display:grid;align-content:center;gap:clamp(16px,2.6vh,26px);color:var(--ink);--fg2:rgba(23,18,14,.8);--acc:var(--claret);--btn-bg:var(--ink);--btn-fg:var(--ivory);--btn-hov:var(--claret);font-size:var(--step-small);line-height:1.45;text-align:left}
.note [hidden]{display:none!important}
.note-title{font-family:var(--serif);font-weight:400;color:var(--ink);font-size:clamp(1.9rem,1.3rem + 1.6vw,2.8rem);line-height:1.05;letter-spacing:-.01em}
.note-say{margin-top:10px;max-width:46ch;color:var(--fg2)}
.note-fields{display:grid;gap:clamp(12px,2vh,20px)}
.note-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px}
.field{position:relative;display:grid;gap:2px;color:var(--fg2)}
.field::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--ink);transform:scaleX(0);transform-origin:0 50%;transition:transform .7s var(--ease),background-color .25s;pointer-events:none}
.field:focus-within::after{transform:none}
.field.is-bad::after{background:var(--claret);transform:none}
.field input,.field textarea{width:100%;margin:0;padding:8px 0;font:inherit;font-size:max(1rem,16px);line-height:1.5;color:var(--ink);caret-color:var(--claret);background:transparent;border:0;border-bottom:1px solid rgba(28,27,25,.42);border-radius:0;resize:none;-webkit-appearance:none;appearance:none;transition:border-color .2s}
.field textarea{display:block;height:calc(4.5em + 16px)}
.field input:focus,.field textarea:focus{outline:none}
.field.is-bad{color:var(--claret)}
.field.is-bad input,.field.is-bad textarea{border-bottom-color:var(--claret)}
.note-foot{display:flex;flex-wrap:wrap;align-items:center;gap:12px 22px;margin-top:4px}
.note-foot .btn{white-space:nowrap}
.note-legal{flex:1 1 13rem;font-size:.8125rem;color:var(--fg2)}
.note-legal a{color:inherit;text-decoration:underline;text-underline-offset:.2em}
.note-status:empty{display:none}
.note-status:focus{outline:none}
.note[data-state="bad"] .note-status,.note[data-state="fail"] .note-status{color:var(--claret)}
.note-status a{color:inherit}
.note-status small{display:block;margin-top:6px;font:400 var(--step-small)/1.4 var(--sans);color:var(--fg2)}
.note.is-busy [type="submit"]{opacity:.55;pointer-events:none}
.note.is-sent .note-fields,.note.is-sent .note-say{display:none}
.note.is-sent .note-status{font-family:var(--serif);font-size:clamp(1.3rem,1.1rem + .6vw,1.75rem);line-height:1.3;color:var(--ink)}
/* without WebGL: one more frame on the sliding wall */
.hall-end{flex:none;scroll-snap-align:center}
.hall-end .note{width:min(60vw,44rem);border:clamp(6px,.6vw,9px) solid var(--ink);background:#fbfbf9;padding:clamp(24px,3.4vw,52px)}
@media (max-width:767px){.hall-end .note{width:86vw}}
.hall.is-pinned .hall-foot{pointer-events:none}
.hall.is-pinned .hall-end .note{max-height:calc(calc(var(--svh)*100) - 2 * (clamp(20px,calc(var(--svh)*4),40px) + 38px));overflow:auto;overscroll-behavior:contain;align-content:start}   /* centred, an overflow would cut the title off */
@media (max-height:640px){.hall-end .note{padding:18px 20px;gap:12px}}
@media (max-width:599px){.note-row{grid-template-columns:1fr}}
/* in the 3D hall: laid on the mat in perspective, sized to the frame (cq units follow the frame, not the window) */
.hall-ui>.ui-note{left:0;top:0;transform-origin:0 0;transition:opacity .5s var(--ease);opacity:calc(var(--nv,0) * (1 - var(--veil,1)));container-type:size;will-change:transform,opacity}
.ui-note .note{width:100%;height:100%;gap:3.2cqh;font-size:clamp(14px,3cqh,19px)}
@media (prefers-reduced-motion:no-preference){
  .ui-note .note-title,.ui-note .note-say,.ui-note .field,.ui-note .note-foot{transition:opacity .9s var(--ease),transform 1.1s var(--ease)}
  .ui-note:not(.is-met) .note-title,.ui-note:not(.is-met) .note-say,.ui-note:not(.is-met) .field,.ui-note:not(.is-met) .note-foot{opacity:0;transform:translateY(16px)}
  .ui-note.is-fitting *{transform:none!important;transition:none!important}
  .ui-note .note-say{transition-delay:.07s}
  .ui-note .note-row .field{transition-delay:.14s}
  .ui-note .note-row .field+.field{transition-delay:.2s}
  .ui-note .note-fields>.field{transition-delay:.26s}
  .ui-note .note-foot{transition-delay:.32s}
}
.ui-note .note-title{font-size:clamp(26px,8.6cqh,60px)}
.ui-note .note-say{font-size:1em;max-width:40em}
.ui-note .note-fields{gap:2.6cqh}
.ui-note .note{overflow:auto;overscroll-behavior:contain;scrollbar-width:none}     /* a last resort: nothing in the frame is ever out of reach */
.ui-note .note{align-content:center;align-content:safe center}     /* centred, but an overflow never hides the title */
.ui-note .note[data-state="bad"] .note-say,.ui-note .note[data-state="fail"] .note-say{display:none}     /* the frame is small: the words that matter now take the room of the greeting */
.ui-note .note.is-tight{gap:10px}
.ui-note .note.is-tight .note-say{display:none}
.ui-note .note.is-tight .note-title{font-size:clamp(24px,7.4cqh,34px)}
.ui-note .note.is-tight .note-fields{gap:8px}
.ui-note .note.is-tight .note-legal{font-size:.75rem;line-height:1.35}
.ui-note .note-legal{flex-basis:11rem}
@media (max-width:599px){.ui-note .field textarea{height:calc(3em + 16px)}.ui-note .note-foot{gap:8px 16px}}
@media (max-height:500px){.ui-note .field textarea{height:calc(1.5em + 16px)}.ui-note .note-title{font-size:24px}.ui-note .note-row{grid-template-columns:repeat(2,minmax(0,1fr))}}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .js .ch,.js [data-split] .wi,.js .hero-actions>*,.js .next>*{transform:none;opacity:1;transition:none}
  .js [data-reveal],.js .row{opacity:1;transform:none;transition:none}
  .js .shot img{clip-path:inset(0);transform:none;transition:opacity .4s;opacity:0}
  .js .shot.is-on img{opacity:1}
  .shot.is-seen:not(.is-on) .shot-l path:not(.b){animation-duration:3s}
}

/* between the pages of the site: a dissolve, where the browser can */
@media (prefers-reduced-motion:no-preference){
  @view-transition{navigation:auto}
  ::view-transition-old(root),::view-transition-new(root){animation-duration:.65s}
}

/* legal pages: you read them on the plaster of the last room, the one the end credits stand in */
.legal-lang{display:none}
html:not([data-legal]) .legal-lang[lang="en"],html[data-legal="en"] .legal-lang[lang="en"],html[data-legal="it"] .legal-lang[lang="it"],html[data-legal="fr"] .legal-lang[lang="fr"],html[data-legal="es"] .legal-lang[lang="es"]{display:block}
.legal-langs{display:flex;gap:14px;margin-bottom:28px;font-size:var(--step-small)}
.legal-langs a{text-decoration:none;padding-bottom:.12em;color:inherit;opacity:.72}
html[data-legal="en"] .legal-langs a[lang="en"],html[data-legal="it"] .legal-langs a[lang="it"],html[data-legal="fr"] .legal-langs a[lang="fr"],html[data-legal="es"] .legal-langs a[lang="es"]{opacity:1;background:linear-gradient(currentColor,currentColor) 0 100%/100% 1px no-repeat}
.legal-body{background:var(--plaster);color:var(--ink);--fg2:rgba(23,18,14,.8);--rule:rgba(23,18,14,.26);--acc:var(--claret)}
.legal-body .legal-page .upd{color:rgba(23,18,14,.72)}
.legal-body .foot{background:transparent}
.legal-body .top a{text-decoration:none}
.legal-page{max-width:760px;margin:0 auto;padding:140px var(--m) 120px}
.legal-page h1{font-size:clamp(2.6rem,1.6rem + 3.6vw,5.25rem);margin-bottom:12px}
.legal-page .upd{color:var(--muted);font-size:var(--step-small);margin-bottom:56px}
.legal-page h2{font-size:var(--step-lead);letter-spacing:-.02em;line-height:1.2;margin:48px 0 12px}
.legal-page p,.legal-page li{max-width:62ch}
.legal-page p+p{margin-top:.8em}
.legal-page ul{list-style:disc;padding-left:1.2em;display:grid;gap:6px;margin-top:10px}
.legal-page a{text-decoration:underline;text-underline-offset:.2em}
.legal-page .top-back{position:absolute;top:22px;right:var(--m);font-size:var(--step-small);font-weight:500}
.legal-page code{font:inherit;font-weight:500}
@media print{
  .legal-body{background:#fff;color:#000}
  .legal-page *{opacity:1!important;transform:none!important;color:#000!important}
  .legal-body .top nav,.legal-body .foot{display:none}
}
