:root {
  color-scheme: light;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #111;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; }

main {
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(24px, 5vw, 80px);
}

.logo {
  display: block;
  width: min(100%, 680px);
  height: auto;
  mix-blend-mode: multiply;
}

.contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  color: inherit;
  font-size: 1rem;
  line-height: 1.5;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 5px;
  transition: text-decoration-color 160ms ease;
}

.contact:hover { text-decoration-color: currentColor; }
.contact:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }

.centered main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: clamp(24px, 5vh, 56px);
  padding-bottom: clamp(48px, 10vh, 120px);
}

.black, .cobalt { color-scheme: dark; color: #fff; }
.black { background: #111; }
.black .logo, .cobalt .logo { filter: invert(1); mix-blend-mode: screen; }
.black .logo { width: min(100%, 590px); }
.black .contact { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: .875rem; }

.left main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 44px;
  padding-left: clamp(24px, 10vw, 160px);
}
.left .logo { width: min(100%, 520px); }
.left .contact { margin-left: min(5.73%, 29.8px); }

.large main {
  display: grid;
  grid-template-rows: 1fr auto;
  justify-items: center;
  gap: 32px;
  padding: clamp(24px, 3vw, 48px);
}
.large .logo { width: 100%; max-width: 1600px; align-self: center; }

.cobalt { background: #1838eb; }
.cobalt .logo { width: min(100%, 500px); }
.cobalt .contact { text-decoration-color: rgb(255 255 255 / 45%); }
.cobalt .contact:hover { text-decoration-color: #fff; }

.ascii-logo {
  width: min(100%, 1120px);
}

.ascii-logo svg {
  display: block;
  width: 100%;
  height: auto;
}

.ascii-logo text {
  user-select: text;
  font-variant-ligatures: none;
  white-space: pre;
}

.ascii-logo .wordmark-mobile { display: none; }

@media (max-width: 600px), (max-height: 500px) and (max-width: 950px) {
  .cobalt.centered main {
    gap: 32px;
    padding-top: max(24px, env(safe-area-inset-top));
    padding-right: max(16px, env(safe-area-inset-right));
    padding-bottom: max(40px, env(safe-area-inset-bottom));
    padding-left: max(16px, env(safe-area-inset-left));
  }
  .ascii-logo { max-width: 580px; }
  .ascii-logo .wordmark-desktop { display: none; }
  .ascii-logo .wordmark-mobile { display: block; }
  .cobalt .contact { padding: 8px 12px; }
}

@media (max-width: 540px) {
  .centered main { gap: 32px; }
  .left main { gap: 32px; padding-bottom: 20vh; }
  .large main { padding-bottom: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .contact { transition: none; }
}
