/* normar.com
 *
 * The page is the skyline. The only thing on top of it is the mark and the
 * name, in the top-left corner. No card, no links, no buttons.
 *
 * Deliberately fixed-light-on-dark: it is a photograph with white type over
 * it, which reads the same whatever theme the visitor prefers, so there is no
 * dark variant to keep in step.
 */

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100dvh;
  font-family: "Segoe UI", Inter, system-ui, -apple-system, sans-serif;
  /* Painted behind the image, so a slow load never flashes white. */
  background: #1a1f3d url("skyline.svg") center / cover no-repeat fixed;
}

/* iOS ignores background-attachment: fixed and jumps while scrolling. The page
   does not scroll, so let the background travel with the document there. */
@media (max-width: 720px) {
  body { background-attachment: scroll; }
}

.brand {
  position: absolute;
  top: clamp(1.25rem, 3vw, 2.5rem);
  left: clamp(1.25rem, 3vw, 2.5rem);
  display: flex;
  align-items: center;
  gap: clamp(.6rem, 1.2vw, .9rem);
  animation: rise .6s cubic-bezier(.2, .7, .3, 1) both;
}

.brand__mark {
  display: block;
  width: clamp(44px, 5.2vw, 62px);
  height: auto;
  /* Lifts the mark off the buildings behind it. */
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .45));
}

.brand__name {
  color: #fff;
  font-size: clamp(1.75rem, 4.4vw, 2.9rem);
  font-weight: 300;
  letter-spacing: -.015em;
  line-height: 1;
  /* Two shadows: a tight one for edge contrast against a lit window, and a
     wide soft one so the word still holds over the brighter horizon. */
  text-shadow: 0 1px 2px rgba(0, 0, 0, .55), 0 4px 26px rgba(0, 0, 0, .45);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .brand { animation: none; }
}
