/* Front page: the desk. Left, the call sheet and the strip board; right, the scope. */
body.landing { overflow-x: hidden; background:
  radial-gradient(1200px 700px at 72% 40%, #0f1d1d 0%, transparent 60%),
  linear-gradient(#0A0E10, #080B0D); min-height: 100vh; }
.desk { display: grid; grid-template-columns: minmax(340px, 440px) 1fr; grid-template-rows: auto 1fr; grid-template-areas: "side radar" "board radar";
  column-gap: clamp(16px, 3vw, 48px); min-height: 100vh; padding: 0 var(--gutter); }
.side { grid-area: side; display: flex; flex-direction: column; gap: 22px; padding: clamp(24px, 6vh, 64px) 0 22px; min-width: 0; }
.board { grid-area: board; padding-bottom: 28px; }
.radar { grid-area: radar; }

.call { margin: 0 0 6px; color: var(--phos); font-size: 11px; letter-spacing: .26em; }
.word { margin: 0; font: 700 clamp(56px, 7.4vw, 104px)/.9 var(--mono); letter-spacing: .06em; color: var(--ink); text-shadow: 0 0 40px #7ff0c622; }
.what { margin: 16px 0 0; font-size: 16px; line-height: 1.55; color: #c4d2cd; max-width: 40ch; }
.status { margin: 12px 0 0; padding: 8px 10px; border-left: 3px solid var(--hold); background: #f0a63a10; color: #f3d3a0; font: 400 12.5px/1.5 var(--mono); }
.status.live { border-color: var(--clear); background: #3fc07f12; color: #bfeed3; }
.ways { display: flex; flex-wrap: wrap; gap: 10px; }

.token { display: grid; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 4px; background: #0d1416; }
.tk { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--dim); }
.tk b { color: var(--ink); font-weight: 700; }
.tk-links { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tk-links .key { min-height: 34px; padding: 0 12px; font-size: 11px; }

.board { display: flex; flex-direction: column; gap: 8px; min-height: 0; flex: 1; }
.board-head { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 6px; border-bottom: 1px solid var(--line); color: var(--dim); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.board-head span:last-child { letter-spacing: .04em; text-transform: none; }
.strips { display: grid; gap: 6px; align-content: start; perspective: 600px; }
.strips .strip:nth-child(n+5) { opacity: .8; } .strips .strip:nth-child(n+7) { opacity: .55; }

/* ---------------------------------------------------------------- the scope */
.radar { position: sticky; top: 0; height: 100vh; min-height: 560px; display: grid; grid-template-rows: 1fr auto auto; padding: 56px 0 18px; }
#scope { width: 100%; height: 100%; min-height: 0; cursor: crosshair; touch-action: pan-y; }
.readout { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 22px; margin-top: 4px; color: var(--dim); font-size: 12px; letter-spacing: .06em; }
.readout span:first-child { color: var(--phos); }
.note { margin: 6px 0 0; text-align: center; color: var(--faint); font: 400 11.5px var(--mono); }

/* the handover card: the watch's report, printed on strip paper when the sweep comes round */
.handover { position: absolute; left: 50%; top: 46%; width: min(380px, 86%); transform: translate(-50%, -46%) rotate(-1.2deg) scale(.96); opacity: 0; pointer-events: none;
  padding: 18px 20px 14px 26px; background: linear-gradient(var(--strip), var(--strip-2)); color: var(--strip-ink); border-radius: 3px; box-shadow: 0 30px 60px -20px #000, 0 1px 0 #0006;
  transition: opacity .5s, transform .6s cubic-bezier(.2,.8,.2,1); }
.handover::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 8px; background: var(--off-up); border-radius: 3px 0 0 3px; }
.handover.dn::before { background: var(--off-dn); }
.handover.on { opacity: 1; transform: translate(-50%, -46%) rotate(-1.2deg) scale(1); }
.handover p { margin: 0; }
.h-head { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--strip-dim); }
.h-big { margin: 6px 0 2px !important; font: 700 52px/1 var(--mono); letter-spacing: -.01em; }
.h-line { font-size: 13px; line-height: 1.5; }
.h-foot { margin-top: 10px !important; padding-top: 8px; border-top: 1px dashed #0000002e; font: 400 11px var(--mono); color: var(--strip-dim); }

.nojs { padding: 16px var(--gutter); color: var(--dim); }

@media (max-width: 960px) {
  .menu-btn { position: absolute; }
  .desk { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; grid-template-areas: "side" "radar" "board"; }
  .side { padding-top: 64px; padding-bottom: 4px; }
  .radar { position: relative; height: auto; min-height: 0; padding: 6px 0 16px; grid-template-rows: auto auto auto; }
  #scope { aspect-ratio: 1 / 1; height: auto; }
  .word { font-size: clamp(54px, 18vw, 88px); }
  .handover { top: 40%; transform: translate(-50%, -40%) rotate(-1.2deg) scale(.96); }
  .handover.on { transform: translate(-50%, -40%) rotate(-1.2deg) scale(1); }
  .h-big { font-size: 40px; }
}
@media (max-width: 420px) { .strip { grid-template-columns: 70px 1fr auto; } .strip .cs b { font-size: 11.5px; } .strip .stamp { min-width: 60px; } .strip > * { padding: 6px 7px; } .strip .cs { padding-left: 12px; } }
