/* Minecraft font asset is bundled for ShoreBuild text when needed. */
@font-face {
  font-family: "Minecraft";
  src: url("/assets/minecraft_font.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

* { box-sizing: border-box; }
:root { color-scheme: light; }
html {
  margin: 0;
  width: 100%;
  min-height: 100%;
  scroll-behavior: smooth;
  background: #f8f3e5;
}
body {
  margin: 0;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  background: #f8f3e5;
}
.landscape {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: #f8f3e5 url("/assets/shorebuild-pixel-landscape.svg") center bottom / cover no-repeat;
  image-rendering: pixelated;
  isolation: isolate;
}
.wordmark {
  position: absolute;
  z-index: 10;
  display: block;
  top: 31%;
  left: 50%;
  width: max-content;
  max-width: calc(100% - 32px);
  margin: 0;
  transform: translate(-50%, -50%);
  color: #211c14;
  opacity: 1;
  visibility: visible;
  font-family: "Minecraft", monospace;
  font-size: clamp(2rem, 8.5vw, 5.25rem);
  line-height: 1.15;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  letter-spacing: 0;
  text-shadow: 2px 2px 0 rgba(248, 243, 229, .28);
}
.landscape::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,.025), transparent 55%, rgba(32,25,18,.025));
}
.scroll-cue {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: max(24px, env(safe-area-inset-bottom));
  width: 38px;
  height: 44px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  opacity: .82;
  animation: cue-float 1.65s ease-in-out infinite;
}
.scroll-cue__chevron {
  display: block;
  width: 13px;
  height: 13px;
  border-right: 3px solid #51442e;
  border-bottom: 3px solid #51442e;
  transform: rotate(45deg);
  margin-top: -5px;
  border-radius: 1px;
}
.scroll-cue__chevron + .scroll-cue__chevron { opacity: .52; }
@keyframes cue-float {
  0%, 100% { translate: 0 0; opacity: .62; }
  50% { translate: 0 7px; opacity: .98; }
}
@media (max-width: 700px) {
  .landscape { background-position: center bottom; background-size: auto 100%; }
  .wordmark { top: 31%; font-size: clamp(1.8rem, 8.5vw, 4rem); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-cue { animation: none; }
}

/* Apply this class to any future ShoreBuild wordmark or heading. */
.minecraft-font {
  font-family: "Minecraft", monospace;
}
