/* The compass that divides the circle: thin lines on a warm white page, one slice in the accent, a name under it. */
:root {
  --page: #f3f0e8;          /* the page */
  --ink: #161616;           /* the circle, the compass, the name */
  --muted: #a39d92;         /* the marks the compass leaves and the line under the name */
  --accent: #ff4b1f;        /* the one slice */
}

* {
  box-sizing: border-box;
}

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

body {
  background: var(--page);
  color: var(--ink);
  font-family: 'Instrument Sans Variable', 'Instrument Sans', system-ui, sans-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;
}

.circle,
.marks path,
.radii line,
.cross {
  fill: none;
  stroke-linecap: round;
}

.circle {
  stroke: var(--ink);
  stroke-width: 1.5;
}

.marks path {
  stroke: var(--muted);
  stroke-width: 1;
}

.radii line {
  stroke: var(--ink);
  stroke-width: 1;
}

.cross {
  stroke: var(--ink);
  stroke-width: 1;
}

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

.leg,
.stem {
  stroke: var(--ink);
  stroke-width: 1.5;
  stroke-linecap: round;
}

.stem {
  stroke-width: 2.5;
}

.knob {
  fill: var(--page);
  stroke: var(--ink);
  stroke-width: 1.5;
}

/* ---------------------------------------------------------------- the type */
.caption {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  user-select: none;
  -webkit-user-select: none;
}

.caption__name {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.1;
  font-weight: 300;
  font-stretch: 80%;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.caption__note {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.ch {
  display: inline-block;
  font-stretch: calc(var(--w, 80) * 1%);
}
