:root {
  --bg: #0a0a0a;
  --fg: #f2f2f0;
  --accent: #fbd92a;
  /* Face centre inside the logo image, used to centre the rays on the face. */
  --face-x: 59.28%;
  --face-y: 38.38%;
}

* { box-sizing: border-box; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

html { background: var(--bg); color-scheme: dark; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
}

a { color: var(--accent); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Landing page: the logo over rays that radiate from the face. */
.stage {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 1rem;
  overflow: hidden;
}

.logo-wrap {
  position: relative;
  /* The logo is 3250 x 2500 (13:10): fit the width and the height of the viewport. */
  width: min(94vw, calc((100svh - 2rem) * 1.3), 1200px);
}

.logo {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
}

.rays {
  position: absolute;
  left: var(--face-x);
  top: var(--face-y);
  width: 320vmax;
  height: 320vmax;
  transform: translate(-50%, -50%);
  background: url("/images/shot2-rays.svg") center / 100% 100% no-repeat;
  pointer-events: none;
}

.page-simple {
  max-width: 40rem;
  margin: 20vh auto 0;
  padding: 0 1.5rem;
  text-align: center;
}
