:root{
  --mk-black:#0C0C0C; --mk-red:#E4312B; --mk-white:#FAFAFA; --mk-yellow:#F4C430; --mk-blue:#2747A6;
  --quiet:rgb(250 250 250 / .56); --faint:rgb(250 250 250 / .5); --rule:rgb(250 250 250 / .14); --rule-strong:rgb(250 250 250 / .3);
  --font:"Helvetica Neue",Helvetica,Arial,sans-serif;
  --ease:cubic-bezier(.45,0,.25,1); --ease-out:cubic-bezier(.22,.61,.36,1);
}
*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;height:100%;background:var(--mk-black);color:var(--mk-white);font-family:var(--font);-webkit-font-smoothing:antialiased;overflow:hidden}
#c{position:fixed;inset:0;display:block;overflow:visible}
#c text{font-family:var(--font);font-size:13px;dominant-baseline:central;paint-order:stroke;stroke-width:3px;stroke-linejoin:round}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
a{color:inherit;text-decoration:none}

/* header: one quiet line, a second appears beneath it */
.top{position:fixed;top:0;left:0;right:0;display:flex;justify-content:space-between;align-items:flex-start;padding:32px 40px;z-index:5;pointer-events:none}
.top>*{pointer-events:auto}
.name{font-weight:700;font-size:22px;letter-spacing:-.02em;transition:opacity .6s var(--ease)}
.name:hover{opacity:.7}
.menus{display:flex;flex-direction:column;align-items:flex-end;gap:12px}
.menu{display:flex;gap:30px;font-size:15px;letter-spacing:.005em}
.menu a{color:var(--quiet);display:inline-flex;align-items:center;gap:.55em;transition:color .6s var(--ease)}
.menu a:hover{color:rgb(250 250 250 / .85)}
.menu a[aria-current="true"]{color:var(--mk-white)}
.menu .dot{width:6px;height:6px;border-radius:50%;flex:none}
#sub{font-size:13px;gap:24px;min-height:16px}
#sub a{opacity:0;transform:translateY(-4px);transition:opacity .7s var(--ease),transform .7s var(--ease),color .6s var(--ease)}
#sub.show a{opacity:1;transform:none}
#sub.show a:nth-child(2){transition-delay:.06s}
#sub.show a:nth-child(3){transition-delay:.12s}
#sub.show a:nth-child(4){transition-delay:.18s}

