:where(button, input, textarea, select):focus-visible {
  box-shadow: 0 0 0 1px var(--charcoal);
}

:where(a):focus-visible {
  box-shadow: none;
}

/* Parchment surface navigation — marginal rule for current, ink underline for hover */
html:not(.threshold) .nav a:not(.logo) {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: var(--target-essential);
  padding: 2px 0;
  color: var(--muted);
  text-decoration: none;
}

html:not(.threshold) .nav a:not(.logo):hover {
  color: var(--bronze);
  text-decoration: underline;
  text-decoration-color: var(--link-hover-underline);
  text-underline-offset: 3px;
}

html:not(.threshold) .nav a:not(.logo)[aria-current="page"] {
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}

html:not(.threshold) .nav a:not(.logo)[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: -11px;
  top: 0.12em;
  bottom: 0.12em;
  width: 2px;
  background: var(--emphasis-rule);
}

html:not(.threshold) .nav a:not(.logo)[aria-current="page"]:hover {
  color: var(--ink);
  text-decoration: none;
}

html:not(.threshold) .nav a:not(.logo):focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  box-shadow: none;
}

.speaker-label {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 6px -2px;
}

.teacher-name {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
