/* Bare Forseth, version 10. One screen and nothing under it: his name, his picture cut like a stamp,
   what he does in one sentence, why in two lines, and a black island with the places to find him and Kontakt.
   Sizes follow the four pictures he gave on 16 Nov (a name over a figure over one big sentence; a dock of icons). */

@font-face { font-family: "Google Sans Flex"; src: url(fonts/google-sans-flex.woff2) format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
/* The handwriting on the hover notes (OFL, from Google Fonts, latin set). */
@font-face { font-family: "Nothing You Could Do"; src: url(fonts/nothing-you-could-do.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --paper: #edece8; --lift: #f7f6f3; --ink: #000; --grey: #6d6a64;
  /* One unit is one pixel on a 1440 x 900 screen. Everything is sized in it, so the page is the same
     picture on a laptop and on a 5K monitor. */
  --u: min(calc(100vw / 1440), calc(100svh / 900));
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink);
  background: radial-gradient(62% 56% at 50% 40%, var(--lift) 0%, var(--paper) 100%) var(--paper);
  font-family: "Google Sans Flex", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
p, h1, figure { margin: 0; }
img, svg { display: block; }

.page {
  min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; justify-items: center; overflow-x: clip;
  padding: calc(var(--u) * 38) calc(var(--u) * 40) calc(var(--u) * 36);
}

.name { font-size: max(13px, calc(var(--u) * 18)); line-height: 1.2; font-weight: 500; letter-spacing: -.03em; }

/* Sits a little above the middle, so the Kontakt notification has room over the island. */
.mid { display: grid; justify-items: center; align-content: center; padding: calc(var(--u) * 12) 0 calc(var(--u) * 46); }

/* The picture in his Stamp Frame (the Pocket CD style, 3 Nov): warm paper with a row of holes along every edge,
   the photo set in with a paper rim, straight and in colour. --p is the distance between two holes; the stamp is
   12 holes wide and 15 high so the corners land on a hole; the rim is one hole-step (his build: 52 px holes apart,
   52 px of paper round the picture). The shadow sits on the figure so it follows the holes. */
.stamp {
  --p: calc(var(--u) * 17); --r: calc(var(--p) * .31);
  width: calc(var(--p) * 12); height: calc(var(--p) * 15);
  filter: drop-shadow(0 calc(var(--u) * 1) calc(var(--u) * 1.2) rgba(40, 32, 20, .16)) drop-shadow(0 calc(var(--u) * 12) calc(var(--u) * 18) rgba(40, 32, 20, .13));
}
.stamp__paper {
  display: block; width: 100%; height: 100%; padding: var(--p); background: #f5efe3;
  -webkit-mask:
    linear-gradient(#000 0 0) center / calc(100% - var(--p)) calc(100% - var(--p)) no-repeat,
    radial-gradient(circle at center, transparent var(--r), #000 calc(var(--r) + .6px)) calc(var(--p) / -2) calc(var(--p) / -2) / var(--p) var(--p);
  mask:
    linear-gradient(#000 0 0) center / calc(100% - var(--p)) calc(100% - var(--p)) no-repeat,
    radial-gradient(circle at center, transparent var(--r), #000 calc(var(--r) + .6px)) calc(var(--p) / -2) calc(var(--p) / -2) / var(--p) var(--p);
}
.stamp img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; box-shadow: 0 0 0 1px rgba(40, 32, 20, .1); }

.say {
  margin-top: calc(var(--u) * 36); text-align: center;
  font-size: calc(var(--u) * 64); line-height: 1.02; font-weight: 400; letter-spacing: -.052em;
}
.say span { display: block; white-space: nowrap; }

.why {
  margin-top: calc(var(--u) * 28); text-align: center; color: var(--grey);
  font-size: max(14px, calc(var(--u) * 19)); line-height: 1.5; letter-spacing: -.012em;
}
.why b { display: block; font-weight: 400; color: var(--ink); }

/* The island: a black bar in the look of an iPhone notification (Apple's own kit: fill 16,16,16, a thin light rim,
   corner 24 on a bar 63 high, icon 38, text 15 / 17 semibold over 15 / 18). The app icons are cut to Apple's
   icon outline (--sq) with a light edge (--rim). */
:root {
  --ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Google Sans Flex", "Helvetica Neue", Arial, sans-serif;
  --spring: cubic-bezier(.3, 1.45, .45, 1);
  --sq: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M100 50L99.9 68.8L99.7 74.8L99.3 79.1L98.8 82.6L98.1 85.4L97.2 87.9L96.2 90L94.9 91.9L93.5 93.5L91.9 94.9L90 96.2L87.9 97.2L85.4 98.1L82.6 98.8L79.1 99.3L74.8 99.7L68.8 99.9L50 100L31.2 99.9L25.2 99.7L20.9 99.3L17.4 98.8L14.6 98.1L12.1 97.2L10 96.2L8.1 94.9L6.5 93.5L5.1 91.9L3.8 90L2.8 87.9L1.9 85.4L1.2 82.6L0.7 79.1L0.3 74.8L0.1 68.8L0 50L0.1 31.2L0.3 25.2L0.7 20.9L1.2 17.4L1.9 14.6L2.8 12.1L3.8 10L5.1 8.1L6.5 6.5L8.1 5.1L10 3.8L12.1 2.8L14.6 1.9L17.4 1.2L20.9 0.7L25.2 0.3L31.2 0.1L50 0L68.8 0.1L74.8 0.3L79.1 0.7L82.6 1.2L85.4 1.9L87.9 2.8L90 3.8L91.9 5.1L93.5 6.5L94.9 8.1L96.2 10L97.2 12.1L98.1 14.6L98.8 17.4L99.3 20.9L99.7 25.2L99.9 31.2Z'/%3E%3C/svg%3E");
  --rim: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23fff' stop-opacity='.6'/%3E%3Cstop offset='.45' stop-color='%23fff' stop-opacity='.06'/%3E%3Cstop offset='1' stop-color='%23fff' stop-opacity='.32'/%3E%3C/linearGradient%3E%3Cpath d='M100 50L99.9 68.8L99.7 74.8L99.3 79.1L98.8 82.6L98.1 85.4L97.2 87.9L96.2 90L94.9 91.9L93.5 93.5L91.9 94.9L90 96.2L87.9 97.2L85.4 98.1L82.6 98.8L79.1 99.3L74.8 99.7L68.8 99.9L50 100L31.2 99.9L25.2 99.7L20.9 99.3L17.4 98.8L14.6 98.1L12.1 97.2L10 96.2L8.1 94.9L6.5 93.5L5.1 91.9L3.8 90L2.8 87.9L1.9 85.4L1.2 82.6L0.7 79.1L0.3 74.8L0.1 68.8L0 50L0.1 31.2L0.3 25.2L0.7 20.9L1.2 17.4L1.9 14.6L2.8 12.1L3.8 10L5.1 8.1L6.5 6.5L8.1 5.1L10 3.8L12.1 2.8L14.6 1.9L17.4 1.2L20.9 0.7L25.2 0.3L31.2 0.1L50 0L68.8 0.1L74.8 0.3L79.1 0.7L82.6 1.2L85.4 1.9L87.9 2.8L90 3.8L91.9 5.1L93.5 6.5L94.9 8.1L96.2 10L97.2 12.1L98.1 14.6L98.8 17.4L99.3 20.9L99.7 25.2L99.9 31.2Z' fill='none' stroke='url(%23g)' stroke-width='3.2'/%3E%3C/svg%3E");
}
.island { position: relative; display: grid; justify-items: center; font-family: var(--ui); }
.dock, .note__card {
  background: linear-gradient(180deg, #1d1d1f 0%, #101010 46%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), inset 0 1px 0 rgba(255, 255, 255, .1), 0 calc(var(--u) * 12) calc(var(--u) * 30) calc(var(--u) * -12) rgba(0, 0, 0, .4);
}
.dock {
  position: relative; z-index: 3;   /* over the notification, so it comes up out of the island and sinks back into it */
  display: flex; align-items: flex-start; gap: calc(var(--u) * 10);
  padding: calc(var(--u) * 12) calc(var(--u) * 14) calc(var(--u) * 9); border-radius: calc(var(--u) * 28);
}
.app, .ig {
  position: relative; display: grid; justify-items: center; gap: calc(var(--u) * 5); width: calc(var(--u) * 56);
  margin: 0; padding: 0; border: 0; background: none; cursor: pointer;
  color: rgba(255, 255, 255, .86); text-decoration: none; white-space: nowrap;
  font: 500 max(10.5px, calc(var(--u) * 11.5)) / 1.25 var(--ui); letter-spacing: -.005em;
  -webkit-tap-highlight-color: transparent;
}
.ic {
  position: relative; display: grid; place-items: center; width: calc(var(--u) * 46); height: calc(var(--u) * 46);
  -webkit-mask: var(--sq) center / 100% 100% no-repeat; mask: var(--sq) center / 100% 100% no-repeat;
  transition: transform .34s var(--spring);
}
.ic::after { content: ""; position: absolute; inset: 0; background: var(--rim) center / 100% 100% no-repeat; pointer-events: none; }
.ic svg { width: 58%; height: auto; }
.ic--pcd { background: linear-gradient(180deg, #343436 0%, #0b0b0c 100%); }
.ic--pcd img { width: 60%; height: auto; }
.ic--in { background: linear-gradient(180deg, #1778d3 0%, #0a61ba 100%); }
.ic--yt { background: linear-gradient(180deg, #fff 0%, #ececee 100%); }
.ic--yt svg { width: 68%; }
.ic--ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.ic--mail { background: linear-gradient(180deg, #4fb4ff 0%, #0a6cff 100%); }
.ic--mail svg { width: 62%; }

@media (hover: hover) {
  .app:hover, .ig:hover { color: #fff; }
  a.app:hover .ic, .ig:hover .ic { transform: translateY(calc(var(--u) * -3)) scale(1.1); }
}
a.app:active .ic, .ig:active .ic { transform: scale(.9); transition-duration: .12s; }
.app:focus-visible, .ig:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 12px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 10px; }

/* One Instagram (the Norwegian one). The English one waits behind it and springs up to its upper right on
   hover or keyboard focus. On a phone a tap opens the tap view with both (.focus, below). */
.app--ig { display: block; }
.ig--no { z-index: 1; margin: 0 auto; }
.ig--en {
  position: absolute; left: 50%; top: 0; z-index: 0; width: calc(var(--u) * 46); margin-left: calc(var(--u) * -23);
  opacity: 0; transform: translate(0, calc(var(--u) * 8)) scale(.7);
  transition: opacity .16s ease, transform .3s var(--ease);
}
.app--ig:has(:focus-visible) .ig--en {
  opacity: 1; transform: translate(calc(var(--u) * 25), calc(var(--u) * -31)) rotate(10deg) scale(.84);
  transition: opacity .18s ease, transform .55s var(--spring);
}
@media (hover: hover) {
  .app--ig:hover .ig--en {
    opacity: 1; transform: translate(calc(var(--u) * 25), calc(var(--u) * -31)) rotate(10deg) scale(.84);
    transition: opacity .18s ease, transform .55s var(--spring);
  }
}

/* Kontakt: its own key, apart from the apps (a thin line between), in the dock's own black. */
.dock__sep { align-self: stretch; width: 1px; margin: calc(var(--u) * 6) calc(var(--u) * 2); background: rgba(255, 255, 255, .13); }
.key {
  align-self: stretch; display: flex; align-items: center; gap: calc(var(--u) * 8);
  margin: 0; padding: 0 calc(var(--u) * 17) calc(var(--u) * 2); border: 0; border-radius: calc(var(--u) * 17);
  color: #fff; cursor: pointer; -webkit-tap-highlight-color: transparent;
  font: 600 max(12px, calc(var(--u) * 14.5)) / 1 var(--ui); letter-spacing: -.01em;
  background: linear-gradient(180deg, #313133 0%, #1c1c1d 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), inset 0 calc(var(--u) * -3) 0 rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .9);
  transition: transform .12s ease, box-shadow .12s ease, background .2s ease;
}
.key svg { width: calc(var(--u) * 19); height: auto; opacity: .92; }
@media (hover: hover) { .key:hover { background: linear-gradient(180deg, #3a3a3c 0%, #222224 100%); } }
.key:active, .key[aria-expanded="true"] {
  transform: translateY(calc(var(--u) * 1.5));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), inset 0 calc(var(--u) * -1) 0 rgba(0, 0, 0, .5), 0 0 0 1px #000;
  background: linear-gradient(180deg, #252527 0%, #161617 100%);
}
.key:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: calc(var(--u) * 17); }

/* The hand notes: on hover the handwriting fades in on the spot above the icon and an arrow draws down to it.
   Ink on the page, never on the black. Phones get none: there a tap opens the tap view. */
.hand {
  position: absolute; z-index: 3; display: grid; gap: calc(var(--u) * 1); pointer-events: none;
  font: 400 max(13px, calc(var(--u) * 15.7)) / 1.5 "Nothing You Could Do", "Bradley Hand", cursive; letter-spacing: 0;
  color: #1d1c1a; white-space: nowrap; text-align: left; opacity: 0; transition: opacity .18s ease;
}
.hand > span { display: block; width: fit-content; }
.hand__arrow { position: absolute; width: calc(var(--u) * 46); height: auto; overflow: visible; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.hand__arrow path { stroke-dasharray: 1; stroke-dashoffset: 0; }

/* Pocket CD: up to the left, the arrow comes down to the icon. */
.hand--pcd { right: calc(100% + var(--u) * 22); bottom: calc(100% + var(--u) * 29); rotate: -4deg; justify-items: end; text-align: right; }
.hand--pcd > span { justify-self: end; }
.hand--pcd .hand__arrow { left: calc(100% + var(--u) * 2); top: calc(50% - var(--u) * 4); width: calc(var(--u) * 52); }
/* YouTube: up to the right, the arrow comes down and left to the icon. */
.hand--yt { left: calc(100% + var(--u) * 22); bottom: calc(100% + var(--u) * 29); rotate: 3deg; }
.hand--yt .hand__arrow { right: calc(100% + var(--u) * 2); top: calc(50% - var(--u) * 4); width: calc(var(--u) * 52); scale: -1 1; }
@media (hover: none) { .hand { display: none; } }
/* Instagram: to the right of the English account, the arrow points back at it. */
.hand--ig { left: calc(100% + var(--u) * 46); bottom: calc(100% + var(--u) * 40); rotate: -3deg; }
.hand--ig .hand__arrow { right: calc(100% + var(--u) * 0); top: calc(50% - var(--u) * 2); width: calc(var(--u) * 38); scale: -1 1; rotate: 18deg; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  a.app:hover .hand, .app--ig:hover .hand { opacity: 1; transition: none; }
  a.app:hover .hand > span, .app--ig:hover .hand > span { animation: fade .4s ease .08s both; }
  a.app:hover .hand__arrow path, .app--ig:hover .hand__arrow path { animation: draw .42s var(--ease) .3s both; }
  a.app:hover .hand__arrow .hand__head, .app--ig:hover .hand__arrow .hand__head { animation-duration: .2s; animation-delay: .68s; }
}
@media (hover: hover) and (prefers-reduced-motion: reduce) { a.app:hover .hand, .app--ig:hover .hand { opacity: 1; } }
a.app:focus-visible .hand, .app--ig:has(:focus-visible) .hand { opacity: 1; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* Kontakt: the notification that comes up over the island with the address, already copied.
   .note places it, .note__card is the black card behind (it rises, grows from 55% and wobbles), .note__in is what is
   on it (it rises less and grows only from 92%, like the kit, where the card and its content move apart).
   The movement itself is in v10.js, sampled from the After Effects kit's keyframes. */
.note {
  position: absolute; left: 50%; bottom: calc(100% + var(--u) * 10); z-index: 2; transform: translateX(-50%);
  width: 100%; min-width: min(calc(var(--u) * 386), calc(100vw - 32px)); visibility: hidden; pointer-events: none;
  color: #fff; font-size: max(13px, calc(var(--u) * 15)); line-height: 1.18; letter-spacing: -.015em;
}
.note.is-shown { visibility: visible; }
.note.is-open { pointer-events: auto; }
.note__card { position: absolute; inset: 0; border-radius: calc(var(--u) * 24); transform-origin: 50% 50%; opacity: 0; }
.note__in {
  position: relative; display: flex; align-items: flex-start; gap: calc(var(--u) * 10); transform-origin: 50% 50%; opacity: 0;
  padding: calc(var(--u) * 12) calc(var(--u) * 14) calc(var(--u) * 12) calc(var(--u) * 14);
}
.note__copy {
  flex: 1; min-width: 0; display: flex; align-items: flex-start; gap: calc(var(--u) * 10);
  margin: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-align: left;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.note__copy:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: calc(var(--u) * 10); }
.note .ic { flex: none; width: calc(var(--u) * 38); height: calc(var(--u) * 38); transition: transform .3s var(--spring); }
.note__copy:active .ic { transform: scale(.9); transition-duration: .12s; }
.note__txt { flex: 1; min-width: 0; display: grid; justify-items: start; gap: calc(var(--u) * 1); align-self: center; }
.note__txt b { font-weight: 600; }
/* The address lights up as if selected each time it is copied, then lets go. */
.note__mail { margin: 0 calc(var(--u) * -3); padding: 0 calc(var(--u) * 3); border-radius: calc(var(--u) * 4); }
.note__mail.is-lit { animation: lit 1.9s cubic-bezier(.3, 0, .2, 1) both; }
@keyframes lit {
  0% { background: rgba(48, 209, 88, .42); }
  35% { background: rgba(48, 209, 88, .34); }
  100% { background: rgba(48, 209, 88, 0); }
}
.note__side { flex: none; display: grid; justify-items: end; gap: calc(var(--u) * 7); }
.note__time { color: rgba(235, 235, 245, .6); }
.note__open {
  display: inline-flex; align-items: center; height: max(22px, calc(var(--u) * 26)); padding: 0 max(9px, calc(var(--u) * 11)); border-radius: 999px;
  background: rgba(255, 255, 255, .14); color: #fff; text-decoration: none; white-space: nowrap; cursor: pointer;
  font-size: max(12px, calc(var(--u) * 13)); font-weight: 500; letter-spacing: -.01em;
  transition: background-color .18s ease, transform .3s var(--spring);
}
@media (hover: hover) { .note__open:hover { background: rgba(255, 255, 255, .24); } }
.note__open:active { transform: scale(.94); transition-duration: .12s; }
.note__open:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
/* "Kopiert" lights up green for a moment (the words only), then goes back to the grey of a notification's time. */
.note__time.is-flash { animation: kopiert 1.9s cubic-bezier(.3, 0, .2, 1) .16s both; }
@keyframes kopiert {
  0% { color: #4be37a; text-shadow: 0 0 calc(var(--u) * 10) rgba(48, 209, 88, .75); }
  22% { color: #30d158; text-shadow: 0 0 calc(var(--u) * 6) rgba(48, 209, 88, .35); }
  100% { color: rgba(235, 235, 245, .6); text-shadow: 0 0 0 rgba(48, 209, 88, 0); }
}
.nojs { margin-top: 10px; text-align: center; font-size: 14px; color: var(--grey); }

/* Standing screens (a phone, a tablet held upright): the same things, sized from a 390 x 700 screen.
   The sentence wraps on its own here, and the page may scroll if the screen is very short. */
@media (max-aspect-ratio: 1/1) {
  :root { --u: min(calc(100vw / 390), calc(100svh / 700)); }
  .page { padding: calc(var(--u) * 24) calc(var(--u) * 20) calc(var(--u) * 24); }
  .name { font-size: max(13px, calc(var(--u) * 15)); }
  .mid { padding: calc(var(--u) * 10) 0 calc(var(--u) * 30); }
  .stamp { --p: calc(var(--u) * 12); }
  .say { margin-top: calc(var(--u) * 26); font-size: calc(var(--u) * 27); line-height: 1.08; text-wrap: balance; }
  .say span { display: inline; white-space: normal; }
  .why { margin-top: calc(var(--u) * 18); font-size: max(13.5px, calc(var(--u) * 15)); text-wrap: balance; }
  .why b span { display: block; }   /* on a phone each sentence of the black line starts its own line */
  .dock { gap: calc(var(--u) * 6); padding: calc(var(--u) * 11) calc(var(--u) * 12) calc(var(--u) * 8); border-radius: calc(var(--u) * 26); }
  .app, .ig { width: calc(var(--u) * 52); font-size: max(10px, calc(var(--u) * 10.5)); }
  .ic, .ig--en { width: calc(var(--u) * 44); height: calc(var(--u) * 44); }
  .ig--en { margin-left: calc(var(--u) * -22); }
  .key { gap: calc(var(--u) * 6); padding: 0 calc(var(--u) * 13) calc(var(--u) * 2); border-radius: calc(var(--u) * 15); font-size: max(12px, calc(var(--u) * 13)); }
  .key svg { width: calc(var(--u) * 17); }
  .dock__sep { margin: calc(var(--u) * 6) calc(var(--u) * 1); }
}

/* The info view (every screen): a click or tap on an app sends the page back and flies its icon to the middle (the icon is a copy,
   .focus__fly, flown by v10.js onto .focus__spot), with its name, where it goes, one line and "Ta meg dit".
   Instagram shows both accounts side by side. The big X at the bottom brings everything back. */
.focus {
  position: fixed; inset: 0; z-index: 50; display: grid; grid-template-rows: 1fr auto; justify-items: center;
  padding: max(24px, env(safe-area-inset-top)) 20px calc(env(safe-area-inset-bottom) + 26px);
  font-family: var(--ui); color: var(--ink); -webkit-tap-highlight-color: transparent;
}
.focus[hidden] { display: none; }
.focus__body { align-self: center; width: min(100%, 360px); display: grid; justify-items: center; text-align: center; }
.focus__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; }
.focus__one { display: grid; justify-items: center; align-content: start; }
.focus__spot { width: 92px; height: 92px; margin-bottom: 22px; }
.focus__name { font-size: 26px; font-weight: 600; line-height: 1.1; letter-spacing: -.025em; }
.focus__where { margin-top: 5px; color: var(--grey); font-size: 15px; letter-spacing: -.01em; }
.focus__what { margin-top: 16px; max-width: 290px; font-size: 17px; line-height: 1.38; letter-spacing: -.015em; text-wrap: balance; }
.focus__go {
  display: inline-flex; align-items: center; gap: 7px; height: 46px; margin-top: 24px; padding: 0 20px 0 22px; border-radius: 999px;
  background: linear-gradient(180deg, #1d1d1f 0%, #101010 46%); color: #fff; text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), inset 0 1px 0 rgba(255, 255, 255, .1);
  font-size: 16px; font-weight: 600; letter-spacing: -.01em; transition: transform .3s var(--spring);
}
.focus__go svg { width: 15px; height: 15px; }
.focus__go:active { transform: scale(.95); transition-duration: .12s; }
/* The two columns keep their buttons on one line, however many lines each sentence takes. */
.focus__pair .focus__one { grid-template-rows: auto auto auto 1fr auto; align-content: stretch; }
.focus__pair .focus__what { align-self: start; }
.focus__pair .focus__spot { width: 76px; height: 76px; margin-bottom: 18px; }
.focus__pair .focus__name { font-size: 18px; }
.focus__pair .focus__where { font-size: 14px; }
.focus__pair .focus__what { margin-top: 12px; font-size: 15px; }
.focus__pair .focus__go { height: 42px; margin-top: 18px; padding: 0 16px 0 18px; font-size: 15px; }
.focus__x {
  display: grid; place-items: center; width: 62px; height: 62px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: linear-gradient(180deg, #1d1d1f 0%, #101010 46%); color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), inset 0 1px 0 rgba(255, 255, 255, .1), 0 12px 30px -12px rgba(0, 0, 0, .4);
  transition: transform .3s var(--spring);
}
.focus__x svg { width: 24px; height: 24px; }
.focus__x:active { transform: scale(.9); transition-duration: .12s; }
.focus__go:focus-visible, .focus__x:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.focus__fly { position: fixed; z-index: 2; margin: 0; transform-origin: 0 0; transition: none; pointer-events: none; }
/* On a laptop or a monitor the same view, sized from the page's own unit (never smaller than on a phone). */
@media (min-aspect-ratio: 1/1) {
  .focus__body { width: min(100%, max(360px, calc(var(--u) * 560))); }
  .focus__spot { width: max(92px, calc(var(--u) * 116)); height: max(92px, calc(var(--u) * 116)); margin-bottom: max(22px, calc(var(--u) * 26)); }
  .focus__name { font-size: max(26px, calc(var(--u) * 34)); }
  .focus__where { font-size: max(15px, calc(var(--u) * 17)); }
  .focus__what { max-width: max(290px, calc(var(--u) * 390)); font-size: max(17px, calc(var(--u) * 20)); }
  .focus__go { height: max(46px, calc(var(--u) * 52)); font-size: max(16px, calc(var(--u) * 17)); }
  .focus__pair { gap: max(14px, calc(var(--u) * 40)); }
  .focus__pair .focus__spot { width: max(76px, calc(var(--u) * 100)); height: max(76px, calc(var(--u) * 100)); }
  .focus__pair .focus__name { font-size: max(18px, calc(var(--u) * 23)); }
  .focus__pair .focus__where { font-size: max(14px, calc(var(--u) * 16)); }
  .focus__pair .focus__what { font-size: max(15px, calc(var(--u) * 17.5)); }
  .focus__pair .focus__go { height: max(42px, calc(var(--u) * 46)); font-size: max(15px, calc(var(--u) * 16)); }
  .focus__x { width: max(62px, calc(var(--u) * 66)); height: max(62px, calc(var(--u) * 66)); }
}
@media (hover: hover) {
  .focus__go:hover { background: linear-gradient(180deg, #2c2c2e 0%, #18181a 100%); }
  .focus__x:hover { background: linear-gradient(180deg, #2c2c2e 0%, #18181a 100%); }
}

/* The intro (v10.js): while it runs the page is laid out but hidden, its arrival paused at the start. When the name
   flies up the page lets go and arrives as always; the name itself stays hidden until the flying one lands on it. */
.intro .page { visibility: hidden; }
.intro .page, .intro .page * { animation-play-state: paused !important; }
.intro-name .name { visibility: hidden; }
.intro-canvas { position: fixed; inset: 0; z-index: 60; width: 100%; height: 100%; pointer-events: none; }

/* One arrival, once: the stamp lands, the sentence follows, the dock comes up. */
@media (prefers-reduced-motion: no-preference) {
  .name { animation: fade .7s var(--ease) both; }
  .stamp { animation: land .9s var(--ease) .05s both; }
  .say span { animation: rise .8s var(--ease) .18s both; }
  .say span:nth-child(2) { animation-delay: .26s; }
  .say span:nth-child(3) { animation-delay: .34s; }
  .why { animation: fade .8s var(--ease) .55s both; }
  .island { animation: up .8s var(--ease) .7s both; }
}
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; translate: 0 .22em; } }
@keyframes land { from { opacity: 0; scale: .96; translate: 0 calc(var(--u) * -14); } }
@keyframes up { from { opacity: 0; translate: 0 calc(var(--u) * 14); } }
