/* luca giacolini, proposal B: bold and graphic. The gradient is the site's structure: a scale from product (0, magenta)
   to space (100, blue), and every project and job sits at its place on it.
   v20 (17 nov, Luca: "la narrazione della piattaforma è sulla tensione product-space"): the home's glass is pulled to its two
   sides, a deep light at each edge with its word, the nearer one to the pointer's light pulling harder.
   v19 (17 nov, Luca: "about è troppo lunga, leziosa ... deve essere più di impatto nella landing!"): about's first screen is the
   two ends of the scale as big as the screen allows, "product" and "space."; the path is a short list, no quote.
   v17 (17 nov, Luca: "la landing di about è un po' noiosa", then "non voglio una mia foto"): about's first screen is one
   sentence from product to space, the ten projects in it, each with its small picture.
   v16 (17 nov, Luca: "il menu in alto non si capisce molto", "in about questo impaginato stretto non funziona"): the menu says
   who (left) and what you can do (right, blue, with one button); about uses the whole width below its first screen.
   v15 (17 nov, Luca: "la narrazione two degrees one practice non mi piace, da troppa importanza all'università"): about tells
   the work: "between product and space", the five teams as five lights in the first glass, each with its name; the two
   degrees only as a short note at the end of the path.
   v14 (17 nov): a plainer statement on the home; "→ zurich" in the menu, its arrow pulsing toward the right.
   v13 (17 nov, Luca: "tutte le landing devono sempre essere belle tagliate sull'altezza dinamica dello schermo!"): every first
   screen is exactly one screen tall and never cut: about = title, numbers and the teams' glass down to the bottom; a project
   = its glass head and photo, sized by the screen's height, on a phone too.
   v12 (17 nov, mobile pass): larger touch areas for the small text links; less white after the about journey.
   v10 (17 nov): the caption in the middle under the home's glass; a smaller footer; the menu's line only once the page
   scrolls; project text in two columns; about newest first, the cv as a text link.
   v9 (17 nov): no line through the lights; on the home the projects float in the glass, the names are out of sight, and the
   light moves by itself when nobody moves it.
   v8 (17 nov): the home's glass runs edge to edge and down to the bottom of the first screen (no lede); every page comes in.
   v7 (17 nov): the lights breathe; about tells the path as a journey (two degrees as the two ends, the jobs between, in time order).
   v6 (17 nov): the home is one glass card, ten lights for the ten projects; the footer is glass on the full gradient; the cursor
   is the old site's dot and ring, and every marker on a scale is drawn the same way. No prints, no stems, no tiles.
   v5 (17 nov, Luca: "il colore di gradiente si usa solo nella grafica glass frosted, nel resto usa il blu pieno"): the scale's
   colours live only in the glass; every other mark is solid blue. One menu on every page, the home included.
   v3 (17 nov): one reeded glass per page (home, about path, project head), lit at its place on the scale. */
