/*
Fonts, unmodified Latin subsets as distributed by Fontsource 5.3.0:
Outfit Light. Copyright 2021 The Outfit Project Authors (https://github.com/Outfitio/Outfit-Fonts).
IBM Plex Mono Regular. Copyright 2017 IBM Corp. with Reserved Font Name "Plex".
Both are licensed under the SIL Open Font License, Version 1.1:

-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
*/
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/outfit-300.ef88e74f63.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-400.08949f728d.woff2") format("woff2"); }
/* Layout: one endless dark plane. The live mark sits at the origin; everything else is placed in world space and found by dragging. */
:root {
  /* Places take their size from the screen: a card is as wide as the screen allows, up to its design
     width, and its headline scales with it. The mark leaves room for its captions on short screens. */
  --m: 56px; --cw: min(380px, calc(100vw - 2 * var(--m))); --cw-wide: min(880px, calc(100vw - 2 * var(--m)));
  /* A place is never taller than the screen minus a band for the edge labels and the home button;
     longer content scrolls inside it. */
  --ph: calc(100svh - 2 * max(var(--m), 64px));
  --mk: min(360px, calc(100vw - 2 * var(--m)), calc(100vh - 2 * var(--m) - 110px));
  --void: #060707; --ink: #e8e8e4; --dim: #8c908c; --faint: #ffffff14; --fossil: #e8e8e4;
  --sans: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  color-scheme: dark;
}
html, body { height: 100%; touch-action: none; overscroll-behavior: none; }
body { background: var(--void); color: var(--ink); font: 300 16px/1.55 var(--sans); overflow: hidden; margin: 0; }
* { box-sizing: border-box; }
a { color: inherit; }
.viewport { position: fixed; inset: 0; overflow: hidden; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.viewport.dragging { cursor: grabbing; }
.world { position: absolute; left: 50%; top: 50%; width: 0; height: 0; will-change: transform; }
.grain { position: fixed; inset: -50%; pointer-events: none; opacity: .09; z-index: 3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%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 .9 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E"); }
.vignette { position: fixed; inset: 0; pointer-events: none; z-index: 2; background: radial-gradient(ellipse at center, transparent 45%, #000000b0 100%); }

/* World objects */
.obj { position: absolute; transform: translate(-50%, -50%); }
.core { display: grid; justify-items: center; gap: 28px; }
.core svg.live { width: var(--mk); height: var(--mk); overflow: visible; color: var(--ink); display: block; }
.core svg.wm { width: max(150px, calc(var(--mk) * .53)); height: auto; color: var(--ink); display: block; }
.cap { white-space: nowrap; font: 400 11px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); font-variant-numeric: tabular-nums; }
.fossils { position: fixed; inset: 0; pointer-events: none; overflow: hidden; }
.fossil { position: absolute; left: 0; top: 0; color: var(--fossil); opacity: 0; transition: opacity 3s; will-change: transform; }
.fossil svg { display: block; overflow: visible; }
.fossil .cap { position: absolute; left: 100%; top: 0; white-space: nowrap; font-size: 9px; padding-left: 4px; }
.poi { width: var(--cw); max-height: var(--ph); overflow-y: auto; overscroll-behavior: contain; display: grid; align-content: start; gap: 12px; cursor: auto; user-select: text; -webkit-user-select: text;
  scrollbar-width: thin; scrollbar-color: #ffffff40 transparent; }
.poi.scrolls { padding-right: 18px; touch-action: pan-y; }
/* A scrolling place fades out at whichever end still has more to read. */
.poi.scrolls:not(.at-end) { -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 48px), transparent); }
.poi.scrolls.at-end:not(.at-start) { -webkit-mask-image: linear-gradient(to top, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(to top, #000 calc(100% - 48px), transparent); }
.poi.scrolls:not(.at-end):not(.at-start) { -webkit-mask-image: linear-gradient(to bottom, transparent, #000 48px, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(to bottom, transparent, #000 48px, #000 calc(100% - 48px), transparent); }
.poi h2 { margin: 0; font: 300 calc(var(--cw) * .116)/1.05 var(--sans); letter-spacing: -0.01em; overflow-wrap: anywhere; }
.poi.compact h2 { font-size: calc(var(--cw) * .092); }
.poi h2 a { text-decoration: none; border-bottom: 1px solid #ffffff40; }
.poi h2 a:hover { border-bottom-color: var(--ink); }
.poi p { margin: 0; color: #c5c7c3; }
.poi.muted h2, .poi.muted p, .poi.fine p { color: var(--dim); }
.poi.fine p { font-size: 15px; }
/* Longer writing inside a place. */
.poi h3, .poi h4 { margin: 12px 0 0; font: 300 22px/1.25 var(--sans); }
.poi h4 { font-size: 18px; }
.poi ul, .poi ol, .poi blockquote { margin: 0; color: #c5c7c3; }
.poi ul, .poi ol { padding-left: 1.2em; }
.poi blockquote { padding-left: 16px; border-left: 1px solid #ffffff30; }
.poi p a, .poi li a { text-decoration: none; border-bottom: 1px solid #ffffff40; }
.poi p a:hover, .poi li a:hover { border-bottom-color: var(--ink); }
.poi code { font: 400 .88em var(--mono); }
.poi pre { margin: 0; overflow-x: auto; color: #c5c7c3; }
.poi hr { width: 100%; border: 0; border-top: 1px solid #ffffff20; margin: 8px 0; }
.poi:focus-visible, .edge button:focus-visible, .home:focus-visible { outline: 1px solid var(--ink); outline-offset: 10px; }
.poi form { display: grid; gap: 16px; }
.poi label { display: grid; gap: 6px; font: 400 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.poi input, .poi textarea { font: 300 18px/1.4 var(--sans); color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid #ffffff40; padding: 8px 0; border-radius: 0; }
.poi input:focus, .poi textarea:focus { outline: none; border-bottom-color: var(--ink); }
.poi textarea { resize: none; min-height: 90px; }
.poi button.send { justify-self: start; font: 300 15px var(--sans); color: var(--ink); background: transparent; border: 1px solid #ffffff50; border-radius: 999px; padding: 10px 26px; cursor: pointer; min-height: 44px; }
.poi.small { width: min(300px, var(--cw)); }
.poi.wide { width: var(--cw-wide); }
/* Pictures and blocks. Pictures fill the place's width and keep their shape while they load. */
.poi img { display: block; max-width: 100%; height: auto; }
.poi p:has(> img:only-child), .poi p:has(> a.zoom:only-child) { margin: 4px 0; }
/* A picture opens large. Touch screens have no hover, so they get a small mark in its corner. */
.poi a.zoom { position: relative; display: block; cursor: zoom-in; }
.zoom-mark { display: none; position: absolute; right: 8px; bottom: 8px; width: 28px; height: 28px; border-radius: 50%; background: #000000a0; color: var(--ink); place-items: center; pointer-events: none; }
.zoom-mark svg { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; }
@media (hover: none) { .zoom-mark { display: grid; } }
html:not(.js) .poi a.zoom { cursor: pointer; }
/* The large view: one picture over the whole screen, which pinches, double-taps and drags to read detail. */
.viewer { position: fixed; inset: 0; z-index: 10; display: grid; grid-template-rows: 1fr auto; background: var(--void); touch-action: none; user-select: none; -webkit-user-select: none; overscroll-behavior: none; }
.viewer[hidden] { display: none; }
.viewer-stage { position: relative; overflow: hidden; display: grid; place-items: center; }
.viewer-stage img { display: block; max-width: none; transform-origin: center; transition: transform .25s ease-out; cursor: zoom-in; -webkit-user-drag: none; }
.viewer.zoomed .viewer-stage img { cursor: grab; }
.viewer.moving .viewer-stage img { transition: none; }
.viewer-cap { margin: 0; padding: 0 20px calc(18px + env(safe-area-inset-bottom, 0px)); text-align: center; font-size: 14px; line-height: 1.45; color: var(--dim); }
.viewer-cap:empty { display: none; }
.viewer-close { position: absolute; top: calc(14px + env(safe-area-inset-top, 0px)); right: max(14px, env(safe-area-inset-right, 0px)); width: 44px; height: 44px; border: 0; border-radius: 50%; background: #000000a0; color: var(--ink); font: 300 26px/1 var(--sans); cursor: pointer; }
.b-hero { display: grid; gap: 14px; margin-bottom: 12px; }
.poi .b-hero h2 { font-size: clamp(36px, calc(var(--cw-wide) * .085), 76px); line-height: 1; }
.b-hero p { font-size: clamp(17px, calc(var(--cw-wide) * .024), 21px); color: var(--ink); }
.b-hero p:has(> img:only-child) { margin-top: 10px; }
.b-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 28px 32px; margin: 12px 0; }
.tile { display: grid; align-content: start; gap: 6px; padding-top: 14px; border-top: 1px solid #ffffff24; }
.poi .tile h4 { margin: 0; font-size: 19px; }
.tile p { font-size: 15px; }
.b-figure { margin: 12px 0; display: grid; gap: 10px; }
.b-figure figcaption { display: grid; gap: 8px; }
.b-figure figcaption p { font-size: 14px; color: var(--dim); }
.b-figure.side { align-items: center; }
@media (min-width: 760px) { .b-figure.side { grid-template-columns: 3fr 2fr; gap: 28px; } }
/* :::children: a shelf of app cards, one per child place. */
.poi .b-cards { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.b-cards .card { display: grid; grid-template-columns: 56px 1fr auto; grid-template-areas: "icon name cap" "icon line line"; column-gap: 16px; row-gap: 4px; align-items: center;
  padding: 14px; border: 1px solid #ffffff14; border-radius: 18px; text-decoration: none; transition: border-color .2s, background-color .2s; }
.b-cards .card:hover, .b-cards .card:focus-visible { border-color: #ffffff38; background: #ffffff06; outline: none; }
.b-cards .icon { grid-area: icon; align-self: start; width: 56px; height: 56px; border-radius: 14px; background: #ffffff0d; display: grid; place-items: center; }
.b-cards .icon img { width: 30px; height: 30px; }
.b-cards .icon .blank { width: 100%; height: 100%; border-radius: inherit; border: 1px dashed #ffffff30; }
.b-cards .name { grid-area: name; font-size: 19px; line-height: 1.2; }
.b-cards .cap { grid-area: cap; font-size: 9px; }
.b-cards .line { grid-area: line; font-size: 14px; line-height: 1.45; color: var(--dim); }

/* Screen-space chrome */
.home { position: fixed; z-index: 4; top: calc(20px + env(safe-area-inset-top, 0px)); left: max(20px, env(safe-area-inset-left, 0px)); display: inline-flex; align-items: center; gap: 12px; color: var(--ink); background: none; border: 0; padding: 6px; cursor: pointer; }
.home svg { display: block; }
.edges { position: fixed; inset: 0; pointer-events: none; z-index: 4; }
.edge { position: absolute; left: 0; top: 0; pointer-events: auto; transition: opacity .3s; }
.edge button { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; color: #a9ada9; font: 400 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; padding: 10px; white-space: nowrap; }
.edge button:hover { color: var(--ink); }
.edge button { min-height: 36px; }
.edge i { display: inline-block; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; font-style: normal; }
.hint { position: fixed; z-index: 4; left: 50%; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); transition: opacity 1.2s; pointer-events: none; opacity: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 600px) {
  .core .cap { font-size: 9px; }
  :root { --m: 20px; --mk: min(240px, calc(100vw - 2 * var(--m)), calc(100vh - 2 * var(--m) - 110px)); }
}
@media (max-height: 500px) { :root { --m: 20px; } }
@media (prefers-reduced-motion: reduce) { .fossil, .viewer-stage img { transition: none; } }

/* Without JavaScript the plane cannot move, so the places simply stack as a readable page. */
html:not(.js), html:not(.js) body { height: auto; overflow: auto; touch-action: auto; }
html:not(.js) .viewport { position: static; overflow: visible; cursor: auto; touch-action: auto; user-select: text; -webkit-user-select: text; }
html:not(.js) .world { transform: none !important; position: static; width: auto; height: auto; display: grid; justify-items: center; gap: 96px; padding: 96px 20px; }
html:not(.js) .obj { position: static; transform: none; }
html:not(.js) .poi { max-width: 100%; max-height: none; overflow: visible; }
html:not(.js) .home, html:not(.js) .hint, html:not(.js) .edges, html:not(.js) .fossils, html:not(.js) .vignette { display: none; }
