/* Shared styles of the case pages.
   A page sets its own --pc / --rc (project colour and ray) and, if its media differ, --film / --rec. Page-only pieces stay in the page. */
@font-face{font-family:"Hatton";src:url(fonts/hatton/PPHatton-Ultralight.woff2) format("woff2"),url(fonts/hatton/PPHatton-Ultralight.woff) format("woff");font-weight:300;font-style:normal;font-display:swap}
@font-face{font-family:"Hatton";src:url(fonts/hatton/PPHatton-UltralightItalic.woff2) format("woff2"),url(fonts/hatton/PPHatton-UltralightItalic.woff) format("woff");font-weight:300;font-style:italic;font-display:swap}
@font-face{font-family:"General Sans";src:url(fonts/general-sans/GeneralSans-Regular.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"General Sans";src:url(fonts/general-sans/GeneralSans-Medium.woff2) format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Azeret Mono";src:url(fonts/azeret-mono/azeret-mono-latin-ext-400-normal.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap;unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Azeret Mono";src:url(fonts/azeret-mono/azeret-mono-latin-400-normal.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root{
  --bg:#0B0A08;--ink:#F0EADD;--ink-2:rgba(240,234,221,.66);--ink-3:rgba(240,234,221,.82);--line:rgba(240,234,221,.16);
  --accent:#A9E8C6;
  --pc:#2C47BE;--rc:#5B86FF; /* the project's own colour and its lighter ray (the same pair the home page uses): each page sets its own */
  --film:16/9;--rec:1820/1080; /* frame ratios of the film and of the screen recordings: each page sets its own */
  --f-display:"Hatton",Georgia,serif;--f-ui:"General Sans",system-ui,-apple-system,"Segoe UI",sans-serif;--f-mono:"Azeret Mono",ui-monospace,Menlo,monospace;
  --ease:cubic-bezier(.16,1,.3,1);--pad:32px;
  text-underline-position:from-font;text-decoration-skip-ink:auto;
}
*{box-sizing:border-box}
html{background:var(--bg);-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
body{margin:0;background:var(--bg);color:var(--ink);font:400 1.0625rem/1.55 var(--f-ui);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
a{color:inherit}
img,video{display:block;max-width:100%}
h1,h2,h3,p,figure,blockquote,dl,dd,ul,ol{margin:0;padding:0}
ul,ol{list-style:none}
:focus-visible{outline:2px solid var(--accent);outline-offset:4px;border-radius:6px}
.mono{font:400 .75rem/1.4 var(--f-mono);color:var(--ink-2)}
em{font-style:italic}

/* nav, as on the home page */
.nav{position:absolute;inset:0 0 auto;z-index:20;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;height:72px;padding:0 var(--pad);border-bottom:1px solid var(--line)}
.nav a{text-decoration:none}
.nav .brand{font:500 .9375rem/1 var(--f-ui)}
.nav .links{display:flex;gap:28px}
.menu-btn{display:none}
.nav .links a{font:400 .8125rem/1 var(--f-mono);color:var(--ink-2);transition:color .2s}
.nav .cv{justify-self:end;font:400 .8125rem/1 var(--f-mono);padding:11px 14px;border:1px solid var(--line);border-radius:999px;background:rgba(11,10,8,.42);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transition:background-color .2s,color .2s}
.nav .cv{display:inline-flex;align-items:center;gap:7px}.nav .cv svg{width:10px;height:10px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;transition:transform .25s ease}.nav .cv:hover svg{transform:translate(2px,-2px)}

/* first screen: the haze of the home page, turned to the project's colour */
.hero{position:relative;min-height:100vh;min-height:100svh;overflow:hidden;overflow:clip;isolation:isolate}
/* under the picture lies a rough copy of it in the project's colour. If the first frame is painted before the picture is decoded
   (Safari, a slow phone, a browser without view transitions), the screen shows this light and not a black flash. */
.bg{position:absolute;inset:0;z-index:0;background:radial-gradient(95% 80% at 80% 22%,color-mix(in srgb,var(--pc) 62%,#0B0A08) 0,color-mix(in srgb,var(--pc) 26%,#0B0A08) 46%,#0B0A08 82%)}
.bg img{position:absolute;inset:0;width:100%;height:100%;height:100lvh;object-fit:cover;filter:brightness(.9)} /* cropped exactly as the light that fills the home page when a case opens (see .flood there): the same height, so it does not jump in scale */
.bg i{position:absolute;inset:0;background:var(--pc);mix-blend-mode:color;opacity:.94}
.veil{position:absolute;inset:0;z-index:0;background:linear-gradient(90deg,rgba(11,10,8,.78) 0,rgba(11,10,8,.3) 46%,transparent 70%),linear-gradient(0deg,var(--bg) 0,rgba(11,10,8,.7) 22%,transparent 52%),linear-gradient(180deg,rgba(11,10,8,.5) 0,transparent 26%)}
.frame{position:relative;z-index:2;display:grid;grid-template-rows:auto 1fr auto;min-height:100vh;min-height:100svh;padding:72px var(--pad) 0}
.meta-row{display:flex;justify-content:space-between;gap:24px;padding-top:20px}
.meta-row a{text-decoration:none;color:var(--ink-2);transition:color .2s}
.hero-main{align-self:center;padding:24px 0 40px}
h1{font-family:var(--f-display);font-weight:300;font-size:clamp(2.75rem,6.5vw,6.75rem);line-height:.96;letter-spacing:-.035em;max-width:17ch;text-wrap:balance}
/* link to the live site, under the lead: a quiet pill like "Say hi" on the front page */
.visit{display:flex;flex-wrap:wrap;gap:10px;margin-top:32px}
.visit a{display:inline-flex;align-items:center;gap:12px;height:50px;padding:0 22px;border:1px solid var(--line);border-radius:999px;background:rgba(11,10,8,.35);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:var(--ink);font-weight:500;font-size:1rem;text-decoration:none;transition:background-color .2s,border-color .2s,transform .25s var(--ease)}
.visit .mono{font-size:.8125rem;font-weight:400;color:var(--ink-2)}
.visit svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;transition:transform .25s var(--ease)}
.visit a:hover{background:rgba(240,234,221,.1);border-color:rgba(240,234,221,.32)}
.visit a:hover svg{transform:translate(2px,-2px)}
.visit a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.lede{margin-top:28px;max-width:36rem;font-size:1.3125rem;line-height:1.45;color:var(--ink-3);text-wrap:pretty}
.facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid var(--line)}
.facts div{display:grid;gap:8px;align-content:start;padding:16px 16px 26px 0}
.facts dd{font-size:1rem;line-height:1.35}

/* the promo film */
.promo{padding:var(--pad) var(--pad) 0}
.film{position:relative;border-radius:20px;overflow:hidden;border:1px solid var(--line);background:#0e0e12;aspect-ratio:var(--film)}
.film video{width:100%;height:100%;object-fit:cover}
.film-ctl{position:absolute;right:16px;bottom:16px;display:flex;gap:8px}
.film-ctl button{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;border:1px solid rgba(240,234,221,.3);background:rgba(11,10,8,.55);color:var(--ink);cursor:pointer;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transition:background-color .2s,color .2s}
.film-ctl svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.film-ctl [aria-pressed="true"] .off,.film-ctl [aria-pressed="false"] .on{display:none}
.cap{margin-top:12px}

/* body: the list of chapters stays at hand, the story runs beside it */
.case{display:grid;grid-template-columns:minmax(0,1fr);padding:0 var(--pad)}
.rail{display:none}
.ch{padding:104px 0 112px;border-top:1px solid var(--line)}
.case > .story > .ch:first-child{border-top:0}
.ch-top{display:grid;gap:18px;margin-bottom:44px}
h2{font-family:var(--f-display);font-weight:300;font-size:clamp(2.5rem,5vw,4.75rem);line-height:.98;letter-spacing:-.03em;max-width:16ch;text-wrap:balance}
h3{font-family:var(--f-display);font-weight:300;font-size:clamp(1.9rem,2.5vw,2.5rem);line-height:1.04;letter-spacing:-.02em;text-wrap:balance}
.txt{display:grid;gap:1.15em;max-width:42rem}
.txt p,.thing p,.pillar p{font-size:1.125rem;line-height:1.6;color:var(--ink-3);text-wrap:pretty}
.txt b{color:var(--ink);font-weight:500}
.gap{margin-top:56px}
.fig{border-radius:10px;overflow:hidden;border:1px solid var(--line);background:#101014}
.fig video,.fig img{width:100%;height:auto}
.fig video{aspect-ratio:var(--rec)} /* the frame is held before the recording loads, so nothing below jumps */
.fine{margin-top:10px}

/* three reasons, side by side */
/* the three columns share their rows (subgrid): numbers, texts and verdicts stand on common lines whatever the text length */
.blocks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:auto auto auto;gap:16px 24px;margin-top:48px}
.blocks li{display:grid;grid-row:span 3;grid-template-rows:subgrid;padding-top:16px;border-top:1px solid var(--line)}
.blocks p{font-size:1.0625rem;line-height:1.55;color:var(--ink-3)}
.blocks em{font-family:var(--f-display);font-weight:300;font-size:clamp(1.9rem,2.4vw,2.4rem);line-height:1;letter-spacing:-.02em;color:var(--accent)}
.state{margin-top:64px;max-width:25em;font-family:var(--f-display);font-weight:300;font-size:clamp(1.9rem,2.9vw,2.75rem);line-height:1.12;letter-spacing:-.02em;text-wrap:pretty}

/* the pivot */
.pillars{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:40px}
.pillar{display:grid;gap:14px;align-content:start;padding:24px 24px 28px;border:1px solid var(--line);border-radius:16px;background:rgba(240,234,221,.03)}

/* the pivot on one sheet: her own Problem / Solution diagram, redrawn (13.11, second take: "more interesting, in the spirit of Raycast").
   Dark glass, keycaps, light. Left: ten unrelated tools drift around one person, every one with its own thread to him.
   Right: one platform in the middle with a ring of light around it, and light running out to five places.
   Everything is sized in cqw, so the drawing scales as one piece; positions are percentages of a 600x500 sheet. */
@property --pa{syntax:'<angle>';inherits:false;initial-value:0deg}
.pivot{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.pv{position:relative;display:grid;padding:22px 22px 12px;border-radius:16px;overflow:hidden;isolation:isolate;background:radial-gradient(120% 70% at 50% 0,rgba(255,255,255,.06),transparent 62%),#0e0e10;box-shadow:inset 0 0 0 1px rgba(240,234,221,.1),inset 0 1px 0 rgba(255,255,255,.16)}
.pv h3{position:relative;z-index:2}
.dg{position:relative;z-index:1;aspect-ratio:6/5;container-type:inline-size}
.dg svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.dg > span{position:absolute;left:calc(var(--x)*1%);top:calc(var(--y)*1%);transform:translate(-50%,-50%) rotate(var(--r,0deg));white-space:nowrap}
.pv .ring{fill:none;stroke:rgba(240,234,221,.1);vector-effect:non-scaling-stroke}
.pv .ln{fill:none;stroke:rgba(240,234,221,.16);stroke-width:1;vector-effect:non-scaling-stroke}
.pv .ah{fill:none;stroke:rgba(240,234,221,.5);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.nd{padding:.66em 1.2em;border-radius:999px;font:400 clamp(9px,3.15cqw,17px)/1 var(--f-ui);color:var(--ink-2);background:linear-gradient(180deg,#26262a,#17171a);box-shadow:inset 0 1px 0 rgba(255,255,255,.17),inset 0 0 0 1px rgba(255,255,255,.08),0 .7em 1.6em rgba(0,0,0,.5)}
.key{padding:.56em .8em;border-radius:.62em;font:400 clamp(7.5px,2.5cqw,13.5px)/1 var(--f-mono);color:rgba(240,234,221,.62);background:linear-gradient(180deg,#252528,#161618);box-shadow:inset 0 1px 0 rgba(255,255,255,.14),inset 0 0 0 1px rgba(255,255,255,.06),0 .26em 0 #08080a,0 .7em 1.3em rgba(0,0,0,.55)}
.qm{display:grid;place-items:center;width:17cqw;aspect-ratio:1;border-radius:50%;font:300 9.5cqw/1 var(--f-display);color:var(--ink);background:radial-gradient(circle at 50% 30%,#2a2a2e,#141416);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),inset 0 0 0 1px rgba(255,255,255,.08),0 1em 2.4em rgba(0,0,0,.6)}
.dg .who{font-size:clamp(6.5px,2.1cqw,11.5px)}
.pv-a .ln:not(.in){stroke-dasharray:2 5}
.pv-a .ln.in{stroke:rgba(240,234,221,.36)}
.pv-a .qm{color:var(--ink-3)}
/* the solution: the project's light behind the sheet, two rays across it */
.pv-b{background:radial-gradient(56% 56% at 50% 60%,color-mix(in srgb,var(--pc) 62%,transparent),transparent 74%),radial-gradient(120% 70% at 50% 0,rgba(255,255,255,.06),transparent 62%),#0e0e10}
.pv-b::before{content:"";position:absolute;inset:-30%;z-index:0;pointer-events:none;mix-blend-mode:screen;filter:blur(22px);background:linear-gradient(118deg,transparent 39%,color-mix(in srgb,var(--rc) 42%,transparent) 44.5%,transparent 50%,transparent 57%,color-mix(in srgb,var(--rc) 24%,transparent) 61.5%,transparent 67%)}
.pv-b .ring{stroke:rgba(240,234,221,.2)}
.pv-b .ln{stroke:color-mix(in srgb,var(--accent) 34%,transparent)}
.pv-b .run{fill:none;stroke:var(--accent);stroke-width:1.8;stroke-linecap:round;vector-effect:non-scaling-stroke;stroke-dasharray:10 100;stroke-dashoffset:10;filter:drop-shadow(0 0 5px var(--accent))}
.pv-b .nd{color:var(--ink);background:linear-gradient(180deg,rgba(40,44,70,.92),rgba(18,19,30,.92));box-shadow:inset 0 1px 0 rgba(255,255,255,.24),inset 0 0 0 1px rgba(255,255,255,.12),0 .7em 1.8em rgba(0,0,0,.5),0 0 1.6em color-mix(in srgb,var(--rc) 30%,transparent)}
.hub{padding:.3em .62em .36em;border-radius:.42em;font:italic 300 clamp(26px,9cqw,56px)/1 var(--f-display);letter-spacing:-.02em;color:var(--accent);background:linear-gradient(180deg,rgba(30,34,62,.94),rgba(12,13,24,.94));box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 0 3em color-mix(in srgb,var(--rc) 60%,transparent),0 1em 2.4em rgba(0,0,0,.55)}
.hub::before{content:"";position:absolute;inset:0;border-radius:inherit;padding:1.5px;background:conic-gradient(from var(--pa),rgba(255,255,255,.14) 0 62%,var(--accent) 82%,rgba(255,255,255,.14) 100%);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude}
@media (prefers-reduced-motion:no-preference){
  .key{animation:pv-drift var(--t,8s) ease-in-out infinite alternate}
  .pv-b .run{animation:pv-run 2.8s cubic-bezier(.5,0,.5,1) infinite;animation-delay:calc(var(--i)*.42s)}
  .hub::before{animation:pv-spin 5.5s linear infinite}
  @keyframes pv-drift{to{translate:var(--dx,3px) var(--dy,-4px)}}
  @keyframes pv-run{0%{stroke-dashoffset:10}70%,100%{stroke-dashoffset:-100}}
  @keyframes pv-spin{to{--pa:360deg}}
}
@media (prefers-reduced-motion:reduce){.pv-b .run{display:none}}
@media (hover:hover) and (pointer:fine){.pv-b .nd{transition:box-shadow .3s ease}.pv-b .nd:hover{box-shadow:inset 0 1px 0 rgba(255,255,255,.3),inset 0 0 0 1px var(--accent),0 .7em 1.8em rgba(0,0,0,.5),0 0 2em color-mix(in srgb,var(--accent) 40%,transparent)}}

/* what we built: what it is, what it is made of, the screen */
.thing{display:grid;grid-template-columns:minmax(0,1fr);gap:32px;padding:56px 0;border-top:1px solid var(--line)}
.thing:first-of-type{margin-top:8px}
.thing-t{display:grid;gap:18px;align-content:start}
.spec{display:flex;flex-wrap:wrap;gap:8px;margin-top:2px}
.spec li{padding:8px 13px;border:1px solid var(--line);border-radius:999px;font-size:.9375rem;line-height:1.3;color:var(--ink)}
.spec-h{margin-top:10px}
.fact{margin-top:6px;padding:16px 18px;border-radius:12px;border:1px solid color-mix(in srgb,var(--accent) 36%,transparent);font-size:1rem;line-height:1.45;color:var(--ink-3)}
.fact b{color:var(--ink);font-weight:500}
.thing-m{display:grid;gap:16px;align-content:start}
/* a thing up close (Opal Circle, OVO): the name and the words side by side, the picture under them at the full width of the column */
.thing-h,.thing-b{display:grid;gap:18px;align-content:start}
@media (min-width:760px){.thing.wide{grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:36px 40px}.thing.wide .thing-m{grid-column:1/-1}}
/* two smaller recordings side by side */
.pair{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
@media (min-width:760px){.pair{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* phones (Opal Circle, OVO): recordings in plain dark phone bodies (no notch, no buttons), standing in one case in the project's light.
   Below 760px the case becomes a row to swipe: it runs off the right edge of the screen, so the next phone is always cut by it. */
.phones{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;margin-top:56px;padding:56px 40px 44px;border-radius:16px;isolation:isolate;background:radial-gradient(85% 80% at 50% 118%,color-mix(in srgb,var(--pc) 62%,transparent),transparent 72%),radial-gradient(120% 60% at 50% 0,rgba(255,255,255,.05),transparent 62%),#0e0d0d;box-shadow:inset 0 0 0 1px rgba(240,234,221,.1),inset 0 1px 0 rgba(255,255,255,.14)}
.phones figure{display:grid;gap:24px;align-content:start;justify-items:center}
.phone{width:100%;max-width:264px;padding:7px;border-radius:40px;background:linear-gradient(160deg,#2c2b2e,#131214 42%,#0a0a0b);box-shadow:inset 0 0 0 1px rgba(255,255,255,.1),inset 0 1px 0 rgba(255,255,255,.24),0 30px 60px -22px rgba(0,0,0,.85)}
.phone video{width:100%;height:auto;aspect-ratio:390/844;object-fit:cover;border-radius:33px;background:#151515}
.phones figcaption{display:grid;gap:8px;width:100%;max-width:264px}
.phones figcaption p{font-size:1rem;line-height:1.5;color:var(--ink-3);text-wrap:pretty}
.phones + .fine{margin-top:12px}
@media (max-width:759px){
  .phones{display:flex;gap:20px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-left:20px;margin-top:40px;margin-right:calc(var(--pad)*-1);padding:32px 20px 28px;border-radius:16px 0 0 16px;scrollbar-width:none}
  .phones::-webkit-scrollbar{display:none}
  .phones figure{flex:0 0 228px;scroll-snap-align:start}
  .phone{border-radius:36px}.phone video{border-radius:29px}
}
.thing-m .phones{margin-top:0}

/* in the field */
.pull{margin:64px 0;max-width:20em;font-family:var(--f-display);font-weight:300;font-size:clamp(2.2rem,4.4vw,4.25rem);line-height:1.02;letter-spacing:-.03em;text-wrap:balance}
.pull span{display:block;color:var(--ink-2)}
.pull em{color:var(--accent)}
.photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:56px}
/* a long piece of her own story with its photos beside it on wide screens (below that the photos follow the text) */
@media (min-width:1280px){
  .side{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.82fr);gap:56px;align-items:start}
  .side .photos{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:8px;position:sticky;top:40px}
  .side + .pull{margin-top:72px}
}
.photos figure{display:grid;gap:10px}
.photos img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;border-radius:12px;filter:saturate(.92) brightness(.94);transition:filter .6s ease}

/* Malta */
.nums{display:flex;flex-wrap:wrap;gap:28px 72px;margin-top:72px}
.nums div{display:grid;gap:18px}
.nums b{font-family:var(--f-display);font-weight:300;font-size:clamp(4rem,9vw,8.5rem);line-height:1;letter-spacing:-.04em}
.duo{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:56px;align-items:start}
.duo img{aspect-ratio:1/1;object-fit:cover;height:auto}
.duo .trim img{transform:scale(1.075)}
.src{margin-top:18px}

/* sources as small cards: the publication's own icon, its name and date, the headline (translated), an arrow out.
   Never a line of links joined by dots. */
.press{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,17.5rem),1fr));gap:10px;margin-top:28px}
.press a{position:relative;display:grid;grid-template-columns:40px minmax(0,1fr);align-content:start;gap:6px 14px;height:100%;padding:16px 40px 16px 16px;border:1px solid var(--line);border-radius:14px;background:rgba(240,234,221,.03);color:var(--ink);text-decoration:none;transition:border-color .2s,background-color .2s}
.press img{grid-row:span 2;width:40px;height:40px;border-radius:10px}
.press .pm{display:flex;flex-wrap:wrap;gap:4px 10px;align-items:baseline}
.press .pm b{font-weight:400;color:var(--ink)}
.press .pt{font-size:.9375rem;line-height:1.38;color:var(--ink-3);text-wrap:pretty}
.press .go{position:absolute;top:14px;right:16px;font-size:.9375rem;color:var(--ink-2);transition:color .2s,translate .2s var(--ease)}
.press a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media (min-width:760px){.press li:only-child{max-width:calc(50% - 5px)}} /* a lone source takes half the row, not all of it */
@media (hover:hover) and (pointer:fine){
  .press a:hover{border-color:color-mix(in srgb,var(--accent) 45%,transparent);background:rgba(240,234,221,.05)}
  .press a:hover .go{color:var(--accent);translate:2px -2px}
}

/* one number before, one after: the change a chapter is about, set big on one line, the label above, the reason below */
.drop{margin-top:64px;padding-top:24px;border-top:1px solid var(--line)}
.drop .dn{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 .4em;margin-top:18px;font-family:var(--f-display);font-weight:300;font-size:clamp(2.75rem,6.4vw,6rem);line-height:1.08;letter-spacing:-.035em}
.drop b{font-weight:300;white-space:nowrap}
.drop .was{color:var(--ink-2)}
.drop .now{color:var(--accent)}
.drop small{font-style:italic;font-size:.5em;letter-spacing:-.01em}
.drop i{font-style:normal;font-size:.5em;color:var(--ink-2)}
.drop p{max-width:30em;margin-top:16px;font-size:1rem;line-height:1.5;color:var(--ink-3)}
.src a{color:var(--ink);text-underline-offset:4px;text-decoration-thickness:1px;transition:color .2s}

/* what came out of it */
.out{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
.out > div{display:grid;gap:14px;align-content:space-between;min-height:13rem;padding:24px;border:1px solid var(--line);border-radius:16px;background:rgba(240,234,221,.03)}
.out b{display:block;font-family:var(--f-display);font-weight:300;font-size:clamp(3rem,5.4vw,5.25rem);line-height:1;letter-spacing:-.035em}
.out .pair{display:grid;grid-template-columns:minmax(0,1fr);gap:10px} /* two numbers in one cell: the comma of the first must never touch the second */
.out b small{font-size:.42em;letter-spacing:-.01em;color:var(--ink-2)}
.out .award{font-family:var(--f-display);font-weight:300;font-style:italic;font-size:clamp(1.9rem,2.7vw,2.6rem);line-height:1.04;letter-spacing:-.02em;color:var(--accent)}
.out p{font-size:1rem;line-height:1.45;color:var(--ink-3)}
.voices{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;margin-top:56px}
/* below 1100px two columns of long text get too narrow: the two voices become one row to swipe.
   It has to be obvious that it moves: the next card is cut by the edge of the screen, and under the row there is
   a two-part bar that shows where you are and two arrows. */
.voices-ctl{display:none}
@media (max-width:1099px){
  .voices{display:flex;gap:12px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-left:0;margin-right:calc(var(--pad)*-1);padding-right:var(--pad);scrollbar-width:none}
  .voices::-webkit-scrollbar{display:none}
  .voices .voice{flex:0 0 min(86%,36rem);scroll-snap-align:start}
  /* the bar and the arrows stand above the row: the cards are taller than a screen, below them nobody would see the controls in time */
  .voices-ctl{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:36px}
  .voices-ctl + .voices{margin-top:16px}
  .voices-bar{display:flex;gap:6px;flex:1;max-width:12rem}
  .voices-bar i{flex:1;height:2px;border-radius:2px;background:var(--line);transition:background-color .3s ease}
  .voices-bar i.on{background:var(--accent)}
  .voices-btn{display:flex;gap:8px}
  .voices-btn button{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;border:1px solid var(--line);background:rgba(240,234,221,.04);color:var(--ink);cursor:pointer;transition:background-color .2s,color .2s,opacity .2s}
  .voices-btn button:disabled{opacity:.3;cursor:default}
  .voices-btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
}
.voice{display:grid;grid-template-rows:auto 1fr auto;gap:22px;padding:28px;border:1px solid var(--line);border-radius:16px}
.voice blockquote{display:grid;gap:1em;align-content:start}
.voice blockquote p{font-size:1.0625rem;line-height:1.6;color:var(--ink-3);text-wrap:pretty}
.voice mark{background:none;color:var(--accent)}
.voice figcaption{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 14px;padding-top:18px;border-top:1px solid var(--line)}
.voice figcaption b{font:500 .9375rem/1.3 var(--f-ui)}

/* next case and footer */
.next{display:grid;gap:18px;padding:96px var(--pad) 104px;border-top:1px solid var(--line);text-decoration:none}
.next b{font-family:var(--f-display);font-weight:300;font-style:italic;font-size:clamp(4rem,13vw,12rem);line-height:.86;letter-spacing:-.04em;transition:color .3s ease}
.next b i{display:inline-block;font-style:normal;margin-left:.12em;transition:transform .6s var(--ease)}
.next p{max-width:30rem;color:var(--ink-2)}
.next.low b{padding-bottom:.2em} /* a name with a letter that hangs below the line (the y of CrazyBox): its tail must clear the description */
.foot{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px 24px;padding:22px var(--pad) 28px;border-top:1px solid var(--line);font-size:.9375rem;color:var(--ink-2)}
.foot a{text-decoration:none;color:var(--ink);transition:color .2s}
.foot-mid{display:flex;gap:22px}

/* arriving from the home page: its last picture (the screen full of this project's light) stays where it is, and this page
   comes up over it a moment later, when its own picture is ready. No frame without light in between. */
@view-transition{navigation:auto}
::view-transition-old(root){animation:none}
::view-transition-new(root){animation:vt-in .5s ease .14s both;mix-blend-mode:normal}
::view-transition-group(root){animation-duration:.66s}
@keyframes vt-in{from{opacity:0}}
@media (prefers-reduced-motion:reduce){::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none!important}}

/* the first screen arrives: the light is already there (the home page ends its transition on this very picture), the words come into it */
@media (prefers-reduced-motion:no-preference){
  .hero .nav,.hero .meta-row,.hero h1,.hero .lede,.hero .facts div{animation:arrive 1.1s var(--ease) both}
  .hero .nav,.hero .meta-row{animation-name:appear;animation-duration:.9s}
  .hero h1{animation-delay:calc(var(--d,0s) + .1s);animation-duration:1.3s}
  .hero .lede{animation-delay:calc(var(--d,0s) + .3s)}.hero .visit{animation:arrive 1.1s var(--ease) both;animation-delay:calc(var(--d,0s) + .38s)}
  .hero .facts div:nth-child(1){animation-delay:calc(var(--d,0s) + .46s)}.hero .facts div:nth-child(2){animation-delay:calc(var(--d,0s) + .53s)}.hero .facts div:nth-child(3){animation-delay:calc(var(--d,0s) + .6s)}.hero .facts div:nth-child(4){animation-delay:calc(var(--d,0s) + .67s)}
  html[data-vt="1"]{--d:.3s} /* arrived through the transition: the words wait until the picture has settled */
  @keyframes arrive{from{opacity:0;transform:translateY(26px);filter:blur(10px)}}
  @keyframes appear{from{opacity:0}}
  /* leaving for the home page: a short fade into the dark, the home page has its own entrance */
  body{transition:opacity .26s ease}
  .leaving body{opacity:0}
}

/* things arrive once, quietly */
@media (prefers-reduced-motion:no-preference){
  .rv{opacity:0;transform:translateY(18px);transition:opacity .9s var(--ease),transform 1s var(--ease)}
  .rv.in{opacity:1;transform:none}
}

@media (min-width:760px){
  .thing{grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:40px}
  .photos{grid-template-columns:repeat(4,minmax(0,1fr))}
  .out{grid-template-columns:repeat(12,minmax(0,1fr))}
  .out > :nth-child(1){grid-column:span 4}.out > :nth-child(2){grid-column:span 8}.out > :nth-child(3){grid-column:span 7}.out > :nth-child(4){grid-column:span 5}
}
@media (min-width:1100px){
  .voices{grid-template-columns:repeat(2,minmax(0,1fr))}
  .case{grid-template-columns:minmax(0,3fr) minmax(0,9fr);column-gap:24px}
  .rail{display:block;padding:104px 0 112px} /* top = the first chapter's top padding, so the list starts level with it; bottom = the last chapter's, so it stops level with the end of the voices */
  .rail-in{position:sticky;top:40px;display:grid;gap:18px;padding-right:24px} /* the top padding lives on the column, not here: here it would stay as a hole above the list once it sticks */
  .rail ol{display:grid}
  .rail a{display:flex;gap:14px;align-items:baseline;padding:9px 0;border-top:1px solid var(--line);text-decoration:none;font-size:.9375rem;line-height:1.3;color:var(--ink-2);transition:color .25s ease}
  .rail li:last-child a{border-bottom:1px solid var(--line)}
  .rail a .mono{flex:none;width:1.6em;transition:color .25s ease}
  .rail a[aria-current="true"]{color:var(--ink)}
  .rail a[aria-current="true"] .mono{color:var(--accent)}
}
@media (hover:hover) and (pointer:fine){
  .nav .links a:hover,.meta-row a:hover{color:var(--ink)}
  .nav .cv:hover,.film-ctl button:hover{background:var(--ink);color:#12110E}
  .rail a:hover{color:var(--ink)}
  .photos figure:hover img{filter:none}
  .src a:hover,.foot a:hover{color:var(--accent)}
  .next:hover b{color:var(--accent)}.next:hover b i{transform:translateX(.12em)}
}
/* touch screens: the height of the first screen is set once by nav.js, see there */
html.pin-h .hero,html.pin-h .frame{min-height:var(--hero-h)}
@media (max-width:900px){
  :root{--pad:16px}
  .nav{grid-template-columns:1fr auto auto;column-gap:8px;height:60px}
  /* the header stays on screen (her decision 15.11). It lives inside the first screen, which is its own layer, so that layer is lifted above the sections that follow */
  .hero{z-index:5}
  html{scroll-padding-top:60px}
  .nav{position:fixed;transition:background-color .3s ease}
  .nav.stuck,.nav.open{background:rgba(11,10,8,.82);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
  .nav .cv{grid-column:2;grid-row:1;height:40px;padding:0 14px}
  .menu-btn{grid-column:3;grid-row:1;display:inline-flex;align-items:center;height:40px;padding:0 14px;border:1px solid var(--line);border-radius:999px;background:rgba(11,10,8,.42);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:var(--ink);font:400 .8125rem/1 var(--f-mono);cursor:pointer}
  .nav.open .menu-btn{background:var(--ink);color:#12110E}
  /* the menu is a small sheet under the header, on the side of the button; rows are 48px for a thumb */
  .nav .links{display:none;position:absolute;top:calc(100% + 8px);right:var(--pad);flex-direction:column;gap:0;min-width:15rem;padding:8px;border:1px solid var(--line);border-radius:16px;background:#12110E;box-shadow:0 24px 48px -20px rgba(0,0,0,.8)}
  .nav.open .links{display:flex}
  .nav .links a{display:flex;align-items:center;height:48px;padding:0 14px;border-radius:10px;font:400 1.0625rem/1 var(--f-ui);color:var(--ink)}
  .frame{padding-top:60px}
  .lede{font-size:1.125rem}
  .facts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .facts div{padding-bottom:18px}
  .film{border-radius:14px}
  .ch{padding:64px 0 72px}
  .ch-top{margin-bottom:28px}
  .blocks{grid-template-columns:minmax(0,1fr);row-gap:14px}
  .blocks li + li{margin-top:16px}
  .pillars,.duo,.pivot{grid-template-columns:minmax(0,1fr)}
  .state{margin-top:44px}
  .pull{margin:44px 0}
  .out > div{min-height:0}
  .next{padding:64px var(--pad) 72px}
}
