:root {
  color-scheme: light;
  --ink: #102a35;
  --muted: rgba(16, 42, 53, .56);
  --edge: clamp(1.4rem, 3.5vw, 3rem);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  overflow: hidden;
  background: #b7cdd3;
  color: var(--ink);
  font-family: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}

.site-shell {
  position: relative;
  display: grid;
  width: 100%;
  height: 100vh;
  height: 100svh;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  z-index: -2;
  inset: -1.5%;
  background-image:
    linear-gradient(180deg, rgba(12, 34, 44, .04), transparent 42%, rgba(12, 34, 44, .12)),
    url("assets/images/northmade-landscape.png");
  background-position: center;
  background-size: cover;
  transform-origin: 50% 48%;
  animation:
    landscape-arrive 2.8s cubic-bezier(.22, 1, .36, 1) both,
    landscape-zoom 32s 2.8s ease-in-out infinite alternate;
}

.identity {
  position: relative;
  text-align: center;
  animation: identity-arrive 1.8s .25s cubic-bezier(.22, 1, .36, 1) both;
}

h1 {
  margin: 0;
  font-size: clamp(2.1rem, 5.1vw, 4.8rem);
  font-weight: 430;
  line-height: .95;
  letter-spacing: .14em;
  text-indent: .14em;
  text-transform: uppercase;
  text-shadow: 0 1px 18px rgba(235, 245, 246, .3);
}

.identity p {
  margin: 1.15rem 0 0;
  color: var(--muted);
  font-size: clamp(.66rem, .8vw, .75rem);
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.coordinate, .status {
  position: absolute;
  bottom: var(--edge);
  margin: 0;
  color: rgba(12, 36, 47, .48);
  font-size: .61rem;
  line-height: 1;
  letter-spacing: .15em;
  text-shadow: 0 1px 8px rgba(235, 245, 246, .4);
  text-transform: uppercase;
}

.coordinate { left: var(--edge); }
.status { right: var(--edge); }

@keyframes identity-arrive {
  from { opacity: 0; filter: blur(7px); transform: translateY(9px); }
  to { opacity: 1; filter: blur(0); transform: translateY(0); }
}

@keyframes landscape-arrive {
  from { opacity: .35; transform: scale(1.035); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes landscape-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.045); }
}

@media (max-width: 600px) {
  .hero-background { background-position: 50% center; }
  h1 { font-size: clamp(1.85rem, 10vw, 2.7rem); letter-spacing: .14em; text-indent: .14em; }
  .identity p { margin-top: .9rem; }
  .coordinate { display: none; }
  .status {
    right: auto;
    left: 50%;
    font-size: .55rem;
    letter-spacing: .1em;
    transform: translateX(-50%);
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .identity { animation-duration: .01ms; animation-delay: 0s; }
  .hero-background { animation: none; }
}