.bottom{position:fixed;left:0;right:0;bottom:0;background:linear-gradient(rgba(12,12,12,0),#0C0C0C 55%);display:flex;justify-content:space-between;align-items:baseline;padding:28px 40px;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--faint);z-index:3;pointer-events:none}
.bottom>*{pointer-events:auto}
.bottom .tools{display:flex;gap:24px}
.bottom button{letter-spacing:.08em;text-transform:uppercase;font-size:12px;color:var(--quiet);transition:color .5s var(--ease)}
.bottom button:hover{color:var(--mk-white)}
/* elsewhere: a thin line, and the other places Eirik is, small */
.bottom::before{content:'';position:absolute;left:40px;right:40px;top:14px;height:1px;background:var(--rule)}
.links{display:flex;flex-wrap:wrap;gap:6px 22px;text-transform:none;letter-spacing:.02em}
.links a{color:var(--faint);transition:color .5s var(--ease)}
.links a:hover,.links a[aria-current="true"]{color:var(--mk-white)}
.mm .links{justify-content:flex-end;gap:10px 20px;margin:44px 0 0;padding-top:18px;border-top:1px solid var(--rule);font-size:14px}

/* the page on the right */
#page{position:fixed;top:0;bottom:0;right:0;left:44%;z-index:2;overflow-y:auto;padding:18vh 64px 120px 40px;pointer-events:none;scrollbar-width:none;background:linear-gradient(90deg,rgba(12,12,12,0),rgba(12,12,12,.94) 40px,#0C0C0C);opacity:0;transition:opacity .9s var(--ease)}
#page.open{opacity:1}
#page::-webkit-scrollbar{display:none}
#page.open{pointer-events:auto}
.inner{max-width:34rem}
.inner>*{opacity:0;transform:translateY(10px);transition:opacity .7s var(--ease),transform .9s var(--ease-out)}
.inner.in>*{opacity:1;transform:none}
.inner.in>*:nth-child(2){transition-delay:.07s}
.inner.in>*:nth-child(3){transition-delay:.14s}
.inner.in>*:nth-child(4){transition-delay:.21s}
.inner.in>*:nth-child(n+5){transition-delay:.28s}
.label{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--quiet);margin:0 0 20px}
.label a{letter-spacing:.08em;text-transform:uppercase;transition:color .5s var(--ease)}
.label a:hover{color:var(--mk-white)}
.meta{font-size:13px;color:var(--quiet);margin:-14px 0 22px;font-variant-numeric:tabular-nums}
.lede{font-size:20px;line-height:1.4;color:var(--quiet);margin:-12px 0 6px}
.post{margin-top:34px}
.post img{display:block;max-width:100%;height:auto;margin:22px 0}
.post h3{font-size:22px;margin:34px 0 10px}
.post blockquote{margin:18px 0;padding-left:18px;border-left:2px solid var(--mk-red)}
.post ul,.post ol{padding-left:20px;font-size:17px;line-height:1.55}
.post a{text-decoration:underline;text-decoration-color:var(--rule-strong);text-underline-offset:.25em}
.post hr{border:0;height:1px;background:var(--rule);margin:28px 0}
.back{display:block;margin:44px 0 0;font-size:13px;color:var(--quiet);transition:color .5s var(--ease)}
.back:hover{color:var(--mk-white)}
.copy .inl,.copy a{font:inherit;color:inherit;text-decoration:underline;text-decoration-color:var(--rule-strong);text-underline-offset:.25em;transition:color .4s var(--ease)}
.copy .inl:hover,.copy a:hover{color:var(--mk-red)}
.video{position:relative;aspect-ratio:16/9;margin:26px 0 6px;background:#000}
.video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.inner h2.small{font-size:32px;line-height:1.12;letter-spacing:-.02em}
.inner h2{font-size:48px;line-height:1.06;letter-spacing:-.025em;font-weight:700;margin:0 0 28px}
.inner h3{font-size:18px;font-weight:700;letter-spacing:-.01em;margin:28px 0 8px}
.copy p{font-size:17px;line-height:1.55;margin:0 0 14px;color:rgb(250 250 250 / .9)}
.lede + .copy{margin-top:16px}
.copy .sub{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--quiet);margin:22px 0 8px}
.copy ul.facts{margin:0 0 14px;padding:0;list-style:none}
.copy ul.facts li{font-size:17px;line-height:1.55;margin:0 0 10px;color:rgb(250 250 250 / .9)}
.copy ul.facts b{font-weight:600;color:var(--mk-white)}
.stand{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--faint);margin:26px 0 0}
.items{list-style:none;margin:24px 0 0;padding:0;border-top:1px solid var(--rule)}
.items li{display:flex;justify-content:space-between;gap:24px;padding:11px 0;border-bottom:1px solid var(--rule);font-size:15px;line-height:1.4}
.items li span:last-child{color:var(--faint);font-size:13px;white-space:nowrap;font-variant-numeric:tabular-nums}
.items a{text-align:left;transition:color .5s var(--ease)}
.items a:hover{color:var(--mk-red)}
.out{display:inline-block;margin-top:22px;font-size:15px;text-decoration:underline;text-decoration-color:var(--rule-strong);text-underline-offset:.3em;transition:color .5s var(--ease),text-decoration-color .5s var(--ease)}
.out:hover{color:var(--mk-red);text-decoration-color:var(--mk-red)}
.more{display:flex;flex-wrap:wrap;gap:0 26px}
.press{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:18px 0 6px}
.press figure{margin:0}
.press img{display:block;width:100%;height:auto;aspect-ratio:3/4;background:#1a1a1a}
.press figcaption{font-size:13px;line-height:1.45;color:var(--quiet);margin-top:9px}
.press figcaption a{color:var(--mk-white);text-decoration:underline;text-decoration-color:var(--rule-strong);text-underline-offset:.25em;transition:color .4s var(--ease)}
.press figcaption a:hover{color:var(--mk-red)}
.credit{font-size:12px;color:var(--faint);margin:12px 0 0}   /* there, for those who look */

/* without code: the home page shows the About text instead of the motion */
.nojs{position:fixed;top:110px;bottom:80px;left:40px;right:40px;overflow:auto;max-width:34rem;z-index:2}
.nojs h2{font-size:48px;line-height:1.06;letter-spacing:-.025em;margin:0 0 28px}
.nojs p{font-size:17px;line-height:1.55;margin:0 0 14px}
.nojs .label{display:none}

/* the plain way in */
#list{position:fixed;inset:0;background:var(--mk-black);z-index:6;overflow:auto;padding:100px 40px 80px;opacity:0;pointer-events:none;visibility:hidden;transition:opacity .6s var(--ease),visibility 0s .6s}
#list.open{opacity:1;pointer-events:auto;visibility:visible;transition:opacity .6s var(--ease)}
#list:not(.shown),.mm:not(.shown){display:none}   /* closed, they are gone: on an iPhone even an invisible layer over the dots can leave them soft */
#list .cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px;max-width:1100px}
#list h3{font-size:20px;font-weight:700;letter-spacing:-.015em;margin:0 0 16px;display:flex;align-items:center;gap:.5em;padding-bottom:12px;border-bottom:1px solid var(--rule)}
#list h4{margin:20px 0 6px;font-size:15px;font-weight:700}
#list ul{list-style:none;margin:0;padding:0}
#list li{margin:0 0 5px;font-size:15px}
#list a.l{text-align:left;color:rgb(250 250 250 / .85);transition:color .4s var(--ease)}
#list a.l:hover{color:var(--mk-red)}
#list .close{position:fixed;top:32px;right:40px;font-size:13px;color:var(--quiet)}


.burger{display:none;gap:7px;align-items:center;height:22px;padding:0 2px}
.burger span{width:8px;height:8px;border-radius:50%;transition:transform .6s var(--ease)}
.burger[aria-expanded="true"] span:nth-child(1){transform:translateX(22.5px)}
.burger[aria-expanded="true"] span:nth-child(2){transform:translateX(7.5px)}
.burger[aria-expanded="true"] span:nth-child(3){transform:translateX(-7.5px)}
.burger[aria-expanded="true"] span:nth-child(4){transform:translateX(-22.5px)}
.mm{position:fixed;inset:0;z-index:4;background:var(--mk-black);padding:96px 22px 60px;overflow:auto;opacity:0;pointer-events:none;visibility:hidden;transition:opacity .6s var(--ease),visibility 0s .6s}
.mm.open{opacity:1;pointer-events:auto;visibility:visible;transition:opacity .6s var(--ease)}
#mmInner{display:flex;flex-direction:column;align-items:flex-end;text-align:right}
.mm .c{display:flex;align-items:center;gap:12px;font-size:32px;font-weight:700;letter-spacing:-.02em;margin:26px 0 8px}
.mm .c .d{width:10px;height:10px;border-radius:50%}
.mm .s{font-size:17px;color:var(--quiet);margin:0 0 6px;transition:color .4s var(--ease)}
.mm .s:hover,.mm .c:hover{color:var(--mk-white)}
.mm .me{font-size:15px;color:var(--quiet);margin:0 0 8px}
@media (max-width:600px){ .menus{display:none} .burger{display:flex} .top{align-items:center} .bottom .links,.bottom::before{display:none} }
/* desktop: the page fades out before it reaches the header, so text never runs into the menus */
@media (min-width:761px){
  #page{padding-top:max(18vh,168px);-webkit-mask-image:linear-gradient(to bottom,transparent 0,transparent 104px,#000 156px);mask-image:linear-gradient(to bottom,transparent 0,transparent 104px,#000 156px)}
}
@media (max-width:760px){
  .top{padding:22px 20px;gap:16px}
  .name{font-size:14px}
  .menu{gap:18px;font-size:14px}
  #sub{flex-wrap:wrap;justify-content:flex-end;gap:14px;font-size:12px;max-width:62vw}
  .bottom{padding:44px 20px 16px}
  .bottom::before{left:20px;right:20px;top:30px}
  /* small screens: the text starts below the picture and, as you read, scrolls up over it on its own dark ground,
     one continuous movement. The text layer takes every touch, so a swipe anywhere scrolls it (iPhone Safari won't
     scroll a layer that ignores touches); a tap on its empty top is handed on to the dot beneath (see pageEl). */
  #page{left:0;top:64px;padding:0 0 80px;background:none;pointer-events:none;-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 22px);mask-image:linear-gradient(to bottom,transparent 0,#000 22px)}
  #page.open{pointer-events:auto}
  #page:not(.open){display:none}   /* nothing over the dots when no page is open: even an invisible layer left them soft on an iPhone (Eirik, 17.11) */
  #page,#page.open{transition:none}   /* no fade-in here: on an iPhone the fading layer left the dots under it soft for good (tested with Eirik, 15.11) */
  #page .inner{max-width:none;margin-top:calc(var(--fold, 46vh) - 64px);padding:44px 20px 0;min-height:calc(100% - var(--fold, 46vh) + 64px);background:linear-gradient(180deg,rgba(12,12,12,0),rgba(12,12,12,.94) 30px,#0C0C0C 52px)}   /* takes touches with #page: only when a page is open, never over the home page's dots */
  #page .inner>*{max-width:34rem}
  .inner h2{font-size:34px;margin-bottom:18px}
  #list{padding:90px 20px 70px}
  #list .cols{grid-template-columns:1fr}
}
.inner h2:focus,.inner h2:focus-visible,#home:focus{outline:none}   /* a page's heading takes focus for screen readers; no box, it is not a control */
#home:focus-visible{outline:1px solid var(--rule-strong);outline-offset:6px}
@media (prefers-reduced-motion: reduce){ .inner>*,#sub a,#page{transition:none} }
