@font-face {
  font-family: "Instrument Serif";
  src: url("assets/instrument-serif-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Figtree";
  src: url("assets/figtree-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Figtree";
  src: url("assets/figtree-medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: "Figtree", sans-serif;
  font-synthesis: none;
  text-rendering: geometricPrecision;
}

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

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
}

body {
  background: #171717;
}

a {
  color: inherit;
  text-decoration: none;
}

.updating-page {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #171717;
}

.background {
  position: absolute;
  inset: 0;
}

.background {
  z-index: -1;
  background: #827d5e;
}

.background__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  animation: background-reveal 1.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand {
  position: absolute;
  top: 24px;
  left: 50%;
  z-index: 1;
  padding: 4px;
  transform: translateX(-50%);
  border-radius: 44px;
  background: rgba(26, 26, 26, 0.4);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  animation: brand-reveal 800ms 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 24px;
  background: rgba(26, 26, 26, 0.6);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: normal;
  white-space: nowrap;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.brand__icon {
  position: relative;
  display: block;
  width: 17.34px;
  height: 16.21px;
  overflow: visible;
}

.brand__icon img {
  position: absolute;
  top: -0.4px;
  left: -0.1px;
  display: block;
  width: 21px;
  height: 20px;
}

.hero {
  display: flex;
  width: min(490px, calc(100% - 40px));
  flex-direction: column;
  align-items: center;
  gap: 42px;
  text-align: center;
}

.hero__copy {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hero h1,
.hero p {
  margin: 0;
}

.hero h1 {
  color: #fff;
  font-family: "Instrument Serif", serif;
  font-size: 56px;
  font-weight: 400;
  line-height: 1.2;
  animation: copy-reveal 900ms 320ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero p {
  width: min(410px, 100%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  animation: copy-reveal 850ms 480ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.contact-button {
  position: relative;
  display: flex;
  width: 165px;
  height: 47px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.4);
  border-radius: 50px;
  background:
    radial-gradient(
      ellipse at center,
      rgba(0, 0, 0, 0.2) 0%,
      rgba(0, 0, 0, 0.002) 100%
    ),
    linear-gradient(180deg, rgba(16, 16, 17, 0.32), rgba(16, 16, 17, 0.4));
  box-shadow:
    inset 0 -1px 0 rgba(255, 255, 255, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 20px 20px rgba(0, 0, 0, 0.17),
    0 5px 11px rgba(0, 0, 0, 0.2);
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
  animation: button-reveal 800ms 680ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes background-reveal {
  from {
    opacity: 0;
    transform: scale(1.08);
    clip-path: inset(8% 8% 8% 8% round 28px);
    filter: blur(14px);
  }

  to {
    opacity: 1;
    transform: scale(1);
    clip-path: inset(0 round 0);
    filter: blur(0);
  }
}

@keyframes brand-reveal {
  from {
    opacity: 0;
    transform: translate(-50%, -12px) scale(0.94);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
}

@keyframes copy-reveal {
  from {
    opacity: 0;
    transform: translateY(28px);
    clip-path: inset(100% 0 0 0);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    clip-path: inset(0 0 0 0);
  }
}

@keyframes button-reveal {
  from {
    opacity: 0;
    translate: 0 18px;
    scale: 0.94;
  }

  to {
    opacity: 1;
    translate: 0 0;
    scale: 1;
  }
}

.contact-button img {
  display: block;
  width: 20px;
  height: 13px;
}

.contact-button:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 -1px 0 rgba(255, 255, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.48),
    0 24px 24px rgba(0, 0, 0, 0.2),
    0 8px 14px rgba(0, 0, 0, 0.22);
}

.brand:focus-visible,
.contact-button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 3px;
}

@media (max-width: 600px) {
  .hero {
    gap: 36px;
  }

  .hero__copy {
    gap: 20px;
  }

  .hero h1 {
    font-size: clamp(46px, 13vw, 56px);
  }

  .hero p {
    font-size: 16px;
  }
}

@media (max-height: 520px) {
  .brand {
    top: 14px;
  }

  .hero {
    gap: 24px;
    transform: translateY(18px);
  }

  .hero__copy {
    gap: 12px;
  }

  .hero h1 {
    font-size: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .background__art,
  .brand,
  .hero h1,
  .hero p,
  .contact-button {
    animation: none;
  }

  .contact-button {
    transition: none;
  }
}
