@font-face { font-family: "Mona Sans"; font-weight: 300 800; font-stretch: 85% 125%; font-display: swap; src: url(../fonts/MonaSans.woff2) format("woff2"); }
@font-face { font-family: "Mona Sans Mono"; font-weight: 400 600; font-display: swap; src: url(../fonts/MonaSansMono.woff2) format("woff2"); }

/* Pine: black, off-white, and the badge's yellow as the only color.
   The big photographs arrive in black and white and take their color as they settle. */
:root {
  color-scheme: dark;
  --bg: #05060A; --ink: #F2F1EC; --dim: rgba(242,241,236,.6); --pine: #FFCC00;
  --pad: clamp(20px, 3.4vw, 56px);
  --hold: 25svh;      /* how far the page moves before the founder's words start up over the hero */
  --ease: cubic-bezier(.16,.84,.24,1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--ink); font: 400 17px/1.5 "Mona Sans", system-ui, sans-serif;
       -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; min-height: 100dvh; }
a { color: inherit; }
img, svg { display: block; }
ol, ul { list-style: none; }
:focus-visible { outline: 2px solid var(--pine); outline-offset: 4px; }
::selection { background: var(--pine); color: var(--bg); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--pad); top: -80px; z-index: 100; background: var(--pine); color: var(--bg); padding: 10px 14px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* the small labels in the story (eyebrows, captions, the buttons): one size for all, a notch larger on wide screens.
   The header's links, the page's foot and the captions stay at the small size (below). */
.mono { font-family: "Mona Sans Mono", ui-monospace, monospace; font-weight: 500; font-size: clamp(11px, .86vw, 13.5px); line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; font-feature-settings: "case"; }
/* the display: wide capitals */
.x { font-stretch: 125%; font-weight: 600; text-transform: uppercase; letter-spacing: 0; line-height: .94; font-feature-settings: "case"; }
.k { color: var(--dim); }

/* Header: over the hero it is bare; past it, it steps aside on the way down and comes back on the way up, over a fade
   to black (every section's ground is black, so the fade serves photographs and plain sections alike) */
.top { position: fixed; inset: 0 0 auto 0; z-index: 50; height: 76px; padding-inline: var(--pad); display: flex; align-items: center; justify-content: space-between; transition: transform .5s var(--ease); }
.top::before { content: ""; position: absolute; inset: 0 0 auto 0; z-index: -1; height: calc(100% + 64px); opacity: 0; transition: opacity .35s; pointer-events: none;
  background: linear-gradient(180deg, rgba(5,6,10,.94) 0%, rgba(5,6,10,.74) 36%, rgba(5,6,10,.3) 72%, rgba(5,6,10,0) 100%); }
.top.on::before, html:not(.js) .top::before { opacity: 1; }
.top.away { transform: translateY(-100%); }
.top.away::before { opacity: 0; }   /* the fade hangs below the header, so it goes when the header does */
.top:focus-within { transform: none; }
.brand { display: flex; align-items: center; height: 44px; }
.brand img { height: 18px; width: auto; }
.nav { display: flex; gap: clamp(16px, 2.6vw, 40px); }
.nav, .corner, .foot { font-size: 11px; }
/* where the menu's links land: a mark at the top of each product's scene (not the scene itself, which is a link) */
.at { position: absolute; top: 0; left: 0; width: 1px; height: 1px; pointer-events: none; }
.nav a { text-decoration: none; color: rgba(242,241,236,.78); padding: 10px 0; transition: color .25s; }
.nav a:hover { color: var(--pine); }

/* The outlined button */
.go { display: inline-flex; align-items: center; gap: 16px; padding: 17px 20px; border: 1px solid rgba(255,255,255,.42); text-decoration: none; white-space: nowrap; flex: none; transition: background-color .35s, color .35s, border-color .35s; }
.go svg { width: 14px; height: 14px; transition: transform .45s var(--ease); }

/* Hero: the statement on black, and behind it a slab of photograph cut on the badge's slant.
   It is the one pinned screen. As the page starts to move the slab opens like a pair of doors, all the way, onto the
   founder's photograph (.fin); the founder's words then come up over it (that section has no ground of its own), and
   once they are in place the two leave together as one screen: .intro ends there, and the hero's pin with it.
   Everything after it scrolls in the ordinary way. */