:root{
  --paper:#fff;--veil:rgba(255,255,255,.985);--ink:#000;--ink-soft:#3a3a3a;--muted:#767676;--surface:#f4f4f4;
  --blue:#0000ff;--magenta:#c0134a;
  --scale:linear-gradient(90deg,#c0134a 0%,#0000ff 100%);   /* from product (magenta) to space (blue): only behind glass */
  --serif:"IBM Plex Serif",Georgia,serif;--mono:"JetBrains Mono",ui-monospace,Menlo,monospace;
  --gut:clamp(16px,3.2vw,48px);--nav-h:56px;--ease:cubic-bezier(.22,1,.36,1)
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html,body{overflow-x:clip}   /* clip, not hidden: hidden makes body a scroll box and breaks the sticky panel on about */
html{-webkit-text-size-adjust:100%}
body{background:var(--paper);color:var(--ink);font-family:var(--serif);font-weight:300;font-size:17px;line-height:1.6;-webkit-font-smoothing:antialiased}
img,video{display:block;max-width:100%}
a{color:inherit}
strong,b{font-weight:500}
.mono{font-family:var(--mono);font-variant-ligatures:none;text-transform:lowercase;letter-spacing:.04em}
:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip{position:absolute;left:var(--gut);top:-60px;z-index:80;background:var(--ink);color:#fff;font-family:var(--mono);font-size:12px;padding:10px 14px;text-decoration:none}
.skip:focus{top:8px}
.glass{position:absolute;inset:0;width:100%;height:100%;display:block;z-index:-1;pointer-events:none}   /* drawn by b.js (WebGL, or CSS ellipses without it) */
/* labels on glass are a hair translucent (--veil): an opaque box over a WebGL canvas can make Chrome cull the wrong (mirrored) part of it */

/* ── nav: the same on every page ─────────────────────── */
.nav{position:fixed;inset:0 0 auto;z-index:60;height:var(--nav-h);display:flex;align-items:center;justify-content:space-between;gap:20px;
  padding:0 var(--gut);font-family:var(--mono);font-variant-ligatures:none;font-size:12px;letter-spacing:.03em;text-transform:lowercase;
  color:var(--ink);background:var(--paper)}   /* v16: solid white; through the frosted band the page showed behind the small grey line */
.nav::after{content:"";position:absolute;left:var(--gut);right:var(--gut);bottom:0;height:1px;background:currentColor;transform:scaleY(.5);transform-origin:bottom;
  opacity:0;transition:opacity .3s ease}
/* v10 (Luca, on the project page: "il dettaglio tra linea orizzontale del menu e inizio frost è orribile"): the menu's line
   shows only once the page scrolls under it; at the top the menu is a clean white band over whatever starts below it */
.scrolled .nav::after{opacity:1}
.nav a{text-decoration:none;transition:opacity .15s}
.nav a:hover{opacity:.5}
.nav .lock{font-family:var(--serif);font-size:21px;letter-spacing:-.01em;text-transform:none;line-height:1}
.nav .lock em{font-style:italic;color:var(--blue)}
/* v16 (Luca: "il menu in alto non si capisce molto ... non c'è gerarchia. non si capisce cosa posso cliccare e cosa no"):
   who on the left, what you can do on the right. The name (serif) is the way home; zurich beside it is grey: information,
   not a link. On the right everything is blue and can be clicked: about, underlined (a dot marks the page you are on), and
   "write to me", the one button, square and filled, which goes to the contacts at the bottom of the page. */
.nav .id{display:flex;align-items:baseline;gap:clamp(12px,1.6vw,22px);min-width:0}
.nav .links{display:flex;gap:clamp(16px,2vw,28px);align-items:center}
.nav .links a:not(.cta){color:var(--blue);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px;
  text-decoration-color:rgba(0,0,255,.3);transition:text-decoration-color .2s}
.nav .links a:not(.cta):hover{opacity:1;text-decoration-color:var(--blue)}
.nav .links .here{text-decoration:none}
.nav .links .here::before{content:"";display:inline-block;width:5px;height:5px;border-radius:50%;background:currentColor;margin-right:8px;vertical-align:2px}
.nav .cta{background:var(--blue);color:#fff;padding:9px 14px 10px;line-height:1;transition:background-color .2s,color .2s,box-shadow .2s}
/* v22h (Luca, 18 Nov, 15:38: "il nero non è un colore di brand per i bottoni!"): pointed at, a button turns into its outline,
   white with a blue edge and blue words (the secondary button), never black */
.nav .cta:hover{opacity:1;background:var(--paper);color:var(--blue);box-shadow:inset 0 0 0 1px var(--blue)}
.nav .loc{white-space:nowrap;color:var(--muted)}
/* v14 (Luca: "zurich ... con una freccia pulsante verso dx"): the arrow nudges toward zurich, again and again. v16 (Luca, on
   proposal A: "mettiamo Milan freccia Zurich"): "milan → zurich", grey, the arrow between the two cities */
.nav .loc .ar{display:inline-block;margin:0 .3em;color:var(--blue);animation:nudge 1.8s var(--ease) infinite}   /* v22 (Luca, 18 Nov: "la freccia tra milan e zurich falla blu") */
.foot:focus{outline:none}
@keyframes nudge{0%,55%,100%{transform:translateX(0)}25%{transform:translateX(5px)}}

/* ── home: the headline, then the glass ──────────────────
   Ten lights, one for each project, at its place between product and space, all on one line. The pointer's light runs along
   the same line and grows while the pointer is on the glass: then it is the main thing on the page. A caption names the
   project it is on; a click opens it. v8 (Luca, 17 nov: "il riquadro frosted deve integrarsi meglio, magari arriva fino in
   fondo e ai lati"): no lede; the glass runs edge to edge and down to the bottom of the first screen, and the ends, the
   caption and the ten names sit on it. */
.first{min-height:100svh;display:flex;flex-direction:column;padding:calc(var(--nav-h) + clamp(24px,5vh,64px)) var(--gut) 0}
/* the headline is the typewriter, as on the old site: "hello, I am" and the role, typed out in blue italic */
.intro{--hf:clamp(44px,5.6vw,96px)}   /* v22: the headline's size as a variable */
.hello{font-weight:300;font-size:var(--hf);line-height:1;letter-spacing:-.035em}
.hello .pre{display:block}
.hello .role{display:block;min-height:1.08em;white-space:nowrap}
.hello .typed{font-style:italic;color:var(--blue)}
.hello .caret{display:inline-block;width:.05em;min-width:3px;height:.74em;margin-left:.08em;vertical-align:-.02em;background:var(--blue);animation:blink 1.05s steps(2,start) infinite}
@keyframes blink{to{visibility:hidden}}
.deck{flex:1;display:flex;flex-direction:column;margin:clamp(28px,5vh,60px) calc(-1 * var(--gut)) 0;scroll-margin-top:var(--nav-h)}
.card{position:relative;isolation:isolate;overflow:hidden;flex:1;min-height:380px;-webkit-user-select:none;user-select:none;
  background:linear-gradient(90deg,rgba(192,19,74,.1),rgba(0,0,255,.1)),var(--paper)}
/* v20 (Luca, 17 Nov, 22:18: "la narrazione della piattaforma è sulla tensione product-space. nella landing non si legge a
   sufficienza"; of three proposals he chose C, 22:25): the glass is pulled to its two sides. A deep light half out of each
   edge, product (magenta) on the left and space (blue) on the right, each with its word on it in white (as on the footer's
   glass); the nearer one to the pointer's light pulls harder (b.js).
   v21 (Luca, 18 Nov: "centra in verticale product e space sull'altezza del frosted"): the words and their two lights on the
   glass's middle line (the words' x-height centred on it). */
.card .pole{position:absolute;top:50%;transform:translateY(-62%);z-index:1;pointer-events:none;font-weight:300;
  font-size:clamp(24px,min(2.6vw,4.4vh),46px);line-height:1;letter-spacing:-.02em;color:#fff;white-space:nowrap}
.card .pole.lo{left:max(12px,calc(var(--gut) * .5))}.card .pole.hi{right:max(12px,calc(var(--gut) * .5))}
.card .pole em{font-style:italic}
/* the dock: the caption, then the ten names, along the bottom of the glass */
.dock{position:absolute;left:var(--gut);right:var(--gut);bottom:clamp(16px,2.8vh,30px);z-index:2;display:flex;flex-direction:column;align-items:center;gap:clamp(14px,2.4vh,24px);pointer-events:none}
.dock > *{pointer-events:auto}
/* v10 (Luca: "non mi piace che le schede progetto escano prima a destra e poi a sinistra ... tutte centrali"): always in the middle */
.chip{position:relative;display:grid;grid-template-columns:96px minmax(0,1fr);grid-template-rows:1fr auto;gap:0 16px;
  width:min(440px,100%);padding:10px 14px 10px 10px;background:var(--veil);color:var(--ink);text-decoration:none;transition:opacity .17s ease}
.chip.sw,.chip.wait{opacity:0}
.chip img{grid-row:1 / 3;width:96px;height:72px;object-fit:cover;background:var(--surface)}
.chip .ct{grid-column:2;grid-row:1 / 3;align-self:center;min-width:0}
.chip .cn{display:block;font-style:italic;font-size:22px;line-height:1.1;letter-spacing:-.012em;color:var(--blue)}
.chip .cd{display:block;margin-top:6px;font-family:var(--mono);font-variant-ligatures:none;font-size:11px;letter-spacing:.03em;line-height:1.45;color:var(--ink-soft)}
/* v18 (Luca: "in questa scheda non è importante l'anno o il pulsante open"): the caption is the picture, the name and its line;
   the whole caption is the link, and pointing at it underlines the name */
.chip:hover .cn{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.14em}
.chip:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
/* the ten names (v9, Luca: "togli i nomi dei progetti da lì sotto"): out of sight. They stay for screen readers and the
   keyboard, and show along the bottom of the glass only while one of them has focus (the light goes to it) */
.index{list-style:none;position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;
  font-family:var(--mono);font-variant-ligatures:none;font-size:12.5px;letter-spacing:.03em;line-height:1.4}
.index:focus-within{position:static;width:auto;height:auto;overflow:visible;clip-path:none;white-space:normal;align-self:stretch;display:flex;flex-wrap:wrap;gap:8px 22px}
.index a{text-decoration:none;color:var(--ink);transition:color .2s}
.index a:hover,.index a.on{color:var(--blue)}
.index a.on{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
@media (min-width:1180px){.index:focus-within{justify-content:space-between}}
@media (max-height:900px) and (min-width:861px){.first{padding-top:calc(var(--nav-h) + 30px)}.intro{--hf:clamp(44px,5vw,84px)}.deck{margin-top:clamp(24px,4vh,40px)}}
@media (max-height:760px) and (min-width:861px){.first{padding-top:calc(var(--nav-h) + 18px)}.intro{--hf:clamp(40px,4.4vw,72px)}.deck{margin-top:22px}}
@media (max-width:860px){
  .intro{--hf:clamp(28px,calc((100vw - 32px) / 10.5),64px)}   /* the longest role (10em) stays on one line: nothing below jumps */
  .deck{margin-top:28px}
  .card{min-height:min(440px,50svh)}   /* v22: on a short phone (375 x 667) the first screen always holds */
  .card .pole{font-size:22px}
  .dock{bottom:16px;gap:14px}
  .chip{align-self:stretch;width:auto;margin:0 -6px;grid-template-columns:72px minmax(0,1fr);gap:0 12px;padding:8px 12px 8px 8px}
  .chip img{width:72px;height:54px}
  .chip .cn{font-size:19px}
  .index:focus-within{gap:7px 16px;font-size:12px}
}
@media (max-width:560px){
  /* v16 (Luca: "sistema anche in mobile"): on a phone the name and milan → zurich make one block on the left, about and
     the button sit on its middle line on the right; the button smaller so that it does not outweigh the name */
  .nav .links{gap:16px}
  .nav .id{flex-direction:column;align-items:flex-start;gap:6px}
  .nav .lock{font-size:19px}
  .nav .loc{font-size:11px;letter-spacing:.04em}   /* v22f: 11 px, the smallest text on the site */
  .nav .links .here::before{margin-right:7px}
  .nav .cta{font-size:11.5px;padding:8px 10px 9px}
}
@media (max-width:359px){.nav .links{gap:10px}.nav .cta{font-size:11px;padding:7px 9px 8px}}

/* ── section heads ───────────────────────────────────── */
.label{font-family:var(--mono);font-variant-ligatures:none;font-size:12px;letter-spacing:.06em;text-transform:lowercase;color:var(--blue)}
.label::before{content:"_ "}
.h2{font-weight:300;font-size:clamp(52px,7.4vw,124px);line-height:.92;letter-spacing:-.035em}
.h2 em{font-style:italic;color:var(--blue)}

/* ── statements: coloured type on paper ─────────────── */
.statement{background:var(--paper);color:var(--blue);padding:clamp(80px,12vw,190px) var(--gut) clamp(40px,5vw,84px)}   /* v22: the index follows */
/* v22c: the statement is the old site's longer line now (Luca, 09:40): smaller, wider */
.statement p{font-size:clamp(30px,3.6vw,60px);line-height:1.1;letter-spacing:-.025em;max-width:30ch;text-wrap:balance}
.statement em{font-style:italic}
.statement .go{display:inline-block;margin-top:clamp(28px,4vw,48px);font-family:var(--mono);font-size:13px;letter-spacing:.04em;text-decoration:none;border-bottom:1px solid currentColor;padding-bottom:4px}
.statement .go:hover{opacity:.6}

/* ── footer: glass on the full gradient, from product to space (v6: the flat blue was dead) ── */
.foot{position:relative;isolation:isolate;overflow:hidden;background:var(--scale);color:#fff;padding:clamp(40px,5vw,76px) var(--gut) 22px}   /* v10: lower (Luca: "riduci la dimensione del footer") */
.foot .label{color:#fff}
.foot .mail{display:inline-block;margin-top:14px;font-size:clamp(22px,3.4vw,52px);line-height:1.05;letter-spacing:-.025em;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.55);transition:border-color .2s;overflow-wrap:anywhere}
.foot .mail:hover{border-color:#fff}
.foot .cols{display:flex;flex-wrap:wrap;gap:14px 40px;margin-top:clamp(22px,2.8vw,36px);font-family:var(--mono);font-variant-ligatures:none;font-size:13px;letter-spacing:.04em}
.foot .cols a{text-decoration:none;border-bottom:1px solid rgba(255,255,255,.5)}
.foot .cols a:hover{border-color:#fff}
.foot .base{display:flex;justify-content:space-between;gap:12px 24px;flex-wrap:wrap;margin-top:clamp(34px,4.4vw,60px);padding-top:14px;position:relative;
  font-family:var(--mono);font-variant-ligatures:none;font-size:11.5px;letter-spacing:.03em}
.foot .base::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:#fff;transform:scaleY(.5);opacity:.8}

/* ── markers: the old site's pointer, a blue dot in a ring, wherever a scale shows a place on it ── */
.mscale .bar i{position:absolute;top:50%;left:calc(var(--p) * 1%);width:32px;height:32px;border-radius:50%;border:1px solid rgba(0,0,255,.5);transform:translate(-50%,-50%)}
.mscale .bar i::before{content:"";position:absolute;left:50%;top:50%;width:6px;height:6px;margin:-3px 0 0 -3px;border-radius:50%;background:var(--blue)}

/* ── project page ────────────────────────────────────── */
.p-hero{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);min-height:calc(100vh - var(--nav-h));min-height:calc(100svh - var(--nav-h));margin-top:var(--nav-h)}
.p-field{position:relative;isolation:isolate;overflow:hidden;background:var(--paper);color:var(--ink);padding:clamp(28px,3.6vw,56px) var(--gut);
  display:flex;flex-direction:column;justify-content:space-between;gap:48px}
.p-field .top{display:flex;justify-content:space-between;gap:16px;font-family:var(--mono);font-variant-ligatures:none;font-size:12px;letter-spacing:.04em;color:var(--ink-soft)}
.p-field h1{font-weight:300;font-size:clamp(42px,min(5.9vw,11vh),108px);line-height:.94;letter-spacing:-.035em;overflow-wrap:break-word}
.p-field h1 em{font-style:italic;color:var(--blue)}
.p-field .sub{font-size:clamp(18px,1.45vw,22px);line-height:1.45;max-width:32ch;margin-top:22px;color:var(--ink-soft)}
.pscale{padding-top:clamp(44px,10vh,130px)}   /* room for the light above the line */
/* the mini scale: a hairline, the project's marker on it; in the head the glass lights up behind the marker */
.mscale{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;font-family:var(--mono);font-variant-ligatures:none;font-size:11px;letter-spacing:.04em}
.mscale > span:first-child,.mscale > span:last-child{background:var(--veil);padding:2px 6px;margin:0 -6px;color:var(--blue)}
.mscale .bar{position:relative;height:1px}   /* v18 (Luca: "togliamola abbiamo detto"): no line, no marker to see */
.mscale .bar i{visibility:hidden}
.p-photo{position:relative;overflow:hidden;background:var(--surface);min-height:300px}
.p-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.p-photo .cap{position:absolute;left:16px;bottom:14px;font-family:var(--mono);font-size:11px;letter-spacing:.04em;color:#fff;background:rgba(0,0,0,.42);padding:4px 8px}
/* v22 (Luca, 18 Nov, 09:06: "dopo how I work ci va una lista dei progetti. fai una proposta"; 09:28: "usiamo la proposta A"): the
   index of the ten projects, in the order of the scale: one row each, the name big in blue (it is a link), its line and year in
   grey. v22i (16:00, of three proposals: "b! bello la lente guarda!"): on a row the pointer's disc opens into a lens with the
   project's photo inside it (the cursor's rules, .cur-look, below; before, the photo followed the mouse in a frame of its own).
   On a phone the line goes under the name and there is no photo. */
.works{padding:clamp(24px,3vw,48px) var(--gut) clamp(72px,9vw,140px)}
.works .label{margin-bottom:clamp(18px,2.2vw,30px)}
.works .wl{list-style:none;margin:0;padding:0;position:relative}
.works .wl::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:var(--ink);transform:scaleY(.5)}
.works .wl a{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,4fr) minmax(0,1fr);gap:24px;align-items:baseline;
  padding:clamp(12px,1.4vw,20px) 0;text-decoration:none;color:inherit;position:relative}
.works .wl a::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:rgba(0,0,0,.18);transform:scaleY(.5)}
.works .wn{font-size:clamp(30px,3.6vw,60px);line-height:1.05;letter-spacing:-.025em;color:var(--blue)}
.works .wl a:hover .wn,.works .wl a:focus-visible .wn{font-style:italic}
.works .wd,.works .wy{font-family:var(--mono);font-variant-ligatures:none;font-size:12px;letter-spacing:.03em;color:var(--muted)}
.works .wy{text-align:right}
@media (max-width:860px){
  .works .wl a{grid-template-columns:minmax(0,1fr) auto;gap:4px 16px}
  .works .wn{font-size:28px}
  .works .wd{grid-column:1;grid-row:2}
  .works .wy{grid-column:2;grid-row:1}
}
/* v22c: on the home's glass the cursor's glass disc is the lens (drawn in the glass, b.js); the dot stays, it is the mouse */
.cur-on.cur-card .cur-ring{opacity:0;transition:opacity .22s ease}
/* v22k (Luca, 18 Nov, 17:24: "la scheda tech andava bene anche prima tutta orizzontale, ma più bella"; v22 had moved it into the
   story's right column, two by two): the facts in one row again, between the head and the story, on the page's twelve columns
   (three each): one hairline above them, the labels small and grey (they only inform: grey, not blue), the facts in the text's
   serif, larger and balanced, no vertical rules and no heavy mono (v21's band). Two by two on a phone. */
.spec{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 24px;margin:clamp(40px,4.4vw,72px) var(--gut) 0;padding-top:clamp(16px,1.4vw,22px);position:relative}
.spec::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:var(--ink);transform:scaleY(.5);transform-origin:top}
.spec dt{font-family:var(--mono);font-variant-ligatures:none;font-size:11px;letter-spacing:.06em;line-height:1.4;color:var(--muted)}
.spec dt::before{content:"_ "}
.spec dd{font-size:clamp(18px,1.5vw,24px);line-height:1.3;letter-spacing:-.008em;color:var(--ink);margin-top:10px;max-width:26ch;text-wrap:balance}
/* v10 (Luca: "impaginato molto brutto e poco chiaro, perché tutto quello spazio bianco?"): the lead and the rest side by side,
   both from the top, so the text reads left to right and nothing is left empty; less air around the text, the quote and the photos */
.story{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:0 24px;align-items:start;padding:clamp(52px,5.6vw,92px) var(--gut) clamp(36px,4vw,64px)}
.story .lead{grid-column:1 / 7;font-size:clamp(22px,2.15vw,34px);line-height:1.3;letter-spacing:-.012em}
.story .rest{grid-column:8 / 13;padding-top:.35em;font-size:18px;line-height:1.66;color:var(--ink-soft)}
.story .rest p + p{margin-top:1em}
.story em{font-style:italic;color:var(--blue)}
.story strong{font-weight:500}
.btn{display:inline-flex;gap:12px;align-items:center;margin-top:26px;font-family:var(--mono);font-variant-ligatures:none;font-size:13px;letter-spacing:.04em;text-transform:lowercase;
  background:var(--blue);color:#fff;padding:14px 20px;text-decoration:none;transition:background .2s,color .2s,box-shadow .2s}
.btn:hover{background:var(--paper);color:var(--blue);box-shadow:inset 0 0 0 1px var(--blue)}   /* v22h: as the menu's button, never black */
.qblock{background:var(--paper);color:var(--blue);padding:clamp(80px,11vw,170px) var(--gut)}
.project .qblock{padding:clamp(40px,4.6vw,76px) var(--gut)}
.qblock blockquote{font-style:italic;font-size:clamp(30px,4.3vw,70px);line-height:1.1;letter-spacing:-.022em;max-width:21ch}
.qblock blockquote em{font-style:normal}
.qblock.long blockquote{font-size:clamp(26px,3.3vw,54px);line-height:1.16;max-width:27ch}
.qblock cite{display:block;margin-top:30px;font-family:var(--mono);font-variant-ligatures:none;font-style:normal;font-size:13px;letter-spacing:.04em;color:var(--ink-soft)}
.qblock cite::before{content:"— "}
.mosaic{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:clamp(8px,1vw,14px);padding:clamp(36px,4.4vw,72px) var(--gut) 14px}
.mosaic figure{overflow:hidden;background:var(--surface);margin:0}
.mosaic .m1{grid-row:1 / 3;position:relative}   /* the big photo takes the height of the two small ones */
.mosaic .m1 > img,.mosaic .m1 > video{position:absolute;inset:0}
.mosaic .m2,.mosaic .m3{aspect-ratio:4/3}
.mosaic img,.mosaic video{width:100%;height:100%;object-fit:cover}
.mcap{display:flex;justify-content:space-between;gap:16px;padding:0 var(--gut);font-family:var(--mono);font-variant-ligatures:none;font-size:11px;letter-spacing:.04em;color:var(--ink-soft)}
/* v18b (Luca: "qua metti ordine: si può solo andare avanti o tornare indietro"): a project page ends with two links and
   nothing else, the previous project on the left and the next on the right, along the scale; same size, same weight */
.pn{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;position:relative;margin-top:clamp(40px,5vw,80px);padding:clamp(44px,6vw,96px) var(--gut) clamp(56px,8vw,120px)}
.pn::before{content:"";position:absolute;left:var(--gut);right:var(--gut);top:0;height:1px;background:var(--ink);transform:scaleY(.5)}
.pn a{display:block;min-width:0;color:var(--ink);text-decoration:none}
.pn .nx{text-align:right}
.pn .mono{font-size:12px;color:var(--ink-soft)}
.pn .nm{display:block;margin-top:14px;font-style:italic;font-size:clamp(34px,5vw,92px);line-height:.95;letter-spacing:-.035em;color:var(--blue)}
.pn .ar{display:inline-block;font-family:var(--mono);font-style:normal;font-size:.42em;vertical-align:.2em;transition:transform .45s var(--ease)}
.pn .pv:hover .ar{transform:translateX(-14px)}
.pn .nx:hover .ar{transform:translateX(14px)}
@media (max-width:600px){.pn{grid-template-columns:minmax(0,1fr);gap:40px}}
@media (max-width:860px){
  /* v13: on a phone the landing is one screen too: the glass head, then the photo filling what is left */
  .p-hero{grid-template-columns:1fr;grid-template-rows:auto 1fr}
  .p-field{gap:clamp(20px,3.6vh,36px);padding-top:clamp(20px,3.4vh,40px);padding-bottom:clamp(16px,2.6vh,32px)}
  .p-photo{min-height:180px}
  .story .lead,.story .rest{grid-column:1 / -1}
  .story .rest{padding-top:0;margin-top:24px}
  .spec{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 20px;margin-top:32px}
  .spec dd{font-size:17px;margin-top:6px}
  .mosaic{grid-template-columns:1fr 1fr}
  .mosaic .m1{grid-row:auto;grid-column:1 / 3;aspect-ratio:4/3}
}

/* ── about ───────────────────────────────────────────── */
/* v19 (Luca: "è troppo lunga, leziosa ... deve essere più di impatto nella landing!"): the first screen is the two ends of the
   scale, as big as the screen allows: "product" at the top on the left, "space." at the bottom on the right (blue italic, as in
   the lockup), each with its small grey word above it (between ... and). --big is the smaller of a width ("product" fits
   between the gutters) and a height (both words and the glass fit the screen). The words are only drawn (aria-hidden); the
   heading is read as one line.
   v19b (Luca: "mettiamo il frosted in qualche modo però nella landing"): between the two words, the glass, edge to edge as on
   the home: "product" stands on it (its descender dips into it), "and space." stands under it. A light at either end, product
   on the left and space on the right, and one that goes from one to the other (b.js). Under it, the line with the two ends of
   the work, in blue because it can be clicked: on a wide screen on the baseline of "space.", on a tall screen just under the glass. */
.about .a-first{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto minmax(clamp(64px,13vh,150px),1fr) auto auto auto;
  column-gap:clamp(24px,3.4vw,64px);min-height:100vh;min-height:100svh;
  padding:calc(var(--nav-h) + clamp(14px,3.6vh,44px)) var(--gut) clamp(20px,5vh,56px);--big:min(27vw,29vh)}
@media (max-height:560px){.about .a-first{--big:min(27vw,25vh)}}
.lw{position:relative;z-index:1;font-weight:300;line-height:1;white-space:nowrap}   /* over the glass */
/* the small words sit just over the x-height of the big ones (their boxes start at the top of the "d", a fifth higher) */
.lw.s1,.lw.s2{font-size:clamp(19px,min(2.2vw,3.7vh),38px);letter-spacing:-.01em;color:var(--muted);margin-bottom:calc(-.17 * var(--big))}
/* line-height .8 and .2em below: the box runs from the top of the "d" to the bottom of the "p", nothing hangs out of it */
.lw.w1,.lw.w2{font-size:var(--big);line-height:.8;letter-spacing:-.05em;padding-bottom:.2em}
.lw.w1{margin-left:-.045em}
.lw.w2 em{font-style:italic;color:var(--blue)}
.lw.s1{grid-area:1 / 1 / 2 / 3}
.lw.w1{grid-area:2 / 1 / 3 / 3}
.lw.s2{grid-area:5 / 2 / 6 / 3}
.lw.w2{grid-area:6 / 2 / 7 / 3}
/* the glass starts on the baseline of "product" (.2em of --big over the bottom of its box) and runs to both edges of the screen */
.a-glass{grid-area:3 / 1 / 4 / 3;position:relative;isolation:isolate;overflow:hidden;
  margin:calc(-.2 * var(--big)) calc(-1 * var(--gut)) clamp(10px,2.6vh,30px)}
/* the line ends on the baseline of "space.": that baseline is .225em of --big over the bottom of its box, the line's last
   baseline .325em of its own size over the bottom of the line */
.range{grid-area:5 / 1 / 7 / 2;align-self:end;max-width:30ch;margin-bottom:calc(.225 * var(--big) - .325em);position:relative;z-index:1;
  font-size:clamp(17px,min(1.5vw,2.7vh),26px);line-height:1.4;color:var(--ink-soft)}
.range a{color:var(--blue);font-style:italic;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.14em;
  text-decoration-color:rgba(0,0,255,.3);transition:text-decoration-color .2s}
.range a:hover,.range a:focus-visible{text-decoration-color:currentColor}
@media (max-aspect-ratio:1/1){
  .range{grid-area:4 / 1 / 5 / 3;align-self:start;max-width:26ch;margin:0 0 clamp(20px,4vh,44px);font-size:clamp(18px,min(4.6vw,2.6vh),26px)}
  .lw.s1,.lw.s2{margin-bottom:calc(-.13 * var(--big))}   /* a small word is larger next to a big one on a phone: a little more room */
}
.a-bio{padding:clamp(56px,7vw,110px) var(--gut) 0}
.a-bio .bio{font-size:clamp(21px,2.1vw,32px);line-height:1.42;letter-spacing:-.008em;max-width:36em;color:var(--ink-soft)}
.a-bio .bio strong{color:var(--ink);font-weight:400}
/* v15: the numbers under the bio (the first screen is the title and the glass). v16 (Luca: "in about questo impaginato
   stretto non funziona"): below the first screen about uses the whole width, on the 12 columns of the project pages: the
   numbers run across the page as a sheet (as a project's specs do), the path's line sits on the right above the steps'
   column, the steps start on that same column, the quote is wider */
/* v22: two numbers (the old site's), on two columns */
.about .stats{grid-template-columns:repeat(2,minmax(0,1fr))}
.about .stats .num{font-size:clamp(48px,min(6.4vw,12vh),120px)}
.about .stats .mono{font-size:12.5px}
/* v16 (Luca: "sistema anche in mobile"): on a phone the three numbers are three rows, each number with its line beside it,
   instead of three narrow columns whose lines broke into five */
@media (max-width:600px){
  .about .stats{grid-template-columns:minmax(0,1fr)}
  .about .stats > div{display:grid;grid-template-columns:5.4rem minmax(0,1fr);align-items:center;column-gap:18px;padding:16px 0 17px}
  .about .stats > div + div{padding-left:0}
  .about .stats > div + div::before{top:0;bottom:auto;left:0;right:0;width:auto;height:1px;transform:scaleY(.5)}
  .about .stats .num{font-size:52px}
  .about .stats .mono{margin-top:0;line-height:1.5}
}
.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:clamp(32px,4vw,56px);position:relative}
.stats::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:var(--ink);transform:scaleY(.5)}
.stats > div{padding-top:20px}
.stats > div + div{padding-left:24px;position:relative}
.stats > div + div::before{content:"";position:absolute;left:0;top:20px;bottom:0;width:1px;background:var(--ink);transform:scaleX(.5)}
.stats .num{font-size:clamp(44px,min(5.4vw,10vh),100px);line-height:.9;letter-spacing:-.04em;color:var(--blue)}
.stats .mono{font-size:12px;margin-top:10px;display:block}
/* v22o (Luca, 18 Nov, 18:23): about's numbers count up from 0 each time they come into view (b.js); their "+" comes in once
   the count has arrived. Plex Serif's figures all have the same width, so nothing shifts while it counts */
.stats.counting .pl{display:inline-block;transition:opacity .35s ease,transform .5s cubic-bezier(.2,.7,.2,1)}
.stats.counting:not(.counted) .pl{opacity:0;transform:translateY(.14em)}
/* v19 (Luca: "è troppo lunga, leziosa"): the path is a list, one row per job, the latest first (v10), the two degrees as a
   quiet last row (v15). On the 12 columns of the project pages: when and where (3) | who and the role (4) | what, and the
   projects it gave (5). Information is grey, the links are blue and underlined. No glass panel, no steps a screen tall. */
.path{padding:clamp(64px,8vw,128px) var(--gut) clamp(16px,2.4vw,40px)}
.path h2{font-weight:300;font-size:clamp(48px,7vw,120px);line-height:.92;letter-spacing:-.035em;margin-top:14px}
.path h2 em{font-style:italic;color:var(--blue)}
.rows{list-style:none;margin-top:clamp(36px,4.4vw,68px)}
.row{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:24px;position:relative;padding:clamp(20px,2.2vw,32px) 0 clamp(24px,2.6vw,38px)}
.row::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:var(--ink);transform:scaleY(.5)}
.row .when{grid-column:1 / 4;font-family:var(--mono);font-variant-ligatures:none;font-size:12px;letter-spacing:.04em;line-height:1.6;color:var(--ink);padding-top:.55em}
.row .when span{display:block;color:var(--muted)}
.row .who{grid-column:4 / 8;min-width:0;padding-right:clamp(0px,2vw,32px)}
.row h3{font-weight:300;font-size:clamp(24px,2.2vw,36px);line-height:1.1;letter-spacing:-.016em}
.row .role{font-family:var(--mono);font-variant-ligatures:none;font-size:12px;letter-spacing:.03em;line-height:1.5;color:var(--muted);margin-top:10px;text-transform:lowercase}
.row .what{grid-column:8 / 13;min-width:0;padding-top:.3em}
.row p{font-size:16.5px;line-height:1.55;color:var(--ink-soft);max-width:54ch}
.row .work{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 18px;margin-top:12px}
.row .work .mono{font-size:11px;color:var(--muted)}
.row .work a{font-style:italic;font-size:20px;line-height:1.3;color:var(--blue);text-decoration:underline;text-decoration-thickness:1px;
  text-underline-offset:.14em;text-decoration-color:rgba(0,0,255,.3);transition:text-decoration-color .2s}
.row .work a:hover,.row .work a:focus-visible{text-decoration-color:currentColor}
.row.edu h3,.row.edu p{color:var(--muted)}
.row.edu p + p{margin-top:2px}
.cvband{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap;padding:clamp(48px,6vw,90px) var(--gut)}
.cvband .h2{font-size:clamp(44px,5.6vw,96px)}
/* v10 (Luca: "per cv non voglio il bottone, il testo è un link"): the line itself opens the cv */
.cvlink{display:inline-flex;align-items:baseline;flex-wrap:wrap;gap:0 .5em;color:var(--ink);text-decoration:none}
.cvlink .h2{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.12em;text-decoration-color:rgba(0,0,0,.25);transition:text-decoration-color .2s}
.cvlink:hover .h2{text-decoration-color:currentColor}
.cvlink .ar{font-family:var(--mono);font-size:clamp(26px,3vw,48px);color:var(--blue);transition:transform .45s var(--ease)}
.cvlink:hover .ar{transform:translateX(18px)}
@media (max-width:860px){
  /* on a phone a row reads down: when · where on one line, who, the role, what */
  .row{grid-template-columns:minmax(0,1fr);padding:22px 0 26px}
  .row .when,.row .who,.row .what{grid-column:1 / -1}
  .row .when{display:flex;flex-wrap:wrap;gap:0 14px;padding-top:0}
  .row .who{margin-top:8px;padding-right:0}
  .row .what{margin-top:12px;padding-top:0}
  .row h3{font-size:clamp(25px,7.2vw,32px)}
}


/* ── reveal on scroll (opacity and translate only: the observer must see the real box); --rd staggers neighbours ── */
.js [data-reveal]{opacity:0;transform:translateY(28px)}
.js [data-reveal].vis{opacity:1;transform:none;transition:opacity .8s ease var(--rd,0s),transform .9s var(--ease) var(--rd,0s)}
.js .foot .mail[data-reveal].vis{transition:opacity .8s ease var(--rd,0s),transform .9s var(--ease) var(--rd,0s),border-color .2s}

.js .statement .go[data-reveal].vis:hover{opacity:.6}

/* ── entrance (v8, Luca: "metti anche una transizione in ingresso, per tutto"). The head sets html.hold before the first paint;
   b.js lifts it once the fonts are in, and the first screen comes in from the top down: the menu, the headline, then the glass
   rises from the bottom of the screen and its lights switch on, product to space. No hold with reduced motion or without
   script, and the head lifts it anyway after 2.6 s. ── */
.nav{transition:opacity .8s ease,transform 1s var(--ease)}
.hold .nav{opacity:0;transform:translateY(-12px)}
.hello .pre,.hello .role{transition:opacity .9s ease,transform 1.2s var(--ease)}
.hello .role{transition-delay:.14s}
.hold .hello .pre,.hold .hello .role{opacity:0;transform:translateY(.3em)}
.card{clip-path:inset(0 0 0 0);transition:clip-path 1.5s var(--ease) .25s}   /* inset to inset: none would not animate */
.hold .card{clip-path:inset(100% 0 0 0)}
.card .pole{transition:opacity .8s ease 1.05s}
.hold .card .pole{opacity:0}
/* v19: the two words come in from their own sides, product from the left and space from the right; then the small words and the line */
.lw,.range{transition:opacity .9s ease,transform 1.4s var(--ease)}
.lw.w2{transition-delay:.12s}
.lw.s1,.lw.s2{transition-delay:.45s}
.range{transition-delay:.65s}
.hold .lw,.hold .range{opacity:0}
.hold .lw.w1{transform:translateX(-6vw)}
.hold .lw.w2{transform:translateX(6vw)}
.hold .range{transform:translateY(14px)}
.a-glass{clip-path:inset(0 0 0 0);transition:clip-path 1.6s var(--ease) .2s}   /* inset to inset: none would not animate */
.hold .a-glass{clip-path:inset(0 50% 0 50%)}
.p-field .top,.p-field h1,.p-field .sub,.pscale{transition:opacity .9s ease,transform 1.2s var(--ease)}
.p-field h1{transition-delay:.08s}.p-field .sub{transition-delay:.18s}.pscale{transition-delay:.3s}
.hold .p-field .top,.hold .p-field h1,.hold .p-field .sub,.hold .pscale{opacity:0;transform:translateY(24px)}
.p-field .mscale .bar i{transition:left 1.7s var(--ease) .5s}     /* the project's light travels to its place on the scale */
.hold .p-field .mscale .bar i{left:0}
.p-photo img{transition:opacity 1.2s ease .12s,transform 2s var(--ease) .12s}
.hold .p-photo img{opacity:0;transform:scale(1.05)}
.p-photo .cap{transition:opacity .8s ease .9s}
.hold .p-photo .cap{opacity:0}

/* ── cursor: the old site's, a blue dot and a ring that follows it (white over the glass footer) ── */
.cur,.cur-ring{position:fixed;left:0;top:0;pointer-events:none;z-index:90;border-radius:50%;opacity:0}
.cur{width:6px;height:6px;margin:-3px 0 0 -3px;background:var(--blue);box-shadow:0 0 0 1px rgba(255,255,255,.7);transition:opacity .2s,background .2s;z-index:91}   /* v22c: above its glass disc */
/* v22c (Luca, 18 Nov: "fare sempre un frosted glass che si ingrandisce e diventa lente quando vado sopra alla landing"): the ring
   is a small disc of the site's glass: frosted, faint flutes, a lit rim; on anything clickable it opens and its edge turns blue */
.cur-ring{width:34px;height:34px;margin:-17px 0 0 -17px;
  background:repeating-linear-gradient(90deg,rgba(255,255,255,.26) 0 1px,rgba(255,255,255,0) 1px 3.4px),
    radial-gradient(circle at 34% 28%,rgba(255,255,255,.6),rgba(255,255,255,.1) 58%,rgba(255,255,255,.22));
  -webkit-backdrop-filter:blur(2px) saturate(1.15);backdrop-filter:blur(2px) saturate(1.15);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.8),inset 0 1px 1.5px rgba(255,255,255,.95),0 0 0 .5px rgba(0,0,60,.22),0 2px 6px rgba(0,0,40,.16);
  transition:width .3s var(--ease),height .3s var(--ease),margin .3s var(--ease),opacity .22s ease,box-shadow .2s}
.cur-on .cur{opacity:1}
.cur-on .cur-ring{opacity:1}
/* on anything clickable it grows and becomes a lens: pure, clear glass (v22d, Luca: "tieni la lente pura, senza bordi bianchi o
   blu"): no rim, no blue edge, only the soft shadow a glass bead casts; the link stays readable under it */
.cur-on.cur-big .cur-ring{width:52px;height:52px;margin:-26px 0 0 -26px;-webkit-backdrop-filter:none;backdrop-filter:none;
  background:none;box-shadow:0 2px 9px rgba(0,0,40,.16),0 0 1px rgba(0,0,40,.12)}
/* v22i (Luca, 18 Nov, 16:00: "b! bello la lente guarda!"): on a row of the index of projects the disc opens into a lens (184 px)
   with the project's photo inside it, lit from the upper left like the home's lens (a glint, light gathered on the lower right);
   the dot stays in it, it is the mouse (b.js sets --look to the row's photo) */
.cur-on.cur-look .cur-ring{width:184px;height:184px;margin:-92px 0 0 -92px;-webkit-backdrop-filter:none;backdrop-filter:none;
  background:var(--look) center / cover no-repeat;box-shadow:0 12px 30px rgba(0,0,40,.3),0 3px 8px rgba(0,0,40,.18)}
/* v22j (16:23: "anche qui la lente deve essere più tridimensionale, magari è opposta alla precedente e qua vedo invece il pattern
   rigato del vetro"): the photo is seen through a dome of the site's fluted glass, its light and its rim drawn in it (img/lens/) */
.cur-dark .cur{background:#fff;box-shadow:none}
/* v22k: on running text the disc is clear glass (no frost, no flutes), so the words under it stay sharp; only its soft shadow */
.cur-on.cur-read .cur-ring{-webkit-backdrop-filter:none;backdrop-filter:none;background:none;box-shadow:0 2px 8px rgba(0,0,40,.15),0 0 1px rgba(0,0,40,.12)}
.cur-dark .cur-ring{box-shadow:0 2px 8px rgba(0,0,40,.28)}   /* v22e (Luca: "togli bordo bianco quando overlay al footer"): no white edge on the footer */
/* v22g (Luca, 18 Nov, 14:45: "sopra al footer non mi piace il disco con un pattern così fisso, metti senza pattern interno"): on the
   footer's glass the disc has no flutes: a smooth bead of frosted glass (what is behind it blurred), lit from the upper left.
   v22h (15:40, on about's glass: "qua non serve ingrandire la lente, resta non interattiva questa parte"): the same on about's glass */
.cur-glass .cur-ring{background:radial-gradient(circle at 34% 28%,rgba(255,255,255,.42),rgba(255,255,255,.06) 58%,rgba(255,255,255,.14));
  -webkit-backdrop-filter:blur(7px) saturate(1.1);backdrop-filter:blur(7px) saturate(1.1)}
@media (pointer:fine){.cur-on,.cur-on a,.cur-on button{cursor:none}}
/* v12 (mobile): on touch screens the small text links get a larger, invisible touch area (about 44 px tall); nothing moves */
@media (pointer:coarse){
  .nav a,.foot .cols a,.foot .mail,.statement .go,.row .work a,.range a{position:relative}
  .nav a::before,.foot .cols a::before,.foot .mail::before,.statement .go::before{content:"";position:absolute;left:-8px;right:-8px;top:50%;height:44px;transform:translateY(-50%)}
  .row .work a::before{content:"";position:absolute;left:-4px;right:-4px;top:50%;height:36px;transform:translateY(-50%)}
  /* v22f (mobile check): the two links of about's first line and the menu's link to the page you are on (its ::before is the dot) */
  .range a::before,.nav .links .here::after{content:"";position:absolute;left:-6px;right:-6px;top:50%;height:44px;transform:translateY(-50%)}
}
/* v22f (Luca, 18 Nov: "fai poi un check di tutto su mobile"): a phone held sideways (at most 500 px tall). Every landing is one
   screen there too: on the home the headline is smaller and closer to the menu and the glass takes what is left, the caption
   centred; a project's head goes back to the glass and the photo side by side, as on a laptop, the title and its line smaller. */
@media (orientation:landscape) and (max-height:500px){
  .first{padding-top:calc(var(--nav-h) + 8px)}
  .intro{--hf:clamp(24px,8.5vh,40px)}
  .deck{margin-top:12px}
  .card{min-height:0}
  .dock{bottom:10px}
  .chip{align-self:center;margin:0;width:min(520px,100%)}
  .p-hero{grid-template-columns:minmax(0,5fr) minmax(0,7fr);grid-template-rows:none;height:calc(100svh - var(--nav-h));min-height:0}
  .p-field{gap:8px;padding-top:12px;padding-bottom:10px}
  .p-field h1{font-size:clamp(28px,10vh,46px)}
  .p-field .sub{font-size:14px;line-height:1.4;margin-top:8px}
  .pscale{padding-top:22px}
  .p-photo{min-height:0}
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{transition:none !important;animation:none !important}
  .js [data-reveal]{opacity:1;transform:none}
  .hold *{opacity:1 !important;transform:none !important;clip-path:none !important}
}

/* v5 alignment: big serif lines start a little inside their box (side bearing); pull them back so they align
   with the mono labels, the photos and the text columns */
.hello,.h2,.path h2,.p-field h1,.pn .pv .nm,.statement p,.qblock blockquote,.foot .mail{margin-left:-.045em}
