/* The orbit of equal areas: thin pale lines on black, one accent for the two equal slices. */
:root {
  --night: #0e0e0d;         /* the page */
  --line: #ece7dc;          /* the orbit, the sun, the planet, the title */
  --muted: #7d786e;         /* the axis, the empty focus, the radii, the small text */
  --accent: #ff6b2c;        /* the two slices that have the same area */
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
  overflow: hidden;
}

body {
  background: var(--night);
  color: var(--line);
  font-family: 'Fraunces Variable', 'Fraunces', Georgia, serif;
  -webkit-font-smoothing: antialiased;
}

.stage {
  position: fixed;
  inset: 0;
  overflow: hidden;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.orbit {
  fill: none;
  stroke: var(--line);
  stroke-width: 1.25;
}

.axis {
  fill: none;
  stroke: var(--muted);
  stroke-width: 1;
  stroke-dasharray: 2 5;
}

.focus {
  fill: none;
  stroke: var(--muted);
  stroke-width: 1;
}

.radius {
  stroke: var(--muted);
  stroke-width: 1;
  stroke-linecap: round;
}

.sector {
  fill: var(--accent);
}

.sun {
  fill: var(--line);
}

.planet {
  fill: var(--night);
  stroke: var(--line);
  stroke-width: 1.5;
}

.tag {
  fill: var(--accent);
  font-size: 13px;
  font-style: italic;
  font-variation-settings: 'opsz' 14, 'wght' 400;
  letter-spacing: 0.01em;
}

/* ---------------------------------------------------------------- the type */
.caption {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 0;
  text-align: center;
  user-select: none;
  -webkit-user-select: none;
}

.caption__title {
  margin: 0;
  font-size: clamp(26px, 3.6vw, 50px);
  line-height: 1.1;
  font-weight: 300;
  font-variation-settings: 'opsz' 72, 'SOFT' 50;
  letter-spacing: -0.015em;
}

.caption__note {
  margin: 12px 0 0;
  font-size: 13px;
  font-style: italic;
  font-variation-settings: 'opsz' 14;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.ch {
  display: inline-block;
  white-space: pre;
}