.intro { position: relative; }
.hero { position: sticky; top: 0; height: 100svh; min-height: 540px; overflow: hidden; isolation: isolate; display: grid; place-items: center; padding: 0 var(--pad); text-align: center; }
.hero.gone { visibility: hidden; }
.hold { height: var(--hold); pointer-events: none; }
.scene, .full, .chap, .say { position: relative; z-index: 1; background: var(--bg); }

/* --o is how far the slab has opened (0 to 1), set from the scroll position */
.slab { --h0: 15vw; --max: calc(50vw + var(--k) + 2px); --k: 7svh; --hw: calc(var(--h0) + var(--o, 0) * (var(--max) - var(--h0)));
  position: absolute; inset: 0; z-index: -1; background: #000;
  clip-path: polygon(calc(50% - var(--hw) + var(--k)) 0, calc(50% + var(--hw) + var(--k)) 0, calc(50% + var(--hw) - var(--k)) 100%, calc(50% - var(--hw) - var(--k)) 100%);
  transition: clip-path .8s var(--ease); }
.js .slab { animation: open 2.1s var(--ease) .15s backwards; }
@keyframes open { from { clip-path: polygon(calc(50% - 1px + var(--k)) 0, calc(50% + 1px + var(--k)) 0, calc(50% + 1px - var(--k)) 100%, calc(50% - 1px - var(--k)) 100%); } }
.slab::after { content: ""; position: absolute; inset: 0; opacity: calc(1 - var(--q, 0)); background: linear-gradient(180deg, rgba(5,6,10,.5) 0%, rgba(5,6,10,.16) 24%, rgba(5,6,10,.3) 50%, rgba(5,6,10,.16) 76%, rgba(5,6,10,.6) 100%); }
/* the reel: three photographs, each holding for a few seconds and moving in slowly while it does */
.fr { position: absolute; inset: 0 12vw; opacity: 0; transform: scale(calc(1 + var(--p, 0) * .08)); transition: transform 2.6s var(--ease); }
.fr:first-child { opacity: 1; }
.fr img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--at, 50% 50%); filter: saturate(.86) contrast(1.04) brightness(.84); }
.js .fr { opacity: 0; animation: reel 18s linear infinite; animation-delay: calc(var(--n, 0) * 6s); }
@keyframes reel { 0% { opacity: 0; scale: 1.03; } 6.67% { opacity: 1; } 33.33% { opacity: 1; } 40% { opacity: 0; scale: 1.15; } 100% { opacity: 0; scale: 1.15; } }

/* the founder's photograph, the whole screen: --q is how much of it is there (0 to 1), and it is all there well before
   the doors are wider than the reel behind it */
.fin { position: absolute; inset: 0; opacity: var(--q, 0); --c: 0; --z: 1; --dark: .66; }
.fin .ph { z-index: auto; }
.fin .ph, .scene.me .ph { object-position: 78% 50%; }
.scene.me .own { display: none; }
.js .scene.me { background: none; }
/* without the script the hero is an ordinary screen, and the founder's section has its photograph itself */
html:not(.js) .hero { position: relative; }
html:not(.js) .hold { display: none; }
html:not(.js) .intro { margin-bottom: 0; }
html:not(.js) .intro::after { content: none; }
html:not(.js) .scene.me .own { display: block; }

