/* The Integrator Hub sign-in page, built on the Sharper AI one-screen site (brand-and-marketing: site/lobby.html, lobby.css).
   Copied from there on 20 November 2026 with paths moved under /lobby/ and the buttons renamed .lb-btn. Original notes follow.

   Sharper AI: the one-screen site (lobby.html).
   The lobby slide from the decks as a page, in the professional set's look: lighter cream, ink type,
   Inknut Antiqua for the name and the robots' speech, Manrope for the buttons, colour only as an accent.

   The stage scales as one piece, like a slide: every size below is in em, and the stage's own font size
   is the unit. A slide is always 16:9, so there 1em is 1% of its width; a screen can be any shape, so
   here the unit comes from the screen's diagonal, with a floor that keeps a phone readable and a cap
   that keeps everything on a short screen. lobby.js measures the stage in the same em. */

@font-face { font-family: "Inknut Antiqua"; font-weight: 700; font-display: swap; src: url(/lobby/fonts/inknut-antiqua-700.woff2) format("woff2"); }

.lobby {
  --ground: #fcf7eb;                 /* the professional set's cream, as the site went live */
  --ink: #211d17; --soft: #5c5242;
  --yellow: #f5a828; --teal-ink: #2e6451;
  --shadow: rgba(46, 30, 10, .42);
  --paper: #f9e9d0;                  /* the house paper (flash.css), which the robots are cut from */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.45  0 0 0 0 0.38  0 0 0 0 0.26  0.42 0 0 0 -0.185'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url%28%23n%29'/%3E%3C/svg%3E");   /* paper grain, as in flash.css */
  /* hand-cut rectangles for that edge: a few scissor snips along every side, none quite straight or square */
  --cut-a: polygon(0.045em 0.021em, 14.1% 0.008em, 38.7% 0.071em, 53.0% 0.005em, 62.7% 0.061em, calc(100% - 0.01em) 0.013em, calc(100% - 0.017em) 43.7%, calc(100% - 0.031em) 77.5%, calc(100% - 0.088em) calc(100% - 0.133em), 90.0% calc(100% - 0.12em), 56.5% calc(100% - 0.041em), 41.3% calc(100% - 0.02em), 11.9% calc(100% - 0.016em), 0.043em calc(100% - 0.114em), 0.089em 56.9%, 0.052em 23.2%);
  --cut-b: polygon(0.129em 0.133em, 15.0% 0.074em, 43.6% 0.018em, 57.7% 0.027em, 83.0% 0.062em, calc(100% - 0.031em) 0.064em, calc(100% - 0.099em) 10.1%, calc(100% - 0.059em) 15.2%, calc(100% - 0.072em) calc(100% - 0.103em), 73.8% calc(100% - 0.092em), 57.5% calc(100% - 0.087em), 38.2% calc(100% - 0.136em), 12.8% calc(100% - 0.051em), 0.106em calc(100% - 0.052em), 0.044em 63.5%, 0.012em 56.1%);
  --cut-c: polygon(0.053em 0.032em, 21.9% 0.077em, 56.5% 0.054em, 66.0% 0.102em, 84.8% 0.081em, calc(100% - 0.109em) 0.093em, calc(100% - 0.022em) 44.9%, calc(100% - 0.021em) 78.5%, calc(100% - 0.101em) calc(100% - 0.023em), 73.9% calc(100% - 0.005em), 63.0% calc(100% - 0.121em), 60.1% calc(100% - 0.118em), 13.0% calc(100% - 0.03em), 0.102em calc(100% - 0.103em), 0.017em 64.3%, 0.128em 18.5%);
  --display: "Inknut Antiqua", Georgia, serif;
  --text: var(--font-text), "Manrope", system-ui, sans-serif;
  --robot: 10.5em;                   /* a robot's height; lobby.js has the same number (H) */
}


/* ---------- the pointer ----------
   An ink dart everywhere, and the flash hand where something can be done: it points on a button, opens over
   a robot and shuts on one being carried. The drawings are the SVGs in cursors/ (32 x 32, made with
   cursor-lab.js); the PNGs beside them are the same drawings at 1x and 2x, because not every browser takes
   an SVG as a pointer. Each rule gives the plain 1x image first, then the sharp pair for browsers that can
   choose, and ends with the system pointer in case the image does not load. The two numbers are the point
   that does the clicking. */
