/* Logo intro overlay (js/logo.js) and the static lockup sheet used on logo/*.html. */
.lg { position: fixed; inset: 0; z-index: 2147483000; display: grid; place-items: center; cursor: pointer; }
.lg__bg { position: absolute; inset: 0; background: var(--ground, #fbfaf9); }
.lg__stage { position: relative; width: min(600px, 80vw); aspect-ratio: 750.4 / 133; transform-origin: 0 0; visibility: hidden; }
.lg__stage img, .lg__stage svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; }
.lg text { font-family: var(--f-mono, ui-monospace, monospace); font-weight: 500; letter-spacing: .07em; }
.lg__skip { position: absolute; right: 12px; bottom: 12px; padding: 12px; background: none; border: 0; cursor: pointer;
  font: 500 11px/1 var(--f-mono, ui-monospace, monospace); letter-spacing: .07em; text-transform: uppercase; color: var(--muted, #57534d); }
.lg__skip:focus-visible { outline: 2px solid var(--ink, #0c0a09); outline-offset: 2px; }
.lg-travel .nav__wm img { opacity: 0; }
/* the page waits under the intro; js/logo.js removes the class. Failsafe: if the script dies, the page
   shows by itself after 4 s (every intro unhides it by about 2.5 s) */
html.lg-on body { visibility: hidden; animation: lg-unhide 0s 4s forwards; }
@keyframes lg-unhide { to { visibility: visible; } }

/* Demo pages */
.lgd { padding-top: 72px; padding-bottom: 120px; }
.lgd__head { display: grid; gap: 16px; max-width: 720px; margin-bottom: 56px; }
.lgd__head .btn { justify-self: start; margin-top: 8px; }
.lk { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.lk__cell { display: grid; gap: 12px; align-content: start; }
.lk__tile { display: grid; place-items: center; min-height: 168px; padding: 24px; background: var(--paper, #fff); box-shadow: 0 0 0 1px var(--hair, rgba(12,10,9,.1)); border-radius: 8px; }
.lk__tile--dark { background: #23262a; box-shadow: none; }
.lk__cell figcaption { font-size: 14px; color: var(--muted, #57534d); }
.lk__cs { position: relative; padding: 18px; outline: 1px dashed var(--sheet, #928b85); }
.lk__cs img { display: block; }
.lgx { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lgx figure { display: grid; gap: 12px; margin: 0; }
.lgx iframe { width: 100%; height: 420px; border: 0; border-radius: 8px; box-shadow: 0 0 0 1px var(--hair, rgba(12,10,9,.1)); background: var(--ground, #fbfaf9); }
.lgx figcaption { display: grid; gap: 4px; font-size: 14px; color: var(--muted, #57534d); }
.lgx figcaption b { color: var(--ink, #0c0a09); font-weight: 500; }
@media (max-width: 1023px) { .lk { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lgx { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .lk { grid-template-columns: 1fr; } .lgd { padding-top: 48px; padding-bottom: 96px; } }
