@charset "UTF-8";

:root {
  --color-primary: 206, 160, 109;

  --color-neutral0: 0, 0, 0;
  --color-neutral10: 16, 16, 16;
  --color-neutral50: 127, 127, 127;
  --color-neutral90: 239, 239, 239;
  --color-neutral100: 255,255, 255;

  --ease-default: cubic-bezier(0.31, 1.1, 0.81, 0.99);
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

html {
  height: 100%;
  background: rgb(var(--color-neutral10));
  font-size: 8px;
  line-height: 1.5em;
  hyphens: auto;
}

body {
  height: 100%;
  margin: 0;
  font-family: 'aglet-sans', sans-serif;
  font-size: 3.125rem;
  line-height: 1.04em;
  font-weight: 300;
  color: rgb(var(--color-neutral90));
}

body:after {
  pointer-events: none;
  content: '';
  position: fixed;
  opacity: 1;
  top: 0;
  left: 0;
  height: 100lvh;
  width: 100%;
  border: 2.5rem solid rgb(var(--color-neutral10));
  outline: 0.25rem solid rgb(var(--color-neutral90));
  outline-offset: -2.5rem;
  transform: translate3d(0, 0, 0);
}

address {
  font-style: normal;
}

h1 {
  margin: 0;
}

img {
  box-sizing: content-box;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.visually-hidden {
  overflow: hidden;
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  border: 0;
  clip-path: inset(50%);
  white-space: nowrap;
}

.main {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  min-height: 100%;
  padding: 2.5rem;
}

.block {
  opacity: 0;
  width: calc(100% + 0.25rem);
  max-width: 44rem;
  margin: 0 0 0 -0.25rem;
  padding: 3.5rem 2.5rem;
  border-top: 0.25rem solid rgb(var(--color-neutral90));
  border-left: 0.25rem solid rgb(var(--color-neutral90));
  translate: 0 2rem;
}

.app--ready .block {
  opacity: 1;
  translate: none;
  transition: 2s var(--ease-default) 1s;
}

.title {
  margin-top: 40rem;
  font-size: 6.375rem;
  line-height: 0.94em;
  font-weight: 400;
}

.portrait {
  opacity: 0;
  position: fixed;
  z-index: -1;
  inset: 0;
  margin: 0;
  transition: 0.5s var(--ease-default);
  filter: grayscale(100%);
}

.app--ready .portrait {
  opacity: 1;
  filter: none;
  transition: all 3s var(--ease-default) 0.2s;
}

.portrait__image {
  object-fit: cover;
  object-position: center top;
  width: 100%;
  height: 100%;
}

.note {
  color: rgb(var(--color-neutral50));
}

.contact__link {
  color: rgb(var(--color-primary));
  text-decoration: none;
}

.social__link {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.social__icon {
  width: 4.5rem;
}

.social__claim {
  width: 22rem;
}