.lobby { cursor: url(/lobby/cursors/dart.png) 4 3, auto; cursor: -webkit-image-set(url(/lobby/cursors/dart.png) 1x, url(/lobby/cursors/dart@2x.png) 2x) 4 3, auto; cursor: image-set(url(/lobby/cursors/dart.png) 1x, url(/lobby/cursors/dart@2x.png) 2x) 4 3, auto; }
.lb-btn { cursor: url(/lobby/cursors/hand-point.png) 12 3, pointer; cursor: -webkit-image-set(url(/lobby/cursors/hand-point.png) 1x, url(/lobby/cursors/hand-point@2x.png) 2x) 12 3, pointer; cursor: image-set(url(/lobby/cursors/hand-point.png) 1x, url(/lobby/cursors/hand-point@2x.png) 2x) 12 3, pointer; }
.bot, .reach { cursor: url(/lobby/cursors/hand-open.png) 17 13, grab; cursor: -webkit-image-set(url(/lobby/cursors/hand-open.png) 1x, url(/lobby/cursors/hand-open@2x.png) 2x) 17 13, grab; cursor: image-set(url(/lobby/cursors/hand-open.png) 1x, url(/lobby/cursors/hand-open@2x.png) 2x) 17 13, grab; }
.bot.held, .reach.held { cursor: url(/lobby/cursors/hand-shut.png) 17 13, grabbing; cursor: -webkit-image-set(url(/lobby/cursors/hand-shut.png) 1x, url(/lobby/cursors/hand-shut@2x.png) 2x) 17 13, grabbing; cursor: image-set(url(/lobby/cursors/hand-shut.png) 1x, url(/lobby/cursors/hand-shut@2x.png) 2x) 17 13, grabbing; }

.lobby { position: relative; background: var(--ground); color: var(--ink); font-family: var(--text); height: 100vh; height: 100svh; overflow: hidden;
  font-size: clamp(10px, 1vw, 22px);                                                   /* browsers without hypot() */
  font-size: min(clamp(10px, hypot(100vw, 100svh) / 121, 22px), 100svh / 48); }

/* ---------- the lockup and the buttons ---------- */
/* Centred in the space above the floor. It lets clicks through to the robots; only the buttons take them.
   The box itself has no layer of its own: the mark, each word and the buttons each sit at 3000, in front of
   the robots on the floor, so that one of them can be lifted on its own in front of a robot in a visitor's hand. */
.centre { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center;
  padding: 4em 16px 23em; text-align: center; pointer-events: none; }
.rose { display: block; width: 8.4em; height: 8.4em; }
.name { margin: .1em 0 0; font-family: var(--display); font-weight: 700; font-size: min(7.6em, 14.5vw); line-height: 1.16; letter-spacing: -.008em; white-space: nowrap; }
/* the name is cut into letters by lobby.js, so the robots can take them one at a time */
.name .w { display: inline-block; white-space: nowrap; }
.rose, .name .w, .btns { position: relative; z-index: 3000; }
.name .l { display: inline-block; position: relative; }
.name .l.held { z-index: 5; }                          /* a letter being carried: over the rest of its word */
.name .w:has(.held), .rose.held { z-index: 6500; }     /* and over the robot carrying it, even one in a visitor's hand (6000) */

/* the buttons as they went live: a crisp ink box with a hard shadow (the paper card and wobbly line tried on 18 Nov
   rendered soft, so they are gone) */
.btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5em; margin: 2.4em 0 0; padding: 0; }
.lb-btn { pointer-events: auto; display: inline-block; padding: .85em 1.5em .9em; border: .12em solid var(--ink); background: var(--ground); color: var(--ink);
  font-family: var(--text); font-weight: 700; font-size: max(1.7em, 16px); line-height: 1.1; text-align: center; text-decoration: none;
  box-shadow: .2em .2em 0 var(--ink); transition: translate .1s steps(2), box-shadow .1s steps(2); }
.lb-btn.fill { background: var(--yellow); }
.lb-btn:hover { translate: -.12em -.12em; box-shadow: .32em .32em 0 var(--ink); }
.lb-btn:active { translate: .12em .12em; box-shadow: .08em .08em 0 var(--ink); }
.lb-btn:focus-visible { outline: 3px solid var(--teal-ink); outline-offset: 3px; }
@media (max-width: 560px) { .btns { flex-direction: column; align-items: stretch; gap: 1.3em; } }

/* ---------- the robots ---------- */
/* They work behind the type: what they pick up, push or tip is always in front of them.
   Each stands on the point it is given (left, top), and the ones lower down the floor are in front:
   lobby.js gives each a z-index from how far down it is, always under the lockup's 3000. */
.floor { position: absolute; inset: 0; pointer-events: none; }
.bot { position: absolute; translate: -50% -100%; pointer-events: auto; touch-action: none; filter: drop-shadow(.4em .55em .45em var(--shadow));
  -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; }
.bot img { display: block; height: var(--robot); width: auto; -webkit-user-select: none; user-select: none; -webkit-user-drag: none; }
.bot.left img { scale: -1 1; }                        /* drawn facing right; walking left it turns round */
.bot:not(.walking) img { animation: boil 1.2s steps(1) infinite; }   /* standing still, the sticker is re-seated a hair now and then */
@keyframes boil { 0%, 100% { translate: 0 0; rotate: 0deg; } 33% { translate: .05em -.05em; rotate: .6deg; } 66% { translate: -.05em 0; rotate: -.5deg; } }
.paused .bot img { animation: none; }
/* picked up by a visitor: in front of everything, tipped, its shadow further off; put down, it lands with a bounce.
   (These use transform, which leaves the turn-round above and the boil alone.) */
