/* Plain rendering: the same design drawn without blending type over film, masking film, or blurring behind the header.
   It is used on every phone (through the media attribute on its link) and in every WebKit browser at any width
   (boot.js widens that media to "all"). Two reasons: a phone has to decode film, run 3D, and scroll at once; and WebKit
   on iPhone draws playing film in a layer of its own, where blended type is not inverted and white type is left on white.
   Nothing that has to be read may depend on blending. */

/* Header: a solid bar. The Noir layer sits above it so the bar inverts with the page. */
.site-header{background:var(--paper);color:var(--ink);mix-blend-mode:normal;border-bottom-color:rgb(20 21 24 / .06);-webkit-backdrop-filter:none;backdrop-filter:none}
.site-header .nav-contact{border-color:#c4c5c1}
.header-veil{display:none}

/* Hero: ink-coloured type on a paper field, with the film showing beside or below it. */
.film-hero{-webkit-mask-image:none;mask-image:none;top:0}
.film-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,var(--paper),rgb(247 247 244 / 0) 8%),linear-gradient(90deg,var(--paper) 34%,rgb(247 247 244 / 0) 64%)}
.has-film h1,.has-film .eyebrow,.has-film .hero-description,.has-film .hero-actions>.text-link,.has-film .hero-actions>.button,.has-film .hero-art figcaption,.has-film .hero-object-controls,.has-film .hero-bottom{mix-blend-mode:normal}
.has-film h1{color:var(--ink)}
.has-film h1 span{color:#7d7f83}
.has-film .eyebrow{color:#51545b}
.has-film .hero-description{color:#63656a}
.has-film .status-dot{background:#606369;box-shadow:0 0 0 4px rgb(20 21 24 / .04)}
.has-film .hero-actions>.text-link{color:var(--ink);text-decoration-color:#b7bbb0}
.has-film .hero-bottom{color:var(--muted);border-top-color:var(--line)}
/* The labels under the sphere lie over moving film, so each carries its own paper tag. */
.has-film .hero-art figcaption,.has-film .hero-object-controls{color:var(--muted)}
.has-film .hero-art figcaption span,.has-film .hero-object-controls>*{background:var(--paper);padding:3px 10px;border-radius:999px}
@media(max-width:760px){
  .film-hero::after{background:linear-gradient(to top,var(--paper),rgb(247 247 244 / 0) 9%),linear-gradient(var(--paper) 34%,rgb(247 247 244 / 0) 62%)}
}
@media(max-width:560px){
  .has-film .hero-actions>.button{color:var(--ink);box-shadow:none;text-decoration-color:#7d7f83}
}

/* Seams: gradient layers fade the film into each side, and the line sits wholly on one side in that side's opposite colour. */
.seam .film-video{-webkit-mask-image:none;mask-image:none;z-index:0}
.seam::before,.seam::after{content:"";position:absolute;inset-inline:0;z-index:1;height:20%;pointer-events:none}
.seam::before{top:0;background:linear-gradient(var(--paper),rgb(247 247 244 / 0))}
.seam::after{bottom:0;background:linear-gradient(rgb(17 18 20 / 0),#111214)}
.seam-up::before{background:linear-gradient(#111214,rgb(17 18 20 / 0))}
.seam-up::after{background:linear-gradient(rgb(247 247 244 / 0),var(--paper))}
.seam-line{z-index:2;inset:auto 0 9%;display:block;text-align:center;color:#f4f4f0;mix-blend-mode:normal}
.seam-up .seam-line{color:var(--ink)}

/* The white film under the contact section multiplies over paper elsewhere; here it simply fades in and out. */
.film-light{mix-blend-mode:normal;opacity:.55;-webkit-mask-image:none;mask-image:none}
.film-light::after{content:"";position:absolute;inset:0;background:linear-gradient(var(--paper),rgb(247 247 244 / 0) 24%,rgb(247 247 244 / 0) 78%,var(--paper))}

/* Selected work: light type on ink, with a soft shadow where a picture may pass behind it. */
.is-live .work-title,.work-path,.is-live .work-hint{mix-blend-mode:normal}
.is-live .work-title{color:#f4f4f0;text-shadow:0 0 22px rgb(0 0 0 / .7),0 0 3px rgb(0 0 0 / .5)}
.work-path,.is-live .work-hint{color:#c6c7c4;opacity:1;text-shadow:0 0 12px rgb(0 0 0 / .8)}
.work-back{color:#f4f4f0}

/* Noir without a blended layer: each band of the page is inverted on its own, and lit objects are turned back. */
.noir-flood,.lens{display:none}
[data-theme=noir] body{background:#08080b}
[data-theme=noir] :is(.site-header,main>section,main>.seam,.site-footer){filter:invert(1)}
