/* HERO 1 · FOUR O'S. The name is the menu. Geometry is set by o.js from the font's own "o" and "i". */

.p-o .o-stage { position: absolute; inset: 0; will-change: opacity, transform; }

.o-name {
  position: absolute; left: 0; right: 0; top: 45%; margin: 0; transform: translateY(-50%);
  text-align: center; white-space: pre; user-select: none;
  font-weight: 800; font-size: min(9.5vw, 21vh); line-height: 1; letter-spacing: -0.045em; color: var(--bone);
  opacity: 0;
}
.o-ready .o-name { opacity: 1; }
.o-name .ln { display: block; }
.o-name .g { display: inline-block; will-change: transform, opacity; }
.o-name .g.go { color: transparent; }
.o-name .base { display: inline-block; width: 0; height: 0; vertical-align: baseline; }

.o-dots { position: absolute; inset: 0; pointer-events: none; }
.o-dot {
  position: absolute; left: 0; top: 0; display: block; border-radius: 50%; background: var(--bone);
  pointer-events: auto; cursor: pointer; will-change: transform, width, height; -webkit-tap-highlight-color: transparent;
}
.o-dot:focus-visible { outline: 2px solid var(--bone); outline-offset: 6px; }
/* The dot of an i is small: its target is 44px at rest. */
.o-dot.is-i::before { content: ''; position: absolute; left: 50%; top: 50%; width: max(100%, 44px); height: max(100%, 44px); transform: translate(-50%, -50%); border-radius: 50%; }
.o-eye { position: absolute; border-radius: 50%; overflow: hidden; background: var(--void); transform: translateZ(0); }
.o-film { position: absolute; left: 50%; top: 50%; overflow: hidden; will-change: transform, opacity; }
.o-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.o-cap { position: absolute; inset: -2px; border-radius: 50%; background: var(--c); will-change: transform, opacity; }

.o-label { position: absolute; left: 0; top: 0; margin: 0; text-align: center; white-space: nowrap; pointer-events: none; opacity: 0; will-change: transform, opacity; }
.o-label b { display: block; font-weight: 600; font-size: clamp(1.25rem, 1.8vw, 2rem); line-height: 1.15; letter-spacing: -0.03em; color: var(--bone); }
.o-label span { display: block; margin-top: 0.3rem; font-size: clamp(0.9375rem, 1.12vw, 1.1875rem); color: var(--bone-dim); }

.o-foot { position: absolute; left: var(--gut); right: var(--gut); bottom: clamp(1.4rem, 3.4vh, 2.2rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; opacity: 0; transition: opacity 0.8s linear 1.3s; }
.o-ready .o-foot { opacity: 1; }
.o-line { font-size: clamp(1.0625rem, 1.32vw, 1.5rem); line-height: 1.35; color: var(--bone); }
.o-line b { font-weight: 700; }
.o-acts { display: flex; align-items: center; gap: 1.6rem; }

/* The window covers the screen before the case opens. */
.o-going .o-foot, .o-going .o-label { opacity: 0 !important; transition: opacity 0.2s linear; }

/* The o of "selected work" takes the colour of the open row. */
.wk-o { position: relative; display: inline-block; }
.wk-o .fill { position: absolute; border-radius: 50%; background: var(--oc, transparent); transition: background-color 0.35s linear; }
.wk-o .base { display: inline-block; width: 0; height: 0; vertical-align: baseline; }

/* Role variant (o-role.html): "product designer" under the name, in the same face.
   It gives the wordmark a fifth o. */
.p-role .o-name { top: 43%; line-height: 0.96; }