/* --f is how much of the words is left (1 to 0): they go as the story reaches them */
.hero .in { opacity: var(--f, 1); transform: translateY(calc((1 - var(--f, 1)) * -40px)); }
.hero .k { color: rgba(242,241,236,.74); margin-bottom: clamp(16px, 2.8vh, 28px); }
.js .hero .k { opacity: 0; animation: fade 1.2s ease 1.5s forwards; }
@keyframes fade { to { opacity: 1; } }
.hero h1 { font-size: clamp(34px, 8.3vw, 168px); }
.ln { display: block; overflow: hidden; padding-bottom: .05em; }
.ln > span { display: block; white-space: nowrap; }
.js .ln > span { transform: translateY(108%); animation: rise 1.2s var(--ease) forwards; animation-delay: calc(.9s + var(--i, 0) * .12s); }
@keyframes rise { to { transform: none; } }
/* the arrow down, which keeps dropping: its head goes with its line */
.scroll { --h: 46px; position: absolute; left: 50%; margin-left: -6.5px; bottom: clamp(20px, 3.6vh, 36px); width: 13px; height: var(--h); overflow: hidden; opacity: calc(1 - var(--o, 0) * 3); }
.scroll::before { content: ""; position: absolute; top: 0; bottom: 1px; left: 6px; width: 1px; background: var(--ink); animation: drop 2.4s var(--ease) infinite; }
.scroll::after { content: ""; position: absolute; left: 2.5px; bottom: 2px; width: 8px; height: 8px; border: solid var(--ink); border-width: 0 1px 1px 0; rotate: 45deg; animation: drop 2.4s var(--ease) infinite; }
@keyframes drop { 0% { translate: 0 calc(var(--h) * -1); } 55%, 62% { translate: 0 0; } 100% { translate: 0 var(--h); } }

/* Big photographs. --c is how much of its color one has (0 to 1) and --z how far it has moved in; the script sets
   both from the scroll position, and the long transitions carry them on for a moment after the scrolling stops. */
.scene, .full, .live { --c: 1; --z: 1.02; --dark: .66; }
.scene, .full { overflow: hidden; isolation: isolate; }
.js .scene, .js .full, .js .live { --c: 0; --z: 1; }
.ph { position: absolute; inset: 0 0 auto 0; height: var(--ph, 100svh); min-height: 540px; z-index: -2; width: 100%; object-fit: cover; }
/* .ph is a photograph the size of the screen; .cz is anything else that takes its color and moves the same way */
.ph, .cz {
  filter: grayscale(calc(1 - var(--c))) contrast(calc(1.12 - var(--c) * .08)) brightness(calc(var(--dark) + var(--c) * .16));
  transform: scale(var(--z)); scale: 1;
  transition: filter 1.5s cubic-bezier(.3,.5,.2,1), transform 2.8s var(--ease), scale 9s cubic-bezier(.2,.5,.3,1); }
/* while one is on screen it keeps moving in, very slowly, on its own */
.set .ph, .set .cz { scale: 1.05; }

