:root {
  --paper: #ffffff;
  --ink: #141311;
  --on-ink: #f4f1ea;
  --accent: #c9a46c;
  --steel-hi: #f3f2ee;
  --steel-lo: #a7a8a3;
  --hush: #8d8b86;
}
* { box-sizing: border-box; margin: 0; }
html, body { height: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Mona Sans Variable', system-ui, sans-serif;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
.stage {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 16px;
}
.chair {
  display: grid;
  justify-items: center;
  gap: 14px;
}
.chair__btn {
  appearance: none;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
  border-radius: 999px;
}
.chair__btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
/* the pill: GSAP scales this element; its width is set by the script from the two labels */
.chair__body {
  position: relative;
  display: block;
  width: 250px;
  height: 60px;
  border-radius: 999px;
  background: linear-gradient(180deg, #23211e 0%, var(--ink) 46%, #0c0b0a 100%);
  color: var(--on-ink);
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .09) inset,
    0 -1px 0 rgba(0, 0, 0, .5) inset,
    0 0 0 1px rgba(20, 19, 17, .9),
    0 18px 34px -20px rgba(20, 19, 17, .7),
    0 6px 12px -8px rgba(20, 19, 17, .45),
    0 1px 2px rgba(20, 19, 17, .2);
  will-change: transform;
}
/* a soft band of light across the top of the pill */
.chair__sheen {
  position: absolute;
  inset: 1px 22px auto;
  height: 26px;
  border-radius: 999px 999px 40% 40%;
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
  pointer-events: none;
}
/* the warm light the scissors leave behind them as they cut */
.chair__trail {
  position: absolute;
  top: 50%;
  left: 0;
  width: 120px;
  height: 60px;
  margin-top: -30px;
  border-radius: 999px;
  background: radial-gradient(closest-side, rgba(201, 164, 108, .28), rgba(201, 164, 108, 0));
  opacity: 0;
  pointer-events: none;
}
.chair__label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  line-height: 1;
  letter-spacing: -0.005em;
  white-space: nowrap;
  pointer-events: none;
}
.chair__label--ask { padding: 0 26px 0 66px; }
.chair__label--done { padding: 0 66px 0 26px; }
.chair__text { display: inline-block; font-variation-settings: 'wght' 560, 'wdth' 100; }
.chair__day { color: var(--accent); }
.chair__sep { color: rgba(244, 241, 234, .38); }
/* the steel chip that carries the scissors */
.chair__chip {
  position: absolute;
  top: 8px;
  left: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .7) inset,
    0 -1px 1px rgba(0, 0, 0, .18) inset,
    0 4px 10px -3px rgba(0, 0, 0, .7),
    0 0 0 1px rgba(0, 0, 0, .35);
  will-change: transform;
}
.chair__steel, .chair__brass, .chair__glint { position: absolute; inset: 0; border-radius: 50%; }
.chair__steel {
  background:
    radial-gradient(120% 90% at 30% 18%, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0) 55%),
    conic-gradient(from 210deg, var(--steel-hi), var(--steel-lo) 22%, #dcdcd7 40%, #9c9d98 62%, var(--steel-hi) 80%, var(--steel-lo));
}
.chair__brass {
  background:
    radial-gradient(120% 90% at 30% 18%, rgba(255, 246, 225, .85), rgba(255, 246, 225, 0) 55%),
    conic-gradient(from 210deg, #f0dcb4, #b58d52 24%, #e3c690 44%, #a47c43 64%, #f0dcb4 82%, #b58d52);
  opacity: 0;
}
/* a narrow glint that crosses the metal on hover */
.chair__glint {
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, .85) 50%, rgba(255, 255, 255, 0) 65%);
  transform: translateX(-120%);
  mix-blend-mode: soft-light;
}
.chair__icon {
  position: absolute;
  inset: 8px;
  width: 28px;
  height: 28px;
  overflow: visible;
}
.chair__blade { fill: var(--ink); }
.chair__handle { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; }
.chair__ring { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.chair__screw { fill: var(--steel-hi); stroke: var(--ink); stroke-width: .8; }
.chair__check { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chair__note {
  position: relative;
  display: grid;
  justify-items: center;
  height: 1.3em;
  clip-path: inset(0 -24px);
  font-size: 13px;
  line-height: 1.3;
  color: var(--hush);
  font-variation-settings: 'wght' 440, 'wdth' 100;
}
.chair__noteline { grid-area: 1 / 1; white-space: nowrap; }
