@font-face {
  font-family: "System";
  src: url("/assets/system-regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: light;
  font-family: "System", Arial, sans-serif;
  font-synthesis: none;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
  color: #35352f;
  background: #f8f5ee;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { position: relative; isolation: isolate; margin: 0; min-height: 100svh; text-transform: uppercase; }
.landscape { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: url('/assets/grass-background.webp') center bottom / cover no-repeat; }
main { width: min(440px, calc(100% - 64px)); min-height: 100svh; margin: 0 auto; padding: clamp(60px, 10vh, 90px) 0 48px; }
h1, h2, p, ul { margin: 0; padding: 0; font: inherit; }
.profile { display: grid; gap: 32px; }
.intro { display: flex; justify-content: space-between; gap: 24px; align-items: baseline; }
.group { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 24px; align-items: baseline; }
.links { list-style: none; }
#companies li + li { margin-top: 8px; }
a { display: inline-block; color: inherit; text-decoration: none; text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 1px solid currentColor; outline-offset: 5px; }
#contact { display: flex; flex-wrap: wrap; gap: 8px 16px; }
#contact li { display: flex; align-items: center; }
.toy { position: absolute; right: max(24px, calc((100vw - 1180px) / 2)); bottom: clamp(30px, 8vh, 80px); width: 440px; margin: 0; }
.toy[hidden] { display: none; }
.game-hit { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 6 / 5; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-transform: inherit; touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab; }
.game-hit:active { cursor: grabbing; }
.game-hit:disabled { cursor: default; }
.game-hit canvas { display: block; width: 100%; height: 100%; pointer-events: none; opacity: 0; }
.toy-poster { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.is-ready .toy-poster { opacity: 0; }
.is-ready canvas { opacity: 1; }
.loading { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
::selection { color: #f7f5f0; background: #747569; }
@media (max-width: 600px) {
  .landscape { background-image: url('/assets/grass-background-mobile.webp'); }
  main { width: calc(100% - 48px); padding-top: 58px; padding-bottom: 8px; }
  .intro { flex-direction: column; gap: 4px; }
  .group { grid-template-columns: 85px minmax(0, 1fr); gap: 16px; }
  #contact { gap: 8px 14px; }
  #contact li { min-height: 44px; }
  .toy { position: relative; right: auto; bottom: auto; width: min(360px, 100%); margin: max(80px, calc(100svh - 620px)) auto 0; }
}
@media (min-width: 601px) and (max-height: 640px) { main { min-height: 700px; } }
@media (pointer: coarse) {
  a { display: inline-flex; min-height: 44px; align-items: center; }
  #contact li { min-height: 44px; }
}
