/* Experiments, shared by every page of the section (x/): the portfolio's three typefaces, the six colours, the
   header and the way back. Each page has its own styles next to it; the loading transition is x/lt.css. */
@font-face{font-family:Space;src:url('SpaceGrotesk.woff2') format('woff2');font-weight:300 700;font-display:swap}
@font-face{font-family:'Space Mono';src:url('SpaceMono-Latin.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
:root{
  /* The page's whole palette: the ground and one raised surface, two inks, one line, one accent.
     What stands on the accent is set in --paper. */
  --paper:#030303;--panel:#181a17;--ink:#f2efe5;--muted:#b0b3a6;--line:#4a4d43;--accent:#f86c39;
  --sans:Space,sans-serif;--mono:'Space Mono',monospace;--serif:Georgia,serif;
  --gut:48px;color-scheme:dark}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;background:var(--paper)}
body{display:flex;flex-direction:column;min-height:100vh;min-height:100svh;margin:0;background:var(--paper);color:var(--ink);font:15px/1.5 var(--sans);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
h1,h2,p,ul,ol,dl,dd,figure{margin:0;padding:0}
a{color:inherit;text-decoration:none}
button,input{font:inherit;color:inherit}
img,svg{display:block}
::selection{background:var(--accent);color:var(--paper)}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
[hidden]{display:none!important}
.w-skip{position:absolute;left:8px;top:-60px;z-index:9;padding:10px 14px;background:var(--ink);color:var(--paper);font-size:13px}
.w-skip:focus{top:8px}

/* The header of every page: the portfolio's mark with the section's name on the left (a link to the way in on a
   case, the page's own heading on the way in), the way back to the portfolio on the right. --wide is the page's. */
.x-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;height:56px;padding:0 var(--wide,var(--gut))}
.x-sign{display:flex;align-items:center;gap:10px;min-width:0;min-height:44px;font-size:17px;line-height:1;font-weight:600;letter-spacing:-.045em}
.x-sign img{flex:none;width:30px;height:30px;border-radius:24%;box-shadow:0 0 0 1px var(--line)}
.x-sign h1{font:inherit;letter-spacing:inherit}
/* The same two ways in the footer of a case. */
.x-ways{display:flex;flex-wrap:wrap;align-items:center;gap:0 28px}

/* The way back carries the author's name the way the portfolio sets it. */
.w-back{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:14px;font-weight:500;letter-spacing:-.02em;white-space:nowrap}
.w-back .w-arr{color:var(--accent);font-size:17px;line-height:1;transition:transform .25s cubic-bezier(.22,1,.36,1)}
.w-back i{font:italic 1.1em/1 var(--serif);letter-spacing:-.01em}
.w-back:hover .w-arr{transform:translate(-3px,-3px)}

.w-eyebrow{display:flex;align-items:center;gap:10px;font:10px/1.5 var(--mono);letter-spacing:.07em;text-transform:uppercase}
.w-eyebrow::before{content:'';flex:none;width:26px;height:3px;background:var(--accent)}

/* The button of the live blocks: version keys, picture keys, step numbers. */
.xp-btn{appearance:none;-webkit-appearance:none;display:inline-flex;align-items:center;justify-content:center;border-radius:0;background:none;font:12px/1.2 var(--mono);cursor:pointer;touch-action:manipulation}

@media(max-width:900px){
  :root{--gut:16px}
  .w-back{font-size:13px;gap:6px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important}}
