/* Look: "The Age of Data" cover — white ground, black ink, small geometric Futura-like type
   (Jost, a free Futura), one hot orange-red accent. */
:root {
  --bg: #ffffff;
  --ink: #0d0d0d;
  --muted: #8a8a8a;
  --line: rgba(13, 13, 13, .16);
  --hot: #ff4a2a;
  --font: "Jost", "Futura PT", Futura, system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); }
body { background: transparent; color: var(--ink); font-family: var(--font); font-weight: 400; }   /* transparent so the page sky shows */
body { overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }

/* the word: "cl" [o slot] "ud". The o itself is drawn in SVG so it can split. */
.word {
  position: absolute; left: 0; top: 0;
  font-size: clamp(40px, 8vw, 104px);
  font-weight: 300; letter-spacing: -.01em; line-height: 1;
  white-space: nowrap; will-change: transform;
  user-select: none; color: var(--mistc, var(--ink));
}
.word span { position: absolute; inset: 0; will-change: transform, opacity, filter; }
.word .slot { display: none; }
/* the letters are drawn (see GLYPHS in shared.js): monoline, flat ends */
.word svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.word path { fill: none; stroke: currentColor; stroke-width: .235; stroke-linecap: butt; stroke-linejoin: miter; }

.ink { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.ink path { fill: var(--mistc, var(--ink)); stroke: var(--mistc, var(--ink)); stroke-linejoin: round; stroke-linecap: round; }

/* site content: small, clean, set like the cover's name list */
.site { min-height: 100vh; padding: 28px clamp(16px, 4vw, 48px) 40px; display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr); grid-template-rows: auto 1fr auto auto; gap: 0 clamp(16px, 4vw, 56px);
  font-size: 12px; line-height: 1.3; letter-spacing: .005em; }
.site .mark { grid-column: 1; display: inline-flex; align-self: start; justify-self: start; color: var(--ink); }
.site .mark .logo { height: 30px; width: auto; display: block; transition: color .25s; }
.site .mark:hover { color: var(--hot); }
.site nav.top { grid-column: 2; justify-self: end; display: flex; gap: 22px; text-transform: uppercase; font-size: 11px; letter-spacing: .08em; }
.site nav.top a:hover, .site .list a:hover { color: var(--hot); }
.site .list { grid-column: 1; grid-row: 2; align-self: start; margin-top: 28px; list-style: none; }
.site .list li.dot::before { content: ". "; }
.site .hero { grid-column: 2; grid-row: 2; align-self: center; padding: 8vh 0; }
.site .by { font-size: 12px; margin-bottom: 6px; }
.site h1 { font-weight: 300; text-transform: uppercase; font-size: clamp(24px, 4vw, 56px); line-height: 1; letter-spacing: .005em; }
.site .sub { display: flex; justify-content: space-between; gap: 16px; margin-top: 10px; font-size: 12px; }
.site .row { display: flex; gap: 10px; margin-top: 36px; flex-wrap: wrap; }
.site footer { grid-column: 1 / -1; display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; }
.btn { display: inline-block; padding: 8px 13px; border: 1px solid var(--ink); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.btn.solid { background: var(--ink); color: var(--bg); }
.btn:hover { background: var(--hot); border-color: var(--hot); color: #fff; }
/* the four categories: big, numbered, side by side */
.site .cats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--ink); margin: 8px 0 36px; }
.site .cat { display: flex; flex-direction: column; gap: 10px; padding: 16px 16px 22px 0; border-right: 1px solid var(--line); }
.site .cat:not(:first-child) { padding-left: 16px; }
.site .cat:last-child { border-right: 0; }
.site .cat span { font-size: 11px; letter-spacing: .22em; color: var(--muted); }
.site .cat b { font-weight: 300; font-size: clamp(36px, 7.4vw, 124px); line-height: .95; letter-spacing: -.01em; transition: color .25s, transform .35s; }
.site .cat:hover b { color: var(--hot); transform: translateX(6px); }
@media (max-width: 640px) {
  .site { grid-template-columns: 1fr; }
  .site .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site .cat { padding: 14px 12px 18px 0; border-bottom: 1px solid var(--line); }
  .site .cat:nth-child(odd) { padding-left: 0; }
  .site .cat:nth-child(even) { padding-left: 12px; border-right: 0; }
  .site nav.top { grid-column: 1; justify-self: start; margin-top: 14px; flex-wrap: wrap; gap: 14px 18px; }
  .site .list { grid-row: auto; }
  .site .hero { grid-column: 1; grid-row: auto; }
}

.corner { position: fixed; z-index: 20; bottom: 40px; right: 44px; font: 400 11px/1 var(--font); text-transform: uppercase; letter-spacing: .22em;
  color: #3a3a3a; background: none; border: 0; padding: 4px 0; cursor: pointer; }
.corner:hover { color: var(--hot); }

/* cloud layers (clouds.js): back = sky behind everything, front = wisps passing the camera */
.sky, .fog { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.no-mist .sky, .no-mist .fog, .no-mist .pagesky { display: none; }
.toggles { position: fixed; z-index: 20; left: 44px; bottom: 40px; display: flex; gap: 28px; }
.toggles .corner { position: static; }
/* caps on */
.caps .site { text-transform: uppercase; letter-spacing: .03em; }
@media (max-width: 640px) { .corner { right: 18px; bottom: 18px; } .toggles { left: 18px; bottom: 18px; gap: 18px; } }

/* project field (projects.js): June's covers rushing past */
.field { position: absolute; inset: 0; overflow: hidden; pointer-events: none; visibility: hidden; }
.pcard { position: absolute; left: 0; top: 0; width: 240px; margin: 0; will-change: transform, opacity; transform-origin: 50% 50%; }
.pcard figcaption { margin-top: 10px; font: 400 11px/1.2 var(--font); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); white-space: nowrap; text-align: center; }

/* .blob: any image or video as a soft cloud (after image 2). Rounded, washed from the left in a
   pastel yellow→green haze, a glowing pink rim, a little grain where the haze meets the picture.
   Use: <div class="blob"><img …></div> or <div class="blob"><video …></video></div>. */
.blob { position: relative; border-radius: 30% / 40%; overflow: hidden; isolation: isolate;
  --rim: rgba(236, 156, 230, .75); --halo: rgba(246, 206, 236, .4);          /* defaults; projects.js */
  --haze1: rgba(255, 210, 120, .95); --haze2: rgba(226, 244, 186, .7);       /* sets them per picture */
  box-shadow: 0 0 6px 3px var(--rim), 0 0 26px 8px var(--halo), 0 0 56px 14px var(--halo); }
.blob > img, .blob > video { display: block; width: 100%; height: auto; }
.blob::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none;
  background: linear-gradient(112deg, var(--haze1) 0%, var(--haze1) 14%, var(--haze2) 42%, rgba(255, 255, 255, 0) 68%);
  filter: blur(6px); }
.blob::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 22px 9px var(--rim), inset 0 0 50px 8px var(--halo);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light; }

