:root {
  color-scheme: dark;
  background: #090909;
  color: #fff;
  font-family: system-ui, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; isolation: isolate; }
body::after {
  content: "";
  position: fixed;
  inset: 0 0 -15px;
  z-index: 9999;
  background: url("assets/noise.gif") repeat 0 0 / 80px 80px;
  opacity: .05;
  pointer-events: none;
}
img { display: block; }

.visitka {
  position: relative;
  width: min(100%, 390px);
  margin-inline: auto;
  overflow: hidden;
  background: #090909;
  container-type: inline-size;
}

.hero {
  --hero-safe-top: 0px;
  position: relative;
  height: calc(104.615385cqw + var(--hero-safe-top));
}

.hero-photo {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      transparent 62.82cqw,
      #090909 85.13cqw),
    url("assets/hero-figma.jpg") center top / 100% auto no-repeat;
}

.brand {
  position: absolute;
  inset: var(--hero-safe-top) 0 0;
  text-align: center;
}

.compass {
  position: absolute;
  top: 66.7905cqw;
  left: calc(50% + .07px);
  transform: translateX(-50%);
  width: 56px;
  height: auto;
}

.brand h1 { position: absolute; inset: 85.384615cqw 20px auto; margin: 0; }
.brand h1 img { width: 100%; height: auto; }
.subtitle {
  position: absolute;
  top: 93.846154cqw;
  left: 50%;
  transform: translateX(-50%);
  width: 82.564103cqw;
  margin: 0;
}
.subtitle img { width: 100%; height: auto; }

.socials {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  margin-inline: 20px;
}

.social {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  height: 70px;
  border-radius: 20px;
  background: url("assets/plate.png") center / 100% 100% no-repeat;
  color: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .16px;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.social:focus-visible { outline: 2px solid white; outline-offset: 3px; }
.social-label {
  position: absolute;
  top: 25px;
  left: calc(50% - .5px);
  transform: translateX(-50%);
}
.social-label-centered { left: 50%; }
.social-label span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.social-label img { max-width: none; height: 21px; }

.social-icon {
  position: absolute;
  left: 9px;
  top: 50%;
  width: 52px;
  height: 52px;
  transform: translateY(-50%);
}
.social-icon-small { left: 10px; width: 50px; height: 50px; }

.collage {
  position: relative;
  height: 110.512821cqw;
}
.collage img { position: absolute; height: auto; }
.dots { left: 0; width: 100%; }
.dots-a { top: -2.56410cqw; }
.dots-b { top: 61.02564cqw; opacity: .6; }
.dots-c { top: 99.48718cqw; opacity: .6; }
.photo-left { left: 0; top: 12.30769cqw; width: 37.008547%; }
.photo-right { left: 46.492308%; top: 19.75641cqw; width: 53.846154%; }
.photo-center { left: 20.861538%; top: 48.72359cqw; width: 47.863248%; }
.camera { left: 42.182%; top: 9.80769cqw; width: 19.697%; }
.fire { left: 6.3633%; top: 83.84615cqw; width: 17.2972%; }
.paperclip { left: 43.0769%; top: 42.56410cqw; width: 17.9244%; }
.footer-a { left: 39.4872%; top: 87.17897cqw; width: 26.6575%; }
.footer-b { left: 55.5867%; top: 88.37718cqw; width: 39.75%; }

@media (max-width: 599px) {
  .hero {
    --hero-safe-top: env(safe-area-inset-top, 0px);
  }
}

@media (max-width: 480px) {
  .visitka { width: 100%; }
}

@media (min-width: 600px) {
  body::before {
    content: "";
    position: fixed;
    z-index: -1;
    inset: -40px;
    background: linear-gradient(rgb(9 9 9 / .25), rgb(9 9 9 / .62)),
      url("assets/hero.jpg") center 51% / cover no-repeat;
    filter: blur(28px);
  }
  .visitka { box-shadow: 0 0 56px rgb(0 0 0 / .48); }
}
