@font-face {
  font-family: "TSTaleed Display";
  src: url("assets/fonts/TSTaleed-Display.otf") format("opentype");
  font-display: block;
  unicode-range:
    U+0600-06FF,
    U+0750-077F,
    U+08A0-08FF,
    U+FB50-FDFF,
    U+FE70-FEFF;
}

:root {
  color-scheme: dark;
  background: #000;
  --arch-fallback-rx: 0deg;
  --arch-fallback-ry: 0deg;
  --arch-fallback-rz: 0deg;
}

* {
  box-sizing: border-box;
}

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

body {
  overflow: hidden;
  background: #000;
  color: #fff;
  font-family: "TSTaleed Display", serif;
}

.arch-fallback,
.arch-canvas {
  position: fixed;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.arch-fallback {
  z-index: 0;
  opacity: 1;
  transform:
    perspective(1200px)
    rotateX(var(--arch-fallback-rx))
    rotateY(var(--arch-fallback-ry))
    rotateZ(var(--arch-fallback-rz));
  transform-origin: 50% 58%;
  transition: opacity 160ms ease;
  will-change: transform;
}

.arch-fallback.has-live-3d {
  opacity: 0;
}

.arch-fallback img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
}

.arch-canvas {
  z-index: 1;
  opacity: 0;
  transition: opacity 120ms ease;
}

.arch-canvas.is-ready {
  opacity: 0.95;
}

.site {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 32px;
}

.name-stack {
  display: grid;
  gap: 14px;
  max-inline-size: min(92vw, 1100px);
  text-align: center;
}

h1,
p {
  margin: 0;
  color: #fff;
  font-family: "TSTaleed Display", serif;
  font-weight: 400;
  letter-spacing: 0;
  text-align: center;
  text-shadow:
    0 2px 18px rgb(0 0 0 / 0.78),
    0 0 2px rgb(0 0 0 / 0.95);
}

h1 {
  font-size: 8rem;
  line-height: 0.9;
}

p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.45rem;
  line-height: 1;
  transform: translateY(0.08em);
}

@media (max-width: 900px) {
  h1 {
    font-size: 5.5rem;
  }

  p {
    font-size: 1.8rem;
  }
}

@media (max-width: 560px) {
  .site {
    padding: 24px;
  }

  .name-stack {
    gap: 10px;
  }

  h1 {
    font-size: 3.6rem;
  }

  p {
    font-size: 1.25rem;
  }
}
