@font-face {
  font-family: "AG Book Pro";
  src: url("fonts/AGBookPro-Regular.woff2") format("woff2"),
    url("fonts/AGBookPro-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

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

body {
  background: #fff;
  color: #000;
  font-family: "AG Book Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 40px;
  background: #fff;
  overflow: hidden;
}

.brand,
.status,
.clock,
.email,
.status-row,
.status-row-top {
  position: relative;
  z-index: 1;
}

.brand,
.status,
.clock,
.email {
  margin: 0;
  font: inherit;
  color: inherit;
  white-space: nowrap;
}

.brand,
.email {
  text-decoration: none;
}

.brand:hover,
.brand:focus-visible,
.email:hover,
.email:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.status-row {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100%;
}

.status-row-top {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.cursor-images {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.cursor-image {
  position: fixed;
  width: 132px;
  height: 132px;
  object-fit: cover;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  will-change: left, top;
}

.cursor-image.is-visible {
  opacity: 0.9;
}

@media (min-width: 901px) {
  .page {
    display: block;
    position: relative;
    padding: 0;
  }

  .brand {
    position: absolute;
    top: calc(529 / 1080 * 100%);
    left: 40px;
  }

  .clock {
    position: fixed;
    top: 40px;
    left: 40px;
  }

  .status-row {
    position: absolute;
    top: calc(529 / 1080 * 100%);
    right: 40px;
    left: auto;
    flex: none;
    flex-direction: row;
    align-items: center;
    gap: 47px;
    width: auto;
  }

  .status-row-top {
    display: contents;
  }

  .status-row .email {
    position: static;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cursor-images {
    display: none;
  }
}

@media (max-width: 900px) {
  body {
    font-size: 14px;
  }

  .brand,
  .status,
  .clock,
  .email {
    white-space: normal;
  }
}