/* Scenes: a photograph the size of the screen, with a few words at its foot */
.scene { height: 100svh; min-height: 540px; display: flex; padding: 112px var(--pad) clamp(24px, 4.4vh, 44px); color: #fff; text-decoration: none; }
/* (a shadow under the words, not a fade: only the two .full chapters fade out, and only at the foot) */
.scene::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,6,10,0) 46%, rgba(5,6,10,.46) 76%, rgba(5,6,10,.64) 100%); }
.scene:focus-visible { outline-offset: -6px; }
.scene .cap { flex: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; }
.scene .k { color: rgba(255,255,255,.76); margin-bottom: clamp(12px, 2vh, 20px); }
/* each product's own mark, in white, on the line above its name; the knot is drawn a little larger than the H so the two weigh the same */
.scene .by { --mk: clamp(15px, 1.25vw, 20px); display: flex; align-items: center; gap: clamp(9px, .8vw, 13px); height: calc(var(--mk) * 1.15); }
.mk { flex: none; height: var(--mk); aspect-ratio: 86 / 100; fill: #fff; }
.mk.kn { height: calc(var(--mk) * 1.15); aspect-ratio: 828 / 824; }
.scene h2 { font-size: clamp(40px, 9.7vw, 196px); margin-left: -.04em; white-space: nowrap; }
.scene .one { margin-top: clamp(12px, 2vh, 22px); font-size: clamp(17px, 1.5vw, 23px); color: rgba(255,255,255,.88); text-wrap: pretty; }
@media (hover: hover) {
  a.scene:hover .go { background: var(--pine); border-color: var(--pine); color: var(--bg); }
  a.scene:hover .go svg { transform: translate(3px, -3px); }
}
/* the founder, on the river */
/* (its shading comes up with its words over the pinned photograph, so it has no edge at the top) */
.scene.me::before { background: linear-gradient(90deg, rgba(5,6,10,.5), rgba(5,6,10,0) 58%), linear-gradient(180deg, rgba(5,6,10,0) 44%, rgba(5,6,10,.6) 72%, rgba(5,6,10,.92) 91%, var(--bg) 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 42%); mask-image: linear-gradient(180deg, transparent 0%, #000 42%); }
.scene.me h2 { font-size: clamp(34px, 7vw, 140px); margin-left: -.035em; }
.scene.me .one { max-width: 25em; line-height: 1.42; }
/* Heimdall: the two sensors stand in front of their name. The story on either side of it is black, so the scene comes
   out of the black at the top (a long, soft fade down the sky) and goes back into it at the foot, with room above. */
.scene.h { margin-top: clamp(24px, 7vh, 88px); }
.scene.h .ph { object-position: 64% 100%; }
.scene.h::before { background: linear-gradient(180deg, var(--bg) 0%, rgba(5,6,10,.8) 7%, rgba(5,6,10,.5) 16%, rgba(5,6,10,.22) 26%, rgba(5,6,10,.06) 34%, rgba(5,6,10,0) 40%, rgba(5,6,10,0) 50%, rgba(5,6,10,.46) 76%, rgba(5,6,10,.9) 92%, var(--bg) 100%); }
.scene .fg { z-index: 1; }
/* Kraken: a short film in a slab cut on the same slant as the hero's */
/* (--o, 0 to 1, is how far its doors have opened: the script sets it, and they open from first sight until the scene
   is nearly in place; with no word from the script they are simply open) */
.scene.kr { --o: 1; }
.vid { --k: 7svh; --hw: calc((50% - var(--k)) * (.55 + .45 * var(--o)));
  position: absolute; z-index: -2; top: 0; bottom: 0; right: max(var(--pad), 5vw); width: max(74svh, 380px); overflow: hidden; background: #000;
  clip-path: polygon(calc(50% - var(--hw) + var(--k)) 0, calc(50% + var(--hw) + var(--k)) 0, calc(50% + var(--hw) - var(--k)) 100%, calc(50% - var(--hw) - var(--k)) 100%);
  transition: clip-path .9s var(--ease); }
.vid video { display: block; width: 100%; height: 100%; object-fit: cover; }
/* it comes out of the black at the top, as Heimdall's does, and its foot fades back into the page */
.scene.kr::before { background: linear-gradient(180deg, var(--bg) 0%, rgba(5,6,10,.8) 7%, rgba(5,6,10,.5) 16%, rgba(5,6,10,.22) 26%, rgba(5,6,10,.06) 34%, rgba(5,6,10,0) 40%, rgba(5,6,10,0) 44%, rgba(5,6,10,.5) 70%, rgba(5,6,10,.92) 91%, var(--bg) 100%); }

/* Chapters. The plain kind is a heading beside its text. */
.ch { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 8vw, 150px); align-items: start; padding: clamp(88px, 17vh, 210px) var(--pad); }
.ch h2, .sp h2 { font-size: clamp(30px, 4.5vw, 84px); margin: 16px 0 0 -.035em; text-wrap: balance; }
.tx { display: grid; gap: 1em; max-width: 31em; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.5; color: rgba(242,241,236,.78); text-wrap: pretty; }
.ch .tx { padding-top: clamp(0px, 2.2vw, 34px); }
.tx strong { font-weight: 600; color: #fff; }
/* Links in the story: a thick rule in the badge's yellow that overlaps the foot of the words (--at is where it sits in
   the line, --th how thick); pointed at, it rises to fill them, black on yellow. Never broken over two lines; the two
   products each have a line of their own (.two). */
.tx a { --th: .26em; color: #fff; font-weight: 600; text-decoration: none; white-space: nowrap; padding: 0 .1em; margin: 0 -.1em;
  background: linear-gradient(var(--pine), var(--pine)) 0 calc(100% - .045em) / 100% var(--th) no-repeat; transition: background-size .3s var(--ease), color .2s; }
.tx a:active, .tx a:focus-visible { background-size: 100% 100%; color: var(--bg); }
@media (hover: hover) { .tx a:hover { background-size: 100% 100%; color: var(--bg); } }
.two span { display: block; }
.two span + span { margin-top: .3em; }
/* captions and credits are the smallest of the labels */
.cred, .sp figcaption { font-size: 11px; }
.cred { margin-top: 12px; color: var(--dim); }

/* A chapter told over its photograph, which fades out into the page */
.full { min-height: 100svh; display: flex; align-items: flex-end; }
/* (the photograph zooms a little past its own box, so the fade runs on below it) */
.full::after { content: ""; position: absolute; inset: 0 0 auto 0; height: calc(max(var(--ph, 100svh), 540px) * 1.12); z-index: -1; background: linear-gradient(180deg, rgba(5,6,10,0) 25%, rgba(5,6,10,.28) 41%, rgba(5,6,10,.8) 59%, rgba(5,6,10,.95) 76%, var(--bg) 88%); }
.full .ch { width: 100%; align-items: end; padding-block: 61svh clamp(64px, 11vh, 130px); }
.full .ch .tx { color: rgba(255,255,255,.84); padding-top: 0; }
.full .k, .full .cred { color: rgba(255,255,255,.72); }
/* The lake's photograph has a fifth more sky than was taken: it goes on up into black, as a night sky does, so the
   chapter comes out of the black page with no edge and no fade laid over the real sky. --sky is how tall that added
   sky is on screen (a sixth of the picture, which is as wide as the screen or as tall as its box, whichever is more),
   and everything that was measured from the photograph's top is measured from there. */
.full.lake { --ph: calc(100svh + 15vw); --sky: max(15vw, calc(var(--ph) * .1667)); margin-top: calc(clamp(56px, 10vh, 130px) * -.45); }
.full.lake .ph { object-position: 50% 0; transform-origin: 50% 0; filter: brightness(.95); }
.full.lake::after { height: calc(var(--ph) * 1.2); background: linear-gradient(180deg, var(--bg) 0, rgba(5,6,10,0) calc(var(--sky) * .3), rgba(5,6,10,0) calc(var(--sky) + 28svh), rgba(5,6,10,.28) calc(var(--sky) + 46svh), rgba(5,6,10,.8) calc(var(--sky) + 66svh), rgba(5,6,10,.95) calc(var(--sky) + 85svh), var(--bg) calc(var(--sky) + 98svh)); }
.full.lake .ch { padding-top: calc(61svh + var(--sky)); }

/* A chapter beside its photograph, which runs off the edge of the screen */
.sp { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; padding-block: clamp(56px, 10vh, 130px); }
.sp .im { overflow: hidden; max-height: 86svh; }
.sp .im img { width: 100%; height: 100%; object-fit: cover; }
.sp .im img:not(.cz) { filter: grayscale(1) contrast(1.06) brightness(.92); }
.sp.live { --dark: .76; }
.sp .hd4 { aspect-ratio: 4 / 5; }
.sp .hd3 { aspect-ratio: 3 / 2; }
.sp .road img { object-position: 50% 56%; }
.sp figcaption { margin-top: 12px; padding-left: var(--pad); color: var(--dim); }
.sp .bd { padding: 0 var(--pad) 0 clamp(32px, 8vw, 150px); }
.sp .tx { margin-top: clamp(22px, 3.6vh, 40px); }
.sp.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.sp.flip figure { order: 2; }
.sp.flip figcaption { padding-left: 0; }
.sp.flip .bd { padding: 0 clamp(32px, 6vw, 110px) 0 var(--pad); }
.sp.wide { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.sp.wide .bd { padding-left: clamp(28px, 5vw, 96px); }
.sp.wide.flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.sp.wide.flip .bd { padding: 0 clamp(28px, 5vw, 96px) 0 var(--pad); }
.sp.last .tx { margin-top: 0; font-size: clamp(18px, 1.7vw, 25px); line-height: 1.42; color: rgba(242,241,236,.84); }
.sp.last .im img { object-position: 38% 28%; }
/* the cap's badge takes its yellow as the other photographs take their color: the same photograph's own pixels, cut out
   and laid over the black and white one (so it has to line up with it exactly), with --c set by the script from where the
   badge is on the screen: yellow while it is well inside it, black and white near its top and foot */
.sp.last .im { position: relative; }
.sp.last .im .pn { position: absolute; inset: 0; filter: contrast(1.06) saturate(1.3); opacity: var(--c, 1); transition: opacity 1.5s cubic-bezier(.3,.5,.2,1); }
.js .pn { --c: 0; }
/* the last photograph is a slab too: its inner edge is cut on the hero's slant (0.1405 of its height, whichever way the height is set) */
.sp.last .im { --sl: min(17.56%, 12.08svh); clip-path: polygon(0 0, 100% 0, calc(100% - var(--sl)) 100%, 0 100%); }

/* The end: the line, the name under it, and how to reach the founder */
.say { min-height: 100svh; display: grid; place-content: center; justify-items: center; gap: clamp(22px, 4.4vh, 44px); text-align: center; padding: 14vh var(--pad) 16vh; }
.say #line { font-size: clamp(32px, 6vw, 108px); font-weight: 500; font-stretch: 100%; letter-spacing: -.035em; line-height: 1; max-width: 12.5em; text-wrap: balance; }
.js .say #line span { opacity: .14; transition: opacity .5s ease; }
.js .say #line span.lit { opacity: 1; }
.sig { display: grid; justify-items: center; margin-top: clamp(8px, 3vh, 32px); }
.sig img { height: 76px; width: auto; filter: invert(1); }
.sig strong { margin-top: 14px; font-weight: 600; }
.sig > .mono { margin-top: 6px; color: var(--dim); }
/* how to reach the founder: three small icons (each a 44px target) */
.reach { display: flex; gap: 4px; margin-top: clamp(12px, 2.2vh, 22px); }
.reach a { display: grid; place-items: center; width: 44px; height: 44px; color: rgba(242,241,236,.66); transition: color .25s; }
.reach svg { width: auto; height: 17px; }   /* one height; the envelope is wider than it is tall */
.reach a:hover, a.corner:hover { color: var(--pine); }
.corner { position: absolute; bottom: 26px; color: var(--dim); text-decoration: none; transition: color .25s; }
.corner.l { left: var(--pad); }
.corner.r { right: var(--pad); }

/* Plain pages: privacy, 404 */
.plain { padding: clamp(140px, 22vh, 220px) var(--pad) clamp(72px, 12vh, 140px); }
.plain h1 { font-size: clamp(36px, 6.4vw, 112px); margin: 18px 0 0 -.035em; }
.prose { max-width: 40em; margin-top: clamp(36px, 6vh, 64px); }
.prose h2 { font-size: 19px; font-weight: 600; margin-top: 44px; }
.prose p { margin-top: 10px; color: rgba(242,241,236,.8); text-wrap: pretty; }
.prose > p:first-child { font-size: 20px; line-height: 1.42; color: var(--ink); margin-top: 0; }
.prose a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .25s; }
.prose a:hover { color: var(--pine); }
.foot { display: flex; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; padding: 0 var(--pad) 26px; color: var(--dim); }
.foot a { text-decoration: none; transition: color .25s; }
.foot a:hover { color: var(--pine); }

/* Reveal on scroll (only when the script is running) */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .scene .cap { flex-direction: column; justify-content: flex-end; align-items: flex-start; }
  .ch { grid-template-columns: 1fr; gap: 0; }
  .ch .tx { padding-top: clamp(28px, 5vh, 44px); }
  /* on a narrow screen the photograph sits at the top and the words begin where it fades out */
  .full { min-height: 0; display: block; }
  .full { --ph: 74svh; }
  .full .ph { min-height: 0; }
  .full::after { height: calc(var(--ph) * 1.12); background: linear-gradient(180deg, rgba(5,6,10,0) 40%, rgba(5,6,10,.86) 70%, var(--bg) 88%); }
  .full .ch { padding-top: 50svh; }
  .full .ch .tx { padding-top: clamp(28px, 5vh, 44px); }
  .full.lake { --ph: calc(82svh + 15vw); margin-top: calc(clamp(48px, 9vh, 90px) * -.4); }
  .full.lake::after { height: calc(var(--ph) * 1.2); background: linear-gradient(180deg, var(--bg) 0, rgba(5,6,10,0) calc(var(--sky) * .3), rgba(5,6,10,0) calc(var(--sky) + 33svh), rgba(5,6,10,.86) calc(var(--sky) + 58svh), var(--bg) calc(var(--sky) + 73svh)); }
  .full.lake .ch { padding-top: calc(50svh + var(--sky)); }
  .sp, .sp.flip, .sp.wide, .sp.wide.flip { grid-template-columns: 1fr; padding-block: clamp(48px, 9vh, 90px); }
  .sp.flip figure { order: 0; }
  .sp figcaption, .sp.flip figcaption { padding-left: var(--pad); }
  .sp .bd, .sp.flip .bd, .sp.wide .bd, .sp.wide.flip .bd { padding: clamp(36px, 7vh, 60px) var(--pad) 0; }
  .sp .hd4 { aspect-ratio: 1 / 1; }
  .sp .hd4 img { object-position: 50% 20%; }
  .sp.last .im { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14.05vw), 0 100%); }   /* full width here, so the slant is its foot, facing the words */
  .sp.last .bd { padding-top: clamp(20px, 4vh, 36px); }
}
/* On an upright screen the slab is most of the screen, and it opens all the way */
@media (max-aspect-ratio: 4/5) {
  .slab { --h0: 27vw; }
  /* the founder's photograph is short for an upright screen, so it stays pinned a little longer (--up) and the words go
     on up over its soft lower part, toward the kayak, before the two leave together */
  .intro { --up: 17svh; margin-bottom: calc(var(--up) * -1); }
  .intro::after { content: ""; display: block; height: var(--up); }   /* (a pin holds only inside its parent's content, so this is content, not padding) */
  .fr { inset: 0; }
  /* and the sensors fill the frame, so Heimdall's name goes up into the sky above them */
  .scene.h .cap { flex-direction: column; justify-content: space-between; align-items: flex-start; }
  .scene.h::before { background: linear-gradient(180deg, var(--bg) 0%, rgba(5,6,10,.62) 9%, rgba(5,6,10,.36) 22%, rgba(5,6,10,.12) 38%, rgba(5,6,10,0) 52%, rgba(5,6,10,.4) 78%, rgba(5,6,10,.9) 94%, var(--bg) 100%); }
  .scene .fg { display: none; }
  /* and Kraken's film fills the screen */
  .vid { left: 0; right: 0; width: auto; clip-path: none; transition: none; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .cred, .sp figcaption { font-size: 10px; }
  .x { font-stretch: 112%; }
  .top { height: 60px; }
  .brand img { height: 16px; }
  .hero h1 { font-size: clamp(26px, 8.9vw, 80px); }
  .scene { padding-top: 96px; }
  .scene h2 { font-size: clamp(36px, 13.4vw, 110px); }
  .scene.me h2 { font-size: clamp(30px, 9.6vw, 80px); }
  .fin .ph, .scene.me .ph { object-position: 50% 30%; }
  .scene.h .ph { object-position: 50% 100%; }
  .sig img { height: 62px; }
  .say { padding-bottom: 20vh; }
}
@media (max-width: 360px) {
  .nav { gap: 13px; }
  .mono { letter-spacing: .12em; }
}
@media (prefers-reduced-motion: reduce) {
  .top { transition: none; }
  .hero { position: relative; }
  .hold { display: none; }
  .intro { margin-bottom: 0; }
  .intro::after { content: none; }
  .js .scene.me { background: var(--bg); }
  .scene.me .own { display: block; }
  .scroll::before, .scroll::after, .js .slab, .js .hero .k { animation: none; }
  .js .hero .k { opacity: 1; }
  .js .fr { animation: none; }
  .js .fr:first-child { opacity: 1; }
  .fr, .hero .in { transform: none; transition: none; }
  .slab, .vid { transition: none; }
  .js .ln > span { animation: none; transform: none; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .js .say #line span { opacity: 1; transition: none; }
  .ph, .cz, .set .ph, .set .cz { transform: none; scale: 1; transition: filter .4s; }
  .sp.last .im .pn { transition: opacity .4s; }
}