/* gooey cursor (cursor.js) */
.goo-cursor { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 50; pointer-events: none; overflow: visible; mix-blend-mode: multiply; }
.goo-cursor .goo { fill: #c4c6cb; }
.goo-cursor .dot { fill: #fff; mix-blend-mode: normal; }
html.goo-on, html.goo-on * { cursor: none !important; }
a, button, .cat { transition: translate .25s cubic-bezier(.2, .8, .2, 1); }

/* the page in the clouds (Clouds.page) */
.pagesky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
/* trimmed page: logo + menu, one line of title, the four categories */
.site .hero { grid-column: 1 / -1; grid-row: 2; align-self: center; padding: 10vh 0 6vh; max-width: 1100px; }
.site .cats { grid-row: 3; }

/* ---------- v4: minimal page ---------- */
.site { grid-template-rows: auto auto auto auto; }
.site nav.top { gap: 0; }
.site .hero { padding: 18vh 0 10vh; }
.site .by { color: var(--muted); letter-spacing: .02em; margin-bottom: 14px; }
.site h1 { font-size: clamp(22px, 2.6vw, 38px); text-transform: none; letter-spacing: 0; line-height: 1.15; max-width: 22em; }
.site .cats { border-top: 0; margin: 0 0 12vh; }
.site .cat { border-right: 0; padding-top: 0; }
.site .cat span { display: none; }
.site .cat b { font-size: clamp(36px, 6.4vw, 108px); }
.toggles, .corner { opacity: .5; transition: opacity .3s; }
.toggles:hover, .corner:hover { opacity: 1; }

/* the work grid: every project a small cloud with its title in ( ) */
.site .work { grid-column: 1 / -1; grid-row: 4; padding-bottom: 18vh; }
.wgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 64px 44px; align-items: start; }
.wcard { all: unset; display: flex; flex-direction: column; align-items: center; gap: 18px; cursor: pointer; }
.wcard .blob { width: 100%; transition: transform .6s cubic-bezier(.2, .8, .2, 1), filter .6s; filter: blur(.4px) saturate(.95); }
.wcard:hover .blob, .wcard:focus-visible .blob { transform: scale(1.04); filter: none; }
.wcard span { font-size: 12px; letter-spacing: .04em; text-align: center; color: #333; }
.wcard:focus-visible span { text-decoration: underline; }

/* ---------- project page (viewer.js, v7): sky behind, rounded film card, (Name) glides left ---------- */
html.pv-open { overflow: hidden; }
.pv { position: fixed; inset: 0; z-index: 40; color: var(--ink); overflow: hidden; opacity: 0; transition: opacity .6s ease; }
.pv.is-open { opacity: 1; }
:where(.pv) button, :where(.pv) a { all: unset; cursor: pointer; }
/* the blue sky stays: the page behind, softly blurred and lifted */
.pv-veil { position: absolute; inset: 0; background: rgba(214, 232, 252, .42);
  -webkit-backdrop-filter: blur(34px) saturate(1.25); backdrop-filter: blur(34px) saturate(1.25); }
.pv-veil::after { content: ""; position: absolute; inset: -50%; opacity: .14; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E"); }
/* the film, in the middle, as a rounded card with feathered edges */
.pv-card { position: absolute; left: 50%; top: 40%; width: min(62vw, 1040px, calc((100vh - 380px) * 16 / 9)); aspect-ratio: 16 / 9;
  transform: translate(-50%, -50%) scale(.94); border-radius: 34px; overflow: hidden; background: rgba(255, 255, 255, .25);
  filter: blur(26px); opacity: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent), linear-gradient(180deg, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent), linear-gradient(180deg, transparent, #000 7%, #000 93%, transparent); mask-composite: intersect;
  box-shadow: 0 30px 80px rgba(40, 70, 120, .18);
  transition: filter 1.6s cubic-bezier(.2, .8, .2, 1), transform 1.6s cubic-bezier(.2, .8, .2, 1), opacity .8s; }
.pv.is-open .pv-card { opacity: 1; }
.pv.is-clear .pv-card { filter: blur(0); transform: translate(-50%, -50%) scale(1); }
.pv-media { position: absolute; inset: 0; }
.pv-media > * { position: absolute; left: 50%; top: 50%; width: 100%; height: 100%; border: 0; object-fit: cover; pointer-events: none;
  transform: translate(-50%, -50%) scale(1.22); }   /* the scale crops YouTube's title bar and labels */
.pv-media > img { transform: translate(-50%, -50%); }
.pv-back { position: absolute; z-index: 2; top: clamp(18px, 3vw, 32px); left: clamp(18px, 3vw, 32px); width: 46px; height: 46px; border-radius: 16px;
  display: grid; place-items: center; background: rgba(255, 255, 255, .45); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 6px 20px rgba(40, 70, 120, .1); transition: background .3s; }
.pv-back:hover { background: rgba(255, 255, 255, .75); }
.pv-back svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
/* (Name): starts big in the centre (set in JS), then glides here */
.pv-info { position: absolute; left: clamp(22px, 5vw, 80px); bottom: clamp(26px, 6vh, 64px); max-width: min(460px, 80vw); }
.pv-info .pv-title { display: inline-block; font-weight: 300; font-size: clamp(26px, 3vw, 44px); line-height: 1.05; letter-spacing: -.005em; margin: 0 0 12px;
  color: #fff; text-shadow: 0 2px 24px rgba(30, 50, 80, .25); transform-origin: 50% 50%; will-change: transform;
  transition: transform 1.2s cubic-bezier(.65, 0, .25, 1), color 1.2s, text-shadow 1.2s; }
.pv.is-clear .pv-title { color: var(--ink); text-shadow: none; }
.pv-details, .pv-related { opacity: 0; transform: translateY(8px); transition: opacity .9s .5s, transform .9s .5s cubic-bezier(.2, .8, .2, 1); }
.pv.is-clear .pv-details, .pv.is-clear .pv-related { opacity: 1; transform: none; }
.pv-tags { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #48505c; margin: 0 0 10px; }
.pv-q { font-size: 14px; line-height: 1.45; margin: 0 0 14px; max-width: 36ch; color: #2b313a; }
.pv-more { font-size: 12px; letter-spacing: .06em; color: #48505c; border-bottom: 1px solid rgba(13, 13, 13, .3); padding-bottom: 2px; }
.pv-more:hover { color: var(--ink); }
.pv-related { position: absolute; right: clamp(22px, 5vw, 80px); bottom: clamp(26px, 6vh, 64px); text-align: right; }
.pv-related > p { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #48505c; margin: 0 0 12px; }
.pv-rel { display: flex; gap: 12px; justify-content: flex-end; }
.pv-tile { position: relative; width: 58px; display: flex; flex-direction: column; gap: 8px; }
.pv-tile img { width: 58px; height: 58px; object-fit: cover; border-radius: 30%; display: block;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .6), 0 8px 22px rgba(40, 70, 120, .16); transition: transform .4s; }
.pv-tile:hover img, .pv-tile:focus-visible img { transform: translateY(-3px) scale(1.05); }
.pv-tile span { position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); width: 110px; font-size: 10px; line-height: 1.25;
  text-align: center; color: #2b313a; opacity: 0; transition: opacity .3s; pointer-events: none; }
.pv-tile:hover span, .pv-tile:focus-visible span { opacity: 1; }
@media (max-width: 760px) { .pv-card { width: 90vw; top: 40%; } .pv-related { display: none; } }
@media (prefers-reduced-motion: reduce) { .pv-card, .pv-info .pv-title, .pv-details, .pv-related { transition: none; } }

/* calmer clouds in the grid: lighter haze and halo, so the page stays quiet */
.wcard .blob { box-shadow: 0 0 4px 2px var(--rim), 0 0 22px 6px var(--halo); }
.wcard .blob::before { opacity: .5; }
.wcard:hover .blob::before { opacity: .25; transition: opacity .6s; }

/* ---------- v5: home = branch icons + ring of projects + AI-style welcome (ring.js) ---------- */
/* frosted glass, after the references: translucent white, blur behind, soft edge, grain */
.branches, .ask-form { background: rgba(255, 255, 255, .34); -webkit-backdrop-filter: blur(22px) saturate(1.3); backdrop-filter: blur(22px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, .55); box-shadow: 0 10px 40px rgba(40, 70, 120, .12), inset 0 1px 0 rgba(255, 255, 255, .6); }
.dock { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 26px; }
.dock-q { margin: 0; font-size: 11px; letter-spacing: .06em; color: #4a515c; white-space: nowrap; min-height: 1.2em; }
.branches { display: flex; gap: 4px; padding: 5px; border-radius: 22px; }
.branches button { all: unset; position: relative; width: 42px; height: 42px; border-radius: 16px; display: grid; place-items: center; cursor: pointer;
  color: #1c1c1c; transition: background .3s, color .3s; }
.branches button:hover, .branches button:focus-visible { background: rgba(255, 255, 255, .55); }
.branches button.on { background: #1c1c1c; color: #fff; }
.branches svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.branches span { position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, -4px); opacity: 0; pointer-events: none;
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: #1c1c1c; transition: opacity .25s, transform .25s; white-space: nowrap; }
.branches button:hover span, .branches button:focus-visible span, .branches button.on span { opacity: 1; transform: translate(-50%, 0); }

.site.home { min-height: 100vh; grid-template-rows: auto 1fr; padding-bottom: 0; }
.ringwrap { grid-column: 1 / -1; grid-row: 2; position: relative; min-height: calc(100vh - 90px); touch-action: pan-y; }
.ring { position: absolute; inset: 0; }
.tile { all: unset; position: absolute; left: 0; top: 0; width: var(--tile, 64px); height: var(--tile, 64px); border-radius: 30%; overflow: hidden; cursor: pointer;
  --rim: rgba(255, 255, 255, .7); --haze1: rgba(255, 255, 255, .5);
  box-shadow: 0 8px 22px rgba(30, 60, 110, .16), 0 0 0 1px rgba(255, 255, 255, .45);
  filter: blur(calc((1 - var(--depth, 1)) * 1px + var(--fly, 0px))) saturate(calc(.8 + var(--depth, 1) * .25));
  opacity: calc(.72 + var(--depth, 1) * .28); transition: opacity .5s, box-shadow .3s; will-change: transform; }
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.06); filter: blur(.5px); }
.tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(90% 70% at 25% 18%, rgba(255, 255, 255, .55), transparent 55%),
              linear-gradient(160deg, transparent 45%, var(--haze1) 120%);
  box-shadow: inset 0 0 14px 2px var(--rim); mix-blend-mode: screen; }
.tile:hover, .tile:focus-visible { box-shadow: 0 10px 30px rgba(30, 60, 110, .25), 0 0 0 2px #fff; filter: none; }
.tile:hover img, .tile:focus-visible img { filter: none; }
.tile.dim { opacity: .12 !important; filter: blur(2px) grayscale(.6); }

.ask { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(460px, 84vw); text-align: center; pointer-events: none; }
.ask > * { pointer-events: auto; }
.ask-hello { font-size: 13px; letter-spacing: .04em; color: #555; margin: 0 0 6px; min-height: 1.3em; }
.ask-q { font-weight: 300; font-size: clamp(26px, 3.2vw, 42px); line-height: 1.12; margin: 0 0 26px; text-transform: none; letter-spacing: -.005em; }
.ask-form { display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 18px; border-radius: 999px; }
.ask-form input { all: unset; flex: 1; min-width: 0; font: 400 14px/1.2 var(--font); color: #1c1c1c; }
.ask-form input::placeholder { color: #7a7f88; }
.ask-form button { all: unset; cursor: pointer; padding: 11px 18px; border-radius: 999px; background: #1c1c1c; color: #fff; font: 400 12px/1 var(--font); letter-spacing: .06em; white-space: nowrap; }
.ask-form button:hover { background: var(--hot); }
.ask-note { font-size: 12px; color: #5d6470; margin: 14px 0 0; min-height: 1.3em; }
.home.saying .ask-q { font-size: clamp(22px, 2.4vw, 32px); }

/* keep the ring's tile stacking to itself, so the project view always sits on top */
.ring { isolation: isolate; }

/* ---------- v8: icons in the middle; a branch gathers into a circle, then the view dives in ---------- */
.ask { transition: opacity .5s, transform .8s cubic-bezier(.6, 0, .4, 1); }
.ask-q { margin-bottom: 0; }
.ringwrap::before { content: ""; position: absolute; left: 50%; top: 50%; width: calc(var(--rc, 280px) * 2 + 180px); aspect-ratio: 1;
  transform: translate(-50%, -50%) scale(.6); border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .55), rgba(255, 255, 255, .3) 62%, rgba(255, 255, 255, 0));
  filter: blur(6px); transition: opacity 1s, transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.ringwrap.branching::before { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.home.branching .tile { --tile-scale: 1; }
.ring { transition: transform 1s cubic-bezier(.65, 0, .35, 1), opacity .7s .3s, filter 1s; }
.ring.diving { transform: scale(7); opacity: 0; filter: blur(6px); }
.home.diving .ask, .home.diving.ringwrap::before { opacity: 0; }
.ringwrap.diving::before { opacity: 0; transform: translate(-50%, -50%) scale(1.6); }
@media (prefers-reduced-motion: reduce) { .ring, .ask, .ringwrap::before { transition: none; } }

/* ---------- v9: ( )-shaped soft sides, no borders; project page in the project's own colours ---------- */
/* tiles: a blurred copy behind, the sharp picture clear in the middle, fading out left and right in a ( ) curve */
.tile { overflow: visible; border-radius: 0; box-shadow: none !important; background: none; }
.tile::after { display: none; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: none; filter: none; }
.tile img.soft { filter: blur(9px) saturate(1.15); transform: scale(1.12); opacity: .9;
  -webkit-mask-image: radial-gradient(closest-side, #000 45%, transparent 100%); mask-image: radial-gradient(closest-side, #000 45%, transparent 100%); }
.tile img.sharp { -webkit-mask-image: radial-gradient(ellipse 46% 66% at 50% 50%, #000 50%, transparent 100%);
          mask-image: radial-gradient(ellipse 46% 66% at 50% 50%, #000 50%, transparent 100%); }
.tile:hover img.sharp, .tile:focus-visible img.sharp { -webkit-mask-image: radial-gradient(ellipse 56% 80% at 50% 50%, #000 62%, transparent 100%);
          mask-image: radial-gradient(ellipse 56% 80% at 50% 50%, #000 62%, transparent 100%); }
.tile:hover, .tile:focus-visible { filter: none; }

/* project page: the project's picture fills the screen, fully blurred */
.pv-bg { position: absolute; inset: 0; overflow: hidden; background: #8c938f; }
.pv-bg img { position: absolute; inset: -10%; width: 120%; height: 120%; object-fit: cover; filter: blur(70px) saturate(1.35) brightness(.92);
  opacity: 0; transition: opacity .9s; }
.pv-bg img.in { opacity: 1; }
.pv-veil { background: rgba(20, 24, 22, .1); -webkit-backdrop-filter: none; backdrop-filter: none; }
/* the film card: clear middle, ( )-curved blur at the sides, no frame */
.pv-card { border-radius: 0; background: none; box-shadow: none;
  -webkit-mask-image: radial-gradient(ellipse 52% 70% at 50% 50%, #000 56%, transparent 100%); -webkit-mask-composite: source-over;
          mask-image: radial-gradient(ellipse 52% 70% at 50% 50%, #000 56%, transparent 100%); mask-composite: add; }
/* words in white over the colour */
.pv { color: #fff; }
.pv-info .pv-title, .pv.is-clear .pv-title { color: #fff; text-shadow: 0 2px 26px rgba(0, 0, 0, .18); }
.pv-tags, .pv-related > p, .pv-more { color: rgba(255, 255, 255, .82); }
.pv-q { color: rgba(255, 255, 255, .92); }
.pv-more { border-bottom-color: rgba(255, 255, 255, .5); }
.pv-more:hover { color: #fff; }
.pv-tile span { color: #fff; }
.pv-tile img { box-shadow: none; -webkit-mask-image: radial-gradient(ellipse 48% 76% at 50% 50%, #000 55%, transparent 100%);
          mask-image: radial-gradient(ellipse 48% 76% at 50% 50%, #000 55%, transparent 100%); }
.pv-back { background: rgba(255, 255, 255, .2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35); }
.pv-back:hover { background: rgba(255, 255, 255, .34); }
.pv-back svg { stroke: #fff; }

/* ---------- v10: stage in the middle, projects as ( ) arcs, branch buttons, words below ---------- */
.site.home { grid-template-rows: auto auto auto; }
.site.home .mark { grid-column: 1 / -1; justify-self: center; }
.site.home .mark .logo { height: 34px; }
.site.home nav.top { position: absolute; top: 34px; right: clamp(16px, 4vw, 48px); }
.ringwrap { min-height: calc(100vh - 90px); }
.ringwrap::before { display: none; }
/* the stage: clear in the middle, soft at its sides */
.stage { position: absolute; cursor: pointer; outline: none;
  -webkit-mask-image: radial-gradient(ellipse 54% 72% at 50% 50%, #000 62%, transparent 100%);
          mask-image: radial-gradient(ellipse 54% 72% at 50% 50%, #000 62%, transparent 100%); }
.stage:focus-visible { -webkit-mask-image: none; mask-image: none; box-shadow: 0 0 0 2px var(--ink); }
.stage-media { position: absolute; inset: 0; overflow: hidden; }
.stage-media > * { position: absolute; left: 50%; top: 50%; width: 100%; height: 100%; border: 0; object-fit: cover; pointer-events: none;
  transform: translate(-50%, -50%) scale(1.22); opacity: 0; filter: blur(14px); transition: opacity .9s, filter 1.2s; }
.stage-media > img { transform: translate(-50%, -50%); }
.stage-media > .in { opacity: 1; filter: none; }
.stage-name { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); margin: 0; text-align: center; pointer-events: none;
  font-weight: 300; font-size: clamp(24px, 3vw, 42px); color: #fff; text-shadow: 0 2px 30px rgba(0, 0, 0, .35); opacity: 0; transition: opacity .35s; }
.stage:hover .stage-name, .stage.naming .stage-name { opacity: 1; }
.stage:hover .stage-media > .in { filter: blur(6px) brightness(.9); }
/* tiles on the arcs; the one on stage is marked */
.tile.on img.sharp { -webkit-mask-image: none; mask-image: none; border-radius: 50%; box-shadow: 0 0 0 2px #fff; }
/* Design · Film · Lab · World under the stage */
.cats4 { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 2; }
.cats4 button { all: unset; cursor: pointer; padding: 11px 18px; border-radius: 12px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
  color: #2b313a; background: rgba(255, 255, 255, .42); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6); transition: background .3s, color .3s; }
.cats4 button:hover, .cats4 button:focus-visible { background: rgba(255, 255, 255, .75); }
.cats4 button.on { background: #1c1c1c; color: #fff; }
/* the words under the stage */
.pinfo { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 6vw, 96px);
  padding: 14vh 0 22vh; max-width: 1200px; width: 100%; justify-self: center; }
.pinfo-tags { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #4a515c; margin: 0 0 14px; }
.pinfo h2 { font-weight: 300; font-size: clamp(32px, 4.4vw, 64px); line-height: 1.02; margin: 0; letter-spacing: -.01em; }
.pinfo-q { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.4; margin: 0 0 22px; font-weight: 300; }
.pinfo-sum { font-size: 15px; line-height: 1.6; margin: 0 0 22px; color: #2b313a; }
.pinfo-notes { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 12px; font-size: 14px; line-height: 1.55; color: #3a414b; }
.pinfo-notes li { padding-left: 16px; position: relative; }
.pinfo-notes li::before { content: "("; position: absolute; left: 0; color: #8a8f98; }
.pinfo-tools { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #4a515c; margin: 0 0 26px; }
.pinfo-links { display: flex; gap: 22px; flex-wrap: wrap; margin: 0; }
.pinfo-links a, .pinfo-links button { all: unset; cursor: pointer; font-size: 12px; letter-spacing: .08em; border-bottom: 1px solid rgba(13, 13, 13, .35); padding-bottom: 2px; }
.pinfo-links a:hover, .pinfo-links button:hover { color: var(--hot); border-color: var(--hot); }
@media (max-width: 760px) { .pinfo { grid-template-columns: 1fr; } .cats4 { gap: 6px; } .cats4 button { padding: 10px 12px; letter-spacing: .14em; } }

/* ---------- v11: June's mockup, exactly: white box on a slightly grey page ---------- */
html { background: #eeeff1; }
.pagesky { filter: grayscale(1) brightness(1.03); opacity: .55; }       /* the clouds outside the box, soft grey */
.site.home { display: flex; flex-direction: column; align-items: center; min-height: 100vh;
  padding: 22px clamp(16px, 3vw, 54px) 0; grid-template-columns: none; }
.site.home .mark { align-self: center; margin-bottom: 16px; }
.site.home .mark .logo { height: 40px; }
.box { position: relative; width: 100%; height: calc(100vh - 236px); min-height: 440px; background: #fff; grid-row: auto; }
.site.home .box nav.top { position: absolute; top: 24px; right: 30px; left: auto; z-index: 3; font-size: 10px; letter-spacing: .14em; }
/* the stage: sharp, no blurred edges; only there when a branch is open */
.stage { -webkit-mask-image: none; mask-image: none; opacity: 0; transform: scale(.94); pointer-events: none;
  transition: opacity .8s, transform 1s cubic-bezier(.2, .8, .2, 1); background: #f2f2f2; }
.box.expanded .stage { opacity: 1; transform: none; pointer-events: auto; }
.stage-media > * { filter: none !important; }
.stage:hover .stage-media > .in { filter: none; }
/* the name in the middle on hover: dark on white, white over the film */
.ring-name { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; pointer-events: none; z-index: 2;
  font-weight: 300; font-size: clamp(20px, 2.2vw, 32px); text-align: center; max-width: 46%; color: var(--ink); opacity: 0; transition: opacity .3s; }
.box.naming .ring-name { opacity: 1; }
.box.expanded .ring-name { color: #fff; text-shadow: 0 2px 26px rgba(0, 0, 0, .35); }
/* tiles: small round soft discs */
.tile img.soft { display: none; }
.tile img.sharp { border-radius: 50%;
  -webkit-mask-image: radial-gradient(circle closest-side, #000 74%, transparent 100%); mask-image: radial-gradient(circle closest-side, #000 74%, transparent 100%); }
.tile:hover img.sharp, .tile:focus-visible img.sharp { -webkit-mask-image: radial-gradient(circle closest-side, #000 86%, transparent 100%); mask-image: radial-gradient(circle closest-side, #000 86%, transparent 100%); }
.tile.on img.sharp { -webkit-mask-image: none; mask-image: none; box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(13, 13, 13, .5); }
/* under the box: the four buttons, then "cloud" */
.cats4 { position: static; transform: none; margin-top: 22px; gap: 14px; }
.cats4 button { padding: 12px 16px; border-radius: 2px; letter-spacing: .26em; color: #3a3f47; background: rgba(13, 13, 13, .055);
  -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
.cats4 button:hover, .cats4 button:focus-visible { background: rgba(13, 13, 13, .1); }
.cats4 button.on { background: #1c1c1c; color: #fff; }
.wordmark { margin: 14px 0 0; font-weight: 300; font-size: 34px; line-height: 1; letter-spacing: -.01em; color: var(--ink); }
.wm-o { display: inline-block; width: .5em; height: .5em; margin: 0 .03em; border: .055em solid currentColor; border-radius: 50%; vertical-align: -.02em;
  background: radial-gradient(circle at 40% 35%, #b7d4c4, #6c8f7c 55%, #3f5a52); box-sizing: border-box; }
.pinfo:empty { display: none; }
.pinfo { padding: 12vh 0 18vh; }
@media (max-width: 760px) { .box { height: calc(100vh - 220px); } .cats4 { gap: 6px; } .wordmark { font-size: 28px; } }

/* ---------- v12: the first screen is June's mockup (1752 × 988), scaled to fit the window ---------- */
/* 1 mockup pixel = var(--u); the artboard is centred, the sky fills around it */
:root { --u: min(calc(100vw / 1752), calc(100vh / 988));
        --ox: calc((100vw - 1752 * var(--u)) / 2); --oy: calc((100vh - 988 * var(--u)) / 2); }
.pagesky { filter: none; opacity: 1; }                                   /* the sky is back */
html { background: var(--bg); }
.site.home { display: block; position: relative; min-height: 0; padding: 100vh clamp(16px, 4vw, 64px) 0; }
.site.home .mark { position: absolute; left: calc(var(--ox) + 871 * var(--u)); top: calc(var(--oy) + 60 * var(--u)); transform: translateX(-50%); margin: 0; z-index: 3; }
.site.home .mark .logo { height: calc(48 * var(--u)); }
.box { position: absolute; left: calc(var(--ox) + 53 * var(--u)); top: calc(var(--oy) + 88 * var(--u));
  width: calc(1667 * var(--u)); height: calc(742 * var(--u)); min-height: 0; perspective: none; }
.site.home .box nav.top { top: calc(22 * var(--u)); right: calc(40 * var(--u)); font-size: calc(11 * var(--u)); }
.cats4 { position: absolute; margin: 0; left: calc(var(--ox) + 871 * var(--u)); top: calc(var(--oy) + 872 * var(--u)); transform: translateX(-50%); gap: calc(28 * var(--u)); }
.cats4 button { padding: calc(15 * var(--u)) calc(12 * var(--u)); font-size: calc(14 * var(--u)); letter-spacing: .2em; border-radius: 0; }
.wordmark { position: absolute; margin: 0; left: calc(var(--ox) + 868 * var(--u)); top: calc(var(--oy) + 930 * var(--u)); transform: translateX(-50%); font-size: calc(46 * var(--u)); }
.toggles { left: calc(var(--ox) + 43 * var(--u)); bottom: calc(var(--oy) + 42 * var(--u)); gap: calc(40 * var(--u)); }
.toggles .corner, .corner { font-size: calc(14 * var(--u)); letter-spacing: .22em; }
.corner { right: calc(var(--ox) + 46 * var(--u)); bottom: calc(var(--oy) + 42 * var(--u)); }
.ring-name { font-size: calc(30 * var(--u)); }
/* cards: standing cards on the 3D ring, round discs on the ( ) arcs */
.tile { width: var(--tile, 44px); height: calc(var(--tile, 44px) * 1.36); transition: height .8s cubic-bezier(.2, .8, .2, 1); }
.tile img.sharp { border-radius: 7%; -webkit-mask-image: none; mask-image: none; transition: border-radius .8s; box-shadow: 0 6px 18px rgba(30, 40, 60, .12); }
.tile:hover img.sharp, .tile:focus-visible img.sharp { -webkit-mask-image: none; mask-image: none; }
.box.expanded .tile { height: var(--tile, 44px); }
.box.expanded .tile img.sharp { border-radius: 50%; box-shadow: none;
  -webkit-mask-image: radial-gradient(circle closest-side, #000 76%, transparent 100%); mask-image: radial-gradient(circle closest-side, #000 76%, transparent 100%); }
.box.expanded .tile.on img.sharp { -webkit-mask-image: none; mask-image: none; box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(13, 13, 13, .5); }
.tile { filter: none; opacity: 1; }
.pinfo { padding: 12vh 0 18vh; margin: 0 auto; }

/* ---------- v13: smaller text on the first screen ---------- */
.site.home .box nav.top { font-size: calc(9 * var(--u)); letter-spacing: .18em; }
.cats4 { gap: calc(18 * var(--u)); top: calc(var(--oy) + 878 * var(--u)); }
.cats4 button { padding: calc(10 * var(--u)) calc(11 * var(--u)); font-size: calc(10 * var(--u)); letter-spacing: .22em; }
.wordmark { font-size: calc(30 * var(--u)); top: calc(var(--oy) + 928 * var(--u)); }
.toggles .corner, .corner { font-size: calc(10 * var(--u)); letter-spacing: .2em; }
.ring-name { font-size: calc(22 * var(--u)); }

/* ---------- v14: ring style switch, smaller logo ---------- */
.site.home .mark .logo { height: calc(36 * var(--u)); }
.site.home .mark { top: calc(var(--oy) + 46 * var(--u)); }
/* ring: flat — soft round discs instead of standing cards */
.ring-flat .box:not(.expanded) .tile { height: var(--tile, 44px); }
.ring-flat .box:not(.expanded) .tile img.sharp { border-radius: 50%; box-shadow: none;
  -webkit-mask-image: radial-gradient(circle closest-side, #000 58%, transparent 100%); mask-image: radial-gradient(circle closest-side, #000 58%, transparent 100%); }

/* v15: Silver Factory captions keep their line breaks */
.pinfo-sum { white-space: pre-line; }

/* v16: films are drawn at double size and scaled down, so YouTube / Vimeo send a sharp stream */
.stage-media > iframe.hq, .pv-media > iframe.hq { width: 200%; height: 200%; transform: translate(-50%, -50%) scale(.61); }

/* ---------- v18: hover the film → "enter cloud", the box fills with its blurred, playing copy ---------- */
.box-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .7s ease; }
.box.entering .box-bg { opacity: 1; }
.box-bg > * { position: absolute; left: 50%; top: 50%; width: 115%; height: 115%; border: 0; object-fit: cover;
  transform: translate(-50%, -50%); filter: blur(46px) saturate(1.25) brightness(.95); opacity: 1 !important; }
.box-bg > iframe { width: auto; height: auto; }
.box .ring, .box .stage, .box .ring-name, .box nav.top { z-index: 1; }
.box.entering nav.top a { color: #fff; }
.stage-enter { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); margin: 0; text-align: center; pointer-events: none; z-index: 2;
  font-weight: 300; font-size: calc(26 * var(--u)); letter-spacing: .04em; color: #fff; text-shadow: 0 2px 30px rgba(0, 0, 0, .4);
  opacity: 0; transition: opacity .4s; }
.stage-enter::before { content: "( "; } .stage-enter::after { content: " )"; }
.box.entering .stage-enter { opacity: 1; }
.box.entering .ring-name { opacity: 0; }
.box.entering .stage .stage-media > .in { filter: brightness(.88) !important; }
/* v18: make "( enter cloud )" read over any film */
.box.entering .stage .stage-media > .in { filter: brightness(.68) saturate(.9) !important; transition: filter .5s; }
.stage-enter { font-weight: 400; font-size: calc(30 * var(--u)); text-shadow: 0 0 24px rgba(0, 0, 0, .45), 0 2px 6px rgba(0, 0, 0, .3); }

/* v19: gallery images under the stage (from the editor) */
.pinfo-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin: 6px 0 26px; }
.pinfo-gallery img, .pinfo-gallery video { width: 100%; height: auto; display: block; border-radius: 6px; background: rgba(13, 13, 13, .04); }

/* speed (v21): the cursor blob no longer blends with the whole page (a full-screen blend was redrawn
   on every mouse move); a soft translucent grey looks the same on white and light sky */
.goo-cursor { mix-blend-mode: normal; }
.goo-cursor .goo { fill: rgba(150, 155, 166, .42); }

/* ---------- v22: the opening ring with its welcome, and a world per branch inside the box ---------- */
.welcome { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; text-align: center; transition: opacity .5s; }
.w-hello { margin: 0 0 calc(8 * var(--u)); font-size: calc(15 * var(--u)); color: #555; letter-spacing: .03em; }
.w-q { margin: 0 0 calc(30 * var(--u)); font-weight: 300; font-size: calc(46 * var(--u)); line-height: 1.1; }
.w-icons { display: inline-flex; gap: calc(6 * var(--u)); padding: calc(6 * var(--u)); border-radius: calc(22 * var(--u));
  background: rgba(255, 255, 255, .7); box-shadow: 0 10px 40px rgba(40, 70, 120, .12), inset 0 1px 0 #fff; }
.w-icons button { all: unset; cursor: pointer; width: calc(46 * var(--u)); height: calc(46 * var(--u)); border-radius: calc(16 * var(--u));
  display: grid; place-items: center; color: #1c1c1c; transition: background .3s; }
.w-icons button:hover, .w-icons button:focus-visible { background: rgba(13, 13, 13, .06); }
.w-icons svg { width: calc(22 * var(--u)); height: calc(22 * var(--u)); fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.w-ask { margin: calc(14 * var(--u)) 0 0; font-size: calc(12 * var(--u)); color: #4a515c; letter-spacing: .05em; }
.box.expanded .welcome, .box.in-world .welcome, .box.naming .welcome { opacity: 0; pointer-events: none; }
/* the branch world fills the box */
.world-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 4; background: #fff;
  opacity: 0; pointer-events: none; transition: opacity .6s ease; }
.box.in-world .world-frame { opacity: 1; pointer-events: auto; }
.box.in-world .ring, .box.in-world nav.top { opacity: 0; pointer-events: none; transition: opacity .4s; }

/* ---------- v22: "What we do" under the box (about.js) ---------- */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 6vw, 96px);
  max-width: 1200px; margin: 0 auto; padding: 14vh 0 20vh; }
.about-tag { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #4a515c; margin: 0 0 14px; }
.about h2 { font-weight: 300; font-size: clamp(36px, 5vw, 72px); line-height: 1; margin: 0; letter-spacing: -.01em; }
.about-intro { font-weight: 300; font-size: clamp(18px, 1.7vw, 24px); line-height: 1.45; margin: 0 0 40px; }
.about-branches { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(13, 13, 13, .12); }
.about-branches li { border-bottom: 1px solid rgba(13, 13, 13, .12); }
.about-branches button { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: grid;
  grid-template-columns: 42px minmax(90px, 140px) 1fr auto; align-items: baseline; gap: 16px; padding: 20px 0; }
.ab-num { font-size: 11px; letter-spacing: .18em; color: #8a8f98; }
.ab-name { font-weight: 300; font-size: 26px; transition: color .25s; }
.ab-text { font-size: 14px; line-height: 1.5; color: #3a414b; }
.ab-count { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #8a8f98; white-space: nowrap; transition: color .25s; }
.about-branches button:hover .ab-name, .about-branches button:focus-visible .ab-name, .about-branches button:hover .ab-count { color: var(--hot); }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } .about-branches button { grid-template-columns: 34px 1fr; } .ab-text, .ab-count { grid-column: 2; } }

/* ---------- v22: expand / shrink the box (bottom right) ---------- */
.box-expand { all: unset; position: absolute; right: calc(16 * var(--u)); bottom: calc(16 * var(--u)); z-index: 6; cursor: pointer;
  width: calc(40 * var(--u)); height: calc(40 * var(--u)); min-width: 30px; min-height: 30px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .78); box-shadow: 0 4px 16px rgba(30, 40, 60, .14); color: #1c1c1c; transition: background .25s, transform .25s; }
.box-expand:hover, .box-expand:focus-visible { background: #fff; transform: scale(1.06); }
.box-expand svg { width: 55%; height: 55%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
html.box-full .box { position: fixed; left: 0; top: 0; width: 100vw; height: 100vh; z-index: 35; }
html.box-full body { overflow: hidden; }

/* ---------- v23: About / News / Careers / Contact under the box (pages.js, words in site.js) ---------- */
.site.home .box nav.top { display: flex; gap: calc(26 * var(--u)); }
.pg { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 6vw, 96px);
  max-width: 1200px; margin: 0 auto; padding: 12vh 0; border-top: 1px solid rgba(13, 13, 13, .1); scroll-margin-top: 0; }
.pg:empty { display: none; }
.pg-about { border-top: 0; padding-top: 14vh; }
.pg-contact { padding-bottom: 22vh; }
.pg-head { align-self: start; position: sticky; top: 8vh; }
.pg-tag { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #4a515c; margin: 0 0 14px; }
.pg h2 { font-weight: 300; font-size: clamp(34px, 4.6vw, 66px); line-height: 1; margin: 0; letter-spacing: -.01em; }
.pg-intro { font-weight: 300; font-size: clamp(18px, 1.7vw, 24px); line-height: 1.45; margin: 0 0 40px; max-width: 34em; }
.pg-lead { font-size: 15px; line-height: 1.6; color: #3a414b; margin: 0 0 22px; max-width: 40em; }
.pg h3 { font-weight: 400; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; margin: 64px 0 12px; }
.pg-services ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(13, 13, 13, .12); }
.pg-services li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) 90px; gap: 16px; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid rgba(13, 13, 13, .12); font-size: 14px; line-height: 1.5; }
.sv-name { font-size: 16px; font-weight: 400; }
.sv-text { color: #3a414b; }
.sv-br { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: #8a8f98; text-align: right; }

/* news */
.news { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(13, 13, 13, .12); }
.news li { border-bottom: 1px solid rgba(13, 13, 13, .12); }
.nw { all: unset; box-sizing: border-box; width: 100%; display: grid; grid-template-columns: 104px minmax(0, 1fr) 120px;
  gap: 20px; align-items: center; padding: 18px 0; }
button.nw { cursor: pointer; }
.nw-date { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #8a8f98; align-self: start; padding-top: 5px; }
.nw-main { display: grid; gap: 4px; }
.nw-title { font-weight: 300; font-size: 21px; line-height: 1.25; transition: color .25s; }
.nw-text { font-size: 14px; line-height: 1.5; color: #3a414b; }
.nw-src { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: #8a8f98; margin-top: 4px; }
.nw-pic { width: 120px; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: rgba(13, 13, 13, .04); }
.nw-pic:empty { background: none; }
.nw-pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
button.nw:hover .nw-title, button.nw:focus-visible .nw-title { color: var(--hot); }
button.nw:hover .nw-pic img { transform: scale(1.05); }

/* careers */
.jobs { border-top: 1px solid rgba(13, 13, 13, .12); }
.job { border-bottom: 1px solid rgba(13, 13, 13, .12); }
.job summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto 18px; gap: 20px;
  align-items: baseline; padding: 22px 0; }
.job summary::-webkit-details-marker { display: none; }
.jb-title { font-weight: 300; font-size: 28px; transition: color .25s; }
.job summary:hover .jb-title { color: var(--hot); }
.jb-meta { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #8a8f98; }
.jb-plus { position: relative; width: 12px; height: 12px; align-self: center; }
.jb-plus::before, .jb-plus::after { content: ""; position: absolute; left: 0; top: 50%; width: 12px; height: 1px; background: #4a515c; transition: transform .3s; }
.jb-plus::after { transform: rotate(90deg); }
.job[open] .jb-plus::after { transform: rotate(0); }
.jb-body { padding: 0 0 34px; max-width: 46em; }
.jb-sum { font-size: 16px; line-height: 1.6; margin: 0 0 22px; }
.jb-lines { margin: 0 0 30px; display: grid; gap: 0; border-top: 1px solid rgba(13, 13, 13, .08); }
.jb-lines div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(13, 13, 13, .08); font-size: 14px; }
.jb-lines dt { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: #8a8f98; padding-top: 3px; }
.jb-lines dd { margin: 0; }
.jb-body h4 { font-weight: 400; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 14px; color: #4a515c; }
.jb-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 32px; margin: 0 0 32px; }
.jb-groups h5 { font-weight: 400; font-size: 15px; margin: 0 0 8px; }
.jb-body ul { margin: 0; padding: 0 0 0 16px; display: grid; gap: 6px; font-size: 14px; line-height: 1.5; color: #3a414b; }
.jb-look { margin-bottom: 30px !important; }
.jb-apply a { display: inline-block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  color: #fff; background: #161616; padding: 12px 18px; border-radius: 999px; transition: background .25s; }
.jb-apply a:hover { background: var(--hot); }

/* contact */
.ct-mail { margin: 0 0 10px; }
.ct-mail a { font-weight: 300; font-size: clamp(24px, 3vw, 40px); text-decoration: none; border-bottom: 1px solid rgba(13, 13, 13, .3); }
.ct-mail a:hover { color: var(--hot); border-color: var(--hot); }
.ct-loc { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #8a8f98; margin: 0 0 32px; }
.ct-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 26px; }
.ct-links a { font-size: 13px; text-decoration: none; border-bottom: 1px solid rgba(13, 13, 13, .25); padding-bottom: 2px; }
.ct-links a:hover { color: var(--hot); border-color: var(--hot); }

@media (max-width: 760px) {
  .pg { grid-template-columns: 1fr; gap: 28px; padding: 9vh 0; }
  .pg-head { position: static; }
  .pg-services li { grid-template-columns: 1fr; gap: 2px; }
  .sv-br { text-align: left; }
  .nw { grid-template-columns: 1fr 84px; gap: 6px 14px; }
  .nw-date { grid-column: 1 / -1; padding: 0; }
  .nw-pic { width: 84px; }
  .job summary { grid-template-columns: 1fr 18px; gap: 6px 14px; }
  .jb-meta { grid-column: 1; grid-row: 2; }
  .jb-plus { grid-column: 2; grid-row: 1; }
  .jb-groups { grid-template-columns: 1fr; }
  .jb-lines div { grid-template-columns: 1fr; gap: 2px; }
}

/* v23: products (Lab) */
.h3-sub { margin-left: 12px; color: #8a8f98; }
.pg-products { margin-top: 64px; }
.pg-products h3 { margin-top: 0; }
.prods { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(13, 13, 13, .12); }
.prods li { border-bottom: 1px solid rgba(13, 13, 13, .12); }
.nw.prod { grid-template-columns: 96px minmax(0, 1fr) auto; }
.pr-pic { width: 96px; aspect-ratio: 1; border-radius: 22px; overflow: hidden; display: grid; place-items: center;
  background: linear-gradient(160deg, #eef3fb, #dde6f3); box-shadow: inset 0 0 0 1px rgba(13, 13, 13, .06); }
.pr-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pr-mark { font-weight: 200; font-size: 30px; letter-spacing: .1em; color: #3a414b; }
.pr-kind { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: #8a8f98; }
.pr-status { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #3a414b; white-space: nowrap;
  border: 1px solid rgba(13, 13, 13, .18); border-radius: 999px; padding: 5px 10px; align-self: center; }

/* v23: ideas: write on a cloud, send it up */
.sky-card { position: relative; overflow: hidden; border-radius: 24px; min-height: 520px; padding: 56px clamp(18px, 4vw, 56px) 48px;
  background: linear-gradient(180deg, #a9c8ec 0%, #c9dcf3 42%, #eef3fa 100%); display: grid; place-items: center; isolation: isolate; }
.puff { position: absolute; z-index: -1; border-radius: 50%; background: #fff; filter: blur(26px); opacity: .85; animation: puff 26s ease-in-out infinite alternate; }
.p1 { width: 46%; height: 26%; left: -8%; top: -6%; }
.p2 { width: 38%; height: 22%; right: -6%; top: 4%; animation-duration: 32s; }
.p3 { width: 30%; height: 18%; left: 30%; top: -10%; opacity: .7; animation-duration: 21s; }
.p4 { width: 60%; height: 30%; left: 20%; bottom: -16%; opacity: .6; animation-duration: 38s; }
@keyframes puff { to { transform: translateX(8%) scale(1.08); } }
.sky-card.lifting .p1, .sky-card.lifting .p2, .sky-card.lifting .p3 { animation: none; transform: scale(1.25); transition: transform 2.4s ease-out; }
.note { position: relative; width: min(560px, 100%); padding: 44px 48px 30px; font-family: "Caveat", "Bradley Hand", cursive; color: #33415a; }
.note-cloud { position: absolute; inset: 0; z-index: -1; border-radius: 46% 54% 50% 50% / 58% 52% 48% 42%;
  background: rgba(255, 255, 255, .86); box-shadow: 0 0 40px 30px rgba(255, 255, 255, .7), 0 30px 60px -20px rgba(60, 90, 140, .25); }
.note-cloud::before, .note-cloud::after { content: ""; position: absolute; border-radius: 50%; background: inherit; box-shadow: 0 0 30px 20px rgba(255, 255, 255, .65); }
.note-cloud::before { width: 42%; height: 44%; left: 10%; top: -16%; }
.note-cloud::after { width: 34%; height: 36%; right: 14%; top: -10%; }
.hand-l { display: grid; gap: 6px; font-size: 30px; line-height: 1.1; }
.note textarea, .note input { font: inherit; color: inherit; background: transparent; border: 0; outline: 0; padding: 0; width: 100%; resize: none; }
.note textarea { font-size: 28px; line-height: 38px; min-height: 190px;
  background-image: repeating-linear-gradient(180deg, transparent 0 37px, rgba(51, 65, 90, .12) 37px 38px); }
.note textarea::placeholder, .note input::placeholder { color: rgba(51, 65, 90, .38); }
.note-from { display: grid; gap: 4px; margin-top: 18px; font-size: 22px; }
.note-from label { display: flex; gap: 10px; align-items: baseline; white-space: nowrap; }
.note-from input { font-size: 24px; border-bottom: 1px solid rgba(51, 65, 90, .18); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.send { all: unset; cursor: pointer; display: block; margin: 22px auto 0; font-family: "Caveat", cursive; font-size: 28px; color: #33415a;
  padding: 4px 22px; border-radius: 999px; transition: transform .3s, color .3s; }
.send:hover, .send:focus-visible { color: #1b2c4a; transform: translateY(-3px); }
.send:disabled { opacity: .5; cursor: default; }
.note-msg { font-size: 20px; text-align: center; margin: 8px 0 0; min-height: 1em; color: #8a4a3a; }
.fly-words { position: absolute; z-index: 2; pointer-events: none; font-family: "Caveat", cursive; font-size: 28px; line-height: 38px; color: #33415a; white-space: pre-wrap; }
.fly-words span { display: inline-block; }
.sent { text-align: center; font-family: "Caveat", cursive; color: #33415a; }
.sent-t { font-size: 44px; margin: 0 0 6px; }
.sent-s { font-size: 24px; margin: 0 0 22px; opacity: .75; }
.again { all: unset; cursor: pointer; font-size: 22px; border-bottom: 1px solid rgba(51, 65, 90, .3); }
@media (max-width: 760px) {
  .nw.prod { grid-template-columns: 72px 1fr; }
  .pr-pic { width: 72px; border-radius: 17px; }
  .pr-status { grid-column: 2; justify-self: start; }
  .note { padding: 34px 22px 24px; }
  .note-from label { flex-direction: column; gap: 0; white-space: normal; }
  .sky-card { min-height: 0; }
}

/* ---------- v24: project page: the film fills the screen; scroll down to read, sideways to switch ---------- */
.pv-card { left: 0; top: 0; width: 100%; height: 100%; aspect-ratio: auto; transform: scale(1.05);
  -webkit-mask-image: none; mask-image: none; border-radius: 0; }
.pv.is-clear .pv-card { transform: scale(1); }
.pv-media { overflow: hidden; filter: blur(calc(var(--sc, 0) * 26px)) brightness(calc(1 - var(--sc, 0) * .5)); transform: scale(calc(1 + var(--sc, 0) * .06)); }
.pv-media > video, .pv-media > img { width: 100%; height: 100%; object-fit: cover; transform: translate(-50%, -50%); }
/* a 16:9 player that covers any screen, drawn at double size for a sharp stream, cropped past YouTube's labels */
.pv-media > iframe, .pv-media > iframe.hq { width: calc(max(100vw, 177.78vh) * 2); height: calc(max(100vh, 56.25vw) * 2);
  transform: translate(-50%, -50%) scale(.58); }
.pv-scroll { position: absolute; inset: 0; z-index: 1; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-width: none; }
.pv-scroll::-webkit-scrollbar { display: none; }
.pv-hero { position: relative; height: 100vh; height: 100svh; }
.pv-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .12) 34%, transparent 55%), linear-gradient(180deg, rgba(0, 0, 0, .25), transparent 18%); }
.pv-back { z-index: 3; }
.pv-hint { position: absolute; left: 50%; bottom: clamp(22px, 4vh, 40px); transform: translateX(-50%); display: flex; gap: 26px;
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .7); white-space: nowrap;
  opacity: calc(1 - var(--sc, 0) * 4); transition: opacity .3s; }
.pv-hint span:first-child { animation: pvnudge 2.4s ease-in-out infinite; }
@keyframes pvnudge { 50% { transform: translateY(4px); } }
.pv-arrow { position: absolute; z-index: 3; top: 50%; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); opacity: .0; transition: opacity .3s, background .25s; }
.pv-arrow.prev { left: clamp(14px, 2.4vw, 32px); }
.pv-arrow.next { right: clamp(14px, 2.4vw, 32px); }
.pv:hover .pv-arrow, .pv-arrow:focus-visible { opacity: calc(1 - var(--sc, 0) * 3); }
.pv-arrow:hover { background: rgba(255, 255, 255, .3); }
.pv-arrow svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* the details, over the dimmed film */
.pv-sheet { position: relative; max-width: 1120px; margin: 0 auto; padding: 12vh clamp(22px, 6vw, 96px) 12vh; color: #fff;
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 28px clamp(24px, 6vw, 90px); }
.pv-sheet header { align-self: start; position: sticky; top: 10vh; }
.pv-s-tags { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .72); margin: 0 0 14px; }
.pv-sheet h3 { font-weight: 300; font-size: clamp(32px, 4vw, 58px); line-height: 1.02; margin: 0 0 18px; letter-spacing: -.01em; }
.pv-s-q { font-weight: 300; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.45; margin: 0; color: rgba(255, 255, 255, .9); }
.pv-s-sum { font-size: 16px; line-height: 1.7; margin: 0 0 26px; white-space: pre-line; color: rgba(255, 255, 255, .92); }
.pv-s-notes { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 14px; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .84); }
.pv-s-notes li { padding-left: 16px; position: relative; white-space: pre-line; }
.pv-s-notes li::before { content: "("; position: absolute; left: 0; color: rgba(255, 255, 255, .5); }
.pv-s-tools { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; line-height: 1.8; color: rgba(255, 255, 255, .8); margin: 0 0 26px; }
.pv-s-tools span { display: block; color: rgba(255, 255, 255, .5); margin-bottom: 4px; }
.pv-s-links a { font-size: 12px; letter-spacing: .08em; border-bottom: 1px solid rgba(255, 255, 255, .45); padding-bottom: 2px; }
.pv-s-links a:hover { border-color: #fff; }
.pv-s-gallery { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 30px; }
.pv-s-gallery img, .pv-s-gallery video { width: 100%; height: auto; display: block; border-radius: 10px; background: rgba(255, 255, 255, .06); }
.pv-s-next { grid-column: 1 / -1; display: flex; justify-content: space-between; margin-top: 8vh; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .2);
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.pv-s-next button { color: rgba(255, 255, 255, .8); }
.pv-s-next button:hover { color: #fff; }
@media (max-width: 760px) {
  .pv-sheet { grid-template-columns: 1fr; padding-top: 8vh; }
  .pv-sheet header { position: static; }
  .pv-arrow { display: none; }
  .pv-hint { gap: 16px; }
  .pv-s-gallery { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .pv-hint span:first-child { animation: none; } }
.pv-info, .pv-related { bottom: clamp(58px, 9vh, 92px); }
.pv-hint { bottom: 18px; }
.pv-hero::before { opacity: calc(1 - var(--sc, 0) * 1.3); }

/* ---------- v26 (on top of v24): a cursor you can see ----------
   a crisp dark dot with a thin white ring (shows on white, on the sky and on dark films);
   the soft gooey blob behind it is a darker grey, still sticky around links and buttons */
.goo-cursor .goo { fill: #2a2f38; opacity: .2; }
.goo-cursor .dot { fill: #111; stroke: #fff; stroke-width: 1.6; }
html.pv-open .goo-cursor .goo { fill: #fff; opacity: .28; }

/* v26: About · News · … outside the box, top right of the page, level with the ( ) logo */
.site.home > nav.top { position: absolute; z-index: 4; left: auto; transform: none;
  top: calc(var(--oy) + 52 * var(--u)); right: calc(var(--ox) + 56 * var(--u));
  display: flex; gap: calc(28 * var(--u)); font-size: max(10px, calc(10 * var(--u))); letter-spacing: .18em; text-transform: uppercase; }
.site.home > nav.top a:hover { color: var(--hot); }
/* v26: the welcome is one sentence, no icons */
.w-hello { margin-bottom: calc(10 * var(--u)); }
.w-q { margin: 0; font-size: calc(38 * var(--u)); max-width: calc(760 * var(--u)); line-height: 1.15; }
@media (max-width: 640px) { .site.home > nav.top { top: 14px; right: 14px; gap: 14px; } }

/* v26: the menu stays at the top right however far you scroll */
.site.home > nav.top { position: fixed; z-index: 30; padding: 6px 0; }
html.pv-open .site.home > nav.top { opacity: 0; pointer-events: none; }
/* v26: one arrow between the two parts: ↓ pages / ↑ cloud */
.updown { all: unset; position: fixed; z-index: 30; cursor: pointer; display: flex; align-items: center; gap: 10px; flex-direction: row-reverse;
  right: calc(var(--ox) + 46 * var(--u)); bottom: max(76px, calc(var(--oy) + 92 * var(--u)));
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: #3a3a3a; }
.updown svg { width: 44px; height: 44px; padding: 12px; box-sizing: border-box; border-radius: 50%; background: rgba(255, 255, 255, .85);
  box-shadow: 0 6px 22px rgba(40, 60, 90, .16); fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), background .25s; }
.updown.up svg { transform: rotate(180deg); }
.updown:hover svg, .updown:focus-visible svg { background: #fff; }
.updown:hover { color: var(--hot); }
html.pv-open .updown, html.box-full .updown { opacity: 0; pointer-events: none; }
@media (max-width: 640px) { .updown { right: 14px; bottom: 56px; } .updown span { display: none; } }
/* v26: down in the pages the menu gets a soft frosted strip so text can pass under it */
.site.home > nav.top { transition: background .35s, box-shadow .35s; border-radius: 999px; }
html.in-pages .site.home > nav.top { background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  padding: 9px 16px; box-shadow: 0 4px 18px rgba(40, 60, 90, .08); }

/* ======================================================================================
   v27: glass. Frosted, see-through panels over the sky (after June's references, 2026-11-20):
   the box, the pills and every card under the cloud share one recipe.
   ====================================================================================== */
:root {
  --glass: linear-gradient(180deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .22));
  --glass-strong: linear-gradient(180deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .42));
  --glass-edge: rgba(255, 255, 255, .6);
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), 0 12px 40px -12px rgba(30, 50, 80, .22);
  --glow: linear-gradient(90deg, #8ec5ff, #c9a7ff 30%, #ffb3c7 55%, #ffd39a 75%, #9fe3b8);
}
.glass, .dash .stat, .dash .bcard, .dash-tabs, .dash-panels, .cats4 button, .box-expand, .updown svg {
  background: var(--glass); -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4);
  border: 1px solid var(--glass-edge); box-shadow: var(--glass-shadow); }

/* ---------- the cloud: the box itself is frosted glass over the sky ---------- */
.box { background: linear-gradient(180deg, rgba(255, 255, 255, .58), rgba(255, 255, 255, .34));
  -webkit-backdrop-filter: blur(26px) saturate(1.35); backdrop-filter: blur(26px) saturate(1.35);
  border: 1px solid rgba(255, 255, 255, .7); border-radius: calc(30 * var(--u)); box-shadow: var(--glass-shadow); }
/* a faint rainbow along the bottom edge, like light through glass */
.box::after { content: ""; position: absolute; left: 6%; right: 6%; bottom: -1px; height: 2px; border-radius: 2px; background: var(--glow);
  opacity: .55; filter: blur(.5px); pointer-events: none; z-index: 2; }
.box.in-world::after, .box.expanded::after { opacity: 0; }
.cats4 button { border-radius: 999px; color: #263040; padding: calc(10 * var(--u)) calc(18 * var(--u)); letter-spacing: .18em; }
.cats4 button:hover, .cats4 button:focus-visible { background: var(--glass-strong); }
.cats4 button.on { background: rgba(20, 24, 32, .82); color: #fff; border-color: rgba(255, 255, 255, .2); }
.box-expand { border-radius: 50%; }
.updown svg { border: 1px solid var(--glass-edge); }
html.in-pages .site.home > nav.top { background: var(--glass-strong); border: 1px solid var(--glass-edge); box-shadow: var(--glass-shadow); }

/* ---------- under the cloud: banner, glance, branches, tabs (dash.js) ---------- */
.dash { max-width: 1240px; margin: 0 auto; padding: 12vh 0 16vh; display: grid; gap: 34px; scroll-margin-top: 70px; }
.dash h3 { margin: 0 0 12px; font-weight: 400; font-size: 13px; letter-spacing: .02em; color: #2b3340; }
.dash-banner { position: relative; height: clamp(240px, 30vw, 380px); border-radius: 26px; overflow: hidden; background: #c9d4e0;
  box-shadow: 0 30px 70px -30px rgba(30, 50, 80, .45); border: 1px solid rgba(255, 255, 255, .6); }
.dash-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dash-banner::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, rgba(10, 14, 22, .55), rgba(10, 14, 22, .08) 55%, transparent); }
.db-text { position: absolute; z-index: 2; left: clamp(20px, 3vw, 40px); bottom: clamp(20px, 3vw, 36px); right: 30%; color: #fff; }
.db-text h2 { margin: 0 0 8px; font-weight: 300; font-size: clamp(22px, 2.6vw, 38px); line-height: 1.15; letter-spacing: -.005em; text-shadow: 0 2px 20px rgba(0, 0, 0, .25); }
.db-text p { margin: 0; font-size: 12px; letter-spacing: .08em; opacity: .85; }
.db-film { all: unset; cursor: pointer; position: absolute; z-index: 2; right: clamp(16px, 2.4vw, 30px); bottom: clamp(18px, 2.6vw, 32px);
  font-size: 11px; letter-spacing: .06em; color: #fff; padding: 9px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .45); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.db-film:hover { background: rgba(255, 255, 255, .32); }

.dash-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 22px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.stat, .bcard { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; border-radius: 20px; padding: 18px 18px 16px; min-height: 172px;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s; }
.dash .stat, .dash .bcard { border-radius: 20px; }
.stat:hover, .bcard:hover, .stat:focus-visible, .bcard:focus-visible { transform: translateY(-3px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 18px 44px -14px rgba(30, 50, 80, .3); }
.st-l { font-size: 12px; color: #6a7380; }
.st-n { font-weight: 300; font-size: clamp(30px, 3vw, 42px); line-height: 1.1; margin-top: 6px; color: #111; }
.st-f { margin-top: auto; font-size: 11px; color: #3c4552; }
.bcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.bc-top { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; }
.bc-top img, .bc-top i { width: 26px; height: 26px; border-radius: 8px; object-fit: cover; background: rgba(0, 0, 0, .06); flex: none; }
.bc-top b { font-weight: 400; font-size: 14px; color: #1d2430; }
.bc-l { font-size: 12px; color: #2b3340; padding: 4px 0; }
.bc-l.ok { color: #2f9a5b; }
.bc-l.soft { color: #8a929e; }
.bc-go { margin-top: auto; padding-top: 10px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #8a929e; transition: color .25s; }
.bcard:hover .bc-go { color: var(--hot); }

.dash-tabs { justify-self: start; display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; scroll-margin-top: 80px; position: sticky; top: 64px; z-index: 5; }
.dash-tabs button { all: unset; cursor: pointer; font-size: 12px; letter-spacing: .04em; padding: 9px 16px; border-radius: 999px; color: #3c4552; transition: background .25s, color .25s; }
.dash-tabs button:hover { background: rgba(255, 255, 255, .55); }
.dash-tabs button.on { background: rgba(20, 24, 32, .82); color: #fff; }
.dash-panels { border-radius: 26px; padding: clamp(18px, 3vw, 40px); }
.dash-panels .pg { display: block; max-width: none; margin: 0; padding: 0; border: 0; }
.dash-panels .pg[hidden] { display: none; }
.dash-panels .pg-head { position: static; margin-bottom: 18px; }
.dash-panels .pg-tag { display: none; }
.dash-panels .pg h2 { font-size: 20px; font-weight: 400; letter-spacing: 0; }
.dash-panels .pg h2 .h2-grey { display: none; }
.dash-panels .pg-intro { font-size: 16px; margin-bottom: 26px; max-width: 46em; }

/* lists become numbered tables, like a program outline */
.dash-panels .about-branches, .dash-panels .news, .dash-panels .jobs, .dash-panels .prods, .dash-panels .pg-services ul { counter-reset: row; border-top: 1px solid rgba(20, 30, 45, .1); }
.dash-panels .news li, .dash-panels .about-branches li, .dash-panels .job, .dash-panels .prods li, .dash-panels .pg-services li { border-bottom: 1px solid rgba(20, 30, 45, .08); }
.dash-panels .nw { grid-template-columns: 30px 64px minmax(0, 1fr) 130px 20px; gap: 18px; padding: 14px 0; }
.dash-panels .news .nw::before { counter-increment: row; content: counter(row, decimal-leading-zero); font-size: 10px; color: #9aa1ab; letter-spacing: .06em; }
.dash-panels .news .nw-pic { order: -1; grid-column: 2; grid-row: 1; width: 64px; border-radius: 10px; }
.dash-panels .news .nw-pic:empty { background: rgba(20, 30, 45, .05); }
.dash-panels .news .nw-main { grid-column: 3; grid-row: 1; }
.dash-panels .news .nw-date { grid-column: 4; grid-row: 1; align-self: center; padding: 0; text-align: left; }
.dash-panels .news .nw::after { content: "↗"; grid-column: 5; grid-row: 1; color: #9aa1ab; font-size: 13px; }
.dash-panels .news div.nw::after { content: ""; }
.dash-panels .nw-title { font-size: 15px; }
.dash-panels .nw-text { font-size: 12px; }
.dash-panels .job summary { grid-template-columns: 30px minmax(0, 1fr) auto 18px; }
.dash-panels .job summary::before { counter-increment: row; content: counter(row, decimal-leading-zero); font-size: 10px; color: #9aa1ab; }
.dash-panels .jb-title { font-size: 18px; }
.dash-panels .jb-body { padding-left: 48px; }
.dash-panels .sky-card { border-radius: 20px; }
@media (max-width: 900px) {
  .dash-row { grid-template-columns: 1fr; }
  .bcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; } .stat { padding: 14px 12px; min-height: 130px; }
  .dash-panels .nw { grid-template-columns: 52px minmax(0, 1fr); gap: 4px 14px; }
  .dash-panels .news .nw::before, .dash-panels .news .nw::after { display: none; }
  .dash-panels .news .nw-pic { grid-column: 1; width: 52px; }
  .dash-panels .news .nw-main { grid-column: 2; }
  .dash-panels .news .nw-date { grid-column: 2; grid-row: 2; }
  .dash-tabs { max-width: 100%; overflow-x: auto; }
  .dash-panels .jb-body { padding-left: 0; }
}
/* v27 speed: the big surfaces (the cloud box, the tab panel) skip the live blur. The sky behind them is
   already soft, so a see-through gradient looks the same and costs almost nothing. Small pills and cards
   keep the real frosted blur. */
.box, .dash-panels { -webkit-backdrop-filter: none; backdrop-filter: none; }
.box { background: linear-gradient(180deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, .5)); }
.dash-panels { background: linear-gradient(180deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .6)); }

/* v27: the banner plays a reel of films (dash.js) */
.dash-banner video.rv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.1s ease; }
.dash-banner video.rv.on { opacity: 1; }
.db-dots { position: absolute; z-index: 2; left: 50%; bottom: clamp(18px, 2.6vw, 32px); transform: translateX(-50%); display: flex; gap: 6px; }
.db-dots button { all: unset; cursor: pointer; width: 6px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .5); transition: width .4s, background .3s; }
.db-dots button.on { width: 22px; background: #fff; }
.db-text { right: 34%; }

/* v27: latest news as a row of glass cards */
.dash-news { min-width: 0; }
.dn-head { display: flex; justify-content: space-between; align-items: baseline; }
.dn-all { font-size: 12px; color: #3c4552; }
.dn-all:hover { color: var(--hot); }
.dn-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 12px; overflow-x: auto; padding: 2px 2px 14px;
  scroll-snap-type: x proximity; scrollbar-width: thin; }
.ncard { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; gap: 6px; padding: 10px 10px 14px; border-radius: 20px; scroll-snap-align: start;
  background: var(--glass); -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4);
  border: 1px solid var(--glass-edge); box-shadow: var(--glass-shadow); transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s; }
.ncard:hover, .ncard:focus-visible { transform: translateY(-3px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 18px 44px -14px rgba(30, 50, 80, .3); }
.nc-pic { aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: rgba(255, 255, 255, .4); display: grid; place-items: center; margin-bottom: 6px; }
.nc-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nc-pic i { font-style: normal; font-weight: 200; font-size: 26px; letter-spacing: .1em; color: #5a6472; }
.nc-date { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #7a838f; padding: 0 4px; }
.nc-title { font-size: 14px; line-height: 1.3; color: #141a24; padding: 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nc-src { font-size: 11px; color: #6a7380; padding: 0 4px; margin-top: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ncard:hover .nc-title { color: var(--hot); }
@media (max-width: 560px) { .dn-row { grid-auto-columns: 72%; } .db-text { right: 20px; bottom: 64px; } .db-film { left: 20px; right: auto; } .db-dots { left: auto; right: 20px; transform: none; } }

/* ---------- v27: the cloud box is white again (glass stays on the pills and cards) ---------- */
.box { background: #fff; border-color: rgba(13, 13, 13, .04); }
.box::after { display: none; }

/* ---------- v27: Ideas live in the cloud. The box fades away; you write straight onto the sky ---------- */
.sky-idea { position: absolute; left: 0; right: 0; top: 0; height: 100vh; height: 100svh; z-index: 6; display: grid; place-items: center;
  padding: 90px clamp(16px, 5vw, 60px) 60px; opacity: 0; pointer-events: none; transition: opacity .7s ease .15s; }
html.idea-mode .sky-idea { opacity: 1; pointer-events: auto; }
.site.home .box, .cats4, .wordmark, .updown { transition: opacity .6s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
html.idea-mode .site.home .box { opacity: 0; transform: scale(.96); pointer-events: none; }
html.idea-mode .cats4, html.idea-mode .wordmark, html.idea-mode .updown { opacity: 0; pointer-events: none; }
.si-back { all: unset; cursor: pointer; position: absolute; left: 50%; top: calc(var(--oy) + 104 * var(--u)); transform: translateX(-50%);
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: #3a4350; padding: 9px 14px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--glass-edge); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.si-back:hover { color: var(--hot); }
.sky-idea .pg { display: block; max-width: 640px; width: 100%; margin: 0 auto; padding: 0; border: 0; text-align: center; }
.sky-idea .pg-head { position: static; margin: 0 0 6px; }
.sky-idea .pg-tag { display: none; }
.sky-idea .pg h2 { font-family: "Caveat", cursive; font-weight: 500; font-size: clamp(30px, 3.4vw, 44px); color: #2c3a52; text-shadow: 0 0 24px rgba(255, 255, 255, .9); }
.sky-idea .pg-intro { font-size: 14px; color: #3c4a60; margin: 0 auto 10px; text-shadow: 0 0 16px rgba(255, 255, 255, .9); }
/* no card, no paper: only the words on the sky */
.sky-idea .sky-card { background: none; min-height: 0; padding: 0; overflow: visible; border-radius: 0; isolation: auto; }
.sky-idea .puff, .sky-idea .note-cloud { display: none; }
.sky-idea .note { padding: 10px 0; margin: 0 auto; text-align: left; color: #22324d; text-shadow: 0 0 18px rgba(255, 255, 255, .95), 0 0 2px rgba(255, 255, 255, .8); }
.sky-idea .note textarea { background-image: none; min-height: 170px; }
.sky-idea .note-from input { border-bottom-color: rgba(34, 50, 77, .22); }
.sky-idea .send { color: #22324d; }
.sky-idea .fly-words { color: #22324d; text-shadow: 0 0 18px rgba(255, 255, 255, .95); }
.sky-idea .sent { color: #22324d; text-shadow: 0 0 20px rgba(255, 255, 255, .95); }

/* v27: the arrow sits in the middle at the bottom */
.updown { left: 50%; right: auto; bottom: 14px; transform: translateX(-50%); flex-direction: column; gap: 4px; }
.updown span { display: none; }
.updown svg { width: 40px; height: 40px; padding: 11px; }

/* v27: news cards swell like a soft blob on hover */
.ncard { transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s, border-radius .6s cubic-bezier(.2, .8, .2, 1); }
.ncard:hover, .ncard:focus-visible { transform: scale(1.045) translateY(-2px); border-radius: 30px 24px 32px 26px / 26px 32px 24px 30px; z-index: 2; }
.ncard:hover .nc-pic { border-radius: 20px 16px 22px 18px / 18px 22px 16px 20px; }
.nc-pic { transition: border-radius .6s cubic-bezier(.2, .8, .2, 1); }

/* v27: the page background takes a blurred copy of the hovered card */
.page-tint { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .7s ease; }
.page-tint.on { opacity: 1; }
.page-tint img { position: absolute; inset: -8%; width: 116%; height: 116%; object-fit: cover; filter: blur(60px) saturate(1.2); opacity: 0; transition: opacity .8s ease; }
.page-tint img.on { opacity: .55; }

/* v27: All news as a gallery of the same cards */
.news-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.news-gallery .ncard { min-height: 280px; }
.page-tint img { filter: blur(70px) saturate(1.3) brightness(1.18); }
.page-tint img.on { opacity: .38; }

/* ---------- v27: Work, a gallery of every project with the four branches as filters ---------- */
.work-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.work-filter { display: flex; flex-wrap: wrap; gap: 6px; }
.work-filter button { all: unset; cursor: pointer; font-size: 12px; padding: 8px 14px; border-radius: 999px; color: #2b3340;
  background: rgba(255, 255, 255, .6); border: 1px solid rgba(20, 30, 45, .08); transition: background .25s, color .25s; }
.work-filter button em { font-style: normal; font-size: 10px; color: #8a929e; margin-left: 4px; }
.work-filter button:hover { background: #fff; }
.work-filter button.on { background: rgba(20, 24, 32, .86); color: #fff; }
.work-filter button.on em { color: rgba(255, 255, 255, .6); }
.work-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.wcard { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; gap: 6px; padding: 10px 10px 14px; border-radius: 20px;
  background: var(--glass); -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4);
  border: 1px solid var(--glass-edge); box-shadow: var(--glass-shadow);
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s, border-radius .6s cubic-bezier(.2, .8, .2, 1); }
.wcard:hover, .wcard:focus-visible { transform: scale(1.045) translateY(-2px); border-radius: 30px 24px 32px 26px / 26px 32px 24px 30px; z-index: 2;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 18px 44px -14px rgba(30, 50, 80, .3); }
.wcard:hover .nc-title { color: var(--hot); }
.dash-panels .wcard .nc-pic { aspect-ratio: 4 / 3; }

/* ---------- v27: News is a newspaper you flip through ---------- */
.np { --paper: #f6f2ea; --ink2: #1b1a17; --serif: "Instrument Serif", "Times New Roman", serif; }
.np-stage { position: relative; perspective: 2200px; min-height: 640px; }
.np-page { position: absolute; inset: 0; display: none; padding: clamp(18px, 3vw, 40px); background: var(--paper); color: var(--ink2);
  border-radius: 6px; box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 24px 60px -30px rgba(40, 30, 10, .45);
  background-image: radial-gradient(rgba(0, 0, 0, .025) 1px, transparent 1px); background-size: 3px 3px;
  transform-origin: left center; backface-visibility: hidden; }
.np-page.on { display: block; position: relative; }
.np-page.under { position: absolute; inset: 0; z-index: 0; }
.np-page.on:not(.under) { z-index: 1; }
.np-page.turn-out { position: absolute; inset: 0; z-index: 2; animation: npTurn .76s cubic-bezier(.45, .05, .3, 1) forwards; }
.np-page.turn-back { position: absolute; inset: 0; z-index: 2; animation: npBack .76s cubic-bezier(.45, .05, .3, 1) forwards; transform-origin: right center; }
@keyframes npTurn { 0% { transform: rotateY(0); filter: brightness(1); } 60% { filter: brightness(.86); } 100% { transform: rotateY(-100deg); filter: brightness(.7); opacity: .2; } }
@keyframes npBack { 0% { transform: rotateY(0); } 100% { transform: rotateY(100deg); opacity: .2; } }
.np-mast { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 12px; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: #6b655b; }
.np-mast span:last-child { text-align: right; }
.np-mast b { font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 6vw, 84px); line-height: .9; letter-spacing: -.01em; text-transform: none; color: var(--ink2); }
.np-rule { height: 4px; border-top: 2px solid var(--ink2); border-bottom: 1px solid var(--ink2); margin: 12px 0 18px; }
.np-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3.4fr) minmax(0, 2.6fr); gap: 0; }
.np-grid > * { padding: 0 18px; }
.np-grid > * + * { border-left: 1px solid rgba(27, 26, 23, .2); }
.np-grid > :first-child { padding-left: 0; }
.np-grid > :last-child { padding-right: 0; }
.np-story { cursor: pointer; outline: none; }
.np-story figure { margin: 0 0 10px; overflow: hidden; }
.np-story img { width: 100%; display: block; filter: grayscale(.25) contrast(1.05); transition: filter .4s, transform .6s; }
.np-story:hover img, .np-story:focus-visible img { filter: none; transform: scale(1.02); }
.np-story h3 { font-family: var(--serif); font-weight: 400; margin: 2px 0 8px; line-height: 1.02; transition: color .25s; }
.np-story:hover h3, .np-story:focus-visible h3 { color: #b33b22; }
.np-story.lead img { aspect-ratio: 16 / 10; object-fit: cover; }
.np-story.lead h3 { font-size: clamp(34px, 3.6vw, 54px); }
.np-story.lead .np-text { font-size: 15px; column-count: 2; column-gap: 20px; }
.np-story.mid { padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid rgba(27, 26, 23, .2); }
.np-story.mid:last-child { border-bottom: 0; margin-bottom: 0; }
.np-story.mid img { aspect-ratio: 4 / 3; object-fit: cover; }
.np-story.mid h3 { font-size: clamp(22px, 1.9vw, 28px); }
.np-story.brief { padding: 10px 0; border-bottom: 1px dotted rgba(27, 26, 23, .3); }
.np-story.brief h3 { font-size: 19px; }
.np-col { margin: 0 0 4px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: #6b655b; border-bottom: 2px solid var(--ink2); padding-bottom: 6px; }
.np-kicker { margin: 0; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #8a4a2f; }
.np-text { margin: 0 0 8px; font-size: 13px; line-height: 1.55; color: #3d3a33; }
.np-by { margin: 0; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #7d776c; }
.np-nav { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 18px; }
.np-nav button { all: unset; cursor: pointer; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 16px;
  background: var(--glass); border: 1px solid var(--glass-edge); box-shadow: var(--glass-shadow); }
.np-nav button:hover { color: var(--hot); }
.np-count { font-size: 11px; letter-spacing: .16em; color: #4a525e; min-width: 48px; text-align: center; }
@media (max-width: 860px) {
  .np-grid { grid-template-columns: 1fr; }
  .np-grid > * { padding: 14px 0 0; border-left: 0 !important; }
  .np-story.lead .np-text { column-count: 1; }
  .np-stage { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { .np-page.turn-out, .np-page.turn-back { animation-duration: .01s; } }
.np .np-story h3 { text-transform: none; letter-spacing: -.005em; }
.np-story.lead .np-text { column-count: 1; max-width: 46em; }

/* ---------- v27: Work as pocket worlds (after the Pocket Worlds page): a dark room, each project a soft
   rounded world, sharp in the middle and smeared to its edges, with a label on a stem ---------- */
.dash-panels.is-dark { background: #161616; border-color: rgba(255, 255, 255, .06); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .55); color: #eee; }
.dash-panels.is-dark .pg h2 { color: #f2f2f2; }
.dash-panels.is-dark .work-filter button { background: transparent; color: #ddd; border-color: rgba(255, 255, 255, .35); border-radius: 4px;
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.dash-panels.is-dark .work-filter button em { color: #888; }
.dash-panels.is-dark .work-filter button:hover { border-color: #fff; color: #fff; }
.dash-panels.is-dark .work-filter button.on { background: #f2f2f2; color: #111; border-color: #f2f2f2; }
.dash-panels.is-dark .work-filter button.on em { color: #666; }
.work-gallery:has(.pw) { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 46px 34px; padding-top: 10px; }
.wcard.pw { background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 0; border-radius: 0;
  align-items: center; gap: 0; transform: none !important; }
.pw-label { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #eee; border: 1px solid rgba(255, 255, 255, .7); border-radius: 3px;
  padding: 5px 8px; max-width: 92%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: background .3s, color .3s; }
.pw-stem { width: 1px; height: 28px; background: rgba(255, 255, 255, .6); }
.pw-world { position: relative; width: 100%; aspect-ratio: 2 / 1.08; display: grid; place-items: center; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.pw-world > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 42% / 50%; }
/* the smear: a stretched, blurred copy behind gives the coloured rim and the streaks at the sides */
.pw-halo { transform: scale(1.06, 1.02); filter: blur(10px) saturate(1.5) brightness(1.05); opacity: .9; }
.pw-img { -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 52%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 52%, transparent 100%);
  filter: saturate(1.05); }
.pw-world i { position: static; width: auto; height: auto; font-style: normal; font-weight: 200; font-size: 30px; color: #666; }
.pw-q { margin-top: 16px; max-width: 80%; text-align: center; font-size: 13px; line-height: 1.4; color: #9a9a9a; min-height: 2.8em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .3s; }
.wcard.pw:hover .pw-world, .wcard.pw:focus-visible .pw-world { transform: scale(1.06); }
.wcard.pw:hover .pw-halo { filter: blur(14px) saturate(1.8) brightness(1.15); }
.wcard.pw:hover .pw-label { background: #f2f2f2; color: #111; }
.wcard.pw:hover .pw-q { color: #e6e6e6; }
.pw-world > * { border-radius: 28% / 46%; }
.pw-halo { transform: scale(1.04, 1.03); filter: blur(9px) saturate(1.5); opacity: .75; }
.pw-img { -webkit-mask-image: radial-gradient(ellipse 54% 54% at 50% 50%, #000 58%, transparent 100%); mask-image: radial-gradient(ellipse 54% 54% at 50% 50%, #000 58%, transparent 100%); }
.pw-label { color: #f4f4f4; }
.pw-q { color: #b4b4b4; }
.dash-panels.is-dark .wcard.pw .pw-label { color: #f4f4f4; border-color: rgba(255, 255, 255, .7); }
.dash-panels.is-dark .wcard.pw .pw-q { color: #b4b4b4; }
.dash-panels.is-dark .wcard.pw:hover .pw-label { color: #111; background: #f2f2f2; }
.dash-panels.is-dark .wcard.pw:hover .pw-q { color: #eee; }

/* ---------- v27: Work drawn exactly like the Pocket Worlds page (worlds.js), in a dark or light room ---------- */
.dash-panels.is-dark { --pw-bg: #141415; --pw-ink: #ededeb; --pw-ink2: #8d8d92; --pw-line: #bdbdc2; --pw-label: rgba(30, 30, 32, .6);
  --pillow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 112' preserveAspectRatio='none'%3E%3Cfilter id='b' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeGaussianBlur stdDeviation='1.7'/%3E%3C/filter%3E%3Cpath filter='url(%23b)' fill='%23fff' d='M42 9Q100 2 158 9C186 12 194 32 194 56C194 80 186 100 158 103Q100 110 42 103C14 100 6 80 6 56C6 32 14 12 42 9Z'/%3E%3C/svg%3E");
  background: var(--pw-bg); color: var(--pw-ink); transition: background .5s, color .5s; }
.dash-panels.is-dark.work-light { --pw-bg: #ebebea; --pw-ink: #232325; --pw-ink2: #7a7a7e; --pw-line: #3a3a3d; --pw-label: rgba(255, 255, 255, .55);
  border-color: rgba(0, 0, 0, .06); box-shadow: 0 30px 80px -40px rgba(30, 40, 60, .35); }
.dash-panels.is-dark .pg h2 { color: var(--pw-ink); }
.dash-panels.is-dark .work-filter button { color: var(--pw-ink); border-color: var(--pw-line); }
.dash-panels.is-dark .work-filter button em { color: var(--pw-ink2); }
.dash-panels.is-dark .work-filter button.on { background: var(--pw-ink); color: var(--pw-bg); border-color: var(--pw-ink); }
.dash-panels.is-dark .work-filter button.on em { color: var(--pw-ink2); }
.dash-panels.is-dark .work-filter .work-theme { margin-right: 10px; border-style: dashed; }
.dash-panels.is-dark .wcard.pw .pw-label { color: var(--pw-ink); border-color: var(--pw-line); background: var(--pw-label); font-size: 9.5px; letter-spacing: .05em; font-weight: 500; padding: 3px 7px 2px; }
.dash-panels.is-dark .wcard.pw .pw-stem { background: var(--pw-line); height: 26px; }
.dash-panels.is-dark .wcard.pw .pw-q { color: var(--pw-ink2); font-size: 11px; margin-top: 14px; opacity: 0; transform: translateY(-4px); transition: opacity .3s, transform .3s; }
.dash-panels.is-dark .wcard.pw:hover .pw-q, .dash-panels.is-dark .wcard.pw:focus-visible .pw-q { opacity: 1; transform: none; color: var(--pw-ink2); }
.dash-panels.is-dark .wcard.pw:hover .pw-label { background: var(--pw-ink); color: var(--pw-bg); }
@media (hover: none) { .dash-panels.is-dark .wcard.pw .pw-q { opacity: 1; transform: none; } }
.wcard.pw .pillow { position: relative; width: 100%; aspect-ratio: 200 / 112; margin-top: -4px; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.wcard.pw .pillow canvas { position: absolute; display: block; }
.wcard.pw .front { position: absolute; inset: 0; }
.wcard.pw .halo { inset: -3%; width: 106%; height: 106%; filter: blur(14px) saturate(1.5); opacity: .75;
  -webkit-mask: var(--pillow) center / 100% 100% no-repeat; mask: var(--pillow) center / 100% 100% no-repeat; }
.wcard.pw .world { inset: 0; width: 100%; height: 100%; filter: saturate(1.08);
  -webkit-mask: var(--pillow) center / 100% 100% no-repeat; mask: var(--pillow) center / 100% 100% no-repeat; }
.wcard.pw .gloss { position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: var(--pillow) center / 100% 100% no-repeat; mask: var(--pillow) center / 100% 100% no-repeat;
  background: linear-gradient(90deg, rgba(255,255,255,.42), rgba(255,255,255,0) 13%, rgba(255,255,255,0) 87%, rgba(255,255,255,.42)),
              linear-gradient(180deg, rgba(255,255,255,.38), rgba(255,255,255,0) 20%, rgba(0,0,0,0) 72%, rgba(0,0,0,.16));
  box-shadow: inset 0 0 22px 6px rgba(255,255,255,.35); }
.wcard.pw:hover .pillow, .wcard.pw:focus-visible .pillow { transform: scale(1.04); }
