:root {
  color-scheme: light;
  --paper: #f6f3ed;
  --ink: #2f2d2c;
  font-family: "Century Gothic", "Avenir Next", Avenir, Futura, "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }
html { min-height: 100%; background: var(--paper); }
body { margin: 0; min-width: 280px; min-height: 100vh; }
.canvas {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--paper);
}
.dot-link {
  --color: #f18d5a;
  --glow: rgba(245, 141, 89, 0.23);
  position: absolute;
  z-index: 1;
  left: var(--x);
  top: var(--y);
  display: block;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  text-decoration: none;
  color: var(--ink);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transform: translate(-50%, -50%);
  outline: 0;
  touch-action: manipulation;
}
.dot-link--home {
  --color: #aa9be1;
  --glow: rgba(169, 149, 225, 0.26);
}
.dot-halo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 276.5px;
  height: 276.5px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, var(--glow) 0%, rgba(255,255,255,0) 70%);
  transform: translate(-50%, -50%) scale(1);
  opacity: .86;
  transition: transform 850ms cubic-bezier(.19, 1, .22, 1), opacity 750ms ease;
}
.dot-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--color);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.38), 0 2px 9px rgba(45,38,32,.055);
  transform: translate(-50%, -50%) scale(1);
  transition: transform 550ms cubic-bezier(.19, 1, .22, 1), box-shadow 550ms ease;
}
.dot-link::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 50%;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 1px solid var(--color);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(1);
}
.dot-label {
  position: absolute;
  top: 50%;
  left: calc(100% + 6px);
  display: block;
  white-space: nowrap;
  color: var(--ink);
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .17em;
  text-transform: lowercase;
  opacity: 0;
  pointer-events: none;
  transform: translate(-7px, -45%);
  transition: opacity 420ms ease, transform 620ms cubic-bezier(.19, 1, .22, 1);
}
.dot-link[data-label-side="left"] .dot-label {
  left: auto;
  right: calc(100% + 6px);
  transform: translate(7px, -45%);
}
.dot-link:is(:hover, :focus-visible, [data-revealed="true"]) { z-index: 2; }
.dot-link:is(:hover, :focus-visible, [data-revealed="true"]) .dot-halo {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.22);
}
.dot-link:is(:hover, :focus-visible, [data-revealed="true"]) .dot-core {
  transform: translate(-50%, -50%) scale(1.09);
  box-shadow: inset 0 1px 2px rgba(255,255,255,.43), 0 3px 12px rgba(45,38,32,.09);
}
.dot-link:is(:hover, :focus-visible, [data-revealed="true"]) .dot-label {
  opacity: 1;
  transform: translate(0, -50%);
}
.dot-link:is(:hover, :focus-visible, [data-revealed="true"])::after {
  animation: circle-ripple 950ms cubic-bezier(.2,.72,.2,1) both;
}
@keyframes circle-ripple {
  0% { opacity: .5; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(4.3); }
}
@media (prefers-reduced-motion: reduce) {
  .dot-halo, .dot-core, .dot-label { transition: none; }
  .dot-link::after { animation: none !important; }
}
