@font-face {
  font-family: "Wardrobe Brush";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/zhi-mang-xing-title.woff2") format("woff2");
  unicode-range: U+524d, U+5411, U+5934, U+62ac, U+8d70, U+ff01, U+ff0c;
}

:root {
  color-scheme: dark;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #101813;
}

* {
  box-sizing: border-box;
}

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

body {
  background: #101813;
  color: #fffdf6;
}

.site-shell {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: #25382c;
}

.hero__image,
.hero__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  object-fit: cover;
  object-position: 50% 58%;
}

.hero__veil {
  background: rgba(5, 12, 8, 0.18);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 8vh 24px 18vh;
  text-align: center;
}

h1 {
  max-width: 100%;
  margin: 0;
  font-family: "Wardrobe Brush", cursive;
  font-size: 112px;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.5);
}

h1 span {
  display: inline;
}

.site-footer {
  display: grid;
  min-height: 52px;
  place-items: center;
  padding: 12px 20px;
  background: #101813;
  text-align: center;
}

.site-footer a {
  color: #dbe3dc;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0;
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer a:focus-visible {
  border-radius: 2px;
  outline: 2px solid #ffffff;
  outline-offset: 5px;
}

@media (max-width: 640px) {
  .hero__image {
    object-position: 52% 58%;
  }

  .hero__content {
    padding: 10vh 18px 22vh;
  }

  h1 {
    max-width: 6em;
    font-size: 70px;
  }

  h1 span {
    display: block;
  }
}

@media (max-width: 360px) {
  h1 {
    font-size: 62px;
  }
}
