:root {
  --paper: #f4f1ec;        /* the warm page behind the section */
  --card: #ffffff;         /* the card */
  --ink: #17151f;          /* quote and names */
  --muted: #77727f;        /* roles, hint, labels */
  --line: #e7e2da;         /* hairlines */
  --accent: #5a46e0;       /* the only accent: the metric, the active ring, the timer line */
  --accent-soft: #ece9fc;  /* the metric chip */
  --shadow: 36 28 60;      /* rgb of the soft shadows */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Mona Sans Variable', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

.stage {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: min(4vh, 4vw);
  font-size: clamp(9px, min(1.55vw, 2.35vh), 17px);
}

.wall { width: min(56em, 100%); display: grid; gap: 1.5em; justify-items: center; }

.wall__head { text-align: center; display: grid; gap: .5em; }
.eyebrow {
  display: inline-flex; align-items: center; justify-content: center; gap: .45em;
  font-size: .82em; font-weight: 600; font-stretch: 110%; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow svg { width: 1.1em; height: 1.1em; fill: var(--accent); }
.title { font-size: 2.1em; font-weight: 700; font-stretch: 108%; letter-spacing: -.025em; line-height: 1.05; }

.card {
  position: relative;
  width: 100%;
  background: var(--card);
  border-radius: 1.6em;
  padding: 2.2em 2.6em 1.9em;
  box-shadow: 0 0 0 1px rgb(var(--shadow) / .05), 0 2.2em 4em -2em rgb(var(--shadow) / .22), 0 .5em 1em -.6em rgb(var(--shadow) / .14);
  overflow: hidden;
  outline: none;
}
.card:focus-visible { box-shadow: 0 0 0 2px var(--accent), 0 2.2em 4em -2em rgb(var(--shadow) / .22); }
.card__sheen {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgb(255 255 255 / .0) 40%, rgb(90 70 224 / .06) 50%, transparent 60%);
  opacity: 0;
}

.mark { width: 2.6em; height: auto; fill: var(--accent); opacity: .9; display: block; margin-bottom: .9em; transform-origin: 30% 70%; }

.quote {
  font-family: 'Newsreader Variable', Georgia, serif;
  font-size: 2em;
  line-height: 1.22;
  letter-spacing: -.012em;
  font-weight: 420;
  overflow: hidden;
}
.quote .w { display: inline-block; will-change: transform, opacity; }
.quote em { font-style: italic; color: var(--accent); }

.who {
  margin-top: 1.5em;
  padding-top: 1.2em;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: .9em;
}
.who__face {
  width: 2.7em; height: 2.7em; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  font-size: 1em; font-weight: 650; font-stretch: 112%;
  color: var(--ink);
}
.who__text { display: grid; gap: .15em; min-width: 0; }
.who__name { font-weight: 650; font-size: 1.05em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.who__role { color: var(--muted); font-size: .92em; white-space: nowrap; }

.metric {
  margin-left: auto; flex: none;
  display: grid; justify-items: end; gap: .1em;
  background: var(--accent-soft);
  border-radius: .9em;
  padding: .55em .9em .6em;
}
.metric__num { font-size: 1.55em; font-weight: 700; font-stretch: 105%; color: var(--accent); letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1; }
.metric__label { font-size: .78em; color: var(--muted); white-space: nowrap; }

.faces { display: flex; gap: 1.15em; align-items: center; padding: .3em 0 .5em; }
.face {
  position: relative;
  width: 2.9em; height: 2.9em; border-radius: 50%;
  border: 0; cursor: pointer;
  font: inherit; font-size: .95em; font-weight: 650; font-stretch: 112%; color: var(--ink);
  display: grid; place-items: center;
  opacity: .55;
  -webkit-tap-highlight-color: transparent;
}
.face:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.face__ring {
  position: absolute; inset: -.28em; border-radius: 50%;
  border: 1.5px solid var(--accent); opacity: 0; transform: scale(.8); pointer-events: none;
}
.face__timer {
  position: absolute; left: 18%; right: 18%; bottom: -.75em; height: 2px; border-radius: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left center; opacity: 0;
}

.hint { font-size: .78em; color: var(--muted); letter-spacing: .02em; }

@media (hover: hover) {
  .face:hover { opacity: .85; }
}

/* narrow boxes: tighter card, the metric drops under the name */
@media (max-width: 560px) {
  .stage { font-size: clamp(8px, min(2.9vw, 2.25vh), 14px); }
  .card { padding: 1.5em 1.5em 1.3em; border-radius: 1.3em; }
  .quote { font-size: 1.75em; }
  .who { flex-wrap: wrap; }
  .metric { margin-left: 0; width: 100%; grid-template-columns: auto 1fr; align-items: baseline; justify-items: start; gap: .6em; }
  .title { font-size: 1.8em; }
}
@media (max-height: 460px) { .hint { display: none; } .wall { gap: 1.1em; } }
