/* Inner pages in the v08 language (pages_plan_v01.md). Layered on site.css + v04.css + cards.css; nothing in the repo changes.
   body.p8-on = an inner page at 760 px and wider (pages8.js). The light palette and the grain apply to every inner page. */

/* ---------- light colours for every page (site.css scopes its light palette to the home) ---------- */
body.v04.light-preview:not([data-page=home]){
 color-scheme:light;text-shadow:none;
 --black:#f1f1ef;--white:#141414;--muted:#505050;--line:#bcbcbc;--rail:#676767;
 --ink-17:#f6f6f4;--ink-20:#eaeae7;--ink-35:#d6d6d6;--ink-37:#cacaca;
 --ink-39:#c4c4c4;--ink-42:#b1b1b1;--ink-46:#9c9c9c;--ink-54:#777;
 --ink-56:#6e6e6e;--ink-58:#666;--ink-60:#5e5e5e;--ink-63:#575757;
 --ink-65:#515151;--ink-67:#4c4c4c;--ink-72-teal:#444;--ink-72:#444;
 --ink-73:#414141;--ink-74:#3d3d3d;--ink-76:#393939;--ink-77:#363636;
 --ink-80:#323232;--ink-81:#303030;--ink-84:#2a2a2a;--ink-85:#272727;
 --ink-87:#242424;--ink-89:#212121;--ink-91:#1d1d1d;--ink-96:#141414;
 --instrument-ink:#454545;--instrument-quiet:#777;--focus:#1d1d1d;
 --control-ink:#1d1d1d;--control-surface:#ffffffed;
}
body.v04.light-preview:not([data-page=home]) :is(.xd-mark,.brand){filter:none}
/* the grey grained ground (the home draws it on #world, which inner pages hide) */
body.v04:not([data-page=home]){background-color:var(--black);background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .035 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E")}
body.v04.light-preview:not([data-page=home]){background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E")}
body.v04:not([data-page=home]) .site-controls{background:transparent}

/* ---------- chrome: one section line replaces the header rule and the footer border; the theme switch stays on every page ---------- */
html body.p8-on .site-header:after{display:none}
html body.p8-on .site-controls{border-top-color:transparent}
html body.v04-away.p8-on .v04-theme{display:flex!important}
html body.v04-away.p8-on .v04-theme+.header-contact{margin-left:0}
.p8-sections{position:fixed;inset:0;width:100vw;height:100vh;z-index:1;pointer-events:none;overflow:visible;visibility:hidden}
body.p8-on .p8-sections{visibility:visible}
body.nav-open .p8-sections,body:not(.p8-on) .p8-sections{visibility:hidden}
.p8-sections .ln{fill:none;stroke:url(#p8fade);stroke-width:1;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.p8-sections .web{fill:var(--v8-line)}
.p8-sections .s0{stop-color:var(--white);stop-opacity:0}
.p8-sections .s1{stop-color:var(--white);stop-opacity:.26}
/* the orb and the back link: the breadcrumb does their job */
html body.p8-on #view .back-link,html body.p8-on #view .home-orb:not(.p8-orb){display:none!important}
/* the live liquid sits in the orb at the start of the trail; outside the page area (under the header or footer) it is cut off, so it
   scrolls away with the trail instead of sliding over the header */
html body.p8-on .p8-crumbs>.p8-orb{flex:none;display:block;width:64px;height:64px;margin:0 0 0 -14px;border-radius:50%}
html body.p8-on .p8-crumbs>.p8-orb:before{inset:14px}
body.p8-on.fluid-docked:not(.fluid-transition):not(.fluid-recovering) #world{clip-path:inset(var(--header) 0 var(--footer) 0)}

/* ---------- breadcrumb: joined chips ---------- */
html body.p8-on #view>.p8-crumbs{position:relative;display:flex;align-items:center;min-height:64px;max-width:1660px;margin:0 auto;padding:6px var(--gutter) 0;box-sizing:border-box}
.p8-crumbs ol{position:relative;z-index:1;display:flex;flex-wrap:wrap;gap:2px;margin:0;padding:0;list-style:none}
.p8-crumbs li{display:block}
.p8-crumb{height:24px;box-sizing:border-box;display:inline-flex;align-items:center;gap:7px;padding:0 11px 0 10px;font:11px/1 var(--mono);letter-spacing:.06em;text-transform:uppercase;color:var(--v8-ink);white-space:nowrap;text-decoration:none}
.p8-crumbs li+li .p8-crumb{padding-left:13px}
.p8-crumb i{font-style:normal;color:var(--v8-quiet);font-variant-numeric:tabular-nums}
.p8-crumb b{font-weight:400}
a.p8-crumb:hover b{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
a.p8-crumb:focus-visible{outline:1.5px solid var(--white);outline-offset:2px;border-radius:6px}
.p8-crumb[aria-current] b{font:14px/24px Mondwest,serif;letter-spacing:0;text-transform:none;color:var(--white);max-width:42ch;overflow:hidden;text-overflow:ellipsis}
.p8-crumb-shape{position:absolute;left:0;top:0;overflow:visible;pointer-events:none;z-index:0}
.p8-crumb-shape .f{fill:var(--chip-fill)}
.p8-crumb-shape .f.now{fill:var(--chip-bg);stroke:var(--chip-line);stroke-width:1}
.p8-crumb-shape .sh{fill:var(--g-drop);opacity:.06}

/* ---------- the card ---------- */
html body.p8-on .p8-card{position:relative;box-sizing:border-box;border-radius:14px;padding:40px 18px 18px;isolation:isolate}
html body.p8-on .p8-card>.p8-glass{position:absolute;left:-30px;top:-30px;width:calc(100% + 60px);height:calc(100% + 60px);overflow:visible;pointer-events:none;z-index:0}
html body.p8-on .p8-card>.p8-glass [data-d]{vector-effect:non-scaling-stroke}
html body.p8-on .p8-card>:not(.p8-glass,.p8-chip){position:relative;z-index:1}
html body.p8-on .p8-card>.p8-chip{position:absolute;left:0;top:0;z-index:3;margin:0}
html body.p8-on .p8-card>.p8-chip[hidden]{display:none}
html body.p8-on a.p8-card:is(:hover,:focus-visible)>.p8-glass{--g-edge:var(--g-edge-lead)}
html body.p8-on a.p8-card:focus-visible{outline:none}
html body.p8-on a.p8-card:focus-visible>.p8-chip{box-shadow:0 0 0 1.5px var(--white)}

/* ---------- project page ---------- */
html body.p8-on :is(.project-page,.collection-page){padding-top:14px;gap:clamp(40px,5vw,84px)}
html body.p8-on .page-intro,html body.p8-on .page-intro.p8-card{position:sticky;top:22px}
html body.p8-on .project-intro.p8-card{padding:42px 20px 20px}
html body.p8-on .project-heading .eyebrow{margin:0 0 10px;color:var(--v8-quiet)}
html body.p8-on .project-heading h1{font-size:clamp(40px,4.2vw,70px);line-height:.98;margin:0}
html body.p8-on .project-disciplines{display:flex;flex-wrap:wrap;gap:5px;margin:16px 0 0}
.p8-tag{height:22px;box-sizing:border-box;display:inline-flex;align-items:center;padding:0 8px;border:1px solid var(--chip-line);border-radius:6px;font:11px/1 var(--mono);letter-spacing:.06em;text-transform:uppercase;color:var(--v8-ink)}
html body.p8-on .project-context h2{margin-top:26px}
html body.p8-on .project-context .intro-description{color:var(--v8-ink)}
html body.p8-on .asset-jumps{border-left:0;display:flex;flex-wrap:wrap;gap:6px;margin-top:18px}
html body.p8-on .asset-jumps a{min-height:0;height:26px;box-sizing:border-box;padding:0 9px;gap:7px;border-radius:6px;background:var(--chip-fill);box-shadow:0 3px 8px -6px var(--g-drop);font:11px/1 var(--mono);letter-spacing:.06em;color:var(--v8-ink)}
html body.p8-on .asset-jumps a:before{content:none}
html body.p8-on .asset-jumps a span:first-child{color:var(--v8-quiet)}
html body.p8-on .asset-jumps a span:last-child{margin-left:0;color:var(--v8-quiet)}
html body.p8-on .asset-jumps a:hover{color:var(--white)}
html body.p8-on .asset-jumps a:focus-visible{outline:1.5px solid var(--white);outline-offset:2px}
/* the artworks: no spine, no "+" nodes, no brackets; each in its own card with a chip */
html body.p8-on .project-page .asset-tree{padding-left:0;border-left:0}
html body.p8-on .project-page .asset.p8-card{margin-bottom:22px;padding:38px 14px 12px}
html body.p8-on .p8-card.asset>figcaption{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
html body.p8-on :is(.project-page,.contact-page) .asset-frame{border:0;background:transparent;padding:0;box-shadow:none}
html body.p8-on .project-page .asset-frame{height:clamp(240px,62vh,720px)}
html body.p8-on :is(.project-page,.contact-page) .asset-frame:after{content:none}
html body.p8-on .asset-actions{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:6px;margin-top:12px;padding:0;border:0}
html body.p8-on .asset-actions>:is(a,button){height:24px;min-height:0;box-sizing:border-box;display:inline-flex;align-items:center;padding:0 9px;border-radius:6px;background:var(--chip-fill);box-shadow:0 3px 8px -6px var(--g-drop);font:11px/1 var(--mono);letter-spacing:.06em;text-transform:uppercase;color:var(--v8-ink)}
html body.p8-on .asset-actions>:is(a,button):hover{color:var(--white)}
html body.p8-on .asset-actions>:is(a,button):focus-visible{outline:1.5px solid var(--white);outline-offset:2px}
/* next project: a card with its picture */
html body.p8-on .next-project.p8-card{display:grid;grid-template-columns:112px minmax(0,1fr) auto;align-items:center;gap:18px;margin:30px 0 0;padding:38px 18px 16px;border-top:0}
html body.p8-on .next-project.p8-card>.micro{display:none}
html body.p8-on .next-project.p8-card>strong{grid-column:2;grid-row:1;font:clamp(26px,2.4vw,38px)/1.05 Mondwest,serif}
html body.p8-on .next-project.p8-card>span:not(.p8-next-pic,.p8-chip){grid-column:3;grid-row:1;font:var(--type-2xl) Mondwest}
.p8-next-pic{grid-column:1;grid-row:1;position:relative;width:112px;height:112px;border-radius:9px;overflow:hidden;background:var(--ink-17)}
.p8-next-pic img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.p8-next-pic img.matte{object-fit:contain;padding:8%;box-sizing:border-box}
html body.p8-on .next-project.p8-card:hover>strong{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}

/* ---------- collection and All work ---------- */
html body.p8-on .collection-page .page-intro.p8-card{padding:42px 20px 20px}
html body.p8-on .collection-page .page-intro .eyebrow{color:var(--v8-quiet);margin:0 0 10px}
html body.p8-on .collection-page .page-intro h1{font-size:clamp(44px,4.6vw,76px);margin:0}
html body.p8-on .collection-page .page-intro .intro-description{color:var(--v8-ink);margin:16px 0 0}
html body.p8-on .collection-page .collection-select{display:none}
.p8-colls{display:flex;flex-wrap:wrap;gap:6px;margin-top:22px}
.p8-coll{height:26px;box-sizing:border-box;display:inline-flex;align-items:center;gap:7px;padding:0 9px;border-radius:6px;background:var(--chip-fill);box-shadow:0 3px 8px -6px var(--g-drop);font:11px/1 var(--mono);letter-spacing:.06em;text-transform:uppercase;color:var(--v8-ink);text-decoration:none}
.p8-coll i{font-style:normal;color:var(--v8-quiet);font-variant-numeric:tabular-nums}
.p8-coll b{font-weight:400}
.p8-coll:hover{color:var(--white)}
.p8-coll[aria-current]{background:var(--white);color:var(--black)}
.p8-coll[aria-current] i{color:color-mix(in srgb,var(--black) 70%,transparent)}
.p8-coll.is-building:not([aria-current]){background:repeating-linear-gradient(-45deg,var(--chip-line) 0 1px,transparent 1px 6px),var(--chip-fill)}
.p8-coll:focus-visible{outline:1.5px solid var(--white);outline-offset:2px}
/* the featured piece: a large card */
html body.p8-on .featured-project.p8-card{display:block;padding:38px 14px 16px}
html body.p8-on .featured-project .feature-eyebrow{display:none}
html body.p8-on .collection-page .featured-project .feature-media{border:0;background:transparent;padding:0;height:clamp(260px,54vh,620px)}
html body.p8-on .collection-page .feature-media:after{content:none}
html body.p8-on .featured-project .feature-caption{display:grid;grid-template-columns:1fr auto;gap:4px 16px;margin-top:14px;padding:0 4px}
html body.p8-on .featured-project .feature-caption strong{font:clamp(28px,2.4vw,40px)/1.05 Mondwest,serif}
html body.p8-on .featured-project .feature-caption small{grid-column:1/3;color:var(--v8-quiet)}
/* client groups: a chip header, then the projects as joined band tiles */
html body.p8-on .p8-tree-head{display:flex;justify-content:space-between;align-items:center;margin:40px 0 8px;padding:0;border:0}
html body.p8-on .p8-tree-head>span{height:24px;display:inline-flex;align-items:center;padding:0 9px;border-radius:6px;background:var(--chip-fill);box-shadow:0 3px 8px -6px var(--g-drop);font:11px/1 var(--mono);letter-spacing:.06em;color:var(--v8-ink)}
html body.p8-on .p8-tree-head>button{height:24px;min-height:0;padding:0 9px;border:1px solid var(--chip-line);border-radius:6px;font:11px/1 var(--mono);letter-spacing:.06em;text-transform:uppercase;color:var(--v8-ink)}
html body.p8-on .p8-tree-head>button:focus-visible{outline:1.5px solid var(--white);outline-offset:2px}
html body.p8-on .collection-page .client-branch{display:inline-block;vertical-align:top;border-left:0;margin:22px 30px 0 0}
html body.p8-on .collection-page .client-branch>summary{display:inline-flex;align-items:center;gap:9px;height:28px;box-sizing:border-box;padding:0 10px;margin:0 0 12px;border:0;border-radius:6px;background:var(--chip-fill);box-shadow:0 3px 8px -6px var(--g-drop)}
html body.p8-on .collection-page .client-branch>summary .tree-node{display:none}
html body.p8-on .collection-page .client-branch>summary h2{flex:none;font:15px/1 Mondwest,serif;letter-spacing:0;margin:0}
html body.p8-on .collection-page .client-branch>summary>.micro{font:11px/1 var(--mono);color:var(--v8-quiet)}
html body.p8-on .collection-page .client-branch>summary .disclosure{font:13px/1 var(--mono);color:var(--v8-quiet);transition:transform .25s var(--v8-out)}
html body.p8-on .collection-page .client-branch>summary:focus-visible{outline:1.5px solid var(--white);outline-offset:2px}
html body.p8-on .p8-tiles{display:flex;flex-wrap:wrap;row-gap:14px;padding:2px 0 8px 0}
html body.p8-on .p8-tiles>.p8-tile:first-child{margin-left:calc(-1 * var(--tile-d))}
html body.p8-on .p8-tiles>.p8-tile{position:relative;display:block;flex:none;width:calc(var(--mq-th) + var(--tile-d));height:var(--mq-th);margin:0;padding:0;border:0;grid-template-columns:none;transition:scale .24s var(--v8-out);transform-origin:50% 50%}
html body.p8-on .p8-tiles>.p8-tile+.p8-tile{margin-left:calc(3px - var(--tile-d))}
html body.p8-on .p8-tiles>.p8-tile:before{content:none}
html body.p8-on .p8-tile>:not(.project-thumb,.v8-tchip){position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
html body.p8-on .p8-tile .project-thumb{position:absolute;inset:0;width:auto;height:auto;padding:0;border:0;clip-path:var(--tile-clip);background:var(--ink-17);overflow:hidden}
html body.p8-on .p8-tile .project-thumb img{position:absolute;left:calc(var(--tile-d) + 8%);top:8%;width:calc(var(--mq-th) * .84);height:84%;max-width:none;max-height:none;object-fit:cover}
/* faded edges: an inner shade in the tile's own colour over the picture's edge (cheaper to scroll than a mask per picture; same look) */
html body.p8-on .p8-tile .project-thumb::after{content:"";position:absolute;left:calc(var(--tile-d) + 8%);top:8%;width:calc(var(--mq-th) * .84);height:84%;box-shadow:inset 0 0 8px 7px var(--ink-17);pointer-events:none}
html body.p8-on .p8-tile .project-thumb img.matte{object-fit:contain}
html body.p8-on .p8-tile:after{content:"";position:absolute;left:-16px;top:-16px;width:calc(var(--mq-th) + var(--tile-d) + 32px);height:calc(var(--mq-th) + 32px);background:var(--tile-glass) no-repeat 0 0/100% 100%;pointer-events:none;z-index:4}
html body.p8-on .p8-tile:is(:hover,:focus-visible):after{background-image:var(--tile-glass-lit)}
@media (hover:hover){html body.p8-on .p8-tiles>.p8-tile:hover{scale:1.07;z-index:6}}
html body.p8-on .p8-tiles>.p8-tile:focus-visible{scale:1.07;z-index:6;outline:none}
html body.p8-on .p8-tile:is(:hover,:focus-visible) .v8-tchip{clip-path:inset(0 0 0 0 round 5px);opacity:1;transition-delay:.06s}
html body.p8-on .p8-tile:focus-visible .v8-tchip{clip-path:none;box-shadow:0 0 0 1.5px var(--white);transition-delay:0s}
body.v04:not(.light-preview) .p8-tile .project-thumb img.matte{filter:brightness(.82)}
/* the empty Websites collection: the "in progress" hatch in a card */
html body.p8-on .empty-collection.p8-card{border-top:0;padding:44px 26px 26px;max-width:620px}
html body.p8-on .empty-collection.p8-card>.micro{display:none}
html body.p8-on .empty-collection .build-band{border-radius:6px;border:1px solid var(--chip-line);background:repeating-linear-gradient(-45deg,var(--chip-line) 0 1px,transparent 1px 7px)}
html body.p8-on .empty-collection.p8-card>a{border-bottom:0;height:30px;min-height:0;display:inline-flex;gap:10px;padding:0 11px;margin-top:26px;border-radius:6px;background:var(--chip-fill);box-shadow:0 3px 8px -6px var(--g-drop);font:15px/1 Mondwest,serif}

/* ---------- the intro: held back while the liquid covers the page, then top to bottom ---------- */
/* .002, not 0: the browser keeps painting the held-back parts, so the first intro frame does not have to raster them all at once */
#view.p8-wait :is(.p8-crumbs,.p8-card,.p8-coll,.p8-tree-head,.client-branch>summary,.p8-tile){opacity:.002}
.p8-sections.p8-wait{opacity:0}
#view.p8-intro .p8-crumbs{animation:v8-chip .5s var(--v8-out) var(--p8-d,0s) both}
#view.p8-intro .p8-card{animation:v8-card .62s var(--v8-out) var(--p8-d,0s) both}
#view.p8-intro .p8-card>.p8-glass .edge{animation:v8-draw .7s cubic-bezier(.6,0,.2,1) var(--p8-d,0s) both}
#view.p8-intro .p8-card>.p8-glass>g{animation:v8-fade .45s var(--v8-ease) calc(var(--p8-d,0s) + .28s) both}
#view.p8-intro .p8-card>.p8-chip{animation:v8-chip .46s var(--v8-out) calc(var(--p8-d,0s) + .2s) both}
#view.p8-intro .p8-card>:not(.p8-glass,.p8-chip){animation:p8-rise .5s var(--v8-out) calc(var(--p8-d,0s) + .3s) both}
#view.p8-intro :is(.p8-coll,.p8-tree-head,.client-branch>summary){animation:v8-chip .46s var(--v8-out) calc(var(--p8-d,0s) + .25s) both}
html #view.p8-intro .p8-tiles>.p8-tile{animation:v8-tile .58s cubic-bezier(.2,.9,.25,1) calc(var(--p8-d,0s) + .2s) backwards!important}
.p8-sections.p8-intro .ln{animation:v8-draw 1.15s .05s cubic-bezier(.65,0,.25,1) both}
.p8-sections.p8-intro .web{animation:v8-fade .3s .9s both}
@keyframes p8-rise{from{opacity:0;translate:0 8px}}
@media (prefers-reduced-motion:reduce){body #view :is(.p8-crumbs,.p8-card,.p8-card *,.p8-coll,.p8-tree-head,.p8-tile,.p8-tile *),.p8-sections *{animation:none!important;transition:none!important}}

/* ---------- contact: text card left; inquiry card and the film card stacked on the right ---------- */
html body.p8-on .contact-page{padding-top:14px;gap:clamp(40px,6vw,110px);align-items:start;max-width:1660px}
html body.p8-on .contact-page>.p8-contact-card{padding:44px 26px 28px;align-self:start}
html body.p8-on .contact-page>.p8-contact-card .eyebrow{color:var(--v8-quiet);margin:0 0 14px}
html body.p8-on .contact-page h1{font-size:clamp(52px,5.6vw,96px);margin:0}
body.v04.light-preview .contact-page em{color:var(--ink-56)}
html body.p8-on .contact-page .contact-description{color:var(--v8-ink)}
html body.p8-on .contact-page .contact-services{color:var(--v8-quiet)}
.p8-contact-side{align-self:start;display:grid;gap:26px;align-content:start;min-width:0}
html body.p8-on .p8-contact-side>.contact-inquiry.p8-card{padding:42px 22px 22px}
html body.p8-on .contact-inquiry h2{margin-top:0}
html body.p8-on .contact-inquiry .contact-email-action{display:inline-flex;align-items:center;gap:10px;height:32px;min-height:0;padding:0 12px;margin:18px 0 14px;border:0;border-radius:6px;background:var(--chip-fill);box-shadow:0 3px 8px -6px var(--g-drop);font:17px/1 Mondwest,serif}
html body.p8-on .contact-inquiry .contact-email-action:focus-visible{outline:1.5px solid var(--white);outline-offset:2px}
html body.p8-on .p8-contact-side .identity-film{margin:0}
html body.p8-on .p8-contact-side .asset.p8-card{padding:38px 14px 12px}
html body.p8-on .p8-contact-side .asset-frame{height:auto;aspect-ratio:1}

/* ---------- 404 ---------- */
html body.p8-on .not-found.p8-card{max-width:620px;margin:14px var(--gutter) 0;padding:44px 26px 26px}
html body.p8-on .not-found.p8-card>p.micro{display:none}
html body.p8-on .not-found h1{margin:0;font-size:clamp(48px,5vw,82px)}
html body.p8-on .not-found.p8-card>a{display:inline-flex;align-items:center;gap:10px;height:30px;margin-top:22px;padding:0 11px;border-radius:6px;background:var(--chip-fill);box-shadow:0 3px 8px -6px var(--g-drop);font:15px/1 Mondwest,serif}

/* ---------- the nav overlay (every page, 760 px and wider): one glass card, chip in the notch, rows of chips; no blur filter ---------- */
@media (min-width:760px){
 html body.v04 #navigation.p8-card{position:fixed;box-sizing:border-box;border:0;border-radius:14px;padding:44px 22px 18px;overflow:visible;backdrop-filter:none;-webkit-backdrop-filter:none;
  background:var(--black);box-shadow:0 18px 40px -26px var(--g-drop)}
 html body.v04 #navigation::backdrop{backdrop-filter:none}
 html body.v04 #navigation.p8-card>.p8-glass{position:absolute;left:-30px;top:-30px;width:calc(100% + 60px);height:calc(100% + 60px);overflow:visible;pointer-events:none;z-index:0}
 html body.v04 #navigation.p8-card>.p8-glass [data-d]{vector-effect:non-scaling-stroke}
 html body.v04 #navigation.p8-card>.p8-chip{position:absolute;left:0;top:0;z-index:3;margin:0}
 html body.v04 #navigation.p8-card>:not(.p8-glass,.p8-chip){position:relative;z-index:1}
 html body.v04 #navigation.p8-card>.nav-top{position:absolute;right:10px;top:8px;min-height:0;z-index:4}
 html body.v04 #navigation.p8-card{width:min(400px,calc(100% - var(--gutter)*2))}
 html body.v04 #navigation .nav-top .brand-index{display:none}
 html body.v04 #navigation [data-close-nav]{height:26px;min-height:0;width:26px;padding:0;border-radius:6px;background:var(--chip-fill);box-shadow:0 3px 8px -6px var(--g-drop);font:15px/1 var(--mono);color:var(--v8-ink)}
 html body.v04 #navigation [data-close-nav]:focus-visible{outline:1.5px solid var(--white);outline-offset:2px}
 html body.v04 #navigation .nav-tree{border-left:0;margin:0;padding:0}
 html body.v04 #navigation .nav-branch{margin-left:0;border-bottom:1px solid var(--v8-line);grid-template-columns:30px 1fr 26px;min-height:48px}
 html body.v04 #navigation .nav-branch:last-child{border-bottom:0}
 html body.v04 #navigation .branch-joint{display:none}
 html body.v04 #navigation .nav-branch>.micro{font:11px/1 var(--mono);color:var(--v8-quiet)}
 html body.v04 #navigation .nav-branch .branch-count{font:11px/1 var(--mono);color:var(--v8-quiet)}
 html body.v04 #navigation .nav-branch:is(:hover,:focus-visible) strong{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}
 html body.v04 #navigation .nav-branch:focus-visible{outline:1.5px solid var(--white);outline-offset:2px;border-radius:6px}
 html body.v04 #navigation .nav-terminal{border-left:0;margin:6px 0 0;padding:8px 0 0;color:var(--v8-quiet)}
 html body.v04 #navigation:not([hidden]) .edge{animation:v8-draw .6s cubic-bezier(.6,0,.2,1) both}
 html body.v04 #navigation:not([hidden])>.p8-chip{animation:v8-chip .42s var(--v8-out) .14s both}
 html body.v04 #navigation:not([hidden])>.p8-glass>g{animation:v8-fade .4s var(--v8-ease) .2s both}

/* ---------- the media viewer: the page's own ground, title and controls as chips ---------- */
 html body.v04 #media-viewer,html body.v04 #media-viewer::backdrop,html body.v04 #media-viewer .viewer-toolbar{background-color:var(--black)}
 html body.v04 #media-viewer{color:var(--white)}
 html body.v04 #media-viewer .viewer-toolbar{border:0;min-height:60px;gap:8px;padding:12px var(--gutter);font:11px/1 var(--mono);color:var(--v8-ink)}
 html body.v04 #media-viewer .viewer-toolbar h2{flex:0 1 auto;margin:0 auto 0 0;height:26px;box-sizing:border-box;display:inline-flex;align-items:center;padding:0 10px;border-radius:6px;background:var(--chip-fill);box-shadow:0 3px 8px -6px var(--g-drop);
  font:11px/1 var(--mono);letter-spacing:.06em;text-transform:uppercase;color:var(--v8-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:60vw}
 html body.v04 #media-viewer .viewer-toolbar h2:empty{visibility:hidden}
 html body.v04 #media-viewer .viewer-toolbar :is(button,a){height:26px;min-height:0;box-sizing:border-box;display:inline-flex;align-items:center;padding:0 10px;border-radius:6px;background:var(--chip-fill);box-shadow:0 3px 8px -6px var(--g-drop);
  font:11px/1 var(--mono);letter-spacing:.06em;text-transform:uppercase;color:var(--v8-ink);text-decoration:none}
 html body.v04 #media-viewer .viewer-toolbar :is(button,a)[aria-pressed=true]{background:var(--white);color:var(--black)}
 html body.v04 #media-viewer .viewer-toolbar :is(button,a):hover{color:var(--white);text-decoration:none}
 html body.v04 #media-viewer .viewer-toolbar :is(button,a):focus-visible{outline:1.5px solid var(--white);outline-offset:2px}
 html body.v04 #media-viewer .viewer-toolbar :is(button,a)[hidden]{display:none}
 html body.v04 #media-viewer .viewer-position{flex:1;font:11px/1 var(--mono);color:var(--v8-quiet)}
 html body.v04 #media-viewer .viewer-viewport{scrollbar-color:var(--ink-46) transparent}
 html body.v04 #media-viewer[open] .viewer-surface{animation:p8-rise .45s var(--v8-out) both}
}
@media (prefers-reduced-motion:reduce){html body.v04 #navigation *,html body.v04 #media-viewer *{animation:none!important}}
/* wide screens: content runs gutter to gutter like the header and the section line (the site caps it at 1660 px and centres it, so at 1920 the
   cards started 130 px right of the logo) */
html body.p8-on #view>.p8-crumbs,html body.p8-on :is(.project-page,.collection-page,.contact-page){max-width:none}
html body.p8-on .page-intro.p8-tall{position:relative;top:0}
html body.p8-on .p8-card>.p8-chip,html body.v04 #navigation.p8-card>.p8-chip{width:max-content;max-width:calc(100% - 24px)}
html body.p8-on .p8-contact-side>.contact-inquiry{margin:0;align-self:auto}

/* ================= v09 (2026-11-17): sharp cards on the work pages, the INDEX panel and the breadcrumb. Corners are square (the card outlines are
   made sharp in pages8.js by sharpen(); the home's two 45-degree cuts are kept on cards with no fill, the INDEX panel has a fill so it is square),
   the glass bevel and shadow are off: one hairline edge, like the home's bio and analysis frames. Band tiles are left as they were. ================= */
html body.p8-on .p8-card>.p8-glass>g{display:none}
html body.p8-on .p8-card>.p8-glass .edge{stroke:var(--v9-edge,var(--g-edge));stroke-linecap:butt;stroke-linejoin:miter}
html body.v04 #navigation.p8-card>.p8-glass>g{display:none}
html body.v04 #navigation.p8-card>.p8-glass .edge{stroke:var(--v9-edge,var(--g-edge));stroke-linecap:butt;stroke-linejoin:miter}
html body.p8-on :is(.p8-card,.p8-tag,.asset-jumps a,.asset-actions>:is(a,button),.p8-next-pic,.p8-coll,.p8-tree-head>span,.p8-tree-head>button,
 .collection-page .client-branch>summary,.empty-collection .build-band,.empty-collection.p8-card>a,.contact-inquiry .contact-email-action,.not-found.p8-card>a,
 .p8-chip,a.p8-crumb:focus-visible,a.p8-crumb,.p8-crumb){border-radius:0}
html body.v04 #navigation.p8-card,html body.v04 #navigation [data-close-nav],html body.v04 #navigation .nav-branch:focus-visible,
html body.v04 #media-viewer .viewer-toolbar :is(h2,button,a){border-radius:0}
html body.p8-on :is(.p8-chip,.p8-tag,.asset-jumps a,.asset-actions>:is(a,button),.p8-coll,.p8-tree-head>span,.collection-page .client-branch>summary,
 .empty-collection.p8-card>a,.contact-inquiry .contact-email-action,.not-found.p8-card>a),html body.v04 #navigation [data-close-nav],
html body.v04 #media-viewer .viewer-toolbar :is(h2,button,a){box-shadow:none}
.p8-crumb-shape .sh{display:none}
html body.p8-on a.p8-card:focus-visible>.p8-chip{box-shadow:0 0 0 1.5px var(--white)}

/* ================= 18 Nov ("XD Porto Liquid Rebuild V4") =================
   the pour (pour9.js): over everything while the liquid runs down the glass; then, as the pool, a strip at the bottom of the screen
   above the page and under the footer's text (the footer's own background steps aside on inner pages so the floor shows) */
canvas.p9-pour{position:fixed;left:0;top:0;width:100%;height:100%;display:block;pointer-events:none;opacity:0;z-index:31}
canvas.p9-pour.is-on{opacity:1}
canvas.p9-pour.is-pool{z-index:1;transition:opacity .6s}   /* 19 Nov: the floor lies BEHIND the page (above the liquid layer #world); the page stands on it */
canvas.p9-pour.is-pool.p9-fade{opacity:0;transition:none}
body.p9-pour #world{opacity:0!important;transition:none!important}
body.p9-r2-in #world{transition:opacity .5s ease-out!important}
html body.p8-on .site-controls{background:transparent}
/* the docked liquid: a small orb at the start of the breadcrumb, the same height as the crumb chips; the liquid lives inside its ring
   (R2's docked body is sized from this element through looks.mjs, and #world is clipped to the ring: pour9.js sets --p9-orb) */
html body.p8-on .p8-crumbs>.p8-orb{width:26px;height:26px;margin:0 6px 0 0;border-radius:50%;box-sizing:border-box;border:1px solid var(--v9-edge,var(--g-edge));background:color-mix(in srgb,var(--black) 70%,transparent)}
html body.p8-on .p8-crumbs>.p8-orb:before{content:none}
body.p8-on.fluid-docked:not(.fluid-transition):not(.fluid-recovering) #world{clip-path:circle(var(--p9-orb-r,12px) at var(--p9-orb-x,-99px) var(--p9-orb-y,-99px))}
/* 19 Nov: the recorded real liquid (pour9.js playReal): full screen over everything, see-through; the live liquid fades out under it */
video.p9-vid{position:fixed;inset:0;width:100%;height:100%;object-fit:cover;z-index:31;pointer-events:none;opacity:0;visibility:hidden}
video.p9-vid.is-on{opacity:1;visibility:visible;transition:opacity .1s}
video.p9-vid.is-on.p9-vfade{opacity:0;transition:opacity .4s ease-in}
body.p9-vplay #world{opacity:0!important;transition:opacity .12s!important}
