@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("assets/plus-jakarta-sans.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
/* April Next · Glød. Twelve colours, no in-between tones; the glow (gul, rav, orange) is only the mosaic. */
:root {
  color-scheme: light;
  --ground: #efefec;
  --raised: #f7f7f5;
  --sunken: #e6e6e2;
  --line: #d9d9d4;
  --ink: #0d0d0d;
  --muted: #5d5d5d;
  --smoke: #cfcfca;
  --charcoal: #2c2c2c;
  --gul: #f2b522;
  --rav: #f28c1e;
  --orange: #ef6418;
  --ember: #c24e0e;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 16px;
}
* { box-sizing: border-box; }
body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  color: var(--ink);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
}
/* Labels: 600, uppercase, +0.08em, tabular figures. */
.masthead {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80px;
  padding: 22px 32px;
}
.clock {
  display: flex;
  justify-content: center;
  gap: 36px;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.33;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.clock time { min-width: 76px; }
.clock time:first-child { min-width: 92px; }
.language {
  position: absolute;
  right: 20px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}
.language img {
  display: block;
  width: 19px;
  height: 13px;
  object-fit: cover;
  border-radius: 1px;
}
.language:hover { background: var(--sunken); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
main { display: flex; flex-direction: column; min-width: 0; }
.mark-stage {
  display: grid;
  place-items: center;
  flex: 1;
  min-height: 280px;
  padding: 24px 32px 54px;
}
.mark {
  position: relative;
  width: min(clamp(320px, 34vw, 480px), 50svh);
  max-width: 100%;
  aspect-ratio: 420 / 400;
  touch-action: none;
  cursor: grab;
  user-select: none;
}
.mark.is-dragging { cursor: grabbing; }
.mark.is-pointer-focused { outline: none; }
.mark canvas, .mark-fallback { display: block; width: 100%; height: 100%; }
.mark canvas { visibility: hidden; }
.mark-fallback { position: absolute; inset: 12%; width: 76%; height: 76%; object-fit: contain; }
.mark.is-ready canvas { visibility: visible; }
.mark.is-ready .mark-fallback { visibility: hidden; }
.introduction { padding: 0 32px 54px; max-width: 520px; }
h1 {
  margin: 0 0 16px;
  font-size: 2.25rem;
  font-weight: 500;
  line-height: 1.17;
  letter-spacing: -.02em;
}
.introduction p {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.53;
  max-width: 440px;
}
/* The one black pill in the view. */
.contact {
  display: inline-block;
  margin-top: 28px;
  padding: 12px 24px;
  color: var(--raised);
  font-family: inherit;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.33;
  border: 1px solid transparent;
  border-radius: 9999px;
  background: var(--ink);
  cursor: pointer;
}
.contact:hover { background: var(--charcoal); }
footer {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  margin: 0 32px;
  padding: 16px 0 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.33;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
footer p { margin: 0; }
.company-details { text-align: left; }
.company-details span { padding: 0 4px; }
@media (min-width: 1600px) {
  .masthead { min-height: 100px; }
  .mark-stage { padding-bottom: 100px; }
  .introduction { padding-bottom: 70px; }
}
@media (max-width: 600px) {
  .masthead { min-height: 76px; padding: 20px 24px; }
  .clock { gap: 24px; }
  .language { right: 12px; }
  .mark-stage { min-height: 270px; padding: 28px 24px 50px; }
  .mark { width: min(340px, 82vw, 50svh); }
  .introduction { padding: 0 24px 40px; max-width: 425px; }
  h1 { font-size: 2rem; margin-bottom: 14px; }
  .introduction p { max-width: 380px; }
  footer { flex-direction: column; gap: 9px; margin: 0 24px; padding: 16px 0 24px; }
}
@media (max-width: 350px) {
  .clock { gap: 14px; font-size: .75rem; }
  .masthead { padding-right: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
.sr-only, .bot-field { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* The mosaic as embers: a band of pixels along the bottom edge of the window, drawn behind the page and left out
   wherever it would touch text. Hidden on phones. */
.glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.glow canvas { display: block; width: 100%; height: 100%; }
@media (max-width: 700px) {
  .glow { display: none; }
}
