:root {
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #ffffff;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.page {
  width: min(92vw, 1200px);
}

/* ── Logo lockup ─────────────────────────────────────────
   The mark (160×160 viewBox) and the wordmark (1703×265)
   share a single flex row whose total width drives the
   scale of both parts, keeping original proportions.
   mark : gap : name  ≈  18.3% : 4.5% : 70.9%  (≈ 93.7%)
──────────────────────────────────────────────────────── */
.logo-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 2.5vw, 2.5rem);
  width: 100%;
}

.logo-squares {
  display: block;
  /* clamp keeps the mark readable on any screen width */
  width: clamp(80px, 18.3%, 220px);
  flex-shrink: 0;
  height: auto;
}

.logo-name {
  display: block;
  flex: 1 1 0;
  min-width: 0;
  height: auto;
}

/* ── Square animation ───────────────────────────────── */
.square {
  opacity: 1;
  transition: opacity 90ms steps(1, end);
}

.square.is-blink {
  animation: digitalBlink 0.85s steps(1, end) infinite;
}

@keyframes digitalBlink {
  0%,  49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* ── Brand colours ──────────────────────────────────── */
.sq-light { fill: #00addd; }
.sq-dark  { fill: #006bb2; }

/* ── Narrow phones: stack vertically ───────────────── */
@media (max-width: 480px) {
  .logo-lockup {
    flex-direction: column;
    gap: 1.5rem;
  }

  .logo-squares {
    width: clamp(100px, 50vw, 180px);
  }

  .logo-name {
    width: 100%;
  }
}

