/* The canvas deck (index.html): all slides on one map, drawn like a Dethernety model. */
:root{--world:#1a202b}
html,body{height:100%}
/* depth: two dot grids far behind the map, moved slower than it by apply(). They are the body's background, not
   fixed layers: a composited layer under the map makes WebKit composite the whole map too (see index.html). */
body.canvas{background-color:var(--world);background-repeat:repeat;
  background-image:radial-gradient(circle,rgba(42,157,143,.12) 1.6px,transparent 3px),radial-gradient(circle,rgba(160,174,192,.16) 1.4px,transparent 1.8px);
  overflow:hidden;cursor:pointer;margin:0;-webkit-tap-highlight-color:transparent;user-select:none;
  /* a sideways swipe is the deck's; an up/down drag still scrolls the page around the frame; no double-tap zoom */
  touch-action:pan-y pinch-zoom}

#world{position:absolute;left:0;top:0;transform-origin:0 0}
#world .slide{position:absolute;box-shadow:0 0 0 2px rgba(160,174,192,.14),0 40px 120px rgba(0,0,0,.55);border-radius:6px;page-break-after:auto;break-after:auto}
/* the shade over the slides that are not the current one; dims() in index.html sets its opacity */
#world .slide>.dim{position:absolute;inset:0;background:#131820;opacity:.6;pointer-events:none;z-index:20}

/* zones: dashed boundaries with a label, on the GUI's dotted ground */
/* --inv = 1 / camera scale (set by apply()): lines and labels never get thinner or smaller than a set size on screen */
.zone{position:absolute;border:max(5px,calc(1.6px * var(--inv))) dashed;border-radius:48px;
  background-image:radial-gradient(circle,rgba(160,174,192,.2) 2px,transparent 2.6px);background-size:44px 44px}
.zone>span{position:absolute;left:56px;top:40px;font-family:var(--mono);font-weight:700;font-size:max(58px,calc(13px * var(--inv)));letter-spacing:.1em;text-transform:uppercase;white-space:nowrap}
.z-client{border-color:rgba(231,111,81,.6);background-color:rgba(231,111,81,.025)}
.z-client>span{color:#e76f51}
.z-dt{border-color:rgba(160,174,192,.55);background-color:rgba(160,174,192,.03);border-left:none;border-radius:0 48px 48px 0}
.z-dt>span{color:var(--muted);left:80px}
.stratum{position:absolute;transform:translateY(-100%);font-family:var(--mono);font-weight:700;font-size:max(40px,calc(9px * var(--inv)));letter-spacing:.1em;text-transform:uppercase;color:var(--muted);white-space:nowrap;line-height:1}
.stratum::before{content:"";display:inline-block;width:1.1em;height:.14em;background:var(--gold);vertical-align:middle;margin-right:.5em;border-radius:3px}
.byodt{position:absolute;width:0;border-left:max(7px,calc(2.2px * var(--inv))) dashed var(--gold)}
.byodt>span{position:absolute;left:0;top:0;transform:translate(-50%,-120%);font-family:var(--mono);font-weight:700;font-size:max(52px,calc(12px * var(--inv)));letter-spacing:.1em;text-transform:uppercase;color:var(--gold);white-space:nowrap}

/* a clip plays fixed over its still (clipPlay() sets the box, the radius and the border width) */
video.clipov{position:fixed;box-sizing:border-box;object-fit:fill;border-style:solid;border-color:rgba(160,174,192,.35);pointer-events:none;margin:0}

/* title and close: the whole map, with the text over a shade on the left */
#ov{position:fixed;inset:0;pointer-events:none;opacity:0;transition:opacity .6s ease}
#ov.on{opacity:1}
#ovbox{position:absolute;left:0;top:0;width:100%;height:100%}
.ovshade{position:absolute;inset:0;background:linear-gradient(90deg,var(--world) 0%,rgba(26,32,43,.92) 38%,rgba(26,32,43,.2) 52%,rgba(26,32,43,0) 60%)}
#ov .L-title{position:absolute;left:0;top:0;width:1920px;height:1080px;transform-origin:0 0;color:var(--text);font-family:var(--sans);font-weight:300;padding-top:200px}
#ov .L-title h1{font-size:62px}
#ov .L-title .lead{max-width:800px!important;font-size:32px}   /* the title slide sets 1180px inline, for the PDF */

/* the end: the site's next steps, as links over the map */
#ov .cta{display:flex;gap:24px;margin-top:56px}
#ov .cta a{pointer-events:auto;font-family:var(--mono);font-weight:700;font-size:26px;letter-spacing:.5px;text-decoration:none;color:var(--text);border:2px solid rgba(226,232,240,.3);border-radius:14px;padding:20px 36px}
#ov .cta a.go{background:var(--accent);border-color:var(--accent);color:#fff}
#ov .cta a:hover{border-color:var(--accent)}
#ov .cta a.go:hover{background:#238a7e}