.bot.held { z-index: 6000 !important; filter: drop-shadow(.9em 1.5em .9em rgba(46, 30, 10, .3)); }
.bot.held img { animation: none; transform: rotate(-7deg) scale(1.06); transform-origin: 50% 12%; }
.bot.landed img { animation: land .33s steps(1); transform-origin: 50% 100%; }
@keyframes land { 0% { transform: translateY(.15em) scale(1.1, .88); } 34% { transform: translateY(-.45em) scale(.95, 1.06); } 67% { transform: scale(1.03, .97); } 100% { transform: none; } }

/* A robot stuck under a button: lobby.js lays this see-through box over the robot, in front of the buttons,
   so the robot can be taken hold of through the button it is under. */
.reach { position: absolute; translate: -50% -100%; z-index: 3500; touch-action: none; -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; }

/* a robot's bubble, over its head. They float above everything, so a robot behind the name can still be heard.
   lobby.js keeps each one on the screen and sets --tail, which keeps the pointer on the robot when the bubble has
   had to move off-centre. (lobby.js still adds a .cut span to each bubble; it is no longer drawn.) */
.speech { position: absolute; left: 0; top: 0; z-index: 7000; translate: -50% -100%; width: max-content; max-width: min(18.5em, calc(100vw - 40px)); pointer-events: none;
  font-family: var(--display); font-weight: 700; font-size: 1.5em; line-height: 1.28; letter-spacing: -.008em; color: var(--ink); text-align: center; white-space: pre-line; text-wrap: balance;
  filter: drop-shadow(.12em .18em .14em var(--shadow));
  opacity: 0; scale: .6; transform-origin: calc(50% + var(--tail, 0px)) 100%; transition: scale .15s steps(3), opacity .01s; }
.speech.on { opacity: 1; scale: 1; }
.speech.big { z-index: 7001; }                          /* one of the long lines: never under a passing remark */
/* The bubble is the octopus's (flash.css .bubble): one piece of paper with its grain, cut by hand into a box with
   a pointer, no ink line. The pointer follows the robot (--tail); said from under a button it points up; a thought is
   the same paper cut round, with two little bubbles trailing down. Each robot's paper sits at its own small tilt. */
.speech .cut { display: none; }
.speech .box { position: relative; display: block; padding: .48em .85em 1.32em; background: var(--paper) var(--grain);
  clip-path: polygon(.32em .34em, 47% 0, calc(100% - .28em) .3em, 100% 40%, calc(100% - .3em) calc(100% - 1.02em),
    calc(50% + var(--tail, 0px) + .62em) calc(100% - .94em), calc(50% + var(--tail, 0px) + .16em) 100%,
    calc(50% + var(--tail, 0px) - .3em) calc(100% - .97em), .34em calc(100% - .9em), 0 44%); }
.speech:has(.cut.a) .box { rotate: 2deg; }
.speech:has(.cut.b) .box { rotate: -2.2deg; }
.speech:not(:has(.cut.a, .cut.b)) .box { rotate: 1.2deg; }
.speech.under { translate: -50% 0; transform-origin: calc(50% + var(--tail, 0px)) 0; }
.speech.under .box { padding: 1.32em .85em .48em;
  clip-path: polygon(.34em .9em, calc(50% + var(--tail, 0px) - .3em) .97em, calc(50% + var(--tail, 0px) + .16em) 0,
    calc(50% + var(--tail, 0px) + .62em) .94em, calc(100% - .3em) 1.02em, 100% 60%, calc(100% - .28em) calc(100% - .3em),
    47% 100%, .32em calc(100% - .34em), 0 56%); }
.speech.think .box { padding: .5em .95em .55em; margin-bottom: 1.25em; border-radius: 1.3em 1.5em 1.2em 1.45em; clip-path: none; }
.speech.think .box::before, .speech.think .box::after { content: ""; position: absolute; border-radius: 50%; background: var(--paper) var(--grain);
  left: calc(50% + var(--tail, 0px)); translate: -50% 0; }
.speech.think .box::before { width: .74em; height: .64em; top: calc(100% + .12em); margin-left: -.2em; }
.speech.think .box::after { width: .44em; height: .4em; top: calc(100% + .86em); margin-left: .06em; }

@media (prefers-reduced-motion: reduce) { .lb-btn { transition: none; } .bot.landed img { animation: none; } }

/* ---------- Integrator Hub ---------- */
/* "Integrator Hub" is longer than "Sharper AI", so the name is set a size smaller to stay on one line. */
.lobby .name { font-size: min(6.4em, 10.4vw); }
.lobby .tag { margin: 1.6em 0 0; font-family: var(--text); font-weight: 600; font-size: max(1.15em, 13px); color: var(--soft); }
.lobby .err { margin: 1em 0 0; font-family: var(--text); font-weight: 600; font-size: max(1.1em, 13px); color: #b3341f; pointer-events: auto; }
.lb-btn:disabled { opacity: .6; translate: none; }
